Fix crossreference to nonexistent node BSD Handler
[glibc.git] / ChangeLog
blobd9bf09c700805b7679a6a7c8c16f1d4eb61543df
1 2014-11-18  Tom de Vries  <tom@codesoucery.com>
3         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4         replace BSD Handler xref with BSD Signal Handling.
6 2014-11-17  Richard Henderson  <rth@redhat.com>
8         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9         (_FP_PACK_RAW_2): Remove.
10         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
15         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
17         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29         * signal/signal.h [__USE_MISC]
30         (struct sigvec): Remove type.
31         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32         (sigvec): Remove declaration.
33         * sysdeps/posix/sigvec.c: Moved ...
34         * signal/sigvec.c: ... here, replacing old file.
35         (struct sigvec): New type, copied from old signal.h definition.
36         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37         (__sigvec): Convert definition to prototype.
38         (sigvec): Replace weak_alias with compat_symbol.
39         * signal/Versions (libc: GLIBC_2.21): New version set.
40         * include/signal.h: Remove __sigvec declaration.
41         * sysdeps/unix/bsd/sigvec.c: Remove file.
42         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43         * manual/signal.texi (BSD Handler): Remove subsection.
44         Move siginterrupt up to ...
45         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
46         (Blocking in BSD): Fold subsection into its parent.
47         * NEWS: Mention sigvec removal.
49 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
51         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
52         (DLA_FMS): Make definition conditional only on [__FMA4__].
53         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
54         definition.
56         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
57         Make definition conditional only on [PROF].
58         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
59         definition.
60         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
61         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
63         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
64         !__GNUC__].
65         * include/signal.h (__sigpause): Move declaration above call to
66         libc_hidden_proto.
67         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
68         variable.
69         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
70         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
72 2014-11-14  David S. Miller  <davem@davemloft.net>
74         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
75         Define before including <string/memcpy.c> and <string/mempcpy.c>.
77 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
79         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
80         * configure: Regenerated.
81         * manual/install.texi (Tools for Compilation): Document a
82         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
83         compiler verified to work.
84         * INSTALL: Regenerated.
86         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
87         redeclare with asm name.
88         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
89         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
90         including <string.h>.
91         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
92         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
93         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
94         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
95         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
96         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
97         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
99 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
101         * stdlib/strtol.c (__strtol): Use prototype definition.
103         [BZ #17594]
104         * stdlib/strtol.c (SYM__): New macro.
105         (SYM__1): Likewise.
106         (__strtol): Likewise.
107         (strtol): Rename to __strtol and define as weak alias of
108         __strtol.  Use libc_hidden_weak.
110 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
112         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
113         Use numbered labels in inline assembly.
115 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
117         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
118         Add setjmp LIBC_PROBE.
119         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
120         Likewise.
121         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
122         Add longjmp, longjmp_target LIBC_PROBE.
123         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
124         Likewise.
126 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
128         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
129         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
130         to get rid of unused variable warning.
132 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
134         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
135         Check for unwind_backtrace ==  NULL only in SHARED case.
136         (__backchain_backtrace): Compile only in SHARED case.
137         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
138         Likewise.
139         (__backchain_backtrace): Declare as static.
141 2014-11-12  Roland McGrath  <roland@hack.frob.com>
143         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
144         (__libc_multiple_threads_ptr): Variable moved ...
145         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
147 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
149         * conform/GlibcConform.pm: New file.
150         * conform/conformtest.pl: Use GlibcConform module.
151         * conform/linknamespace.pl: New file.
152         * conform/list-header-symbols.pl: Likewise.
153         * conform/Makefile (linknamespace-symlists-base): New variable.
154         (linknamespace-symlists-tests): Likewise.
155         (linknamespace-header-base): Likewise.
156         (linknamespace-header-tests): Likewise.
157         (tests-special): Add new tests.
158         ($(linknamespace-symlists-tests)): New rule.
159         (linknamespace-libs): New variable.
160         ($(objpfx)symlist-stdlibs): New rule.
161         ($(linknamespace-header-tests)): Likewise.
162         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
163         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
164         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
165         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
166         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
167         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
168         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
169         (test-xfail-ISO/math.h/linknamespace): Likewise.
170         (test-xfail-ISO/signal.h/linknamespace): Likewise.
171         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
172         (test-xfail-ISO/time.h/linknamespace): Likewise.
173         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
174         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
175         (test-xfail-ISO99/math.h/linknamespace): Likewise.
176         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
177         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
178         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
179         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
180         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
181         (test-xfail-ISO11/math.h/linknamespace): Likewise.
182         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
183         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
184         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
185         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
186         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
187         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
188         (test-xfail-XPG3/math.h/linknamespace): Likewise.
189         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
190         (test-xfail-XPG3/search.h/linknamespace): Likewise.
191         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
192         (test-xfail-XPG3/time.h/linknamespace): Likewise.
193         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
194         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
195         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
196         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
197         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
198         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
199         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
200         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
201         (test-xfail-XPG4/math.h/linknamespace): Likewise.
202         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
203         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
204         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
205         (test-xfail-XPG4/search.h/linknamespace): Likewise.
206         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
207         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
208         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
209         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
210         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
211         (test-xfail-XPG4/time.h/linknamespace): Likewise.
212         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
213         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
214         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
215         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
216         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
217         (test-xfail-POSIX/math.h/linknamespace): Likewise.
218         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
219         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
220         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
221         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
222         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
223         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
224         (test-xfail-POSIX/time.h/linknamespace): Likewise.
225         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
226         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
227         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
228         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
229         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
230         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
231         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
232         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
233         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
234         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
235         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
236         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
237         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
238         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
239         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
240         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
241         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
242         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
243         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
244         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
245         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
246         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
247         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
248         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
249         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
250         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
251         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
252         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
253         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
254         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
255         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
256         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
257         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
258         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
259         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
260         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
261         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
262         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
263         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
264         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
265         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
266         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
267         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
268         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
269         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
270         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
271         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
272         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
273         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
274         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
275         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
276         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
277         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
278         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
279         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
280         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
281         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
282         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
283         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
284         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
285         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
286         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
287         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
288         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
289         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
290         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
291         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
292         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
293         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
294         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
295         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
296         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
297         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
298         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
299         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
300         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
301         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
302         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
303         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
304         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
305         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
306         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
307         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
308         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
309         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
310         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
311         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
312         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
313         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
314         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
315         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
316         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
317         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
318         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
319         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
320         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
321         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
322         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
324         [BZ #17589]
325         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
326         of fgets_unlocked.
328         [BZ #17585]
329         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
330         (memmem): Rename to __memmem and define as weak alias of
331         __memmem.  Use libc_hidden_weak.
332         (__memmem): Use libc_hidden_def.
333         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
334         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
335         memmem.
337         [BZ #17582]
338         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
339         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
340         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
341         and define as weak alias of __fgets_unlocked.  Use
342         libc_hidden_weak.
343         (__fgets_unlocked): Use libc_hidden_def.
344         * include/stdio.h (__fgets_unlocked): Declare.  Use
345         libc_hidden_proto.
346         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
347         __fgets_unlocked instead of fgets_unlocked.
348         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
349         (GET_NPROCS_CONF_PARSER): Likewise.
350         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
351         (GET_NPROCS_CONF_PARSER): Likewise.
353         [BZ #17574]
354         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
355         weak alias of __wmemset.  Use libc_hidden_weak.
356         (__wmemset): Use libc_hidden_def.
357         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
358         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
359         of wmemset.
361         [BZ #17573]
362         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
363         with asm name __mempcpy.
364         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
366         [BZ #17572]
367         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
368         and define as weak alias of __rawmemchr.
369         (__rawmemchr): Do not define as strong alias of rawmemchr.
371         [BZ #17571]
372         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
373         alias of __qsort_r.
374         (qsort): Call __qsort_r instead of qsort_r.
375         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
376         (__qsort_r): Declare.  Call libc_hidden_proto.
377         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
378         instead of qsort_r.
379         * nscd/gai.c (__qsort_r): Define to qsort_r.
380         * posix/tst-rfc3484.c (__qsort_r): Likewise.
381         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
382         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
384         [BZ #17570]
385         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
386         define as weak alias of __malloc_info.
388         [BZ #17584]
389         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
390         as weak alias of __rewinddir.  Don't use libc_hidden_def.
391         (__rewinddir): Use libc_hidden_def.
392         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
393         as weak alias of __rewinddir.  Don't use libc_hidden_def.
394         (__rewinddir): Use libc_hidden_def.
395         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
396         weak alias of __rewinddir.  Don't use libc_hidden_def.
397         (__rewinddir): Use libc_hidden_def.
398         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
399         (__rewinddir): Use libc_hidden_proto.
400         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
401         rewinddir.
402         (__getcwd): Use __rewinddir instead of rewinddir.
404         [BZ #17583]
405         * libio/fileno.c (fileno): Rename to __fileno and define as weak
406         alias of __fileno.  Use libc_hidden_weak.
407         (__fileno): Use libc_hidden_def.
408         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
409         * libio/ftello.c (ftello): Rename to __ftello and define as weak
410         alias of __ftello.
411         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
412         __ftello.
413         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
414         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
415         libc_hidden_def.
416         (fread_unlocked): Don't use libc_hidden_ver.
417         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
418         and define as weak alias of __fread_unlocked.  Don't use
419         libc_hidden_def.
420         (__fread_unlocked): Use libc_hidden_def.
421         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
422         (ftello): Don't use libc_hidden_proto.
423         (__ftello): Declare.  Use libc_hidden_proto.
424         (fread_unlocked): Don't use libc_hidden_proto.
425         (__fread_unlocked): Declare.  Use libc_hidden_proto.
426         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
427         and __ftello instead of fileno, fread_unlocked and ftello.
429 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
431         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
432         GOT12.
433         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
434         Likewise.
435         (_dl_start_user): Likewise.
436         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
438 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
439             Siddhesh Poyarekar  <siddhesh@redhat.com>
441         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
442         Move argv and envp down instead of moving argc up.
443         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
445 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
447         [BZ #17506]
448         * test-skeleton.c (main): Return successful if one of
449         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
450         * string/tst-strcoll-overflow.c: Define expected status.
452 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
454         [BZ #17475]
455         * locale/iso-639.def: Define Bhili and Tulu language codes.
457 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
459         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
461 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
463         [BZ #17555]
464         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
466 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
468         * configure.ac: Updated check of minimal required version to
469         2.22.
470         * manual/install.texi (Tools for Compilation): Updated version
471         number.
472         * configure: Regenerated.
473         * INSTALL: Likewise.
475 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
477         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
478         __tls_get_addr.
480 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
482         * include/sys/wait.h (__libc_waitpid): Remove declaration.
483         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
484         (__waitpid): Don't define as alias.  Use libc_hidden_def not
485         libc_hidden_weak.
486         (waitpid): Define as alias of __waitpid.
487         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
488         __waitpid.
489         (__waitpid): Don't define as alias.  Use libc_hidden_def not
490         libc_hidden_weak.
491         (waitpid): Define as alias of __waitpid.
492         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
493         __libc_waitpid alias.
494         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
495         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
496         Likewise.
497         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
498         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
499         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
500         alias.
501         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
502         __waitpid.
503         (__waitpid): Don't define as alias.  Use libc_hidden_def not
504         libc_hidden_weak.
505         (waitpid): Define as alias of __waitpid.
507 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
509         * manual/llio.texi: Add comment that write safety has been
510         fixed in Linux.
512         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
513         (localplt-build-dso): Add elf/ld.so.
514         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
515         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
516         and free for ld.so.
517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
518         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
520         Likewise.
521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
522         Likewise.
523         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
524         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
525         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
526         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
527         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
528         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
529         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
530         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
531         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
532         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
533         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
535 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
537         [BZ #14132]
538         * include/libc-symbols.h (INTUSE): Remove macro.
539         (INTDEF): Likewise.
540         (INTVARDEF): Likewise.
541         (_INTVARDEF): Likewise.
542         (INTDEF2): Likewise.
543         (INTVARDEF2): Likewise.
544         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
545         rtld_hidden_def instead of INTVARDEF.
546         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
547         (_dl_starting_up_internal): Remove declaration.
548         (_dl_starting_up): Use rtld_hidden_proto.
549         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
550         declaration.
551         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
552         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
553         _dl_starting_up.
554         * elf/dl-writev.h (_dl_writev): Likewise.
555         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
556         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
557         _dl_starting_up_internal.
559 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
561         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
562         test-skeleton.c.
564 2014-11-05  Will Newton  <will.newton@linaro.org>
566         * benchtests/Makefile: (bench-malloc): Add malloc thread
567         scalability benchmark.
568         * benchtests/bench-malloc-threads.c: New file.
570 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
572         * sysdeps/aarch64/strchrnul.S: New file.
574 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
576         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
577         definition.
578         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
579         Likwise.
580         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
581         Likewise.
582         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
583         Likewise.
584         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
585         Likewise.
586         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
587         Likewise.
589 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
591         * catgets/test-gencat.c: Use test-skeleton.c.
592         * catgets/tst-catgets.c: Likewise.
593         * csu/tst-empty.c: Likewise.
594         * elf/tst-audit2.c: Likewise.
595         * elf/tst-global1.c: Likewise.
596         * elf/tst-pathopt.c: Likewise.
597         * elf/tst-piemod1.c: Likewise.
598         * elf/tst-tls10.c: Likewise.
599         * elf/tst-tls11.c: Likewise.
600         * elf/tst-tls12.c: Likewise.
601         * gnulib/tst-gcc.c: Likewise.
602         * iconvdata/tst-e2big.c: Likewise.
603         * iconvdata/tst-loading.c: Likewise.
604         * iconv/tst-iconv1.c: Likewise.
605         * iconv/tst-iconv2.c: Likewise.
606         * inet/test-inet6_opt.c: Likewise.
607         * inet/tst-gethnm.c: Likewise.
608         * inet/tst-network.c: Likewise.
609         * inet/tst-ntoa.c: Likewise.
610         * intl/tst-codeset.c: Likewise.
611         * intl/tst-gettext2.c: Likewise.
612         * intl/tst-gettext3.c: Likewise.
613         * intl/tst-ngettext.c: Likewise.
614         * intl/tst-translit.c: Likewise.
615         * io/test-stat.c: Likewise.
616         * libio/test-fmemopen.c: Likewise.
617         * libio/tst-freopen.c: Likewise.
618         * libio/tst-sscanf.c: Likewise.
619         * libio/tst-ungetwc1.c: Likewise.
620         * libio/tst-ungetwc2.c: Likewise.
621         * libio/tst-widetext.c: Likewise.
622         * localedata/tst-ctype.c: Likewise.
623         * localedata/tst-digits.c: Likewise.
624         * localedata/tst-leaks.c: Likewise.
625         * localedata/tst-mbswcs1.c: Likewise.
626         * localedata/tst-mbswcs2.c: Likewise.
627         * localedata/tst-mbswcs3.c: Likewise.
628         * localedata/tst-mbswcs4.c: Likewise.
629         * localedata/tst-mbswcs5.c: Likewise.
630         * localedata/tst-setlocale.c: Likewise.
631         * localedata/tst-trans.c: Likewise.
632         * localedata/tst-wctype.c: Likewise.
633         * localedata/tst-xlocale1.c: Likewise.
634         * login/tst-grantpt.c: Likewise.
635         * malloc/tst-calloc.c: Likewise.
636         * malloc/tst-malloc.c: Likewise.
637         * malloc/tst-mallocstate.c: Likewise.
638         * malloc/tst-mcheck.c: Likewise.
639         * malloc/tst-mtrace.c: Likewise.
640         * malloc/tst-obstack.c: Likewise.
641         * math/atest-exp2.c: Likewise.
642         * math/atest-exp.c: Likewise.
643         * math/atest-sincos.c: Likewise.
644         * math/test-matherr.c: Likewise.
645         * math/test-misc.c: Likewise.
646         * math/test-powl.c: Likewise.
647         * math/tst-definitions.c: Likewise.
648         * misc/tst-dirname.c: Likewise.
649         * misc/tst-efgcvt.c: Likewise.
650         * misc/tst-fdset.c: Likewise.
651         * misc/tst-hsearch.c: Likewise.
652         * misc/tst-mntent2.c: Likewise.
653         * nptl/tst-sem7.c: Likewise.
654         * nptl/tst-sem8.c: Likewise.
655         * nptl/tst-sem9.c: Likewise.
656         * nss/test-netdb.c: Likewise.
657         * posix/tst-fnmatch.c: Likewise.
658         * posix/tst-getlogin.c: Likewise.
659         * posix/tst-gnuglob.c: Likewise.
660         * posix/tst-mmap.c: Likewise.
661         * pwd/tst-getpw.c: Likewise.
662         * resolv/tst-inet_ntop.c: Likewise.
663         * rt/tst-timer.c: Likewise.
664         * stdio-common/test-fseek.c: Likewise.
665         * stdio-common/test-popen.c: Likewise.
666         * stdio-common/test-vfprintf.c: Likewise.
667         * stdio-common/tst-cookie.c: Likewise.
668         * stdio-common/tst-fileno.c: Likewise.
669         * stdio-common/tst-gets.c: Likewise.
670         * stdio-common/tst-obprintf.c: Likewise.
671         * stdio-common/tst-perror.c: Likewise.
672         * stdio-common/tst-sprintf2.c: Likewise.
673         * stdio-common/tst-sprintf3.c: Likewise.
674         * stdio-common/tst-sprintf.c: Likewise.
675         * stdio-common/tst-swprintf.c: Likewise.
676         * stdio-common/tst-tmpnam.c: Likewise.
677         * stdio-common/tst-unbputc.c: Likewise.
678         * stdio-common/tst-wc-printf.c: Likewise.
679         * stdlib/tst-environ.c: Likewise.
680         * stdlib/tst-fmtmsg.c: Likewise.
681         * stdlib/tst-limits.c: Likewise.
682         * stdlib/tst-rand48-2.c: Likewise.
683         * stdlib/tst-rand48.c: Likewise.
684         * stdlib/tst-random2.c: Likewise.
685         * stdlib/tst-random.c: Likewise.
686         * stdlib/tst-strtol.c: Likewise.
687         * stdlib/tst-strtoll.c: Likewise.
688         * stdlib/tst-tls-atexit.c: Likewise.
689         * stdlib/tst-xpg-basename.c: Likewise.
690         * string/test-ffs.c: Likewise.
691         * string/tst-bswap.c: Likewise.
692         * string/tst-inlcall.c: Likewise.
693         * string/tst-strtok.c: Likewise.
694         * string/tst-strxfrm.c: Likewise.
695         * sysdeps/x86_64/tst-audit10.c: Likewise.
696         * sysdeps/x86_64/tst-audit3.c: Likewise.
697         * sysdeps/x86_64/tst-audit4.c: Likewise.
698         * sysdeps/x86_64/tst-audit5.c: Likewise.
699         * time/tst-ftime_l.c: Likewise.
700         * time/tst-getdate.c: Likewise.
701         * time/tst-mktime3.c: Likewise.
702         * time/tst-mktime.c: Likewise.
703         * time/tst-posixtz.c: Likewise.
704         * time/tst-strptime2.c: Likewise.
705         * time/tst-strptime3.c: Likewise.
706         * wcsmbs/tst-btowc.c: Likewise.
707         * wcsmbs/tst-mbrtowc.c: Likewise.
708         * wcsmbs/tst-mbsrtowcs.c: Likewise.
709         * wcsmbs/tst-wchar-h.c: Likewise.
710         * wcsmbs/tst-wcpncpy.c: Likewise.
711         * wcsmbs/tst-wcrtomb.c: Likewise.
712         * wcsmbs/tst-wcsnlen.c: Likewise.
713         * wcsmbs/tst-wcstof.c: Likewise.
715 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
717         [BZ #14132]
718         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
719         INTDEF.
720         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
721         declaration.
722         (_dl_mcount): Use rtld_hidden_proto.
723         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
724         _dl_mcount.
725         * elf/rtld.c (_rtld_global_ro): Likewise.
727         [BZ #14132]
728         * elf/dl-init.c (_dl_init): Don't use INTDEF.
729         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
730         of _dl_init_internal.
731         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
732         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
733         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
734         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
735         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
736         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
737         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
738         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
739         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
740         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
741         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
742         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
743         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
744         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
745         * sysdeps/tile/dl-start.S (_start): Likewise.
746         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
747         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
749         [BZ #14132]
750         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
751         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
752         (rtld_progname): Make macro definition unconditional.
753         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
754         INTDEF.
755         (dlmopen_doit): Do not use INTUSE with _dl_argv.
756         (dl_main): Likewise.
757         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
758         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
759         instead of _dl_argv_internal.
760         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
761         __GI__dl_argv instead of INTUSE(_dl_argv).
762         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
763         __GI__dl_argv instead of _dl_argv_internal.
765         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
766         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
767         macro.
768         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
769         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
770         New macro.
771         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
772         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
773         macro.
774         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
775         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
777 2014-11-04  Andreas Schwab  <schwab@suse.de>
779         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
781 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
783         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
784         mtvsrd instruction in binary form.
786 2014-11-03  Andreas Schwab  <schwab@suse.de>
788         [BZ #17522]
789         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
790         for less than MB_LEN_MAX use a local buffer of that size.
791         * libio/tst-fputws.c: New file.
792         * libio/Makefile (tests): Add tst-fputws.
794 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
796         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
797         the size of the fpu_fr.fpu_dregs[] array.
799 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
801         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
802         (__nanosleep): Do not define as alias.
803         (nanosleep): Define as alias of __nanosleep.
804         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
805         __libc_nanosleep name.
807 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
809         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
810         install.texi in comment.
812 2014-10-31  Torvald Riegel  <triegel@redhat.com>
814         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
815         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
816         ... add here and use lwsync or sync ...
817         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
818         ... and add here using lwsync.
820 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
822         * elf/dl-machine-reject-phdr.h: New file.
823         * elf/dl-load.c: #include that.
824         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
825         if that returned true.
827 2014-10-31  Roland McGrath  <roland@hack.frob.com>
829         [BZ #17496]
830         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
831         gen-as-const-headers chunk.  Add a big scare comment after the last
832         safe place to touch before-compile.
834 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
836         * manual/install.texi (Tools for Compilation): Update autoconf
837         version requirements.
838         * INSTALL: Regenerated.
840         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
841         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
842         (__libc_pselect): Likewise.
844         [BZ #14138]
845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
850 2014-10-31  Torvald Riegel  <triegel@redhat.com>
852         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
853         correct barrier instruction.
854         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
855         Likewise.
856         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
857         Likewise.
859 2014-10-30  Roland McGrath  <roland@hack.frob.com>
861         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
862         after defining inlines.  Instead, just use parens to defeat macro
863         expansion of __isctype in its declaration.
865 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
867         * include/sys/uio.h (__libc_readv): Remove declaration.
868         (__libc_writev): Likewise.
869         * misc/readv.c (__libc_readv): Rename to __readv.
870         (__readv): Do not define as alias.
871         (readv): Define as alias of __readv.
872         * misc/writev.c (__libc_writev): Rename to __writev.
873         (__writev): Do not define as alias.
874         (writev): Define as alias of __writev.
875         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
876         (__readv): Do not define as alias.
877         (readv): Define unconditionally as alias of __readv.
878         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
879         (__writev): Do not define as alias.
880         (writev): Define unconditionally as alias of __writev.
881         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
882         name.
883         (writev): Do not define __libc_writev name.
885 2014-10-30  Roland McGrath  <roland@hack.frob.com>
887         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
888         (convert_charseq): New function, broken out of ...
889         (use_from_charmap): ... here.  Call it.
890         (use_to_charmap): Use convert_charseq and free instead of duplicating
891         its code with a variable-length stack struct.
893 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
895         * include/fcntl.h (__libc_creat): Remove declaration.
896         * io/creat.c (__libc_creat): Rename to creat.
897         (creat): Do not define as alias.
898         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
899         of creat instead of __libc_creat.
900         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
901         to creat.
902         (creat): Do not define as alias.
903         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
904         __libc_creat.
905         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
906         __libc_creat name.
907         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
908         Likewise.
910 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
912         * manual/llio.texi: Add comments discussing why write() may be
913         considered MT-unsafe on Linux.
915 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
917         * dl-load.c (local_strdup): Remove.
918         (expand_dynamic_string_token): Use __strdup.
919         (decompose_rpath): Likewise.
920         (_dl_map_object): Likewise.
922 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
924         [BZ #14132]
925         * sysdeps/generic/unwind-dw2-fde.c
926         (__register_frame_info_bases_internal): Do not declare.
927         (__register_frame_info_table_bases_internal): Likewise.
928         (__deregister_frame_info_bases_internal): Likewise.
929         (__register_frame_info_bases): Declare and use hidden_proto before
930         definition.  Use hidden_def instead of INTDEF.
931         (__register_frame_info_table_bases): Likewise.
932         (__deregister_frame_info_bases): Likewise.
933         (__register_frame_info): Do not use INTUSE.
934         (__register_frame): Likewise.
935         (__register_frame_info_table): Likewise.
936         (__register_frame_table): Likewise.
937         (__deregister_frame_info): Likewise.
938         (__deregister_frame): Likewise.
940 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
942         * sysdeps/unix/sysv/linux/arm/kernel-features.h
943         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
944         not undefine.
945         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
946         Likewise.
947         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
948         Likewise.
950 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
952         [BZ #14138]
953         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
954         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
955         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
956         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
957         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
958         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
959         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
960         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
961         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
962         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
963         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
964         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
965         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
966         syscall.
967         (setfsuid): Likewise.
968         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
969         (setfsuid): Likewise.
970         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
971         (setfsuid): Likewise.
972         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
973         Likewise.
974         (setfsuid): Likewise.
975         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
976         (setfsuid): Likewise.
977         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
978         Likewise.
979         (setfsuid): Likewise.
981 2014-10-27  Andreas Schwab  <schwab@suse.de>
983         [BZ #17501]
984         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
985         check for Slow_SSE4_2 feature bit.
986         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
987         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
988         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
989         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
991 2014-10-24  Roland McGrath  <roland@hack.frob.com>
993         * configure.ac: Validate compiler version with a empirical test of
994         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
995         $CC -v output.
996         * configure: Regenerated.
998         * inet/htons.c (htons): Prototypify.
999         * inet/htonl.c (htonl): Likewise.
1001 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1003         * string/strncat.c (strncat): Improve performance by using strlen.
1005 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1007         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1009 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1011         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1012         Call libc_fetestexcept_aarch64.
1014 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1016         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1017         Call libc_feholdexcept_aarch64.
1019 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1021         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1022         Call get_rounding_mode.
1024 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1026         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1027         Simplify logic.
1029 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1031         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1032         Simplify logic.
1034 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
1036         [BZ #14138]
1037         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1038         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1039         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1040         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1041         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1042         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1043         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1044         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1045         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1046         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1047         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1048         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1049         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1050         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1051         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1052         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1053         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1054         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1055         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1056         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1057         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1058         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1059         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1060         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1061         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1062         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1063         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1064         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1065         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1066         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1067         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1068         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1069         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1070         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1071         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1072         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1073         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1074         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1075         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1076         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1077         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1078         syscall.
1079         (geteuid): Likewise.
1080         (getgid): Likewise.
1081         (getuid): Likewise.
1082         (getresgid): Likewise.
1083         (getresuid): Likewise.
1084         (getgroups): Likewise.
1085         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1086         (geteuid): Likewise.
1087         (getgid): Likewise.
1088         (getuid): Likewise.
1089         (getresgid): Likewise.
1090         (getresuid): Likewise.
1091         (getgroups): Likewise.
1092         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1093         (geteuid): Likewise.
1094         (getgid): Likewise.
1095         (getuid): Likewise.
1096         (getresgid): Likewise.
1097         (getresuid): Likewise.
1098         (getgroups): Likewise.
1099         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1100         Likewise.
1101         (geteuid): Likewise.
1102         (getgid): Likewise.
1103         (getuid): Likewise.
1104         (getresgid): Likewise.
1105         (getresuid): Likewise.
1106         (getgroups): Likewise.
1107         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1108         (geteuid): Likewise.
1109         (getgid): Likewise.
1110         (getuid): Likewise.
1111         (getresgid): Likewise.
1112         (getresuid): Likewise.
1113         (getgroups): Likewise.
1114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1115         Likewise.
1116         (geteuid): Likewise.
1117         (getgid): Likewise.
1118         (getuid): Likewise.
1119         (getgroups): Likewise.
1121         [BZ #14138]
1122         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1123         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1124         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1125         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1126         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1127         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1128         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1129         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1130         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1131         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1132         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1133         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1134         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1135         __chown.
1136         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1137         (lchown): Likewise.
1138         (fchown): Likewise.
1139         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1140         Likewise.
1141         (lchown): Likewise.
1142         (fchown): Likewise.
1143         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1144         (lchown): Likewise.
1145         (fchown): Likewise.
1146         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1147         Likewise.
1148         (lchown): Likewise.
1149         (fchown): Likewise.
1151 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1153         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1154         Simplify logic.
1156 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1158         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1159         Cleanup logic.
1161 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1163         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1164         Remove unused include.
1166 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1168         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1169         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1170         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1171         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1173 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
1174             Helge Deller <deller@gmx.de>
1176         [BZ #17508]
1177         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1178         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1179         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1181 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
1183         [BZ #14132]
1184         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1185         Remove macro definition.
1186         (__ashrdi3_v_glibc20): Likewise.
1187         (__lshrdi3_v_glibc20): Likewise.
1188         (__cmpdi2_v_glibc20): Likewise.
1189         (__ucmpdi2_v_glibc20): Likewise.
1190         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1191         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1192         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1193         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1194         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1195         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1197 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1199         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1200         old GNU extension [0] syntax.
1201         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1202         alloca rather than an array member with variable length.
1203         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1204         * nscd/nscd.c (invalidate_db): New function, broken out of ...
1205         (parse_opt): ... here.  Likewise use alloca there.
1206         Validate the -i argument before checking for rootness.
1207         (send_shutdown): New function, broken out of ...
1208         (parse_opt): ... here.
1210 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1212         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1213         macro to get at the _rt_local_ro field.
1214         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1215         ([PIC] case) or _dl_hwcap ([!PIC] case).
1216         * sysdeps/arm/setjmp.S: Likewise.
1218         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1219         * sysdeps/arm/configure.ac: New check to define it.
1220         * sysdeps/arm/configure: Regenerated.
1221         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1222         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1223         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1224         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1225         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1226         Use move/movt pair instead of a load.
1227         (LDST_GLOBAL): Macro removed.
1228         (LDR_GLOBAL): New macro replaces it.
1229         (LDR_HIDDEN): New macro.
1230         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1231         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1233         * setjmp/tst-setjmp-static.c: New file.
1234         * setjmp/Makefile (tests): Add it.
1235         (tests-static): New variable.
1237 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
1239         [BZ #17485]
1240         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1242 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
1244         [BZ #14132]
1245         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1247 2014-10-21  Roland McGrath  <roland@hack.frob.com>
1249         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1251 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1253         * io/fts.c (dirent_not_directory): New function.
1254         (fts_build): Call it.
1256 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1258         * nptl/version.c (__nptl_main): Use normal __write rather than
1259         INTERNAL_SYSCALL.
1260         (banner): Update copyright years.
1262         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1263         gettimeofday.
1264         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1265         * nptl/pthread_cond_timedwait.c: Likewise.
1266         * nptl/pthread_mutex_timedlock.c: Likewise.
1267         * nptl/sem_timedwait.c: Likewise.
1269         * sysdeps/nptl/bits/libc-lock.h
1270         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1271         (__libc_lock_init_recursive): Return void, not 0.
1272         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1273         (__libc_rwlock_init): Likewise.
1274         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1276 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1278         [BZ #15215]
1279         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1280         (__pthread_once_slow): ... here.
1281         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1282         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1284 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1286         [BZ #15215]
1287         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1288         __PTHREAD_ONCE_FORK_GEN_INCR): New.
1289         * sysdeps/nptl/fork.c (__libc_fork): Use them.
1290         * nptl/pthread_once.c (__pthread_once): Likewise.
1291         Update comments.
1293 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
1295         [BZ #14138]
1296         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1297         name.
1298         (writev): Use __libc_writev as strong name.
1299         * sysdeps/unix/sysv/linux/readv.c: Remove file.
1300         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1302 2014-10-17  Roland McGrath  <roland@hack.frob.com>
1304         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1306         * sysdeps/i386/nptl/tls.h
1307         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1308         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1309         New macros.
1310         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1311         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1312         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1313         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1314         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1315         Call CHECK_THREAD_SYSINFO instead of doing an assert.
1317         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1318         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1319         on [__NR_futex].
1320         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1321         broken out of ...
1322         (__pthread_mutex_init): ... here.  Call it.
1323         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1324         Conditionalize PI cases on [__NR_futex].
1325         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1326         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1327         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1329         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1330         conditional on [SIGSETXID].
1331         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1332         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1333         is defined.  Likewise for SIGSETXID.
1334         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1335         Conditionalize definitions on [SIGSETXID].
1336         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1337         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1338         unblocking on [SIGCANCEL].
1340         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1341         [__NR_set_robust_list].
1343 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1345         * string/strcoll_l.c (get_next_seq): Fix up formatting.
1346         (do_compare): Likewise.
1348 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
1350         [BZ #15884]
1351         * string/strcoll_l.c: Don't include stdio.h.
1352         (coll_seq): Remove members idxarr and rulearr.
1353         (get_next_seq_cached): Remove function.
1354         (get_next_seq): Likewise.
1355         (get_next_seq_nocache): Rename to get_next_seq.
1356         (do_compare): Remove function.
1357         (do_compare_nocache): Rename to do_compare.
1358         (STRCOLL): Remove weight and rules cache.
1360 2014-10-16  Roland McGrath  <roland@hack.frob.com>
1362         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1363         * sysdeps/arm/sfp-machine.h: ... to here.
1364         * sysdeps/arm/Implies: Remove arm/soft-fp.
1366 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
1368         * conform/data/sys/utsname.h-data (*_t): Allow.
1369         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1370         [POSIX] (WEXITED): Do not expect constant.
1371         [POSIX] (WSTOPPED): Likewise.
1372         [POSIX] (WNOHANG): Likewise.
1373         [POSIX] (WNOWAIT): Likewise.
1374         [POSIX] (siginfo_t): Do not expect type or elements.
1375         [POSIX] (pid_t): Do not expect type.
1376         [POSIX] (signal.h): Do not allow header.
1377         [POSIX] (sys/resource.h): Likewise.
1378         [POSIX] (si_*): Do not allow pattern.
1379         [POSIX] (W*): Likewise.
1380         [POSIX] (P_*): Likewise.
1381         [POSIX] (BUS_*): Likewise.
1382         [POSIX] (CLD_*): Likewise.
1383         [POSIX] (FPE_*): Likewise.
1384         [POSIX] (ILL_*): Likewise.
1385         [POSIX] (POLL_*): Likewise.
1386         [POSIX] (SEGV_*): Likewise.
1387         [POSIX] (SI_*): Likewise.
1388         [POSIX] (TRAP_*): Likewise.
1389         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1390         variable.
1392 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1394         [BZ #12926]
1395         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1396         infinite loop when __recvmsg returns 0.
1398 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
1400         * CANCEL-FCT-WAIVE: Remove file.
1401         * CANCEL-FILE-WAIVE: Likewise.
1403         [BZ #14132]
1404         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1405         instead of INTVARDEF.
1406         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1407         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1408         rtld_hidden_data_def instead of INTVARDEF.
1409         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1410         * elf/dl-deps.c (expand_dst): Likewise.
1411         * elf/dl-load.c (_dl_dst_count): Likewise.
1412         (_dl_dst_substitute): Likewise.
1413         (decompose_rpath): Likewise.
1414         (_dl_init_paths): Likewise.
1415         (open_path): Likewise.
1416         (_dl_map_object): Likewise.
1417         * elf/rtld.c (dl_main): Likewise.
1418         (process_dl_audit): Likewise.
1419         (process_envvars): Likewise.
1420         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1421         Remove declaration.
1422         (__libc_enable_secure): Use rtld_hidden_proto.
1424 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1426         * elf/dl-load.c
1427         (add_path): New function broken out of _dl_rtld_di_serinfo.
1428         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
1430 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1432         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1433         parentheses around macro arguments.
1434         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1435         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1436         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1437         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1438         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1439         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1440         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1441         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1442         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1443         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1444         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1445         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1446         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1447         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1448         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1449         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1450         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1451         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1452         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1453         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1454         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1455         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1456         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1457         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1458         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1459         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1460         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1461         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1462         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1463         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1464         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1465         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1466         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1467         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1468         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1469         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1470         Likewise.
1471         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1472         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1473         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1474         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1475         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1476         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1477         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1478         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1479         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1480         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1481         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1482         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1483         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1484         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1485         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1486         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1487         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1488         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1489         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1490         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1491         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1492         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1493         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1494         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1495         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1496         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1497         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1498         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1499         (_FP_FRAC_SRS_1): Likewise.
1500         (_FP_FRAC_CLZ_1): Likewise.
1501         (_FP_MUL_MEAT_1_imm): Likewise.
1502         (_FP_MUL_MEAT_1_wide): Likewise.
1503         (_FP_MUL_MEAT_1_hard): Likewise.
1504         (_FP_SQRT_MEAT_1): Likewise.
1505         (_FP_FRAC_ASSEMBLE_1): Likewise.
1506         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1507         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1508         (__FP_CLZ_2): Likewise.
1509         (_FP_MUL_MEAT_2_wide): Likewise.
1510         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1511         (_FP_MUL_MEAT_2_gmp): Likewise.
1512         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1513         (_FP_SQRT_MEAT_2): Likewise.
1514         (_FP_FRAC_ASSEMBLE_2): Likewise.
1515         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1516         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1517         (_FP_FRAC_CLZ_4): Likewise.
1518         (_FP_MUL_MEAT_4_wide): Likewise.
1519         (_FP_MUL_MEAT_4_gmp): Likewise.
1520         (_FP_SQRT_MEAT_4): Likewise.
1521         (_FP_FRAC_ASSEMBLE_4): Likewise.
1522         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1523         * soft-fp/op-common.h (_FP_CMP): Likewise.
1524         (_FP_CMP_EQ): Likewise.
1525         (_FP_CMP_UNORD): Likewise.
1526         (_FP_TO_INT): Likewise.
1527         (_FP_FROM_INT): Likewise.
1528         [!__FP_CLZ] (__FP_CLZ): Likewise.
1529         (_FP_DIV_HELP_imm): Likewise.
1530         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1531         Likewise.
1532         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1533         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1534         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1535         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1536         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1537         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1538         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1539         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1540         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1541         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1542         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1543         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1544         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1545         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1546         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1547         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1548         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1549         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1550         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1551         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1552         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1553         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1554         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1556         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1557         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1558         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1560         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1561         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1562         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1563         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1564         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1565         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1566         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1567         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1568         (FP_UNPACK_RAW_SP): Likewise.
1569         (FP_PACK_RAW_S): Likewise.
1570         (FP_PACK_RAW_SP): Likewise.
1571         (FP_UNPACK_S): Likewise.
1572         (FP_UNPACK_SP): Likewise.
1573         (FP_UNPACK_SEMIRAW_S): Likewise.
1574         (FP_UNPACK_SEMIRAW_SP): Likewise.
1575         (FP_PACK_S): Likewise.
1576         (FP_PACK_SP): Likewise.
1577         (FP_PACK_SEMIRAW_S): Likewise.
1578         (FP_PACK_SEMIRAW_SP): Likewise.
1579         (_FP_SQRT_MEAT_S): Likewise.
1580         (FP_CMP_S): Likewise.
1581         (FP_CMP_EQ_S): Likewise.
1582         (FP_CMP_UNORD_S): Likewise.
1583         (FP_TO_INT_S): Likewise.
1584         (FP_FROM_INT_S): Likewise.
1586         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1588         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1589         (FP_EX_INVALID_IMZ): Likewise.
1590         (FP_EX_INVALID_IMZ_FMA): Likewise.
1591         (FP_EX_INVALID_ISI): Likewise.
1592         (FP_EX_INVALID_ZDZ): Likewise.
1593         (FP_EX_INVALID_IDI): Likewise.
1594         (FP_EX_INVALID_SQRT): Likewise.
1595         (FP_EX_INVALID_CVI): Likewise.
1596         (FP_EX_INVALID_VC): Likewise.
1597         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1598         "invalid" exceptions.
1599         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1600         (_FP_ADD_INTERNAL): Likewise.
1601         (_FP_MUL): Likewise.
1602         (_FP_FMA): Likewise.
1603         (_FP_DIV): Likewise.
1604         (_FP_CMP_CHECK_NAN): Likewise.
1605         (_FP_SQRT): Likewise.
1606         (_FP_TO_INT): Likewise.
1607         (FP_EXTEND): Likewise.
1609 2014-10-09  Allan McRae  <allan@archlinux.org>
1611         * po/fr.po: Update French translation from translation project.
1613 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1615         [BZ #14132]
1616         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1617         of INTDEF.
1618         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1619         (__cxa_atexit): Use libc_hidden_proto.
1620         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1622         [BZ #14132]
1623         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1624         declaration.
1625         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1626         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1627         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1628         [!_ISOMAC] (__iswctype_internal): Likewise.
1629         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1630         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1631         alias.
1632         (fcntl): Remove __fcntl_internal alias.
1633         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1634         __connect_internal alias.
1635         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1636         Likewise.
1638         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1639         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1640         FP_DENORM_ZERO.
1641         (_FP_CHECK_FLUSH_ZERO): New macro.
1642         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1643         (_FP_CMP): Likewise.
1644         (_FP_CMP_EQ): Likewise.
1645         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1646         FP_DENORM_ZERO.
1647         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1648         (FP_TRUNC): Likewise.
1650         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1651         treated as invalid conversion, not as normal exponent.
1653         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1654         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1655         (_FP_CMP_EQ): Likewise.
1656         (_FP_CMP_UNORD): Likewise.
1657         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1658         (FP_CMP_EQ_D): Likewise.
1659         (FP_CMP_UNORD_D): Likewise.
1660         * soft-fp/extended.h (FP_CMP_E): Likewise.
1661         (FP_CMP_EQ_E): Likewise.
1662         (FP_CMP_UNORD_E): Likewise.
1663         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1664         (FP_CMP_EQ_Q): Likewise.
1665         (FP_CMP_UNORD_Q): Likewise.
1666         * soft-fp/single.h (FP_CMP_S): Likewise.
1667         (FP_CMP_EQ_S): Likewise.
1668         (FP_CMP_UNORD_S): Likewise.
1669         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1670         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1671         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1672         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1673         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1674         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1675         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1676         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1677         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1678         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1679         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1680         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1681         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1682         to FP_CMP_Q.
1683         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1684         FP_CMP_Q.
1685         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1686         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1687         FP_CMP_EQ_Q.
1688         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1689         FP_CMP_Q.
1690         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1691         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1692         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1693         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1694         FP_CMP_EQ_Q.
1695         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1696         FP_CMP_Q.
1697         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1698         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1699         FP_CMP_EQ_Q.
1700         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1701         FP_CMP_Q.
1702         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1703         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1704         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1705         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1706         FP_CMP_EQ_Q.
1708         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1709         a subnormal result, set the underflow exception if trapping on
1710         underflow is enabled.
1711         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1712         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1713         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1714         redefine to 0.
1715         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1716         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1717         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1718         * soft-fp/extendxftf2.c (__extendxftf2): Use
1719         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1721         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1722         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1723         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1724         FP_HANDLE_EXCEPTIONS.
1725         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1726         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1727         FP_HANDLE_EXCEPTIONS.
1728         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1729         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1730         FP_HANDLE_EXCEPTIONS.
1731         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1732         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1733         FP_HANDLE_EXCEPTIONS.
1735 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
1737         [BZ #14132]
1738         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1739         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1740         use INTUSE.
1741         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1742         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1743         Remove alias.
1744         (__adjtimex): Define using libc_hidden_ver.
1745         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1746         Remove declaration.
1747         (ntp_gettime): Call __adjtimex directly.
1748         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1749         Remove declaration.
1750         (ntp_gettimex): Call __adjtimex directly.
1751         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1752         __adjtimex_internal alias.
1754 2014-10-08  Roland McGrath  <roland@hack.frob.com>
1756         [BZ #17460]
1757         * nscd/nscd.c (more_help): Rewrite list of tables collection
1758         using xstrdup and asprintf.
1760         * nscd/nscd_conf.c: Remove local xstrdup declaration.
1762 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1763             Roland McGrath  <roland@hack.frob.com>
1765         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1766         (do_lookup_unique): ... local function 'enter' here; update callers.
1768 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
1770         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1771         compat_symbol calls on [SHARED].
1772         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1773         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1774         Remove.
1775         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1776         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1777         (oldsetrlimit): Remove.
1778         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1780         (lchown): New syscall entry.
1781         (oldsetrlimit): Remove.
1782         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1783         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1784         (oldsetrlimit): Remove.
1785         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1787         [BZ #14138]
1788         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1789         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1790         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1791         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1792         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1793         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1794         (fchown): Likewise.
1795         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1796         (fchown): Likewise.
1797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1798         Likewise.
1800 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1802         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1803         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1804         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1805         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1806         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1807         Likewise.
1808         (__old_sem_post): Likewise.
1810 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
1812         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1813         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1814         HAVE_CLOCK_GETTIME_VSYSCALL macros.
1815         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1816         Use INLINE_VSYSCALL macro.
1817         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1818         __vdso_clock_gettime.
1819         * sysdeps/unix/sysv/linux/tile/init-first.c
1820         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1821         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1822         __vdso_clock_gettime.
1824         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1825         to set up frame more cleanly.
1827         * sysdeps/tile/memcmp.c: New file.
1829         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1831         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1832         * sysdeps/tile/tilegx/strcasestr.c: New file.
1833         * sysdeps/tile/tilegx/strnlen.c: New file.
1834         * sysdeps/tile/tilegx/strstr.c: New file.
1836         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1838 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
1840         * nptl/tst-setuid3.c: Write errors to stdout.
1842 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1844         * elf/dl-deps.c
1845         (preload): New functions broken out of _dl_map_object_deps.
1846         (_dl_map_object_deps):  Remove a nested function. Update call sites.
1848 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
1850         [BZ #14138]
1851         * sysdeps/unix/sysv/linux/execve.c: Remove file.
1852         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1854 2014-10-01  Steve Ellcey  <sellcey@mips.com>
1856         * sysdeps/mips/strcmp.S: New.
1858 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
1860         [BZ #14138]
1861         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1862         (linkat): Likewise.
1863         (mkdirat): Likewise.
1864         (readlinkat): Likewise.
1865         (renameat): Likewise.
1866         (symlinkat): Likewise.
1867         (unlinkat): Likewise.
1868         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1869         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1870         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1871         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1872         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1873         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1874         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1876 2014-09-30  Will Newton  <will.newton@linaro.org>
1878         * math/math.h: Define long double math functions if
1879         _LIBC_TEST is defined.
1880         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1882         * localedata/Makefile: Move assignment to tests-special
1883         into an ifdef testing run-built-tests.
1884         * timezone/Makefile: Likewise.
1886 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
1888         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1889         with $(BASH) not $(SHELL).
1891 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
1892             Matthew LeGendre  <legendre1@llnl.gov>
1894         [BZ #17411]
1895         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1896         l_reloc_result.
1898 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1900         * stdio-common/printf_fp.c
1901         (hack_digit): New function, broken out of ...
1902         (__printf_fp): ... local function here.  Update call sites.
1903         hack_digit now takes an additional parameter that is a pointer
1904         to a struct of the referenced locals.  Those locals moved inside
1905         the struct and references updated.
1907 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
1909         * aclocal.m4: Require autoconf 2.69.
1910         * configure: Regenerated.
1911         * sysdeps/aarch64/configure: Likewise.
1912         * sysdeps/alpha/configure: Likewise.
1913         * sysdeps/arm/armv7/configure: Likewise.
1914         * sysdeps/arm/configure: Likewise.
1915         * sysdeps/ia64/configure: Likewise.
1916         * sysdeps/mach/configure: Likewise.
1917         * sysdeps/mips/configure: Likewise.
1918         * sysdeps/s390/configure: Likewise.
1919         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1922         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1923         file.
1924         * sysdeps/ia64/configure.ac: Likewise.
1926 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
1928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1929         specify symbol version for ld.so.  Do not include entry for
1930         libpthread.
1931         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1932         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1933         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1935         [BZ #14171]
1936         * Makeconfig [$(build-shared) = yes]
1937         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1938         makefiles.
1939         [$(build-shared) = yes && $(soversions.mk-done) = t]
1940         ($(common-objpfx)gnu/lib-names.h): Remove rule.
1941         [$(build-shared) = yes && $(soversions.mk-done) = t]
1942         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
1943         to Makerules.
1944         [$(build-shared) = yes && $(soversions.mk-done) = t]
1945         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1946         here.
1947         [$(build-shared) = yes && $(soversions.mk-done) = t]
1948         (common-generated): Don't append gnu/lib-names.h and
1949         gnu/lib-names.stmp here.
1950         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1951         (lib-names-h-abi): New variable.
1952         [$(build-shared) = yes && $(soversions.mk-done) = t]
1953         (lib-names-stmp-abi): Likewise.
1954         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1955         abi-variants] (before-compile): Append
1956         $(common-objpfx)$(lib-names-h-abi).
1957         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1958         abi-variants] (common-generated): Append gnu/lib-names.h.
1959         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1960         abi-variants] (install-others-nosubdir): Depend on
1961         $(inst_includedir)/$(lib-names-h-abi).
1962         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1963         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1964         [$(build-shared) = yes && $(soversions.mk-done) = t]
1965         ($(common-objpfx)$(lib-names-h-abi)): New rule.
1966         [$(build-shared) = yes && $(soversions.mk-done) = t]
1967         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1968         [$(build-shared) = yes && $(soversions.mk-done) = t]
1969         (common-generated): Append $(lib-names-h-abi) and
1970         $(lib-names-stmp-abi).
1971         * scripts/lib-names.awk: Do not handle multi being set.
1972         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1973         Remove variable.
1974         (abi-lp64_be-ld-soname): Likewise.
1975         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1976         Likewise.
1977         (abi-hard-ld-soname): Likewise.
1978         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1979         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1980         Remove variable.
1981         (abi-o32_hard-ld-soname): Likewise.
1982         (abi-o32_soft_2008-ld-soname): Likewise.
1983         (abi-o32_hard_2008-ld-soname): Likewise.
1984         (abi-n32_soft-ld-soname): Likewise.
1985         (abi-n32_hard-ld-soname): Likewise.
1986         (abi-n32_soft_2008-ld-soname): Likewise.
1987         (abi-n32_hard_2008-ld-soname): Likewise.
1988         (abi-n64_soft-ld-soname): Likewise.
1989         (abi-n64_hard-ld-soname): Likewise.
1990         (abi-n64_soft_2008-ld-soname): Likewise.
1991         (abi-n64_hard_2008-ld-soname): Likewise.
1992         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1993         Likewise.
1994         (abi-64-v2-ld-soname): Likewise.
1995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1996         ld.so entries.
1997         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1998         variable.
1999         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2000         entry.
2001         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2002         variable.
2003         (abi-64-ld-soname): Likewise.
2004         (abi-x32-ld-soname): Likewise.
2005         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2006         entry.
2007         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2009 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
2011         [BZ #14138]
2012         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2013         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2014         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2015         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2016         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2017         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2018         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2019         syscall entry for GLIBC_2.2 symbol version.
2020         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2021         Likewise.
2022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2023         (setrlimit): Likewise.
2024         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2025         Likewise.
2027 2014-09-23  Will Newton  <will.newton@linaro.org>
2029         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2030         _LINUX_ARM_SYSDEP_H include guard too.
2031         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2032         define.
2034 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2036         * sysdeps/unix/sysv/linux/eventfd.c:
2037         Make first argument unsigned.
2038         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2039         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2041 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
2043         * socket/recvmmsg.c (recvmmsg): Drop const argument.
2044         * socket/sys/socket.h: Likewise
2045         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2047 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2049         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2051 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
2053         * time/tst-ftime.c: New test.
2054         * time/Makefile (tests): Add tst-ftime.
2056 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
2058         * soft-fp/extended.h: Fix comment formatting.
2059         * soft-fp/op-1.h: Likewise.
2060         * soft-fp/op-2.h: Likewise.
2061         * soft-fp/op-4.h: Likewise.
2062         * soft-fp/op-8.h: Likewise.
2063         * soft-fp/op-common.h: Likewise.
2064         * soft-fp/soft-fp.h: Likewise.
2066         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2068 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
2070         [BZ #6652]
2071         * Makeconfig (soversions-default-setname): Remove variable.
2072         ($(common-objpfx)soversions.i): Don't pass default_setname to
2073         soversions.awk.
2074         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2075         oldest_abi to abi-versions.awk.
2076         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2077         * config.make.in (oldest-abi): Remove variable.
2078         * configure.ac (--enable-oldest-abi): Remove configure option.
2079         * configure: Regenerated.
2080         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2081         text.
2082         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2083         * scripts/soversions.awk: Do not handle default_setname variable.
2084         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2085         variable.
2086         * sysdeps/mach/hurd/configure: Regenerated.
2087         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2088         variable.
2089         * sysdeps/unix/sysv/linux/configure: Regenerated.
2091 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2093         * elf/Makefile (CFLAGS-interp.c): Remove.
2094         ($(elf-objpfx)runtime-linker.h): Generate header with linker
2095         path string.
2096         * elf/interp.c: Include generated runtime-linker.h
2098         * Makerules (lib%.so): Don't include $(+interp) in
2099         prerequisites.
2100         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2101         * dlfcn/eval.c: Remove file.
2103         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2104         macros.
2106         [BZ #17266]
2107         * misc/sys/cdefs.h: Define __extern_always_inline for clang
2108         4.2 and newer.
2110         [BZ #17370]
2111         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2113 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2114             Jakub Jelinek  <jakub@redhat.com>
2116         [BZ #17266]
2117         * libio/stdio.h: Check definition of __fortify_function
2118         instead of __extern_always_inline to include bits/stdio2.h.
2119         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2120         check if __extern_always_inline is defined.
2121         [__USE_MISC || __USE_XOPEN]: Likewise.
2122         [__USE_ISOC99] Likewise.
2123         * misc/sys/cdefs.h (__fortify_function): Define only if
2124         __extern_always_inline is defined.
2125         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2126         __extern_always_inline and __extern_inline only for g++-4.3
2127         and newer or a compatible gcc.
2129 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
2131         [BZ #17371]
2132         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2133         last change to handle zero prefix length.
2135 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2137         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2138         _SC_REGEX_VERSION.
2140         * posix/getconf.c (vars): Add _POSIX_IPV6 and
2141         _POSIX_RAW_SOCKETS.
2143 2014-09-13  Allan McRae  <allan@archlinux.org>
2145         * po/ru.po: Update Russian translation from translation project.
2147 2014-09-12  Roland McGrath  <roland@hack.frob.com>
2149         * locale/programs/locale.c (show_locale_vars): Inline local function
2150         into its sole call site.  Clean up some style nits.
2151         (print_item): New function, broken out of ...
2152         (show_info): ... local function here.  Clean up style nits.
2154         * locale/programs/ld-ctype.c (set_one_default): New function, broken
2155         out of ...
2156         (set_class_defaults): ... local function set_default here.
2157         Define set_default as a macro locally to pass constant parameters.
2158         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2159         rather than a shared local.
2161         * stdlib/rpmatch.c (try): New function, broken out of ...
2162         (rpmatch): ... local function here.  Also, prototypify definition.
2164 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2166         * scripts/soversions.awk: Do not handle configuration names.
2167         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2168         vendor and os variables to soversions.awk.
2169         * configure.ac: Do not modify gnu-* host_os.
2170         * configure: Regenerated
2171         * shlib-versions: Remove first column with configuration names.
2172         * nptl/shlib-versions: Likewise.
2173         * nptl_db/shlib-versions: Likewise.
2174         * sysdeps/hppa/shlib-versions: Likewise.
2175         * sysdeps/m68k/shlib-versions: Likewise.
2176         * sysdeps/mach/hurd/shlib-versions: Likewise.
2177         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2178         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2179         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2180         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2181         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2182         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2183         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2184         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2186         Likewise.
2187         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2188         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2189         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2190         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2191         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2192         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2193         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2194         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2197         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2199         Regenerated.
2200         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2202         Condition symbol version definitions on [HAVE_ELFV2_ABI].
2204         * shlib-versions: Remove OS-specific entries.  Moved to files in
2205         sysdeps.
2206         * sysdeps/mach/hurd/shlib-versions: New file.
2207         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2209         * nptl/shlib-versions: Remove architecture-specific entries.
2210         Moved to files in sysdeps.
2211         * shlib-versions: Likewise.
2212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2213         file.
2214         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2215         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2216         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2217         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2219         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2220         (UDP_NO_CHECK6_RX): Likewise.
2222 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2224         * sysdeps/posix/sysconf.c (__sysconf): Spell
2225         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2227 2014-08-12  Florian Weimer  <fweimer@redhat.com>
2229         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2230         loading.
2231         * iconv/Versions (__gconv_transliterate): Export for use from
2232         gconv modules.
2233         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2234         (struct __gconv_trans_data, __gconv_trans_fct,
2235         __gconv_trans_context_fct, __gconv_trans_query_fct,
2236         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2237         definitions.
2238         (struct __gconv_step_data): Remove __trans member.
2239         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
2240         longer hidden.  Remove unused trans_data argument.
2241         * iconv/gconv_int.h (struct trans_struct): Remove definition.
2242         (__gconv_translit_find): Remove declaration.
2243         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
2244         prototype.
2245         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2246         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2247         trans_data argument.  Add hidden definition.
2248         (__gconv_translit_find): Remove.
2249         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2250         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2251         * iconv/skeleton.c: Remove transliteration initialization.
2252         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2253         __gconv_step_data initialization.
2254         * libio/iofwide.c (__libio_translit_): Remove.
2255         (_IO_fwide): Adjust struct __gconv_step_data initialization.
2256         * wcsmbs/btowc.c (__btowc): Likewise.
2257         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2258         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2259         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2260         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2261         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2262         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2263         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2264         * wcsmbs/wctob.c (wctob): Likewise.
2266 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2268         [BZ #16194]
2269         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2270         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
2271         register usage.
2272         * sysdeps/x86/Makefile: Adjust.
2274 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2275             Roland McGrath  <roland@hack.frob.com>
2277         * locale/weight.h: Add include guard.
2278         (findidx): Make static rather than auto; take new parameters
2279         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2280         * locale/weightwc.h: Likewise.
2281         * posix/fnmatch_loop.c
2282         (FCT): Change type of EXTRA from int32_t to wint_t.
2283         Don't include either header inside the function.
2284         Call FINDIDX rather than findidx, and pass new arguments.
2285         #undef FINDIDX at the end of the file.
2286         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2287         FINDIDX before including fnmatch_loop.c for the non-wide version.
2288         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2289         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2290         for the wide version.
2291         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2292         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2293         Pass new arguments to findidx.
2294         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2295         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2296         Don't #include it inside the function.  Pass new arguments to findidx.
2297         * posix/regex_internal.h
2298         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2299         (re_string_elem_size_at): Don't #include it inside the function.
2300         Pass new arguments to findidx.
2301         * string/strcoll_l.c: #include WEIGHT_H at top level.
2302         (get_next_seq): Don't #include it inside the function.
2303         Pass new arguments to findidx.
2304         (get_next_seq_nocache): Likewise.
2305         * string/strxfrm_l.c: #include WEIGHT_H at top level.
2306         (STRXFRM): Don't #include it inside the function.
2307         Pass new arguments to findidx.
2309 2014-09-11  Florian Weimer  <fweimer@redhat.com>
2311         [BZ #17344]
2312         * malloc/malloc.c (unlink): Turn asserts into a call to
2313         malloc_printerr.
2315 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
2317         [BZ #17370]
2318         * libio/wfileops (do_ftell_wide): Free OUT.
2320 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
2322         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2324 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2326         [BZ #17363]
2327         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2328         group if the current group is empty.
2330 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2332         * benchtests/bench-memset.c (test_main): Add more test from size
2333         from 32 to 512 bytes.
2334         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2335         Add POWER8 memset object.
2336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2337         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2338         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2339         implementation.
2340         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2341         Likewise.
2342         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2343         multiarch POWER8 memset optimization.
2344         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2345         POWER8 memset optimization.
2347         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2348         Remove bzero multiarch objects.
2349         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2350         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2351         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2352         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2353         Remove define.
2354         [__bzero]: Redefine to specific name.
2355         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2356         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2357         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2358         define.
2359         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2360         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2362 2014-09-10  Florian Weimer  <fweimer@redhat.com>
2364         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2365         warnings into errors.
2367         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2368         __cxa_thread_atexit_impl prototype.
2370 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2372         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2373         Fix capitalization of error message.
2375 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2377         * sysdeps/mips/preconfigure: Modify ABI tests.
2379 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
2381         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2383 2014-09-07  Roland McGrath  <roland@hack.frob.com>
2384             Carlos O'Donell  <carlos@systemhalted.org>
2386         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2387         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2388         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2389         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2390         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2391         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2392         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2393         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2394         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2395         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2396         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2397         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2398         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2399         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2400         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2401         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2402         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2403         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2404         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2405         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2406         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2407         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2408         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2409         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2410         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2411         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2412         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2413         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2414         Deconditionalize the code that was previously under [RESET_PID].
2415         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2416         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2417         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2418         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2419         include sysdep.h.
2421 2014-09-08  Allan McRae  <allan@archlinux.org>
2423         * version.h (RELEASE): Set to "development".
2424         (VERSION): Set to "2.20.90"
2426 2014-09-07  Allan McRae  <allan@archlinux.org
2428         * version.h (RELEASE): Set to "stable".
2429         (VERSION): Set to "2.20"
2430         * include/features.h (__GLIBC_MINOR__): Set to 20.
2432         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2433         Liebler.
2435         * po/ko.po: Update Korean translation from translation project.
2437 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
2439         [BZ #17354]
2440         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2441         macro for handling signed relocations.
2443 2014-09-03  Florian Weimer  <fweimer@redhat.com>
2445         [BZ #17325]
2446         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2447         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2448         assert.
2449         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2450         * iconvdata/ibm935.c (BODY): Likewise.
2451         * iconvdata/ibm937.c (BODY): Likewise.
2452         * iconvdata/ibm939.c (BODY): Likewise.
2453         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2454         assert.
2455         * iconvdata/Makefile (iconv-test.out): Pass module list to test
2456         script.
2457         * iconvdata/run-iconv-test.sh: New test loop for checking for
2458         decoder crashers.
2460 2014-09-02  Khem Raj  <raj.khem@gmail.com>
2462         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2463         libm_hidden_ver.
2465 2014-09-01  Allan McRae  <allan@archlinux.org>
2467         * po/eo.po: Update Esperanto translation from translation project.
2469         * po/ca.po: Update Catalan translation from translation project.
2471 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2473         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2474         __proc_dostop call.
2476 2014-08-27  Mark Wielaard  <mjw@redhat.com>
2478         [BZ #17319]
2479         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2480         to call set_thread_area instead of hand written asm.
2481         (__NR_set_thread_area): Removed define.
2482         (TLS_FLAG_WRITABLE): Likewise.
2483         (__ASSUME_SET_THREAD_AREA): Remove check.
2484         (TLS_EBX_ARG): Remove define.
2485         (TLS_LOAD_EBX): Likewise.
2487 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2489         Simplify atomicity of socket creation in bind.
2491         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2492         looking up the name after linking the file.
2494 2014-08-27  Allan McRae  <allan@archlinux.org>
2496         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2498 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2500         [BZ #17187]
2501         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2502         trans_compare, open_translit, __gconv_translit_find):
2503         Remove module loading code.
2505 2014-08-26  Allan McRae  <allan@archlinux.org>
2507         * po/vi.po: Update Vietnamese translation from translation project.
2509         * po/uk.po: Update Ukrainian translation from translation project.
2511         * po/fr.po: Update French translation from translation project.
2513         * po/ru.po: Update Russian translation from translation project.
2515         * po/pl.po: Update Polish translation from translation project.
2517         * po/cs.po: Update Czech translation from translation project.
2519         * po/de.po: Update German translation from translation project.
2521         * po/bg.po: Update Bulgarian translation from translation project.
2523         * po/sv.po: Update Sweedish translation from translation project.
2525         * po/nl.po: Update Dutch translation from translation project.
2527         * po/es.po: Update Spanish translation from translation project.
2529 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2531         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2533         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2534         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2535         (CPPFLAGS-iconvconfig): Likewise.
2536         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2538         * include/libc-symbols.h: Remove unnecessary check for
2539         NOT_IN_libc.
2540         * nptl/pthreadP.h: Likewise.
2541         * sysdeps/aarch64/setjmp.S: Likewise.
2542         * sysdeps/alpha/setjmp.S: Likewise.
2543         * sysdeps/arm/sysdep.h: Likewise.
2544         * sysdeps/i386/setjmp.S: Likewise.
2545         * sysdeps/m68k/setjmp.c: Likewise.
2546         * sysdeps/posix/getcwd.c: Likewise.
2547         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2548         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2549         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2550         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2551         * sysdeps/sh/sh3/setjmp.S: Likewise.
2552         * sysdeps/sh/sh4/setjmp.S: Likewise.
2553         * sysdeps/unix/alpha/sysdep.h: Likewise.
2554         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2555         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2556         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2557         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2560         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2561         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2562         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2563         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2565         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2567         * sysdeps/x86_64/setjmp.S: Likewise.
2569 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2571         [BZ #17263]
2572         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2573         <stdint.h>.
2574         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2575         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2577 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2579         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2581         [BZ #17262]
2582         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2583         and __x86_64__ when disabling x87 inline functions.
2585 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2587         [BZ #17259]
2588         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2589         asm statement with __cpuid_count.
2591 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2593         * configure.ac: Change __ehdr_start code to dereference the struct.
2594         Run readelf on the output to look for relocations.
2595         * configure: Regenerated.
2597 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2599         [BZ #17261]
2600         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2601         value to 0.
2602         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2604 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2606         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2608 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2610         [BZ #16892]
2611         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2612         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2614 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2616         * malloc/malloc.c: Fix typo in comment.
2618 2014-08-09  Allan McRae  <allan@archlinux.org>
2620         * Regenerate libc.po.
2622 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2624         * intl/tst-gettext2.sh: Check every lang file for creation.
2626 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2628         * sysdeps/aarch64/fpu/math_private.h
2629         (libc_feholdsetround_noex_aarch64_ctx): New function.
2631 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2633         * sysdeps/arm/armv6/strcpy.S (strcpy):
2634         Fix performance issue in misaligned cases.
2636 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2638         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2639         Move definition from termios.h.
2640         (struct termio): Likewise.
2641         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2642         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2643         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2644         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2645         Likewise.
2646         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2647         Move definition to ioctl-types.h
2648         (struct termio): Likewise.
2649         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2650         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2651         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2652         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2653         Likewise.
2655 2014-08-05  Richard Henderson  <rth@redhat.com>
2657         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2658         exceptions.
2659         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2660         Add fraiseexcpt.
2661         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2662         Use __feraiseexcept.
2663         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2664         Protect libm symbols with IS_IN_libm.
2666         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2668 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2670         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2672 2014-08-04  Will Newton  <will.newton@linaro.org>
2674         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2675         file.
2677 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
2679         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2680         variants for each function.
2682 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2684         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2685         appended ...
2686         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2687         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2688         appended ...
2689         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2690         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2691         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2692         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2693         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2694         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2695         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2696         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2697         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2698         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2699         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2700         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2701         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2702         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2703         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2704         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2705         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2706         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2707         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2708         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2709         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2710         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2711         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2712         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2713         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2714         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2715         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2716         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2717         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2718         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2719         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2720         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2721         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2722         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2723         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2724         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2725         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2726         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2727         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2728         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2729         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2730         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2731         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2732         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2733         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2734         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2735         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2736         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2737         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2738         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2739         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2740         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2741         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2742         Update #include.
2743         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2744         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2746 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2748         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2749         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2750         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2751         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2752         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2753         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2755 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2757         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2758         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2759         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2760         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2762 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2764         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2765         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2766         (__libc_vfork): Define function under this name.
2767         (__vfork): Define as an alias.
2768         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2769         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2771 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2773         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2774         that was previously under [RESET_PID].
2775         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2777 2014-08-04  Andreas Schwab  <schwab@suse.de>
2779         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2781 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
2783         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2784         (main): Likewise.
2786 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2788         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2790 2014-08-01  Richard Henderon  <rth@redhat.com>
2792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2793         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2794         typo in exact zero test.
2795         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2796         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2799 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2801         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2802         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2803         * sysdeps/arm/sysdep.h: ... here.
2804         [!__ASSEMBLER__]: Include <stdint.h>.
2806 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2808         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2809         (HAVE_WCTYPE_H): Likewise.
2810         (HAVE_ISWCTYPE): Likewise.
2811         (ENABLE_NLS): Likewise.
2812         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2813         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2815         * posix/regex_internal.c: Check if DEBUG is defined and is
2816         set.
2818         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2819         (HAVE_MBSRTOWCS): Likewise.
2820         * posix/fnmatch.c: Include string.h unconditionally.
2822 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2824         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2825         reversal.
2827 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2829         * sysdeps/generic/safe-fatal.h: New file.
2830         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2831         * nptl/forward.c: Include it.
2832         (__pthread_unwind): Use __safe_fatal as default action, rather
2833         than a bogus use of INTERNAL_SYSCALL that could never work.
2835         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2836         * configure.ac (libc_cv_builtin_trap): New test.
2837         * configure: Regenerated.
2838         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2839         (ABORT_INSTRUCTION): Define using __builtin_trap.
2841         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2842         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2843         * sysdeps/nptl/nptl-signals.h: New file.
2844         * nptl/pthreadP.h: Include <nptl-signals.h>.
2846 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2848         * sysdeps/s390/s390-64/utf16-utf32-z9.c
2849         (ONE_DIRECTION): Define.
2850         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2851         (ONE_DIRECTION): Define.
2852         * sysdeps/s390/s390-64/utf8-utf32-z9.c
2853         (ONE_DIRECTION): Define.
2855 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2857         * sysdeps/s390/Makefile: Delete file.
2858         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2859         * sysdeps/s390/__longjmp.c: Delete file.
2860         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2861         Remove fields __flags and __reserved.
2862         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2863         and add versioning.
2864         * sysdeps/s390/rtld-__longjmp.c: Delete file.
2865         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2866         * sysdeps/s390/rtld-setjmp.S: Likewise.
2867         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2868         * sysdeps/s390/s390-32/__longjmp.c: ... here.
2869         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2870         * sysdeps/s390/s390-32/setjmp.S: ... here.
2871         Add versioning.
2872         (__sigsetjmp): Remove setting __flags field.
2873         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2874         * sysdeps/s390/s390-64/__longjmp.c: ... here.
2875         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2876         * sysdeps/s390/s390-64/setjmp.S: ... here.
2877         Add versioning.
2878         (__sigsetjmp): Remove setting __flags field.
2879         * sysdeps/s390/setjmp.S: Delete file.
2880         * sysdeps/s390/sigjmp.c: Likewise.
2881         * sysdeps/s390/v1-longjmp.c: Likewise.
2882         * sysdeps/s390/v1-setjmp.h: Likewise.
2883         * sysdeps/s390/v1-sigjmp.c: Likewise.
2884         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2885         Remove v1-longjmp_chk.
2886         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2887         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2888         Include debug/longjmp_chk.c and add versioning.
2889         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2890         Include nptl/pt-longjmp.c and add versioning.
2891         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2892         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2893         Include __longjmp.c.
2894         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2895         Move to ...
2896         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2897         (__getcontext): Remove setting __flags field.
2898         Add versioning.
2899         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2900         Don't restore upper high grps.
2901         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2902         Likewise.
2903         (__swapcontext): Remove setting uc_flags field.
2904         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2905         Delete file.
2906         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2907         Include __longjmp.c.
2908         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2909         Move to ...
2910         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2911         (__getcontext): Remove setting __flags field.
2912         Add versioning.
2913         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2914         (__swapcontext): Remove setting uc_flags field.
2915         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2916         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2917         Remove fields uc_high_gprs and __reserved.
2918         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2919         New file with reverted content.
2920         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2921         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2922         Regenerated.
2923         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2924         Regenerated.
2926 2014-07-31  Andreas Schwab  <schwab@suse.de>
2928         * config.h.in (HAVE_IFUNC): Define to 0.
2929         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2930         definedness.
2932 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
2934         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2935         memmove-avx-unaligned, memcpy-avx-unaligned and
2936         mempcpy-avx-unaligned.
2937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2938         Add tests for AVX memcpy functions.
2939         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2940         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2941         memcpy_chk.
2942         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2943         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2944         memmove_chk.
2945         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2946         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2947         mempcpy_chk.
2948         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2949         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2950         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2952 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2954         [BZ #17213]
2955         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2956         powerpc64le.
2958 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
2960         [BZ #16839]
2961         * manual/llio.texi: Add section about open file description locks.
2962         * manual/examples/ofdlocks.c: Example of open file description
2963         lock usage.
2964         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2965         F_OFD_SETLK, and F_OFD_SETLKW.
2967 2014-07-23  Allan McRae  <allan@archlinux.org>
2969         * po/es.po: Update Spanish translation from translation project.
2971 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
2973         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2975 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
2977         [BZ #17078]
2978         * sysdeps/arm/dl-machine.h (elf_machine_rela)
2979         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2980         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2982 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
2984         [BZ #17088]
2985         * math/fesetenv.c (__fesetenv)
2986         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2987         * math/feupdateenv.c (__feupdateenv)
2988         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2990         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2991         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2992         (__ASSUME_SOCKETCALL): Do not define.
2994         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2995         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2996         (__ASSUME_SOCKETCALL): Do not define.
2997         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2998         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2999         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3000         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3001         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3002         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3003         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3004         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3006         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3007         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3008         (__ASSUME_SOCKETCALL): Do not define.
3009         (__ASSUME_IPC64): Define unconditionally.
3010         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3011         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3012         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3013         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3014         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3015         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3016         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3017         Likewise.
3019         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3020         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3021         (__ASSUME_SOCKETCALL): Do not define.
3022         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3023         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3024         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3025         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3026         (__ASSUME_REQUEUE_PI): Define unconditionally.
3027         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3028         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3029         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3030         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3031         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3032         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3034         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3035         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3036         (__ASSUME_SOCKETCALL): Do not define.
3037         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3038         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3039         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3040         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3041         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3042         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3044         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3045         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3046         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3047         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3048         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3049         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3050         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3051         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3052         (__ASSUME_GETCPU_SYSCALL): Likewise.
3054         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3055         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
3056         cases for individual architectures.
3057         * sysdeps/gnu/configure: Regenerated.
3058         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3059         LIBC_SLIBDIR_RTLDDIR.
3060         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3061         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3062         LIBC_SLIBDIR_RTLDDIR.
3063         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3065         LIBC_SLIBDIR_RTLDDIR.
3066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3067         Regenerated.
3068         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3069         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3070         file.
3071         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3072         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3073         file.
3074         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3075         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3076         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3077         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3079         * sysdeps/aarch64/shlib-versions: Move to ...
3080         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3081         * sysdeps/alpha/shlib-versions: Move to ...
3082         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3083         * sysdeps/arm/shlib-versions: Move to ...
3084         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3085         * sysdeps/hppa/shlib-versions: Move all contents except for
3086         libgcc_s entry to ...
3087         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
3088         entry from ...
3089         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
3090         * sysdeps/ia64/shlib-versions: Move to ...
3091         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
3092         entry from ...
3093         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
3094         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3095         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3096         * sysdeps/microblaze/shlib-versions: Move to ...
3097         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3098         * sysdeps/mips/shlib-versions: Move to ...
3099         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
3100         entry from ...
3101         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
3102         * sysdeps/tile/shlib-versions: Move to ...
3103         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3104         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3105         from ...
3106         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
3107         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3108         entry from ...
3109         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
3111 2014-07-17  Will Newton  <will.newton@linaro.org>
3113         * sysdeps/arm/bits/atomic.h
3114         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3115         (__arch_compare_and_exchange_bool_16_int): Likewise.
3116         (__arch_compare_and_exchange_bool_64_int): Likewise.
3118         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3119         into an #else block.
3121 2014-07-16  Roland McGrath  <roland@hack.frob.com>
3123         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3124         just Linux configurations.  Test empirically that the compiler sets
3125         __ARM_EABI__, rather than using the tuple to decide.
3126         * sysdeps/arm/preconfigure: Regenerated.
3127         * sysdeps/unix/sysv/linux/arm/configure: File removed.
3128         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3129         contents appended ...
3130         * sysdeps/arm/configure.ac: ... here.
3131         * sysdeps/arm/configure: Regenerated.
3133 2014-07-15  Roland McGrath  <roland@hack.frob.com>
3135         * nptl/pthread_kill.c: New file.
3136         * nptl/pthread_sigmask.c: New file.
3137         * nptl/pthread_sigqueue.c: New file.
3139         * sysdeps/nptl/lowlevellock.h: New file.
3140         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3141         * sysdeps/nptl/lowlevellock-futex.h: New file.
3143         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3144         Remove dead declarations.
3146 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
3148         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3149         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3150         config-cflags-avx2.
3151         * sysdeps/x86_64/configure.ac: Likewise.
3152         * sysdeps/i386/configure: Regenerated.
3153         * sysdeps/x86_64/configure: Likewise.
3154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3155         memset-avx2 only if config-cflags-avx2 is yes.
3156         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3157         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3158         defined.
3159         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3160         only if HAVE_AVX2_SUPPORT is defined.
3161         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3163 2014-07-14  Alan Modra  <amodra@gmail.com>
3165         [BZ #17153]
3166         * elf/elf.h (DT_PPC64_NUM): Correct value.
3167         * NEWS: Add to fixed bug list.
3169 2014-07-13  Jim Meyering  <meyering@fb.com>
3171         [BZ 17150]
3172         regex: don't deref NULL upon heap allocation failure
3173         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3174         failure in one more place.
3175         To trigger the segfault, configure grep -with-included-regex,
3176         build it, and run these commands:
3177         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3179 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3181         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3183 2014-07-11  Richard Henderson  <rth@redhat.com>
3185         * sysdeps/aarch64/libm-test-ulps: Update.
3187 2014-07-10  Florian Weimer  <fweimer@redhat.com>
3189         [BZ #17135]
3190         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3191         * nptl/allocatestack.c (__nptl_setxid_error): New function.
3192         (__nptl_setxid): Initialize error member.  Call
3193         __nptl_setxid_error.
3194         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3195         * nptl/descr.h (struct xid_command): Add error member.
3196         * nptl/tst-setuid3.c: New file.
3197         * nptl/Makefile (tests): Add it.
3199 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3201         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3202         New define.
3203         (__lll_trylock): Use __lll_base_trylock.
3204         (__lll_cond_trylock): Likewise.
3206 2014-07-10  Roland McGrath  <roland@hack.frob.com>
3208         * nptl/pthread_create.c (start_thread): Use atomic_or and
3209         lll_futex_wake directly rather than lll_robust_dead.
3210         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3211         (lll_robust_dead): Macro removed.
3212         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3213         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3214         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3215         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3216         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3217         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3218         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3219         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3220         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3221         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3222         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3223         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3224         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3225         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3226         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3228         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3229         Use atomic_compare_and_exchange_val_acq directly rather than
3230         lll_robust_trylock.
3231         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3232         (__lll_robust_trylock, lll_robust_trylock): Removed.
3233         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3234         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3235         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3236         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3237         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3238         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3239         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3240         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3241         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3242         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3243         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3244         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3245         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3246         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3248 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3250         * manual/locale.texi (Locale Names): New section documenting
3251         locale name syntax.  Adjust menu and node chaining accordingly.
3252         (Choosing Locale): Reference Locale Names, Locale Categories.
3253         Mention setting LC_ALL=C.  Reflect that name syntax is now
3254         documented.
3255         (Locale Categories): New section title.  Reference Locale Names.
3256         LC_ALL is an environment variable, but not a category.
3257         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3258         description, now in Locale Name.  Reference that section.  Locale
3259         name syntax is now documented.
3261 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3263         [BZ #17137]
3264         * locale/findlocale.c (name_present, valid_locale_name): New
3265         functions.
3266         (_nl_find_locale): Use the loc_name variable to store name
3267         candidates.  Call name_present and valid_locale_name to check and
3268         validate locale names.  Return an error if the locale is invalid.
3270 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3272         * locale/setlocale.c (setlocale): Use strdup for allocating
3273         composite name copy.
3275 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3277         Sync up with gnulib.
3278         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3279         [!_LIBC && ENABLE_NLS]: Include gettext.h.
3280         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3281         and _GL_ARG_NONNULL.
3282         [USE_UNLOCKED_IO]: Include unlocked-io.h.
3283         [!_LIBC]: Include code for Windows and Cygwin.
3284         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3285         Include prototype for int strerror_r.
3286         [!_LIBC] (is_open): New function.
3287         (flush_stdout): New function.
3288         (print_errno_message): Use it.
3289         (error): Likewise.
3290         (error_at_line): Likewise.
3291         (error_tail) Add function attribute macros.  Use
3292         __builtin_expect.
3294         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3296         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3298         * io/ftw.c: Include sys/param.h unconditionally.
3300         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3302         [BZ #17125]
3303         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3304         libc_freeres_ptr.
3305         (freecache): New function to free CACHE on exit.
3307         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3308         initialization.
3310 2014-07-09  David S. Miller  <davem@davemloft.net>
3312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3314         * sysdeps/sparc/nptl/internaltypes.h: Delete.
3315         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3316         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3317         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3318         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3319         * sysdeps/sparc/nptl/sem_init.c: Likewise.
3320         * sysdeps/sparc/nptl/sem_post.c: Likewise.
3321         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3322         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3323         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3324         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3325         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3326         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3328 2014-07-09  Andreas Schwab  <schwab@suse.de>
3330         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3331         output.
3332         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3333         (do_test): Likewise.
3335         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3337 2014-07-09  Will Newton  <will.newton@linaro.org>
3339         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3340         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3341         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3342         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3343         * sysdeps/hppa/start.S (_start): Likewise.
3345 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3347         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3349         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3350         defined.
3352 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3354         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3355         after checking that it is non-NULL.
3357         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3359 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3361         * sysdeps/powerpc/memmove.c: Remove file.
3362         * sysdeps/powerpc/powerpc32/power4/memcopy.h
3363         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3364         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3365         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3366         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3367         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3368         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3369         string memmove instead of removed powerpc one.
3371         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3372         [weak_alias]: Fix compiler warning due trailing data.
3373         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3374         [weak_alias]: Likewise.
3375         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3376         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3379         (__libc_ifunc_impl_list): Add memmove functions.
3381 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3383         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3384         Remove code.
3385         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3386         Likewise
3387         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3388         Likewise
3389         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3390         Likewise
3391         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3392         Likewise
3393         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3394         Likewise
3395         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3396         Likewise
3397         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3398         Likewise
3399         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3400         Likewise
3401         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3402         Likewise
3403         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3404         Likewise
3405         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3406         Likewise
3407         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3408         Likewise
3409         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3410         Likewise
3411         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3412         Likewise
3413         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3414         Likewise
3415         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3416         Likewise
3418 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3420         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3421         to avoid alignment traps in non-cacheable memory.
3422         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3425         multiarch objects.
3426         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3427         file: multiarch power7 memmove.
3428         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3429         multiarch default memmove.
3430         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3431         multiarch memove for powerpc32/power4.
3433         * string/bcopy.c: Use full path to include memmove.c.
3434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3435         multiarch objects.
3436         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3437         bcopy for powerpc64.
3438         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3439         bcopy for powerpc64.
3440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3441         and memmove implementations.
3442         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3443         optimized multiarch memmove for POWER7/powerpc64.
3444         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3445         default multiarch memmove for powerpc64.
3446         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3447         multiarch for powerpc64.
3448         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3449         for POWER7/powerpc64.
3450         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3451         memmove for POWER7/powerpc64.
3453         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3454         glibc default one.
3456         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3457         __ELF_NATIVE_CLASS equal to 64.
3459 2014-07-07  Roland McGrath  <roland@hack.frob.com>
3461         * sysdeps/nptl/lowlevellock.h: File removed.
3463         * NEWS: NPTL is no longer an add-on!
3464         * nptl/internaltypes.h: Moved ...
3465         * sysdeps/nptl/internaltypes.h: ... here.
3466         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3467         * sysdeps/nptl/fork.c: Likewise.
3468         * sysdeps/nptl/gai_misc.h: Likewise.
3469         * sysdeps/nptl/librt-cancellation.c: Likewise.
3470         * sysdeps/nptl/jmp-unwind.c: Likewise.
3471         * sysdeps/nptl/setxid.h: Likewise.
3472         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3473         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3474         * sysdeps/unix/sysv/linux/arm/Implies: New file.
3475         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3476         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3477         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3478         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3479         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3480         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3481         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3482         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3483         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3484         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3485         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3486         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3487         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3488         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3489         * nptl/Makeconfig: Moved ...
3490         * sysdeps/nptl/Makeconfig: ... here.
3491         * nptl/configure: File removed.
3492         * nptl/ANNOUNCE: File removed.
3493         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3494         * sysdeps/unix/sysv/linux/configure: Regenerated.
3496         * nptl/Makefile (routines): Add libc_pthread_init,
3497         libc_multiple_threads, register-atfork and unregister-atfork.
3498         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3499         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3500         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3501         pthread-pi-defines.sym, structsem.sym.
3502         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3503         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3504         [$(subdir) = nptl] (tests): Add tst-setgetname.
3505         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3506         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3507         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3508         [!LIBC_SIGACTION]: Remove aliases.
3509         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3510         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3511         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3512         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3513         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3514         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3515         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3516         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3517         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3518         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3519         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3520         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3521         __libc_allocate_rtsig_private.
3522         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3523         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3524         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3525         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3526         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3527         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3528         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3529         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3530         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3531         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3532         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3533         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3534         * nptl/internaltypes.h: ... here.
3535         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3536         * sysdeps/nptl/jmp-unwind.c: ... here.
3537         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3538         * nptl/libc-lowlevellock.c: ... here.
3539         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3540         * nptl/libc_multiple_threads.c: ... here.
3541         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3542         * nptl/libc_pthread_init.c: ... here.
3543         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3544         * nptl/lowlevelbarrier.sym: ... here.
3545         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3546         * nptl/lowlevelcond.sym: ... here.
3547         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3548         * nptl/lowlevellock.c: ... here.
3549         * nptl/lowlevellock.h: Moved ...
3550         * sysdeps/nptl/lowlevellock.h: ... here.
3551         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3552         * nptl/lowlevelrobustlock.c: ... here.
3553         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3554         * nptl/lowlevelrobustlock.sym: ... here.
3555         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3556         * nptl/lowlevelrwlock.sym: ... here.
3557         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3558         * nptl/pt-fork.c: ... here.
3559         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3560         * nptl/pthread-pi-defines.sym: ... here.
3561         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3562         * nptl/pthread_attr_getaffinity.c: ... here.
3563         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3564         * nptl/pthread_attr_setaffinity.c: ... here.
3565         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3566         * nptl/pthread_mutex_cond_lock.c: ... here.
3567         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3568         Update #include.
3569         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3570         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3571         * nptl/pthread_once.c: ... here, replacing old file.
3572         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3573         * nptl/pthread_yield.c: ... here.
3574         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3575         * nptl/register-atfork.c: ... here.
3576         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3577         * nptl/sem_post.c: ... here.
3578         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3579         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3580         * nptl/sem_timedwait.c: ... here.
3581         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3582         * nptl/sem_trywait.c: ... here.
3583         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3584         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3585         * nptl/sem_wait.c: ... here.
3586         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3587         * nptl/structsem.sym: ... here.
3588         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3589         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3590         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3591         * nptl/unregister-atfork.c: ... here.
3592         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3593         * nptl/unwindbuf.sym: ... here.
3594         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3595         * sysdeps/nptl/fork.c: ... here.
3596         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3597         * sysdeps/nptl/fork.h: ... here.
3598         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3599         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3600         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3601         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3602         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3603         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3604         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3605         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3606         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3607         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3608         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3609         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3610         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3611         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3612         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3613         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3614         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3615         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3616         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3617         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3618         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3619         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3620         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3621         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3622         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3623         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3624         * sysdeps/unix/sysv/linux/raise.c: ... here.
3625         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3626         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3627         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3628         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3629         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3630         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3631         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3632         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3633         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3634         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3635         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3636         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3637         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3638         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3639         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3641 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3643         * sysdeps/generic/memcopy.h: Add comment for
3644         MEMCPY_OK_FOR_FWD_MEMMOVE.
3646 2014-07-04  Will Newton  <will.newton@linaro.org>
3648         * string/memchr.c: Merge from gnulib.
3649         [_LIBC]: Remove conditionals.
3650         (__ptr_t): Remove define.
3651         (LONG_MAX_32_BITS): Likewise.
3652         (LONG_MAX): Likewise.
3653         (MEMCHR): Use ANSI prototype and optimize algorithm.
3655         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3657 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3659         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3660         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3662         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3663         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3664         in a bare environment with no <stdlib.h> installed.
3665         * sysdeps/nptl/configure: Regenerated.
3667         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3669         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3670         AC_EGREP_CPP for kernel header checks, so they only succeed if
3671         including <linux/version.h> actually works right.
3672         * sysdeps/unix/sysv/linux/configure: Regenerated.
3674         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3675         value so it's not diagnosed as unused.
3677         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3678         thing) with "ifeq ($(subdir),rt)".
3680 2014-07-03  Richard Henderson  <rth@redhat.com>
3682         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3683         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3684         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3686         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3687         (math_force_eval): New.
3689         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3690         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3692         * sysdeps/alpha/fpu/s_round.c: Remove file.
3693         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3695         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3696         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3697         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3698         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3699         (_dl_start, print_statistics): Likewise.
3700         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3701         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3703         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3704         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3705         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3706         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3707         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3708         (HP_SMALL_TIMING_AVAIL): Define.
3709         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3710         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3711         (HP_SMALL_TIMING_AVAIL): Define.
3712         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3713         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3715         * sysdeps/aarch64/hp-timing.h: New file.
3717         * sysdeps/generic/hp-timing.h: Remove dead comment.
3718         * sysdeps/generic/hp-timing-common.h: New file.
3719         * sysdeps/alpha/hp-timing.h: Include it.
3720         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3721         * sysdeps/i386/i686/hp-timing.h: Likewise.
3722         * sysdeps/ia64/hp-timing.h: Likewise.
3723         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3724         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3725         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3726         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3727         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3728         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3729         (hp_timing_t): New.
3731         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3732         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3733         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3734         * elf/rtld.c (_dl_start_final): Likewise.
3735         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3736         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3737         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3738         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3739         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3740         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3741         (HP_TIMING_DIFF_INIT): Remove.
3742         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3743         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3744         (HP_TIMING_DIFF_INIT): Remove.
3745         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3746         * sysdeps/i386/i686/hp-timing.c: Remove file.
3747         * sysdeps/x86_64/hp-timing.c: Remove file.
3748         * sysdeps/ia64/hp-timing.c: Remove file.
3749         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3750         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3751         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3752         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3754         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3755         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3756         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3757         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3758         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3759         (HP_TIMING_ACCUM): Remove.
3760         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3761         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3762         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3764         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3765         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3766         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3767         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3768         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3769         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3770         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3771         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3773         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3775 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
3777         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3779 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3781         Sync up with gettext.
3782         * intl/loadmsgcat.c: Define O_BINARY if not defined.
3783         [_MSC_VER]: Include malloc.h
3784         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3785         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3786         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
3787         TEMP_FAILURE_RETRY.  Cast return of alloca.
3788         [!_LIBC] Call gl_rwlock_init.
3789         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3791 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3793         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3794         before checking its value.
3796 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3798         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3800         * debug/memcpy_chk.c: Don't include pagecopy.h.
3801         * debug/mempcpy_chk.c: Likewise.
3802         * string/memcpy.c: Likewise.
3803         * string/memmove.c: Likewise.
3804         * sysdeps/powerpc/memmove.c: Likewise.
3805         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
3806         definition of PAGE_COPY_FWD_MAYBE here...
3807         * sysdeps/generic/pagecopy.h: ... from here.
3808         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3810 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3811             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3813         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3815         optimizations.
3816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3817         (__libc_ifunc_impl_list): Likewise.
3818         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3819         multiarch strcat for PPC64.
3820         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3821         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3823 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3825         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3827 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3829         * intl/loadmsgcat.c: Remove declaration of
3830         get_sysdep_segment_value.
3831         (get_sysdep_segment_value): Use ISO C style.
3832         (_nl_load_domain): Use ISO C style.  Get rid of redundant
3833         semicolon.  Fix typo and formatting in comment.
3834         (_nl_unload_domain): Use ISO C style.
3836         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3838 2014-07-02  Will Newton  <will.newton@linaro.org>
3840         * malloc/obstack.c: Merge from gnulib master.
3841         [HAVE_CONFIG_H]: Remove conditional code.
3842         [!_LIBC]: Include config.h.
3843         [!ELIDE_CODE]: Don't include inttypes.h, include
3844         stdint.h unconditionally.
3845         (print_and_abort): Mark as _Noreturn.
3846         (_obstack_allocated_p): Mark as __attribute_pure__.
3847         (obstack_free): Rename to __obstack_free.
3848         [!__attribute__]: Remove conditional code.
3849         * malloc/obstack.h: Merge from gnulib master.
3850         [__cplusplus]: Move conditional down.
3851         [!__attribute_pure__]: Define __attribute_pure__ here
3852         if it is not already defined.
3853         (_obstack_memory_used): Mark as __attribute_pure__.
3854         [!__obstack_free]: Define as obstack_free.
3855         [__GNUC__]: Remove check for ancient NeXT gcc.
3857 2014-07-02  Will Newton  <will.newton@linaro.org>
3858             Paul Eggert  <eggert@cs.ucla.edu>
3860         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3862 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3864         * resolv/gethnamaddr.c: Add comment warning that the file is
3865         not maintained.
3867 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
3869         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3870         entries.
3872         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3873         entry for aio_cancel and aio_cancel64.
3874         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3875         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3876         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3877         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3878         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3879         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3880         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3881         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3882         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3883         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3884         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3885         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3886         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3888 2014-07-01  Roland McGrath  <roland@hack.frob.com>
3890         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3891         * nptl/pthread_mutex_lock.c: Likewise.
3892         * nptl/pthread_mutex_timedlock.c: Likewise.
3893         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3895 2014-07-01  Richard henderson  <rth@redhat.com>
3897         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3898         (__isnan, __isnanl): Remove.
3899         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3901         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3903 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3905         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3907 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3909         * resolv/nss_dns/dns-host.c (getanswer_r)
3910         [MULTI_PTRS_ARE_ALIASES]: Remove code.
3912 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
3914         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3915         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3916         undefine.
3917         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3918         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3920 2014-07-01  Roland McGrath <roland@hack.frob.com>
3922         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3923         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3925         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3926         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3928         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3929         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3930         ... here.
3931         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3932         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3934         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3935         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3936         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3937         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3939         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3940         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3941         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3942         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3943         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3944         Moved ...
3945         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3946         ... here.
3947         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3948         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3949         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3950         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3951         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3952         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3953         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3954         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3955         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3956         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3957         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3958         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3959         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3960         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3961         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3962         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3963         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3964         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3965         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3966         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3967         ... here.
3968         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3969         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3970         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3971         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3972         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3973         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3974         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3975         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3977 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
3979         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3980         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3981         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3982         Add sysdep.
3984 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3988 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3990         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3991         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3993         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3995         * sysdeps/arm/libm-test-ulps: Regenerated.
3997 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3998             Roland McGrath <roland@hack.frob.com>
4000         * test-skeleton.c (signal_handler): Kill the whole process group
4001         before killing the child individually.
4002         (main): Report any failure on `setpgid'.
4004 2014-06-30  Roland McGrath  <roland@hack.frob.com>
4006         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4007         from _TLS_H to _ARM_NPTL_TLS_H.
4008         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4009         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4011 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4013         [BZ #16539]
4014         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4015         (__expm1l): Return argument unchanged when small but not
4016         subnormal.
4018         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4019         include macro name.
4020         (_FP_UNPACK_RAW_1_P): Likewise.
4021         (_FP_PACK_RAW_1): Likewise.
4022         (_FP_PACK_RAW_1_P): Likewise.
4023         (_FP_MUL_MEAT_1_wide): Likewise.
4024         (_FP_MUL_MEAT_DW_1_hard): Likewise.
4025         (_FP_MUL_MEAT_1_hard): Likewise.
4026         (_FP_DIV_MEAT_1_imm): Likewise.
4027         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4028         (_FP_DIV_MEAT_1_udiv): Likewise.
4029         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4030         (_FP_UNPACK_RAW_2): Likewise.
4031         (_FP_UNPACK_RAW_2_P): Likewise.
4032         (_FP_PACK_RAW_2): Likewise.
4033         (_FP_PACK_RAW_2_P): Likewise.
4034         (_FP_MUL_MEAT_DW_2_wide): Likewise.
4035         (_FP_MUL_MEAT_2_wide): Likewise.
4036         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4037         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4038         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4039         (_FP_MUL_MEAT_2_gmp): Likewise.
4040         (_FP_DIV_MEAT_2_udiv): Likewise.
4041         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4042         (_FP_FRAC_SRL_4): Likewise.
4043         (_FP_FRAC_SRST_4): Likewise.
4044         (_FP_FRAC_SRS_4): Likewise.
4045         (_FP_UNPACK_RAW_4): Likewise.
4046         (_FP_UNPACK_RAW_4_P): Likewise.
4047         (_FP_PACK_RAW_4): Likewise.
4048         (_FP_PACK_RAW_4_P): Likewise.
4049         (_FP_MUL_MEAT_DW_4_wide): Likewise.
4050         (_FP_MUL_MEAT_4_wide): Likewise.
4051         (_FP_MUL_MEAT_4_gmp): Likewise.
4052         (umul_ppppmnnn): Likewise.
4053         (_FP_DIV_MEAT_4_udiv): Likewise.
4054         (__FP_FRAC_ADD_4): Likewise.
4055         (__FP_FRAC_SUB_3): Likewise.
4056         (__FP_FRAC_SUB_4): Likewise.
4057         (__FP_FRAC_DEC_3): Likewise.
4058         (__FP_FRAC_DEC_4): Likewise.
4059         (__FP_FRAC_ADDI_4): Likewise.
4060         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4061         (_FP_FRAC_SRL_8): Likewise.
4062         (_FP_FRAC_SRS_8): Likewise.
4064         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4065         include macro name.
4066         (FP_UNPACK_RAW_EP): Likewise.
4067         (FP_PACK_RAW_E): Likewise.
4068         (FP_PACK_RAW_EP): Likewise.
4069         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4070         (_FP_ISSIGNAN): Likewise.
4071         (_FP_ADD_INTERNAL): Likewise.
4072         (_FP_FMA): Likewise.
4073         (_FP_CMP): Likewise.
4074         (_FP_SQRT): Likewise.
4075         (_FP_TO_INT): Likewise.
4076         (_FP_FROM_INT): Likewise.
4077         (FP_EXTEND): Likewise.
4078         (_FP_DIV_MEAT_N_loop): Likewise.
4080 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4082         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4083         throughout.
4085 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
4087         [BZ #17097]
4088         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4089         result with correct sign in case of exponents that produce
4090         overflow except for X very close to 1.
4092 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
4094         mktime: merge #if/#ifdef usage from glibc
4095         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4096         as that works with both Glibc's and Gnulib's style.
4097         See thread starting at Siddhesh Poyarekar's bug report at:
4098         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4100 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4102         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4103         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4104         * sysdeps/tile/tilegx/memmove.c: Remove file.
4106 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4108         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4109         abi-name definition.
4110         * scripts/soversions.awk: Do not handle or generate ABI lines.
4111         * shlib-versions: Remove ABI entries.
4112         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4113         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4115 2014-06-27  Roland McGrath  <roland@hack.frob.com>
4117         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4118         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4119         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4120         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4122         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4124         Moved ...
4125         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4126         ... here.
4127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4128         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4129         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4130         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4132         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4133         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4134         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4136         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4137         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4138         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4139         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4140         Moved ...
4141         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4142         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4143         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4145         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4146         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4147         Moved ...
4148         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4150         Moved ...
4151         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4153         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4155         Moved ...
4156         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4157         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4158         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4159         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4160         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4161         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4162         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4163         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4164         Moved ...
4165         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4167         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4168         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4169         Moved ...
4170         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4171         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4172         Moved ...
4173         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4174         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4175         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4176         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4177         Moved ...
4178         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4179         ... here.
4180         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4181         Identical file removed.
4182         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4183         Moved ...
4184         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4185         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4186         Identical file removed.
4187         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4188         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4189         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4190         Moved ...
4191         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4192         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4193         Identical file removed.
4194         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4195         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4196         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4197         Identical file removed.
4198         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4199         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4200         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4201         Identical file removed.
4202         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4203         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4204         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4205         Identical file removed.
4206         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4207         Moved ...
4208         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4209         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4210         Identical file removed.
4211         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4212         Moved ...
4213         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4214         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4215         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4216         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4217         Identical file removed.
4218         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4219         Moved ...
4220         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4221         ... here.
4222         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4223         Identical file removed.
4224         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4225         Moved ...
4226         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4227         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4228         Identical file removed.
4229         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4230         Moved ...
4231         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4232         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4233         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4234         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4235         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4236         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4237         Moved ...
4238         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4239         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4240         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4242         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4243         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4244         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4245         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4246         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4248 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
4250         [BZ #17092]
4251         * nscd/nscd.c (monitor_child): Return exit status of child
4252         instead of return value from wait syscall.
4254 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4256         * configure.ac (libc_commonpagesize): Remove variable.
4257         (libc_relro_required): Likewise.
4258         (libc_cv_z_relro): Remove configure test.
4259         * configure: Regenerated.
4260         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4261         variable.
4262         (libc_relro_required): Likewise.
4263         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4264         (libc_relro_required): Likewise.
4265         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4266         (libc_relro_required): Likewise.
4267         * sysdeps/arm/preconfigure: Regenerated.
4268         * sysdeps/ia64/preconfigure: Remove file.
4269         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4270         variable.
4271         (libc_relro_required): Likewise.
4273         [BZ #16561]
4274         [BZ #16562]
4275         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4276         (__ieee754_yn): Set FE_TONEAREST mode internally and then
4277         recompute overflowing results in original rounding mode.
4278         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4279         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4280         recompute overflowing results in original rounding mode.
4281         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4282         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4283         recompute overflowing results in original rounding mode.
4284         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4285         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4286         recompute overflowing results in original rounding mode.
4287         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4288         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4289         recompute overflowing results in original rounding mode.
4290         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4291         (libc_feholdsetround_ctx): New macro.
4292         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4293         * sysdeps/i386/fpu/libm-test-ulps: Update.
4294         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4296 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4298         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4299         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4300         corresponding .cpsetup call.
4302 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4304         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4305         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4306         * sysdeps/arm/Makefile [$(subdir) = csu]
4307         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4308         (static-only-routines): Add aeabi_read_tp here.
4309         (shared-only-routines): Add libc-aeabi_read_tp here.
4310         (CFLAGS-libc-start.c): Add -fexceptions here.
4311         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4312         (sysdep_routines, static-only-routines, shared-only-routines):
4313         Don't add to these here.
4314         (CFLAGS-libc-start.c): Likewise.
4316         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4317         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4318         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4319         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4320         * sysdeps/arm/Makefile [$(subdir) = rt]
4321         (librt-sysdep_routines, librt-shared-only-routines):
4322         Append rt-aeabi_unwind_cpp_pr1 here.
4323         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4324         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4325         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4326         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4327         Append nptl-aeabi_unwind_cpp_pr1 here.
4328         (tests): Filter out tst-cleanupx4 here.
4329         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4330         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4331         Don't do those here.
4333 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4335         * scripts/list-sources.sh: Do not handle ports specially.
4337 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4339         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4340         * sysdeps/arm/feupdateenv.c: Likewise.
4342         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4344 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4346         * manual/texinfo.tex: Update to version 2014-05-05.10 with
4347         trailing whitespace removed.
4348         * scripts/config.guess: Update to version 2014-03-23.
4349         * scripts/config.sub: Update to version 2014-05-01
4350         * scripts/install-sh: Update to version 2013-12-25.23.
4351         * scripts/move-if-change: Update from gnulib.
4353 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4355         * debug/memmove_chk.c: Remove pagecopy.h include.
4357 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
4359         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
4360         identical to gnulib mktime.
4362 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4364         * configure.ac: Do not test for machine being rs6000.  Do not test
4365         for powerpc*-*soft.
4366         * configure: Regenerated.
4368         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4369         test.
4370         * configure: Regenerated.
4371         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4372         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4373         Remove configure test.
4374         * sysdeps/arm/configure: Regenerated.
4375         * sysdeps/nptl/configure.ac: Do not check
4376         libc_cv_asm_cfi_directives.
4377         * sysdeps/nptl/configure: Regenerated.
4378         * sysdeps/x86_64/nptl/configure.ac: Remove file.
4379         * sysdeps/x86_64/nptl/configure: Remove generated file.
4380         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4381         unconditional.
4382         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4384 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4386         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4387         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4388         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4389         it is defined.
4391         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4392         instead of whether it is defined.
4393         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4394         * sysdeps/hppa/dl-machine.h: Likewise.
4395         * sysdeps/ia64/dl-machine.h: Likewise.
4396         * sysdeps/m68k/dl-machine.h: Likewise.
4397         * sysdeps/microblaze/dl-machine.h: Likewise.
4398         * sysdeps/mips/dl-machine.: Likewise.
4399         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4400         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4401         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4402         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4403         * sysdeps/sh/dl-machine.h: Likewise.
4404         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4405         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4406         * sysdeps/tile/dl-machine.h: Likewise.
4407         * sysdeps/x86_64/dl-machine.h: Likewise.
4409         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4410         code.
4411         (verify_persistent_db): Likewise.
4413 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4416         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4418         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4420         Moved ...
4421         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4422         ... here.
4423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4424         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4426         Identical file removed.
4427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4428         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4430         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4432         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4434         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4436         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4438         Moved ...
4439         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4441         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4443         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4445         Moved ...
4446         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4448         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4450         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4452         Identical file removed.
4453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4454         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4456         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4458         Moved ...
4459         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4460         ... here.
4461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4462         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4464         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4466         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4468         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4470         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4472         Moved ...
4473         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4475         Moved ...
4476         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4478         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4480         Moved ...
4481         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4483         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4485         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4486         folded into ...
4487         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4488         * sysdeps/unix/sysv/linux/s390/Versions
4489         (libpthread: GLIBC_2.19): New version set.
4490         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4491         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4492         (librt: GLIBC_2.3.3): New version set.
4493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4494         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4495         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4496         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4497         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4498         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4499         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4500         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4501         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4502         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4503         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4504         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4505         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4506         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4507         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4508         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4509         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4510         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4511         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4512         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4513         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4514         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4515         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4516         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4517         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4518         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4519         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4520         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4521         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4522         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4523         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4524         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4525         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4526         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4527         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4528         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4529         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4530         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4531         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4532         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4533         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4534         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4535         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4536         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4537         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4539         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4540         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4541         (__libc_vfork): Define the function under this name.
4542         [!NOT_IN_libc] (__vfork): Make this an alias.
4543         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4544         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4545         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4546         (__libc_vfork): Define the function under this name.
4547         [!NOT_IN_libc] (__vfork): Make this an alias.
4548         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4549         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4550         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4551         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4552         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4553         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4555         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4556         code that was previously under [RESET_PID].
4557         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4558         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4561         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4562         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4563         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4564         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4565         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4566         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4567         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4568         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4569         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4570         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4571         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4572         Moved ...
4573         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4574         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4575         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4576         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4577         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4578         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4579         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4580         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4581         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4582         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4583         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4584         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4585         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4586         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4587         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4588         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4589         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4590         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4591         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4592         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4593         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4594         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4595         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4596         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4597         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4598         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4599         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4600         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4601         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4603 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4605         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4606         that was previously under [RESET_PID].
4607         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4609 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4611         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4612         not undefine and redefine.
4613         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4614         [O_CLOEXEC]: Make code unconditional.
4615         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4616         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4617         <kernel-features.h>.
4618         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4619         conditional variable definition.
4620         (shm_open) [O_CLOEXEC]: Make code unconditional.
4621         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4622         code.
4624         * configure.ac (USE_REGPARMS): Don't define here.
4625         * configure: Regenerated.
4626         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4627         * sysdeps/i386/configure: Regenerated.
4629         * nptl/createthread.c: Don't include kernel-features.h.
4630         * nptl/pthread_cancel.c: Likewise.
4631         * nptl/pthread_condattr_setclock.c: Likewise.
4632         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4633         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4634         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4635         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4636         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4637         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4638         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4639         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4641         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4642         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4643         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4644         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4645         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4646         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4647         * nscd/gai.c: Likewise.
4648         * nss/nss_db/db-open.c: Likewise.
4649         * sysdeps/generic/ldsodefs.h: Likewise.
4650         * sysdeps/sh/nptl/tls.h: Likewise.
4651         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4652         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4653         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4654         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4655         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4656         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4657         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4658         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4659         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4660         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4661         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4662         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4663         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4664         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4665         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4666         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4667         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4668         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4669         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4670         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4671         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4672         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4673         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4674         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4675         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4676         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4677         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4678         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4679         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4680         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4681         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4682         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4683         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4684         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4685         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4686         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4687         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4688         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4689         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4690         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4691         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4692         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4693         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4694         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4695         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4696         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4697         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4698         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4699         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4700         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4701         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4702         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4703         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4704         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4705         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4706         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4707         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4708         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4731         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4732         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4733         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4734         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4735         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4736         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4737         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4738         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4739         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4740         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4741         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4742         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4743         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4744         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4745         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4746         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4747         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4748         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4749         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4750         * sysdeps/unix/sysv/linux/system.c: Likewise.
4751         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4752         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4753         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4754         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4755         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4756         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4757         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4759         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4760         * configure: Regenerated.
4761         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4763         * configure.ac (base_machine): Do not set specially for particular
4764         machines here.
4765         * configure: Regenerated.
4766         * sysdeps/powerpc/preconfigure: Move machine and base_machine
4767         settings from configure.ac.
4768         * sysdeps/i386/preconfigure: New file.
4769         * sysdeps/s390/preconfigure: Likewise.
4770         * sysdeps/sh/preconfigure: Likewise.
4771         * sysdeps/sparc/preconfigure: Likewise.
4773 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4775         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4776         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4777         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4778         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4779         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4780         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4781         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4782         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4783         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4784         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4785         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4786         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4787         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4788         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4789         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4790         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4791         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4792         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4793         * sysdeps/sparc/sparc64/Makefile: ... appended here.
4795         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4796         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4797         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4798         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4799         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4800         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4801         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4802         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4803         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4804         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4805         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4806         * sysdeps/sparc/sparc32/sem_post.c: ... here.
4807         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4808         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4809         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4810         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4811         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4812         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4813         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4814         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4815         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4816         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4817         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4818         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4819         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4820         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4821         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4822         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4823         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4824         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4825         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4826         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4827         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4828         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4829         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4830         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4831         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4832         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4835         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4837         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4839         Moved ...
4840         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4841         ... here.
4842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4843         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4845         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4847         Moved ...
4848         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4850         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4852         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4854         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4856         Moved ...
4857         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4859         Moved ...
4860         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4862         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4864         Moved ...
4865         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4867         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4869         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4871         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4873         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4875         Moved ...
4876         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4877         ... here.
4878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4879         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4881         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4883         Moved ...
4884         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4886         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4888         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4890         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4892         Moved ...
4893         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4895         Moved ...
4896         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4898         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4900         Moved ...
4901         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4903         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4905         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4907 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4909         * timezone/checktab.awk: Update from tzcode 2014e.
4910         * timezone/private.h: Likewise.
4911         * timezone/tzfile.h: Likewise.
4912         * timezone/zdump.c: Likewise.
4913         * timezone/zic.c: Likewise.
4915         * sysdeps/unix/sysv/linux/kernel-features.h
4916         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4917         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4918         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4919         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4920         Remove conditional code.
4922 2014-06-25  Will Newton  <will.newton@linaro.org>
4924         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4925         (_dl_arm_cap_flags): Add HWCAP2 values.
4926         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4927         (_DL_HWCAP_COUNT): Increase to 37.
4928         (_DL_HWCAP_LAST): New define.
4929         (_DL_HWCAP2_LAST): New define.
4930         (_dl_procinfo): Add support for printing
4931         AT_HWCAP2 entries.
4932         (_dl_string_hwcap): Use _dl_hwcap_string.
4934 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4938 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4940         * README: Do not mention ports directory.
4942         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4943         Remove macro.
4944         * sysdeps/unix/sysv/linux/futimes.c: Do not include
4945         <kernel-features.h>.
4946         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4947         conditional variable definition.
4948         (__futimes): Update comment.
4949         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4950         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4952         [BZ #16560]
4953         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4954         arguments close to 0.
4955         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4956         Likewise.
4957         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4958         Likewise.
4959         * math/auto-libm-test-in: Add more tests of exp10.
4960         * math/auto-libm-test-out: Regenerated.
4961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4963         * sysdeps/unix/sysv/linux/kernel-features.h
4964         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4965         * sysdeps/unix/sysv/linux/readv.c: Do not include
4966         <kernel-features.h>.
4967         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4968         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4969         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4970         unconditional.
4971         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4972         conditional code.
4973         * sysdeps/unix/sysv/linux/writev.c: Do not include
4974         <kernel-features.h>.
4975         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4976         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4977         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4978         unconditional.
4979         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4980         conditional code.
4982 2014-06-25  Will Newton  <will.newton@linaro.org>
4984         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4985         comment changes throughout the file.  Remove checks
4986         for HAVE_*_H definitions that are not required.
4987         (__gen_tempname): Call abort if an unknown kind value is
4988         passed.
4990 2014-06-25  Andreas Schwab  <schwab@suse.de>
4992         [BZ #17086]
4993         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4994         scalbln, scalblnf, scalblnl in libc.
4996 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4998         [BZ #17086]
4999         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5000         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5001         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5003 2014-06-24  Roland McGrath  <roland@hack.frob.com>
5005         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5006         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5007         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5008         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5009         Update #include.
5010         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5011         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5012         Update #include.
5013         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5014         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5015         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5016         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5017         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5018         * sysdeps/x86/bits/pthreadtypes.h: ... here.
5019         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5020         * sysdeps/x86/bits/semaphore.h: ... here.
5021         * sysdeps/x86/nptl/elide.h: Moved ...
5022         * sysdeps/x86/elide.h: ... here.
5023         * sysdeps/x86_64/nptl/Implies: File removed.
5024         * sysdeps/i386/nptl/Implies: File removed.
5026 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
5028         [BZ #16539]
5029         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5030         return the argument for normal arguments with exponent below -64.
5031         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5032         Likewise.
5033         * math/auto-libm-test-in: Add another test of expm1.
5034         * math/auto-libm-test-out: Regenerated.
5036         [BZ #16287]
5037         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5038         calling __erfcl for arguments at least 16.
5039         * math/auto-libm-test-in: Add more tests of erf.
5040         * math/auto-libm-test-out: Regenerated.
5042         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5043         individual architectures.
5044         * sysdeps/unix/sysv/linux/configure: Regenerated.
5045         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5046         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5047         * sysdeps/unix/sysv/linux/powerpc/configure.ac
5048         (ldd_rewrite_script): Define variable.
5049         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5051         file.
5052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5053         generated file.
5054         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5055         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5056         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5057         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5058         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5059         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5060         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5061         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5063 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5065         [BZ #17084]
5066         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5067         Rename member __data.d to __data.__elision_data.
5069 2014-06-24  Wilco  <wdijkstr@arm.com>
5071         * NEWS: Add 16918 to fixed bug list.
5073 2014-06-24  Wilco  <wdijkstr@arm.com>
5075         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5077 2014-06-24  Wilco  <wdijkstr@arm.com>
5079         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5080         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5081         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5082         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5083         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5084         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5085         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5086         Use _FPU_MASK_RM.
5088 2014-06-24  Wilco  <wdijkstr@arm.com>
5090         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5092 2014-06-24  Wilco  <wdijkstr@arm.com>
5094         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5095         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5096         * sysdeps/arm/fesetround.c (fesetround): Remove space.
5097         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5099 2014-06-24  Wilco  <wdijkstr@arm.com>
5101         [BZ #16918]
5102         * sysdeps/arm/feupdateenv.c (feupdateenv):
5103         Rewrite to reduce FPSCR accesses and fix return value.
5105 2014-06-24  Wilco  <wdijkstr@arm.com>
5107         * sysdeps/arm/fclrexcpt.c (feclearexcept):
5108         Optimize to avoid unnecessary FPSCR writes.
5109         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5110         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5111         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5112         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5114 2014-06-24  Wilco  <wdijkstr@arm.com>
5116         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5117         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5118         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5119         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5120         Call libc_fetestexcept_vfp.
5121         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5122         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5123         __SOFTFP__ ifdef so that they can be built for softfp.
5125 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5127         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5128         argument type signed char.
5130         * Makerules (check-abi): Dump diff of symlist if the test
5131         fails.
5133 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5135         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5136         using abort.
5138         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5139         Remove unused variable ST.
5141 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5143         [BZ #16354]
5144         [BZ #17061]
5145         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5146         small arguments before calling __expm1.
5147         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5148         small arguments before calling __expm1f.
5149         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5150         small arguments before calling __expm1l.
5151         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5152         Likewise.
5153         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5154         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
5155         spurious underflow for some cosh tests.
5156         * math/auto-libm-test-out: Regenerated.
5157         * sysdeps/i386/fpu/libm-test-ulps: Update.
5159         [BZ #17050]
5160         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5161         (__ieee754_y1): Set errno if return value overflows.
5162         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5163         (__ieee754_y1f): Set errno if return value overflows.
5164         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5165         (__ieee754_y1l): Set errno if return value overflows.
5166         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5167         (__ieee754_y1l): Set errno if return value overflows.
5168         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5169         * math/auto-libm-test-out: Regenerated.
5171         * math/gen-auto-libm-tests.c: Document use of
5172         ignore-zero-inf-sign.
5173         (input_flag_type): Add value flag_ignore_zero_inf_sign.
5174         (input_flags): Add ignore-zero-inf-sign.
5175         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5176         * math/gen-libm-test.pl (generate_testfile): Handle
5177         ignore-zero-inf-sign.
5178         * math/auto-libm-test-in: Mark some cpow tests with
5179         ignore-zero-inf-sign and some with xfail-rounding.
5180         * math/auto-libm-test-out: Regenerated.
5181         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5182         * sysdeps/i386/fpu/libm-test-ulps: Update.
5183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5185         [BZ #16315]
5186         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5187         overflowing or underflowing operations take place with sign of
5188         result.
5189         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5190         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5191         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5192         (__ieee754_pow): Recompute overflowing and underflowing results in
5193         original rounding mode.
5194         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5195         (__powl_helper): Allow negative argument X and scale negated value
5196         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
5197         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5198         overflowing or underflowing operations take place with sign of
5199         result.
5200         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5201         Include <math.h>.
5202         * math/auto-libm-test-in: Add more tests of pow.
5203         * math/auto-libm-test-out: Regenerated.
5204         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5205         (pow_tonearest_test_data): Remove.
5206         (pow_test_tonearest): Likewise.
5207         (pow_towardzero_test_data): Likewise.
5208         (pow_test_towardzero): Likewise.
5209         (pow_downward_test_data): Likewise.
5210         (pow_test_downward): Likewise.
5211         (pow_upward_test_data): Likewise.
5212         (pow_test_upward): Likewise.
5213         (main): Don't call removed functions.
5214         * sysdeps/i386/fpu/libm-test-ulps: Update.
5215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5217 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5220         Moved ...
5221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5223         Moved ...
5224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5226         Moved ...
5227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5229         Moved ...
5230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5232         File removed.
5233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5234         File removed.
5235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5236         File removed.
5237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5238         File removed.
5239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5240         File removed.
5241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5242         File removed.
5243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5244         File removed.
5245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5246         File removed.
5247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5248         File removed.
5249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5250         File removed.
5251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5252         File removed.
5253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5254         File removed.
5255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5256         Moved ...
5257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5259         Moved ...
5260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5261         ... here.
5262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5263         Moved ...
5264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5266         Moved ...
5267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5269         Moved ...
5270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5272         Moved ...
5273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5275         Moved ...
5276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5278         Moved ...
5279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5281         Moved ...
5282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5285         ... here.
5286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5287         Moved ...
5288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5290         Moved ...
5291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5292         ... here.
5293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5294         Moved ...
5295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5296         ... here.
5297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5298         Moved ...
5299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5300         ... here.
5301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5302         Moved ...
5303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5305         Moved ...
5306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5310         Moved ...
5311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5312         ... here.
5313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5314         Moved ...
5315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5316         ... here.
5317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5318         Moved ...
5319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5321         Moved ...
5322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5324         Moved ...
5325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5327         Moved ...
5328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5330         Moved ...
5331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5332         ... here.
5333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5334         Moved ...
5335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5337         Moved ...
5338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5340         Moved ...
5341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5343         Moved ...
5344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5348         Moved ...
5349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5351         Moved ...
5352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5354         Moved ...
5355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5356         ... here.
5357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5358         Moved ...
5359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5360         ... here.
5361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5362         Moved ...
5363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5364         ... here.
5365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5366         Moved ...
5367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5369         Moved ...
5370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5372         Moved ...
5373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5375         Moved ...
5376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5377         ... here.
5378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5379         Moved ...
5380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5381         ... here.
5382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5383         Moved ...
5384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5385         ... here.
5386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5387         Moved ...
5388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5390         Moved ...
5391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5393 2014-06-23  Will Newton  <will.newton@linaro.org>
5394             Wilco  <wdijkstr@arm.com>
5396         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5397         implementation.  Include get-rounding-mode.h.
5398         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5399         [!libc_feholdsetround_noex_ctx]: Define
5400         libc_feholdsetround_noex_ctx.
5401         [!libc_feholdsetround_noexf_ctx]: Define
5402         libc_feholdsetround_noexf_ctx.
5403         [!libc_feholdsetround_noexl_ctx]: Define
5404         libc_feholdsetround_noexl_ctx.
5405         (libc_feholdsetround_ctx): New function.
5406         (libc_feresetround_ctx): New function.
5407         (libc_feholdsetround_noex_ctx): New function.
5408         (libc_feresetround_noex_ctx): New function.
5410 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5412         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5413         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5414         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5415         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5416         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5417         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5419         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5420         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5421         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5422         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5423         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5424         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5425         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5426         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5427         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5428         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5429         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5430         Moved ...
5431         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5432         ... here.
5433         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5434         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5435         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5436         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5437         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5438         Moved ...
5439         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5440         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5441         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5442         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5443         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5444         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5445         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5446         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5447         Moved ...
5448         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5449         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5450         Moved ...
5451         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5452         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5453         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5454         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5455         Moved ...
5456         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5458         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5459         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5460         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5461         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5462         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5463         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5464         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5465         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5466         Moved ...
5467         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5468         ... here.
5469         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5470         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5471         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5472         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5473         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5474         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5475         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5476         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5477         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5478         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5479         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5480         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5481         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5482         Moved ...
5483         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5484         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5485         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5486         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5487         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5488         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5489         Moved ...
5490         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5491         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5492         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5493         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5494         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5496         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5497         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5498         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5499         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5500         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5501         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5502         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5503         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5504         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5505         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5506         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5507         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5508         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5509         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5510         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5511         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5512         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5513         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5514         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5515         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5516         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5517         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5518         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5519         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5520         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5521         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5522         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5523         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5525 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5527         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5528         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5529         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5530         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5531         (IPV6_PMTUDISC_INTERFACE): Likewise.
5532         (IPV6_PMTUDISC_OMIT): Likewise.
5534 2014-06-23  Andreas Schwab  <schwab@suse.de>
5536         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5537         Remove unused errout label.
5539 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5541         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5542         macro: hardware supports Vector Crypto instructions.
5544 2014-06-23  Will Newton  <will.newton@linaro.org>
5546         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5547         rather than __builtin_expect.
5549         * elf/dl-lookup.c (undefined_msg): Remove variable.
5550         (_dl_lookup_symbol_x): Replace undefined_msg with string
5551         literal.
5553         * elf/dl-lookup.c (do_lookup_unique): New function.
5554         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5555         to a separate function.
5557 2014-06-23  Andreas Schwab  <schwab@suse.de>
5559         [BZ #17079]
5560         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5561         before reading the next line.
5563 2014-06-23  Will Newton  <will.newton@linaro.org>
5565         * test-skeleton.c (signal_handler): Use printf and %m
5566         rather than perror.  Use printf rather than fprintf to
5567         stderr.  Use puts rather than fputs to stderr.
5568         (main): Likewise.
5570 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5572         * nscd/nscd.c (thread_info_t): Remove typedef.
5573         (thread_info): Remove variable.
5575 2014-06-21  Allan McRae  <allan@archlinux.org>
5577         * NEWS: Mention CVE-2014-4043.
5579 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5581         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5582         * nptl/smp.h: ... here.
5584         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5586         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5587         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5588         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5589         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5591         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5592         * nptl/stack-aliasing.h: New file.
5593         * sysdeps/i386/i686/stack-aliasing.h: New file.
5594         * sysdeps/i386/i686/nptl/Makefile: File removed.
5595         * sysdeps/x86_64/stack-aliasing.h: New file.
5596         * sysdeps/x86_64/nptl/Makefile
5597         (CFLAGS-pthread_create.c): Variable removed.
5599         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5600         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5601         old file.
5602         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5603         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5604         old file.
5606 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5608         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5609         (__ASSUME_SIGFRAME_V2): Remove macro.
5610         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5611         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5612         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5613         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5614         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5615         Declare as function.  Remove conditional macro definitions.
5616         (__default_rt_sa_restorer): Likewise.
5617         (__default_sa_restorer_v1): Remove declaration.
5618         (__default_sa_restorer_v2): Likewise.
5619         (__default_rt_sa_restorer_v1): Likewise.
5620         (__default_rt_sa_restorer_v2): Likewise.
5621         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5622         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5623         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5625 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5627         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5628         (libpthread-routines): Add sysdep.
5629         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5630         * sysdeps/unix/sysv/linux/sparc/Versions
5631         (libpthread: GLIBC_2.3.3): New version set.
5632         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5633         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5634         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5635         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5636         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5637         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5638         Moved ...
5639         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5640         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5641         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5642         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5643         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5644         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5645         * sysdeps/sparc/nptl/sem_init.c: ... here.
5646         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5647         * sysdeps/sparc/nptl/sem_post.c: ... here.
5648         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5649         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5650         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5651         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5652         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5653         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5654         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5655         (libpthread-routines): Add cpu_relax.
5656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5657         File removed.
5658         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5659         (librt: GLIBC_2.3.3): New version set.
5660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5661         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5662         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5663         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5666         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5668         Moved ...
5669         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5670         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5671         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5673         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5675         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5677         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5679         Moved ...
5680         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5681         Update #include.
5682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5683         Moved ...
5684         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5685         Update #include.
5686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5687         Moved ...
5688         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5689         Update #include.
5690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5691         Moved ...
5692         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5693         Update #include.
5694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5695         Moved ...
5696         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5697         Update #include.
5698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5699         Moved ...
5700         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5701         Update #include.
5702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5703         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5707         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5709         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5711         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5713         Moved ...
5714         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5716         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5718         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5720 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5722         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5723         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5724         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5725         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5726         * nscd/nscd.c: Likewise.
5727         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5728         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5729         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5730         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5732         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5733         <kernel-features.h>.
5734         (init_mq_netlink): Remove conditional have_sock_cloexec
5735         definitions.  Remove code conditional on have_sock_cloexec < 0.
5736         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5737         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5738         * sysdeps/unix/sysv/linux/opensock.c: Do not include
5739         <kernel-features.h>.
5740         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5741         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5743 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5745         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5746         Add tests for memset_chk and memset.
5748         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5749         with AVX2_Usable.
5751 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5753         [BZ #16046]
5754         * elf/tst-dl-iter-static.c: New file.
5755         * elf/Makefile (tests-static): Add tst-dl-iter-static.
5757         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5758         error.
5760 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5762         * sysdeps/unix/sysv/linux/kernel-features.h
5763         (__ASSUME_F_GETOWN_EX): Remove macro.
5764         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5765         <kernel-features.h>.
5766         (miss_F_GETOWN_EX): Remove variable or macro.
5767         (do_fcntl): Do not check miss_F_GETOWN_EX.
5768         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5770         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5771         Remove macro.
5772         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5773         [!__ASSUME_AT_RANDOM]: Remove conditional code.
5774         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5776         * sysdeps/unix/sysv/linux/kernel-features.h
5777         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5778         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5779         [ADJ_OFFSET_SS_READ]: Make code unconditional.
5780         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5782 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5784         [BZ #17075]
5785         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5786         Fix calculation of the symbol's value.
5787         * sysdeps/arm/tst-armtlsdescloc.c: New file.
5788         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5789         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5790         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5791         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5792         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5793         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5794         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5795         (modules-names): Add `tst-armtlsdescmod',
5796         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5797         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5798         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5799         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5800         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5801         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5802         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5803         ($(objpfx)tst-armtlsdescloc): New dependency.
5804         ($(objpfx)tst-armtlsdescextnow): Likewise.
5805         ($(objpfx)tst-armtlsdescextlazy): Likewise.
5806         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5807         TLS scheme support.
5808         * sysdeps/arm/configure: Regenerate.
5810 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5812         * include/fcntl.h (__atfct_seterrno): Remove prototype.
5813         (__atfct_seterrno_2): Likewise.
5814         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5815         <kernel-features.h>.
5816         (__ASSUME_ATFCTS): Do not undefine and redefine.
5817         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5818         (__have_atfcts): Remove conditional definition.
5819         (__fxstatat([__NR_fstatat64]: Make code unconditional.
5820         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5821         unreachable if [__ASSUME_ATFCTS].
5822         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5823         not undefine and redefine.
5824         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5825         <kernel-features.h>.
5826         (faccessat) [__NR_faccessat]: Make code unconditional.
5827         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5828         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5829         <kernel-features.h>.
5830         (fchmodat) [__NR_fchmodat]: Make code unconditional.
5831         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5832         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5833         <kernel-features.h>.
5834         (fchownat) [__NR_fchownat]: Make code unconditional.
5835         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5836         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5837         <kernel-features.h>.
5838         (futimesat) [__NR_futimesat]: Make code unconditional.
5839         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5840         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5841         <kernel-features.h>.
5842         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5843         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5844         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5845         <kernel-features.h>.
5846         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5847         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5848         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5849         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5850         <kernel-features.h>.
5851         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5852         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5853         * sysdeps/unix/sysv/linux/linkat.c: Do not include
5854         <kernel-features.h>.
5855         (linkat) [__NR_linkat]: Make code unconditional.
5856         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5857         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5858         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5859         <kernel-features.h>.
5860         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5861         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5862         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5863         <kernel-features.h>.
5864         (mkdirat) [__NR_mkdirat]: Make code unconditional.
5865         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5866         * sysdeps/unix/sysv/linux/openat.c: Do not include
5867         <kernel-features.h>.
5868         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5869         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5870         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5871         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5872         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5873         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5874         <kernel-features.h>.
5875         (readlinkat) [__NR_readlinkat]: Make code unconditional.
5876         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
5877         result of INLINE_SYSCALL directly, not via int variable.
5878         * sysdeps/unix/sysv/linux/renameat.c: Do not include
5879         <kernel-features.h>.
5880         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5881         (renameat) [__NR_renameat]: Make code unconditional.
5882         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5883         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5884         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5885         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5886         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5887         (__ASSUME_ATFCTS): Do not undefine and redefine.
5888         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5889         <kernel-features.h>.
5890         (symlinkat) [__NR_symlinkat]: Make code unconditional.
5891         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5892         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5893         <kernel-features.h>.
5894         (unlinkat) [__NR_unlinkat]: Make code unconditional.
5895         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5896         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5897         (__ASSUME_ATFCTS): Do not undefine and redefine.
5898         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5899         <kernel-features.h>.
5900         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5901         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5902         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5903         <kernel-features.h>.
5904         (__xmknodat) [__NR_mknodat]: Make code unconditional.
5905         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5907 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5909         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5911 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
5913         [BZ #17069]
5914         * posix/regcomp.c (parse_reg_exp): Deallocate partially
5915         constructed tree before returning error.
5916         * posix/bug-regexp36.c: Expand test case.
5918 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5920         [BZ #6803]
5921         * math/libm-test.inc (scalbln_test_date):
5922         Add errno expectations.
5923         * math/w_scalblnf.c: New File.
5924         Add wrapper which checks for setting errno to ERANGE.
5925         Add weak_alias for corresponding scalbln function.
5926         * math/w_scalbln.c: Likewise.
5927         * math/w_scalblnl.c: Likewise.
5928         * math/Makefile (libm-calls): Add w_scalbln.
5929         * sysdeps/ieee754/flt-32/s_scalblnf.c:
5930         Remove weak_alias for corresponding scalbln function.
5931         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5932         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5933         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5934         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5935         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5936         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5937         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5938         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5939         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5940         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5941         Remove long_double_symbol for scalblnl function in libm, libc.
5942         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5943         Add wrapper which checks for setting errno to ERANGE.
5944         Add long_double_symbol for scalblnl function in libm, libc.
5945         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5946         Remove long_double_symbol for scalblnl in libm.
5947         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5948         Add wrapper which checks for setting errno to ERANGE.
5949         Add long_double_symbol for scalblnl function in libm.
5950         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5951         Do not use wrapper because of own implementation.
5953 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
5955         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5956         3 bytes for __pad1 for x32.
5957         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5959 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
5960             H.J. Lu  <hongjiu.lu@intel.com>
5962         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5963         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5964         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5965         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5966         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5968 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
5970         [BZ #17069]
5971         * posix/regcomp.c (parse_expression): Deallocate partially
5972         constructed tree before returning error.
5973         * posix/Makefile.c (tests): Add bug-regex36.
5974         (generated): Add bug-regex36.mtrace.
5975         (tests-special): Add $(objpfx)bug-regex36-mem.out
5976         (bug-regex36-ENV): New variable.
5977         ($(objpfx)bug-regex36-mem.out): New rule.
5978         * posix/bug-regex36.c: New file.
5980 2014-06-19  Will Newton  <will.newton@linaro.org>
5982         * malloc/malloc.c (systrim): If extra is zero then return
5983         early.
5985 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5987         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5989 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
5991         * sysdeps/aarch64/strchr.S: New file.
5993 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5995         [BZ #17022]
5996         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5997         from arguments -2 or below.
5998         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5999         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6001 2014-06-18  Andreas Schwab  <schwab@suse.de>
6003         [BZ #17062]
6004         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6005         of a bracket expr not to run off the end of the string.
6006         * posix/Makefile (tests): Add tst-fnmatch3.
6007         * posix/tst-fnmatch3.c: New file.
6009 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6011         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6012         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6013         [$(cross-compiling) = no]: Likewise.
6014         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6015         [$(cross-compiling) = no]: Likewise.
6017 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6019         [BZ #17031]
6020         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6021         double, adjusted for any remainder from the high double.
6022         * math/libm-test.inc (nearbyint): Add tests.
6023         (rint): Likewise.
6025 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6027         * nptl/sysdeps/powerpc/Makefile: Moved ...
6028         * sysdeps/powerpc/nptl/Makefile: ... here.
6029         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6030         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6031         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6032         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6033         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6034         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6035         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6036         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6037         * nptl/sysdeps/powerpc/tls.h: Moved ...
6038         * sysdeps/powerpc/nptl/tls.h: ... here.
6040 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
6042         [BZ #16681]
6043         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6044         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6045         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6046         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6047         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6048         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6049         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6050         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6051         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6053 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
6055         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6057 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
6059         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6060         defined operator.
6062         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6063         $TIMEOUTFACTOR.
6065 2014-06-16  Florian Weimer  <fweimer@redhat.com>
6067         [BZ #17058]
6068         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6069         non-executed part of the test.
6071 2014-06-16  Andreas Schwab  <schwab@suse.de>
6073         * string/bits/string2.h (strdup, strndup): Update feature guard.
6075 2014-06-14  David S. Miller  <davem@davemloft.net>
6077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6079 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
6081         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6082         that was previously under [RESET_PID].
6083         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6085         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6086         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6087         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6088         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6089         (__libc_vfork): New strong alias.
6090         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6092 2014-06-14 Andi Kleen  <ak@linux.intel.com>
6094         * sysdeps/generic/elide.h: New file.
6096 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6098         * Makefile (installed-headers): Adjust path of pthread.h header.
6100 2014-06-13  Roland McGrath  <roland@hack.frob.com>
6102         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6103         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6104         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6105         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6107         * nptl/sysdeps/s390/Makefile: Moved ...
6108         * sysdeps/s390/nptl/Makefile: ... here.
6109         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6110         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6111         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6112         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6113         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6114         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6115         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6116         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6117         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6118         * sysdeps/s390/nptl/pthreaddef.h: ... here.
6119         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6120         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6121         * nptl/sysdeps/s390/tls.h: Moved ...
6122         * sysdeps/s390/nptl/tls.h: ... here.
6124         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6125         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6127 2014-06-13  David S. Miller  <davem@davemloft.net>
6129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6132         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6136         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6137         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6138         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6139         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6140         Remove RESET_PID cpp guards.
6141         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6142         Remove RESET_PID cpp guards.
6143         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6145 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
6147         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6148         __sp to uintptr_t.
6150 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6152         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6153         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6154         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6155         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6156         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6157         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6158         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6159         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6160         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6161         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6162         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6163         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6164         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6165         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6166         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6167         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6168         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6169         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6170         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6171         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6173         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6174         (pthread_rwlock_rdlock): Add elision.
6175         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6176         (pthread_rwlock_wrlock): Add elision.
6177         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6178         (pthread_rwlock_trywrlock): Add elision.
6179         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6180         (pthread_rwlock_tryrdlock): Add elision.
6181         * nptl/pthread_rwlock_unlock.c: Include elide.h.
6182         (pthread_rwlock_tryrdlock): Add elision unlock.
6183         * nptl/sysdeps/pthread/pthread.h:
6184         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6185         (PTHREAD_RWLOCK_INITIALIZER,
6186         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6187         Handle new elision field.
6188         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6189         * sysdeps/arm/nptl/bits/pthreadtypes.h
6190         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6191         * sysdeps/sh/nptl/bits/pthreadtypes.h
6192         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6193         * sysdeps/tile/nptl/bits/pthreadtypes.h
6194         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6195         * sysdeps/a/nptl/bits/pthreadtypes.h
6196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6197         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6198         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6199         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6200         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6201         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6202         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6203         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6204         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6205         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6206         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6207         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6208         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6209         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6210         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6211         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6212         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6213         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6214         (elision_init): Set try_xbegin to zero when no RTM.
6215         * sysdeps/x86/nptl/bits/pthreadtypes.h
6216         (pthread_rwlock_t): Change __pad1 to __rwelision.
6217         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6219 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6221         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6222         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6223         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6224         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6226 2014-06-13  Meador Inge  <meadori@codesourcery.com>
6228         [BZ #16996]
6229         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6230         that the cached result has been set before returning it.
6232 2014-06-12  Roland McGrath  <roland@hack.frob.com>
6234         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6235         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6236         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6237         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6238         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6239         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6241         * nptl/sysdeps/sparc/Makefile: Moved ...
6242         * sysdeps/sparc/nptl/Makefile: ... here.
6243         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6244         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6245         * nptl/sysdeps/sparc/tls.h: Moved ...
6246         * sysdeps/sparc/nptl/tls.h: ... here.
6247         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6248         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6249         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6250         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6251         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6252         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6253         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6254         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6255         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6256         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6257         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6258         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6259         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6260         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6261         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6262         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6263         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6264         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6265         Update #include.
6266         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6267         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6268         Update #include.
6269         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6270         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6271         Update #include.
6272         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6273         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6274         Update #include.
6276         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6278         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6279         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6281         * sysdeps/pthread/posix-timer.h: Include <list.h>.
6282         (struct list_links): Type removed.
6283         (struct thread_node, struct timer_node): Replace struct list_links
6284         with struct list_head.
6285         (list_unlink_ip): Likewise.
6286         * sysdeps/pthread/timer_routines.c
6287         (timer_free_list, thread_free_list, thread_active_list): Likewise.
6288         (list_append, list_insbefore): Likewise.
6289         (list_init): Function removed.
6290         (thread_init, init_module): Use INIT_LIST_HEAD instead.
6291         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6292         * sysdeps/pthread/Makefile: ... here, new file.
6294         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6295         * sysdeps/nptl/Implies: ... here.
6296         * sysdeps/unix/sysv/linux/Implies: Add nptl.
6297         * nptl/sysdeps/pthread/list.h: Moved ...
6298         * include/list.h: ... here.
6299         * nptl/sysdeps/pthread/createthread.c: Moved ...
6300         * nptl/createthread.c: ... here.
6301         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6302         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6303         * nptl/pt-longjmp.c: ... here.
6304         * nptl/sysdeps/pthread/Makefile: Moved ...
6305         * sysdeps/nptl/Makefile: ... here.
6306         * nptl/sysdeps/pthread/Subdirs: Moved ...
6307         * sysdeps/nptl/Subdirs: ... here.
6308         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6309         * sysdeps/nptl/aio_misc.h: ... here.
6310         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6311         * sysdeps/nptl/bits/libc-lock.h: ... here.
6312         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6313         * sysdeps/nptl/bits/libc-lockP.h: ... here.
6314         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6315         * sysdeps/nptl/bits/stdio-lock.h: ... here.
6316         * nptl/sysdeps/pthread/configure: Moved ...
6317         * sysdeps/nptl/configure: ... here.
6318         * nptl/sysdeps/pthread/configure.ac: Moved ...
6319         * sysdeps/nptl/configure.ac: ... here.
6320         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6321         * sysdeps/nptl/gai_misc.h: ... here.
6322         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6323         * sysdeps/nptl/librt-cancellation.c: ... here.
6324         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6325         * sysdeps/nptl/malloc-machine.h: ... here.
6326         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6327         * sysdeps/nptl/pthread-functions.h: ... here.
6328         * nptl/sysdeps/pthread/pthread.h: Moved ...
6329         * sysdeps/nptl/pthread.h: ... here.
6330         * nptl/sysdeps/pthread/setxid.h: Moved ...
6331         * sysdeps/nptl/setxid.h: ... here.
6332         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6333         * sysdeps/nptl/sigfillset.c: ... here.
6334         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6335         * sysdeps/nptl/tcb-offsets.h: ... here.
6336         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6337         * sysdeps/nptl/tst-mqueue8x.c: ... here.
6338         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6339         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6340         * nptl/sysdeps/pthread/allocalim.h: Moved ...
6341         * sysdeps/pthread/allocalim.h: ... here.
6342         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6343         * sysdeps/pthread/bits/sigthread.h: ... here.
6344         * nptl/sysdeps/pthread/flockfile.c: Moved ...
6345         * sysdeps/pthread/flockfile.c: ... here.
6346         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6347         * sysdeps/pthread/ftrylockfile.c: ... here.
6348         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6349         * sysdeps/pthread/funlockfile.c: ... here.
6350         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6351         * sysdeps/pthread/posix-timer.h: ... here.
6352         * nptl/sysdeps/pthread/timer_create.c: Moved ...
6353         * sysdeps/pthread/timer_create.c: ... here.
6354         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6355         * sysdeps/pthread/timer_delete.c: ... here.
6356         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6357         * sysdeps/pthread/timer_getoverr.c: ... here.
6358         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6359         * sysdeps/pthread/timer_gettime.c: ... here.
6360         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6361         * sysdeps/pthread/timer_routines.c: ... here.
6362         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6363         * sysdeps/pthread/timer_settime.c: ... here.
6364         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6365         * sysdeps/pthread/tst-timer.c: ... here.
6366         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6367         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6369         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6370         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6372         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6373         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6374         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6375         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6376         Update #include target.
6377         * nptl/sysdeps/i386/i686/Makefile: Moved ...
6378         * sysdeps/i386/i686/nptl/Makefile: ... here.
6379         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6380         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6381         Update #include target.
6382         * nptl/sysdeps/i386/i686/tls.h: Moved ...
6383         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
6384         * nptl/sysdeps/i386/Makefile: Moved ...
6385         * sysdeps/i386/nptl/Makefile: ... here.
6386         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6387         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6388         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6389         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6390         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6391         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6392         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6393         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6394         * sysdeps/i386/nptl/pthreaddef.h: ... here.
6395         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6396         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6397         * nptl/sysdeps/i386/tls.h: Moved ...
6398         * sysdeps/i386/nptl/tls.h: ... here.
6400         * sysdeps/sh/Makefile [$(subdir) = csu]
6401         (gen-as-const-headers): Add tcb-offsets.sym.
6402         * nptl/sysdeps/sh/Makefile: File removed.
6403         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6404         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6405         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6406         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6407         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6408         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6409         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6410         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6411         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6412         * sysdeps/sh/nptl/pthreaddef.h: ... here.
6413         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6414         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6415         * nptl/sysdeps/sh/tls.h: Moved ...
6416         * sysdeps/sh/nptl/tls.h: ... here.
6417         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6418         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6419         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6420         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6421         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6422         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6423         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6424         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6425         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6426         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6427         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6428         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6429         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6430         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6431         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6432         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6433         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6434         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6435         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6436         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6437         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6438         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6439         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6440         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6441         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6442         Moved ...
6443         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6444         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6445         Moved ...
6446         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6447         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6448         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6449         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6450         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6451         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6452         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6453         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6454         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6455         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6456         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6457         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6458         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6459         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6460         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6461         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6462         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6463         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6464         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6466 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6468         * posix/spawn_faction_addopen.c: Include string.h.
6470 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6472         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6473         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6474         * nptl/sysdeps/x86_64/Makefile: Moved ...
6475         * sysdeps/x86_64/nptl/Makefile: ... here.
6476         * nptl/sysdeps/x86_64/configure: Moved ...
6477         * sysdeps/x86_64/nptl/configure: ... here.
6478         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6479         * sysdeps/x86_64/nptl/configure.ac: ... here.
6480         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6481         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6482         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6483         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6484         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6485         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6486         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6487         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6488         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6489         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6490         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6491         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6492         * nptl/sysdeps/x86_64/tls.h: Moved ...
6493         * sysdeps/x86_64/nptl/tls.h: ... here.
6494         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6495         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6496         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6497         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6499         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6501 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6505 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6507         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6508         type.
6509         [POSIX] (off_t): Likewise.
6510         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6511         [POSIX] (S_ISBLK): Require macro.
6512         [POSIX] (S_ISCHR): Likewise.
6513         [POSIX] (S_ISDIR): Likewise.
6514         [POSIX] (S_ISFIFO): Likewise.
6515         [POSIX] (S_ISREG): Likewise.
6516         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6517         optional-macro.
6518         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6519         type.
6520         [POSIX] (time_t): Likewise.
6521         [POSIX] (timer_t): Likewise.
6523 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6525         [BZ #17048]
6526         * posix/spawn_int.h (struct __spawn_action): Make the path string
6527         non-const to support deallocation.
6528         * posix/spawn_faction_addopen.c
6529         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6530         * posix/spawn_faction_destroy.c
6531         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6532         path in all spawn_do_open actions.
6533         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6534         posix_spawn_file_actions_addopen.
6536 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6538         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6539         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6540         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6541         conditional code always true.
6542         (__libc_vfork): New alias.
6544 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6546         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6547         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6549         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6551         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6552         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6554         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6555         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6557         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6558         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6560 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6562         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6563         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6564         multiarch strcmp for PPC64.
6565         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6566         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6568         multiarch optimizations.
6569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6570         (__libc_ifunc_impl_list): Likewise.
6572 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6574         * benchtests/scripts/validate_benchout.py: New script.
6575         * benchtests/Makefile (bench-func): Call it.
6576         * benchtests/scripts/benchout.schema.json: New file.
6578 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6580         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6581         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6582         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6583         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6584         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6585         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6586         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6587         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6588         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6589         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6590         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6591         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6592         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6593         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6594         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6595         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6597         Moved ...
6598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6599         ... here.
6600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6601         Moved ...
6602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6604         Moved ...
6605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6606         ... here.
6607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6608         Moved ...
6609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6610         ... here.
6611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6612         Moved ...
6613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6615         Moved ...
6616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6617         ... here.
6618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6619         Moved ...
6620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6621         ... here.
6622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6623         Moved ...
6624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6626         Moved ...
6627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6628         ... here.
6629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6630         Moved ...
6631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6632         ... here.
6633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6634         Moved ...
6635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6636         ... here.
6637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6638         Moved ...
6639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6641         Moved ...
6642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6643         ... here.
6644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6645         Moved ...
6646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6647         ... here.
6648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6649         Moved ...
6650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6651         ... here.
6652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6653         Moved ...
6654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6656         Moved ...
6657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6658         ... here.
6659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6660         Moved ...
6661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6662         ... here.
6663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6664         Moved ...
6665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6667         Moved ...
6668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6669         ... here.
6670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6671         Moved ...
6672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6674         Moved ...
6675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6677         Moved ...
6678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6679         ... here.
6680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6681         Moved ...
6682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6683         ... here.
6684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6685         Moved ...
6686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6687         ... here.
6688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6689         Moved ...
6690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6692         Moved ...
6693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6694         ... here.
6695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6696         Moved ...
6697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6698         ... here.
6699         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6700         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6702         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6703         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6704         Moved ...
6705         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6706         ... here.
6707         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6708         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6709         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6710         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6711         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6712         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6713         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6714         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6715         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6716         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6717         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6718         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6719         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6720         Moved ...
6721         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6722         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6723         Moved ...
6724         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6725         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6726         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6727         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6728         Moved ...
6729         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6730         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6731         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6732         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6733         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6734         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6735         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6737 2014-06-10  Wilco  <wdijkstr@arm.com>
6739         * math/test-fenv-return.c: New file.
6740         * math/Makefile: Add new test test-fenv-return.
6742 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
6744         [BZ #17042]
6745         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6746         when x - 1 is zero.
6747         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6748         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6749         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6750         0.0L for an argument of 1.0L.
6751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6752         Likewise.
6753         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6754         value when x - 1 is zero.
6755         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6756         * sysdeps/i386/fpu/libm-test-ulps: Update.
6757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6759 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
6761         [BZ #15119]
6762         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6764 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6766         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6767         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6769 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6771         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6772         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6774         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6775         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6777         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6778         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6780         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6781         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6783         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6784         if not already defined.
6785         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6786         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6787         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6788         (TLS_INIT_TP): Use it.
6789         (TLS_DEFINE_INIT_TP): New macro.
6790         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6792 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
6794         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6795         constant.
6796         [POSIX] (IXANY): Likewise.
6797         [POSIX] (OLCUC): Likewise.
6798         [POSIX || POSIX2008] (CBAUD): Do not allow.
6799         [POSIX || POSIX2008] (DEFECHO): Likewise.
6800         [POSIX || POSIX2008] (ECHOCTL): Likewise.
6801         [POSIX || POSIX2008] (ECHOKE): Likewise.
6802         [POSIX || POSIX2008] (ECHOPRT): Likewise.
6803         [POSIX || POSIX2008] (EXTA): Likewise.
6804         [POSIX || POSIX2008] (EXTB): Likewise.
6805         [POSIX || POSIX2008] (FLUSHO): Likewise.
6806         [POSIX || POSIX2008] (LOBLK): Likewise.
6807         [POSIX || POSIX2008] (PENDIN): Likewise.
6808         [POSIX || POSIX2008] (SWTCH): Likewise.
6809         [POSIX || POSIX2008] (VDISCARD): Likewise.
6810         [POSIX || POSIX2008] (VDSUSP): Likewise.
6811         [POSIX || POSIX2008] (VLNEXT): Likewise.
6812         [POSIX || POSIX2008] (VREPRINT): Likewise.
6813         [POSIX || POSIX2008] (VSTATUS): Likewise.
6814         [POSIX || POSIX2008] (VWERASE): Likewise.
6815         (B*): Change to B[0123456789]*.
6816         * conform/data/time.h-data [POSIX || UNIX98]
6817         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6818         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6819         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6820         [POSIX] (tm_*): Do not allow.
6822 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
6824         * Makefile (install): Don't set LANGUAGE.
6825         * Makefile.in (install): Likewise.
6826         * assert/Makefile (test-assert-ENV): Remove variable.
6827         (test-assert-perr-ENV): Likewise.
6828         * elf/Makefile (neededtest4-ENV): Likewise.
6829         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6830         [$(cross-compiling) = no]: Don't set LANGUAGE.
6831         * io/ftwtest-sh (LANG): Remove variable.
6832         * libio/Makefile (tst-widetext-ENV): Likewise.
6833         * manual/install.texi (Running make install): Don't refer to
6834         environment settings for make install.
6835         * INSTALL: Regenerated.
6836         * nptl/tst-tls6.sh: Don't set LANG.
6837         * posix/globtest.sh (LANG): Remove variable.
6838         * string/Makefile (tester-ENV): Likewise.
6839         (inl-tester-ENV): Likewise.
6840         (noinl-tester-ENV): Likewise.
6841         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6842         [$(cross-compiling) = no]: Don't set LANGUAGE.
6843         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6844         without explicit environment settings.
6846 2014-06-06  Roland McGrath  <roland@hack.frob.com>
6848         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6849         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6850         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6851         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6853 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
6855         * crypt/crypt-private.h [DOS]: Add some includes taken from the
6856         other files in the crypt directory.
6857         * crypt/crypt.c: Remove duplicate includes.
6858         * crypt/crypt-entry.c: Likewise.
6859         * crypt/crypt_util.c: Likewise.
6861 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
6863         * Makeconfig (run-program-env): New variable.
6864         (run-program-prefix-before-env): Likewise.
6865         (run-program-prefix-after-env): Likewise.
6866         (run-program-prefix): Define in terms of new variables.
6867         (built-program-cmd-before-env): New variable.
6868         (built-program-cmd-after-env): Likewise.
6869         (built-program-cmd): Define in terms of new variables.
6870         (test-program-prefix-before-env): New variable.
6871         (test-program-prefix-after-env): Likewise.
6872         (test-program-prefix): Define in terms of new variables.
6873         (test-program-cmd-before-env): New variable.
6874         (test-program-cmd-after-env): Likewise.
6875         (test-program-cmd): Define in terms of new variables.
6876         * Rules (make-test-out): Use $(run-program-env).
6877         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6878         (help): Do not mention environment variables.  Mention
6879         --timeoutfactor option.
6880         (timeoutfactor): New variable.
6881         (blacklist_exports): Remove function.
6882         (exports): Remove variable.
6883         (command): Do not include ${exports}.
6884         * manual/install.texi (Configuring and compiling): Do not mention
6885         test wrappers preserving environment variables.  Mention that last
6886         assignment to a variable must take precedence.
6887         * INSTALL: Regenerated.
6888         * benchtests/Makefile (run-bench): Use $(run-program-env).
6889         * catgets/Makefile ($(objpfx)test1.cat): Use
6890         $(built-program-cmd-before-env), $(run-program-env) and
6891         $(built-program-cmd-after-env).
6892         ($(objpfx)test2.cat): Do not specify environment variables
6893         explicitly.
6894         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6895         $(run-program-env) and $(built-program-cmd-after-env).
6896         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6897         $(run-program-env) and $(test-program-cmd-after-env).
6898         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6899         explicitly.
6900         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6901         run_program_env and test_program_cmd_after_env arguments.
6902         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6903         * elf/tst-pathopt.sh: Use run_program_env argument.
6904         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6905         $(test-wrapper-env) and $(run-program-env).
6906         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6907         run_program_env arguments.
6908         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6909         * intl/Makefile ($(objpfx)tst-gettext.out): Use
6910         $(test-program-prefix-before-env), $(run-program-env) and
6911         $(test-program-prefix-after-env).
6912         ($(objpfx)tst-gettext2.out): Likewise.
6913         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6914         run_program_env and test_program_prefix_after_env arguments.
6915         * intl/tst-gettext2.sh: Likewise.
6916         * intl/tst-gettext4.sh: Do not set environment variables
6917         explicitly.
6918         * intl/tst-gettext6.sh: Likewise.
6919         * intl/tst-translit.sh: Likewise.
6920         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6921         $(test-program-prefix-before-env), $(run-program-env) and
6922         $(test-program-prefix-after-env).
6923         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6924         run_program_env and test_program_prefix_after_env arguments.
6925         * math/Makefile (run-regen-ulps): Use $(run-program-env).
6926         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6927         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
6928         explicitly with each use of ${test_wrapper_env}.
6929         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6930         $(test-program-prefix-before-env), $(run-program-env) and
6931         $(test-program-prefix-after-env).
6932         * posix/tst-getconf.sh: Do not set environment variables
6933         explicitly.
6934         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6935         run_program_env and test_program_prefix_after_env arguments.
6936         * stdio-common/tst-printf.sh: Do not set environment variables
6937         explicitly.
6938         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6939         $(test-program-prefix-before-env), $(run-program-env) and
6940         $(test-program-prefix-after-env).
6941         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6942         run_program_env and test_program_prefix_after_env arguments.
6943         Split $test calls into $test_pre and $test.
6944         * timezone/Makefile (build-testdata): Use
6945         $(built-program-cmd-before-env), $(run-program-env) and
6946         $(built-program-cmd-after-env).
6948 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6950         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6951         strlen for non SHARED builds.
6953 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6955         * nptl/allocatestack.c (check_list): Inlined function...
6956         (__reclaim_stacks): ... here.
6958 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6960         [BZ #15698]
6961         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6962         memory overrun.
6964 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
6966         * Rules (make-test-out): Include
6967         LOCPATH=$(common-objpfx)localedata in default environment.
6968         * debug/Makefile (tst-chk1-ENV): Remove variable.
6969         (tst-chk2-ENV): Likewise.
6970         (tst-chk3-ENV): Likewise.
6971         (tst-chk4-ENV): Likewise.
6972         (tst-chk5-ENV): Likewise.
6973         (tst-chk6-ENV): Likewise.
6974         (tst-lfschk1-ENV): Likewise.
6975         (tst-lfschk2-ENV): Likewise.
6976         (tst-lfschk3-ENV): Likewise.
6977         (tst-lfschk4-ENV): Likewise.
6978         (tst-lfschk5-ENV): Likewise.
6979         (tst-lfschk6-ENV): Likewise.
6980         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6981         (tst-iconv7-ENV): Likewise.
6982         * intl/Makefile (LOCPATH-ENV): Likewise.
6983         (tst-codeset-ENV): Likewise.
6984         (tst-gettext3-ENV): Likewise.
6985         (tst-gettext5-ENV): Likewise.
6986         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6987         (tst-fopenloc-ENV): Likewise.
6988         (tst-fgetws-ENV): Remove variable.
6989         (tst-ungetwc1-ENV): Likewise.
6990         (tst-ungetwc2-ENV): Likewise.
6991         (bug-ungetwc2-ENV): Likewise.
6992         (tst-swscanf-ENV): Likewise.
6993         (bug-ftell-ENV): Likewise.
6994         (tst-fgetwc-ENV): Likewise.
6995         (tst-fseek-ENV): Likewise.
6996         (tst-ftell-partial-wide-ENV): Likewise.
6997         (tst-ftell-active-handler-ENV): Likewise.
6998         (tst-ftell-append-ENV): Likewise.
6999         * posix/Makefile (tst-fnmatch-ENV): Likewise.
7000         (tst-regexloc-ENV): Likewise.
7001         (bug-regex1-ENV): Likewise.
7002         (tst-regex-ENV): Likewise.
7003         (tst-regex2-ENV): Likewise.
7004         (bug-regex5-ENV): Likewise.
7005         (bug-regex6-ENV): Likewise.
7006         (bug-regex17-ENV): Likewise.
7007         (bug-regex18-ENV): Likewise.
7008         (bug-regex19-ENV): Likewise.
7009         (bug-regex20-ENV): Likewise.
7010         (bug-regex22-ENV): Likewise.
7011         (bug-regex23-ENV): Likewise.
7012         (bug-regex25-ENV): Likewise.
7013         (bug-regex26-ENV): Likewise.
7014         (bug-regex30-ENV): Likewise.
7015         (bug-regex32-ENV): Likewise.
7016         (bug-regex33-ENV): Likewise.
7017         (bug-regex34-ENV): Likewise.
7018         (bug-regex35-ENV): Likewise.
7019         (tst-rxspencer-ENV): Likewise.
7020         (tst-rxspencer-no-utf8-ENV): Likewise.
7021         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7022         (tst-sscanf-ENV): Likewise.
7023         (tst-swprintf-ENV): Likewise.
7024         (tst-swscanf-ENV): Likewise.
7025         (test-vfprintf-ENV): Likewise.
7026         (scanf13-ENV): Likewise.
7027         (bug14-ENV): Likewise.
7028         (tst-grouping-ENV): Likewise.
7029         * stdlib/Makefile (tst-strtod-ENV): Likewise.
7030         (tst-strtod3-ENV): Likewise.
7031         (tst-strtod4-ENV): Likewise.
7032         (tst-strtod5-ENV): Likewise.
7033         (testmb2-ENV): Likewise./
7034         * string/Makefile (tst-strxfrm-ENV): Likewise.
7035         (tst-strxfrm2-ENV): Likewise.
7036         (bug-strcoll1-ENV): Likewise.
7037         (test-strcasecmp-ENV): Likewise.
7038         (test-strncasecmp-ENV): Likewise.
7039         * time/Makefile (tst-strptime-ENV): Likewise.
7040         (tst-ftime_l-ENV): Likewise.
7041         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7042         (tst-mbrtowc-ENV): Likewise.
7043         (tst-wcrtomb-ENV): Likewise.
7044         (tst-mbrtowc2-ENV): Likewise.
7045         (tst-c16c32-1-ENV): Likewise.
7046         (tst-mbsnrtowcs-ENV): Likewise.
7048 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7050         * manual/resource.texi (How to get information about the memory
7051         subsystem?): Fix typo.
7052         Reported by Peon de la Parra Ivan <peon@keba.com>
7054 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
7056         [BZ #16882]
7057         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7058         (pthread_spin_lock): Branch out of spin loop to proper location.
7059         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7060         (pthread_spin_lock): Likewise.
7062         * nptl/tst-spin4.c: New test.
7063         * nptl/Makefile (tests): Add tst-spin4.
7065 2014-06-03  Andreas Schwab  <schwab@suse.de>
7067         [BZ #15946]
7068         * resolv/res_send.c (send_dg): Reload file descriptor after
7069         calling reopen.
7071 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
7073         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7075 2014-06-03  Richard Henderson  <rth@redhat.com>
7077         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7078         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7079         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7080         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
7081         in the SAVE_PID block.
7082         (__libc_vfork): New alias.
7083         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7085         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7086         child in registers, not on the stack.  Remove RESET_PID conditionals.
7087         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7089 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7091         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7093 2014-06-03  Wilco  <wdijkstr@arm.com>
7095         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7096         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7097         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7098         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7099         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7100         Likewise.
7102 2014-06-03  Wilco  <wdijkstr@arm.com>
7104         * sysdeps/aarch64/fpu/math_private.h
7105         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7106         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7107         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7108         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7109         Fix declarations.
7111 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7113         * crypt/crypt-private.h: Include ufc-crypt.h.
7114         (__b64_from_24bit): Declare extern.
7115         * crypt/crypt_util.c(__b64_from_24bit): New function.
7116         (b64t): New static const variable.
7117         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7118         (b64t): Remove variable.
7119         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7120         * crypt/sha256-crypt.c: Include crypt-private.h.
7121         (b64t): Remove variable.
7122         (__sha256_crypt_r): Remove b64_from_24bit and replace
7123         with __b64_from_24bit.
7124         * crypt/sha512-crypt.c: Likewise.
7126 2014-06-02  Roland McGrath  <roland@hack.frob.com>
7128         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7129         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7130         Label the code __libc_vfork rather than __vfork.
7131         [!NOT_IN_libc] (vfork): Define as weak alias.
7132         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7133         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7134         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7136 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7138         * malloc/malloc.c (malloc_info): Fix format specifier for
7139         n_mmaps.
7141 2014-06-02  Wilco  <wdijkstr@arm.com>
7143         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7144         FPCR write.
7146 2014-06-02  Wilco  <wdijkstr@arm.com>
7148         [BZ #17009]
7149         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7150         Rewrite to reduce FPCR/FPSR accesses.
7152 2014-06-01  David S. Miller  <davem@davemloft.net>
7154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7156 2014-05-31  David S. Miller  <davem@davemloft.net>
7158         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7159         to occur in round to nearest mode when |x| >= 2.0
7161 2014-05-30  Richard Henderson  <rth@twiddle.net>
7163         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7164         (PSEUDO_RET_NOERRNO): Remove.
7165         (ret): Don't redefine.
7166         (ret_NOERRNO): Define in terms of ret.
7167         (ret_ERRVAL): Likewise.
7169         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7170         use of PSEUDO_RET; perform the error check directly.
7172 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
7174         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7175         with __int128_t.
7177 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7179         * malloc/malloc (malloc_info): Fix formatting.
7181 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7182             Roland McGrath  <roland@hack.frob.com>
7184         * malloc/malloc (malloc_info): Also print mmapped statistics.
7186 2014-05-30  Roland McGrath  <roland@hack.frob.com>
7188         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7189         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7191 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
7193         * malloc/malloc.c (malloc_info): Inline mi_arena.
7195 2014-05-29  Richard Henderson  <rth@twiddle.net>
7197         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7198         Remove comma before expanding ASM_ARGS_##nr.
7199         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7200         Make _x0 a strict output; make _x8 a strict input; adjust expansion
7201         of ASM_ARGS_##nr.
7202         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7203         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7204         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7205         (ASM_ARGS_1): Add leading comma.
7207         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7208         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7209         to __errno_location.
7210         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7211         Remove the expected plt for __errno_location.
7213         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7214         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7215         call to __read_tp.
7217         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7218         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
7219         it and break it down.
7220         (DOCARGS_0, DOCARGS_1): Do nothing.
7221         (DOCARGS_2): Update to store into the new stack frame.
7222         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7223         (UNDOCARGS_1): Update to restore from the new stack frame.
7224         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7225         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7227         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7228         (SINGLE_THREAD_P): New parameter for result regno.
7229         (PSEUDO): Update to match; use cbz instead of beq.
7231         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7232         Use ENTRY to define the _nocancel entry point.  Share the syscall
7233         and syscall error check paths with the cancel path.
7234         (PSEUDO_END): New.
7236         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7237         whitespace; tabs before and after asm mnemonics.
7239 2014-05-29  Eric Wong  <normalperson@yhbt.net>
7241         [BZ #15132]
7242         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7243         Call fstat64 or stat64 internally, depending on arguments passed.
7244         Replace stat buffer argument with file descriptor argument.
7245         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7246         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7247         Pass fd to __internal_statvfs instead of calling fstat64.
7248         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7249         Pass fd to __internal_statvfs64 instead of calling fstat64.
7250         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7251         Pass -1 to __internal_statvfs instead of calling stat64.
7252         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7253         Pass -1 to __internal_statvfs64 instead of calling stat64.
7255 2014-05-28  Roland McGrath  <roland@hack.frob.com>
7257         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7258         that was previously under [RESET_PID].
7259         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7261         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7262         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7264 2014-05-27  Roland McGrath  <roland@hack.frob.com>
7266         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7268         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7269         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7271 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
7273         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7275 2014-05-27  Andreas Schwab  <schwab@suse.de>
7277         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7278         TLS_INIT_TP macro.
7279         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7280         * elf/rtld.c (init_tls, dl_main): Likewise.
7281         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7282         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7283         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7284         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7285         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7286         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7287         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7288         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7289         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7290         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7291         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7292         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7293         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7294         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7295         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7296         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7297         * sysdeps/generic/tls.h: Update description.
7299 2014-05-27  Will Newton  <will.newton@linaro.org>
7301         [BZ #16990]
7302         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7303         and restore r2 rather than just restoring.
7305 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7307         [BZ #16724]
7308         * libio/tst-ftell-append.c: New test case.
7309         * libio/Makefile (tests): Add test case.
7310         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7311         append mode.
7312         * libio/wfileops.c (do_ftell_wide): Likewise.
7314 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7318         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7319         ...
7320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7322         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7323         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7324         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7325         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7326         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7327         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7329         Moved ...
7330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7332         Moved ...
7333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7334         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7335         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7336         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7337         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7338         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7339         ...
7340         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7341         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7342         Moved ...
7343         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7344         here.
7345         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7346         ...
7347         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7348         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7349         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7351         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7352         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7353         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7354         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7356         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7357         merge into ...
7358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7359         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7360         ...
7361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7362         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7363         ...
7364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7365         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7366         Moved ...
7367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7368         here.
7369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7370         Moved ...
7371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7373         Moved ...
7374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7377         conditional [RESET_PID].
7378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7379         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7380         removed.
7381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7382         removed.
7384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7385         <tcb-offsets.h>.
7386         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7387         (__libc_vfork): New strong alias.
7388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7389         removed.
7390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7391         Removed.
7393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7394         <tcb-offsets.h>.
7395         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7396         (__libc_vfork): New strong alias.
7397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7398         removed.
7399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7400         removed.
7402 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
7404         * malloc/malloc.c (mi_arena): New function.
7405         (malloc_info): Remove nested function mi_arena. Call non-nosted
7406         function mi_arena.
7408 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7410         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7411         by insrwi.
7412         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7413         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7414         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7415         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7416         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7417         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7418         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7420 2014-05-26  Andreas Schwab  <schwab@suse.de>
7422         [BZ #16984]
7423         * locale/programs/repertoire.c (repertoire_read): Add slash
7424         between I18NPATH element and file name.
7425         * locale/programs/locfile.c (locfile_read): Likewise.
7427 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7429         * nptl/pthread_mutexattr_settype.c
7430         (__pthread_mutexattr_settype):
7431         Disable lock elision for PTHREAD_MUTEX_NORMAL.
7433 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7435         * nptl/tst-mutex5 (do_test):
7436         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7438 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7440         * benchtests/README: Document 'init' directive.
7441         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7442         BENCH_INIT.
7443         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7444         (parse_file): Recognize 'init' directive.
7446 2014-05-26  Kyle McMartin  <kyle@redhat.com>
7448         [BZ #16796]
7449         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7450         alignment of struct pthread.
7452 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7454         [BZ #16878]
7455         * nscd/netgroupcache.c (addgetnetgrentX): Look for
7456         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7457         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7458         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7460 2014-05-25  Richard Henderson  <rth@twiddle.net>
7462         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7463         (SINGLE_THREAD_P_PIC): Remove.
7464         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7465         (SINGLE_THREAD_P_PIC): Remove.
7467         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7468         branch to syscall error ...
7469         (PSEUDO): ... here.
7470         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7471         from __local_syscall_error to .Lsyscall_error.
7472         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7473         (SYSCALL_ERROR): Update label name.
7475         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7476         Do not use DOARGS/UNDOARGS.
7477         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7478         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7479         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7480         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7481         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7483         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7484         block comment.
7486         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7487         define if !NOT_IN_libc.
7488         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7489         define with non-default symbol versions.
7491 2014-05-23  Richard Henderson  <rth@twiddle.net>
7493         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7494         (vfork, __vfork): Define via compat_symbol.
7496         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7497         [!HAVE_IFUNC] (vfork_compat): Remove.
7498         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7500 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7502         [BZ #16978]
7503         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7504         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7505         variable.
7507 2014-05-23  Richard Henderson  <rth@twiddle.net>
7509         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7510         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7511         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7512         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7514         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7515         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7516         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7517         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7518         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7519         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7520         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7521         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7522         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7523         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7524         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7525         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7526         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7527         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7528         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7529         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7530         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7531         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7532         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7533         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7534         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7535         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7536         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7537         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7538         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7539         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7540         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7541         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7542         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7543         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7544         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7545         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7546         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7547         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7548         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7549         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7550         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7551         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7552         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7553         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7554         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7555         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7556         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7557         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7558         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7559         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7560         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7561         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7562         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7563         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7564         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7565         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7566         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7567         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7568         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7569         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7571         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7572         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7573         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7574         before exiting on error.
7575         (__libc_vfork): New strong alias.
7576         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7577         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7579         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7580         that was previously under [RESET_PID].
7581         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7583         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7585 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7587         [BZ #16977]
7588         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7589         value when x - 1 is zero.
7590         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7591         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7592         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7593         0.0L for an argument of 1.0L.
7594         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7595         Likewise.
7596         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7597         value when x - 1 is zero.
7598         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7599         * sysdeps/i386/fpu/libm-test-ulps: Update.
7600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7602 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7604         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7605         alphasort and versionsort.
7607 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7609         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7610         macro.
7611         [copysignf]: Likewise.
7613 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7615         * crypt/md5-crypt.c: Fix formatting.
7617 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7619         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7620         (b64_from_24bit): New function.
7622 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7624         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7625         libc_hidden_builtin_def to ifunc.
7626         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7627         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7629 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7631         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7632         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7634 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7636         * nscd/Depend (linuxthreads): Remove.
7637         (nptl): Add.
7638         * resolv/Depend (linuxthreads): Remove.
7639         * rt/Depend (linuxthreads): Remove.
7641         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7642         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7643         $(common-objpfx)elf/.
7644         (link-libc-before-gnulib): Likewise.
7645         (elfobjdir): Remove variable.
7646         * Makefile (install): Use $(elf-objpfx) instead of
7647         $(common-objpfx)elf/.
7648         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7649         $(elfobjdir)/.
7650         (link-libc-deps): Likewise.
7651         ($(common-objpfx)libc.so): Likewise.
7652         ($(common-objpfx)linkobj/libc.so): Likewise.
7653         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7654         instead of $(common-objpfx)elf/.
7655         (symbolic-link-list): Likewise.
7656         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7657         [$(cross-compiling) = no]: Likewise.
7658         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7659         $(elfobjdir)/.
7660         (static-gnulib-arch): Likewise.
7661         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7662         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7663         $(common-objpfx)elf/.
7665 2014-05-21  Richard Henderson  <rth@redhat.com>
7667         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7668         (SINGLE_THREAD_P): Use the correct width load.  Fold
7669         into the ldr offset.
7671         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7672         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7674 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
7676         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7677         (libgcc_s_resume): Use __attribute_used__.
7678         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7679         Likewise.
7681 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7683         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7684         optimization when used with float constants.
7686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7688 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
7690         [BZ #16915]
7691         * locale/nl_langinfo_l.c: Make direct reference to every
7692         _nl_current_CATEGORY symbol.
7693         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7694         (tests-static): Add tst-langinfo-static.
7695         (tests-special): Add tst-langinfo-static.out.
7696         ($(objpfx)tst-langinfo.out): Redirect output.
7697         ($(objpfx)tst-langinfo-static.out): New.
7698         * localedata/tst-langinfo.sh: Send output to stdout.
7699         * localedata/tst-langinfo-static.c: New file.
7701         [BZ #16965]
7702         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7703         when the shift amount is modulo the limb size.
7705 2014-05-20  Richard Henderson  <rth@redhat.com>
7707         [BZ #16967]
7708         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7709         Change type of sa_flags from unsigned int to int.
7711         [BZ #16966]
7712         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7714         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7716 2014-05-20  Will Newton  <will.newton@linaro.org>
7718         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7719         Test the return value of the system call in the nocancel case.
7721 2014-05-20  Will Newton  <will.newton@linaro.org>
7722             Yvan Roux  <yvan.roux@linaro.org>
7724         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7725         #include of asm/ptrace.h.
7726         (PTRACE_GET_THREAD_AREA): Remove #undef.
7727         (PTRACE_GETHBPREGS): Likewise.
7728         (PTRACE_SETHBPREGS): Likewise.
7729         (struct user_regs_struct): New structure.
7730         (struct user_fpsimd_struct): New structure.
7731         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7732         #include of asm/ptrace.h and second #include of sys/user.h.
7733         (PTRACE_GET_THREAD_AREA): Remove #undef.
7734         (PTRACE_GETHBPREGS): Likewise.
7735         (PTRACE_SETHBPREGS): Likewise.
7736         (ELF_NGREG): Use new struct user_regs_struct.
7737         (elf_fpregset_t): Use new struct user_fpsimd_struct.
7739 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7741         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7742         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7744 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
7746         [BZ #16958]
7747         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7748         membar to avoid block loads/stores to overlap previous stores.
7750 2014-05-17  Richard Henderson  <rth@redhat.com>
7752         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7753         Create the __##syscall_name##_nocancel entry point.
7754         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7755         Remove; let the sysdep-cancel.h code create it.
7757 2014-05-17  David S. Miller  <davem@davemloft.net>
7759         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7760         Protect with __USE_GNU.
7761         (TIOCSET_TEMPT): Likewise.
7762         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7763         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7764         these are already provided in bits/ioctl-types.h
7766 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7768         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7769         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7771         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7772         Use wait4 regardless of [__NR_waitpid].
7774 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7776         PR libgcc/60166
7777         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7778         (_FP_NANSIGN_Q): Set the quiet bit.
7780 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
7782         * benchtests/Makefile
7783         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7784         not $(common-objpfx)math/libm.so.
7785         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7786         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7787         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7788         $(common-objpfx)dlfcn/libdl.so.
7789         ($(objpfx)tst-audit8): Depend on $(libm), not
7790         $(common-objpfx)math/libm.so.
7791         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7792         not $(common-objpfx)dlfcn/libdl.so.
7793         * math/Makefile
7794         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7795         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
7796         [$(build-shared) = yes].
7797         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7798         $(common-objpfx)nptl/libpthread.so.
7799         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7800         $(common-objpfx)math/libm.so$(libm.so-version) or
7801         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7802         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7803         $(common-objpfx)dlfcn/libdl.so.
7804         * setjmp/Makefile (link-libm): Remove variable.
7805         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7806         * stdio-common/Makefile (link-libm): Remove variable.
7807         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7808         * stdlib/Makefile (link-libm): Remove variable.
7809         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7810         ($(objpfx)tst-strtod-round): Likewise.
7811         ($(objpfx)tst-tininess): Likewise.
7812         ($(objpfx)tst-strtod-underflow): Likewise.
7813         ($(objpfx)tst-strtod6): Likewise.
7814         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7815         $(libdl), not $(common-objpfx)nptl/libpthread.so and
7816         $(common-objpfx)dlfcn/libdl.so.
7818 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7820         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7821         BSD terminal modes definitions.
7823 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7825         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7826         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7828         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7829         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7830         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7831         Don't do #include_next.
7832         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7833         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7834         Don't do #include_next.
7835         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7836         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7837         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7838         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7840 2014-05-16  Allan McRae  <allan@archlinux.org>
7842         * po/sv.po: Update Swedish translation from translation project.
7844         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7845         in sed expression.
7847 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
7849         [BZ #16917]
7850         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7851         errno if the TIOCGPTN ioctl fails with an error different than
7852         EINVAL.
7853         * login/tst-ptsname.c: New file.
7854         * login/Makefile (tests): Add tst-ptsname.
7856         [BZ #16943]
7857         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7858         and prlimit64.
7860 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7862         [BZ #16849]
7863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7864         herrno to return EAI_AGAIN.
7866 2014-05-14  Roland McGrath  <roland@hack.frob.com>
7868         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7869         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7870         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7871         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7872         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7873         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7874         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7875         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7876         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7877         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7878         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7879         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7880         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7881         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7882         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7883         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7884         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7885         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7886         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7887         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7888         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7889         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7890         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7891         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7892         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7893         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7894         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7895         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7896         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7897         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7899         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7901         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7903         Moved ...
7904         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7906         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7908         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7910         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7912         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7914         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7916         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7918         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7920         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7922         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7924         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7926         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7928         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7930         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7932         Moved ...
7933         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7935         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7937         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7939         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7941         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7943         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7945         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7947         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7949         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7951         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7953         Moved ...
7954         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7956         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7958         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7959         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7960         (libpthread-sysdep_routines): Add elision-related stuff here instead.
7961         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7962         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7963         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7964         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7965         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7966         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7967         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7968         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7969         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7970         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7971         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7972         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7973         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7974         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7975         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7976         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7977         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7978         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7979         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7980         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7981         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7982         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7983         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7984         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7985         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7986         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7987         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7988         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7990         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7991         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7993         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7994         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7995         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7996         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7997         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7998         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7999         Moved ...
8000         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8001         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8002         Moved ...
8003         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8004         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8005         Moved ...
8006         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8007         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8008         Moved ...
8009         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8010         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8011         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8012         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8013         Moved ...
8014         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8015         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8016         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8017         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8018         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8019         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8020         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8021         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8022         Moved ...
8023         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8024         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8025         Moved ...
8026         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8027         ... here.
8028         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8029         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8030         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8031         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8032         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8033         Moved ...
8034         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8035         ... here.
8036         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8037         Moved ...
8038         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8039         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8040         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8041         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8042         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8043         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8044         Moved ...
8045         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8046         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8047         Moved ...
8048         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8049         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8050         Moved ...
8051         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8052         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8053         Moved ...
8054         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8055         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8056         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8057         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8058         Moved ...
8059         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8060         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8061         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8062         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8063         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8064         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8065         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8066         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8067         Moved ...
8068         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8069         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8070         Moved ...
8071         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8072         ... here.
8073         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8074         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8075         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8076         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8077         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8078         Moved ...
8079         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8080         ... here.
8081         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8082         Moved ...
8083         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8084         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8085         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8086         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8087         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8088         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8089         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8090         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8091         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8092         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8093         Moved ...
8094         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8095         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8096         Moved ...
8097         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8098         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8099         Moved ...
8100         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8101         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8102         Moved ...
8103         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8104         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8105         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8106         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8107         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8108         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8109         Moved ...
8110         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8111         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8112         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8113         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8114         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8115         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8116         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8117         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8118         Moved ...
8119         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8120         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8121         Moved ...
8122         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8123         ... here.
8124         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8125         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8126         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8127         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8128         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8129         Moved ...
8130         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8131         ... here.
8132         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8133         Moved ...
8134         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8135         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8136         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8137         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8138         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8139         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8140         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8141         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8142         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8143         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8144         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8146         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8147         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8149         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8150         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8152         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8153         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8154         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8155         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8156         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8157         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8158         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8159         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8160         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8161         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8162         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8163         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8164         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8165         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8166         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8167         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8168         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8169         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8170         Moved ...
8171         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8172         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8173         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8174         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8175         Moved ...
8176         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8177         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8178         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8179         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8180         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8181         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8182         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8183         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8184         Moved ...
8185         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8186         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8187         Moved ...
8188         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8189         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8190         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8191         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8192         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8194         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8195         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8196         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8197         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8198         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8199         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8200         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8201         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8202         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8203         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8204         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8206         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8207         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8208         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8209         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8210         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8212         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8213         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8214         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8215         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8216         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8217         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8218         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8219         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8220         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8221         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8223         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8224         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8226         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8227         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8228         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8229         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8230         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8231         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8232         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8233         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8234         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8235         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8236         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8237         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8238         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8239         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8240         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8241         Update #include.
8242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8243         Likewise.
8244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8245         Likewise.
8246         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8247         Likewise.
8248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8249         Likewise.
8250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8251         Likewise.
8252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8253         Likewise.
8254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8255         Likewise.
8256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8257         Likewise.
8258         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8259         Likewise.
8260         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8263         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8264         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8265         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8266         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8267         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8268         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8269         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8270         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8271         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8272         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8273         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
8274         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
8276         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8277         that was previously under [RESET_PID].
8278         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8279         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8280         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8282         * sysdeps/i386/nptl/Implies: New file.
8283         * sysdeps/x86_64/nptl/Implies: New file.
8284         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8285         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8286         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8287         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8289         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8290         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8291         (__libc_vfork): New strong alias.
8292         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8293         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8295         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8296         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8297         (__libc_vfork): New strong alias.
8298         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8299         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8301         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8302         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8303         (__libc_vfork): New strong alias.
8304         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8305         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8306         * nptl/pt-vfork.c: New file.
8307         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8308         (libpthread: GLIBC_2.20): New version set (empty).
8310 2014-05-14  Will Newton  <will.newton@linaro.org>
8312         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8313         rather than #if.
8315 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8317         [BZ #16564]
8318         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8319         arguments with exponent 65 or above.
8320         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8321         arguments 0x1p113L or above.
8322         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8323         to arguments 0x1p107L or above.
8324         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8325         positive arguments with exponent 65 or above.
8326         * math/auto-libm-test-in: Add more tests of log1p.
8327         * math/auto-libm-test-out: Regenerated.
8329         [BZ #16928]
8330         * math/s_cacos.c (__cacos): Ensure zero real part of result from
8331         non-finite arguments is +0.
8332         * math/s_cacosf.c (__cacosf): Likewise.
8333         * math/s_cacosl.c (__cacosl): Likewise.
8334         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8335         * sysdeps/i386/fpu/libm-test-ulps: Update.
8336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8338         [BZ #16927]
8339         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8340         value.
8341         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8342         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8343         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8344         for explicit high bit of mantissa when testing for argument equal
8345         to 1.
8346         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8347         * sysdeps/i386/fpu/libm-test-ulps: Update.
8348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8350         [BZ #16516]
8351         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8352         (__erf): Scale by 16 instead of 8 in potentially underflowing
8353         case.  Ensure exception if result actually underflows.
8354         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8355         (__erff): Scale by 16 instead of 8 in potentially underflowing
8356         case.  Ensure exception if result actually underflows.
8357         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8358         (efx8): Remove variable.
8359         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8360         case.  Ensure exception if result actually underflows.
8361         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8362         (efx8): Remove variable.
8363         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8364         case.  Ensure exception if result actually underflows.
8365         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8366         (efx8): Remove variable.
8367         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8368         case.  Ensure exception if result actually underflows.
8369         * math/auto-libm-test-in: Add more tests of erf.
8370         * math/auto-libm-test-out: Regenerated.
8372 2014-05-14  Andreas Schwab  <schwab@suse.de>
8374         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8375         Remove code conditionalized on USE___THREAD.
8377         * config.h.in (HAVE_PT_CHOWN): Define as 0.
8378         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8379         not definedness.
8381 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8383         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8384         Define unconditionally.
8385         (__ASSUME_O_CLOEXEC): Likewise.
8386         (__ASSUME_SOCK_CLOEXEC): Likewise.
8387         (__ASSUME_IN_NONBLOCK): Likewise.
8388         (__ASSUME_PIPE2): Likewise.
8389         (__ASSUME_EVENTFD2): Likewise.
8390         (__ASSUME_SIGNALFD4): Likewise.
8391         (__ASSUME_DUP3): Likewise.
8392         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8393         (__ASSUME_DUP3): Do not define.
8394         (__ASSUME_EVENTFD2): Likewise.
8395         (__ASSUME_IN_NONBLOCK): Likewise.
8396         (__ASSUME_O_CLOEXEC): Likewise.
8397         (__ASSUME_PIPE2): Likewise.
8398         (__ASSUME_SIGNALFD4): Likewise.
8399         (__ASSUME_SOCK_CLOEXEC): Likewise.
8400         (__ASSUME_UTIMES): Undefine.
8401         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8402         (__ASSUME_UTIMES): Do not define.
8403         (__ASSUME_O_CLOEXEC): Likewise.
8404         (__ASSUME_SOCK_CLOEXEC): Likewise.
8405         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8406         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8407         0x020621].
8408         (__ASSUME_PIPE2): Likewise.
8409         (__ASSUME_EVENTFD2): Likewise.
8410         (__ASSUME_SIGNALFD4): Likewise.
8411         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8412         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8413         Do not define.
8414         (__ASSUME_EVENTFD2): Likewise.
8415         (__ASSUME_SIGNALFD4): Likewise.
8416         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8417         (__ASSUME_32BITUIDS): Likewise.
8418         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8419         (__ASSUME_IPC64): Likewise.
8420         (__ASSUME_ST_INO_64_BIT): Likewise.
8421         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8422         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8423         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8424         (__ASSUME_UTIMES): Do not define.
8425         (__ASSUME_PSELECT): Likewise.
8426         (__ASSUME_PPOLL): Likewise.
8427         (__ASSUME_O_CLOEXEC): Likewise.
8428         (__ASSUME_SOCK_CLOEXEC): Likewise.
8429         (__ASSUME_IN_NONBLOCK): Likewise.
8430         (__ASSUME_PIPE2): Likewise.
8431         (__ASSUME_EVENTFD2): Likewise.
8432         (__ASSUME_SIGNALFD4): Likewise.
8433         (__ASSUME_DUP3): Likewise.
8434         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8435         (__ASSUME_UTIMES): Likewise.
8436         (__ASSUME_O_CLOEXEC): Likewise.
8437         (__ASSUME_SOCK_CLOEXEC): Likewise.
8438         (__ASSUME_IN_NONBLOCK): Likewise.
8439         (__ASSUME_PIPE2): Likewise.
8440         (__ASSUME_EVENTFD2): Likewise.
8441         (__ASSUME_SIGNALFD4): Likewise.
8442         (__ASSUME_DUP3): Likewise.
8443         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8444         (__ASSUME_UTIMES): Likewise.
8445         (__ASSUME_O_CLOEXEC): Likewise.
8446         (__ASSUME_SOCK_CLOEXEC): Likewise.
8447         (__ASSUME_IN_NONBLOCK): Likewise.
8448         (__ASSUME_PIPE2): Likewise.
8449         (__ASSUME_EVENTFD2): Likewise.
8450         (__ASSUME_SIGNALFD4): Likewise.
8451         (__ASSUME_DUP3): Likewise.
8452         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8453         Likewise.
8454         (__ASSUME_UTIMES): Likewise.
8455         (__ASSUME_EVENTFD2): Likewise.
8456         (__ASSUME_SIGNALFD4): Likewise.
8457         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8458         (__ASSUME_O_CLOEXEC): Likewise.
8459         (__ASSUME_SOCK_CLOEXEC): Likewise.
8460         (__ASSUME_IN_NONBLOCK): Likewise.
8461         (__ASSUME_PIPE2): Likewise.
8462         (__ASSUME_EVENTFD2): Likewise.
8463         (__ASSUME_SIGNALFD4): Likewise.
8464         (__ASSUME_DUP3): Likewise.
8465         (__ASSUME_UTIMES): Undefine.
8467         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8468         feclearexcept.  Remove symbol versioning code.
8469         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
8470         symbol versioning code.
8471         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
8472         symbol versioning code.
8473         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8474         feupdateenv.  Remove symbol versioning code.
8475         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8476         fegetexceptflag.  Remove symbol versioning code.
8477         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8478         fesetexceptflag.  Remove symbol versioning code.
8479         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8480         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8481         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8482         (__posix_fadvise64_l32): Remove prototype.
8483         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8484         code.
8486 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8488         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8489         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8490         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8491         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8493 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8495         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8496         current working directory
8498 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8500         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8501         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8502         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8503         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8504         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8505         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8506         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8507         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8508         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8509         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8510         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8511         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8512         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8513         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8514         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8515         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8516         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8517         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8518         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8519         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8520         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8521         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8522         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8523         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8524         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8525         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8526         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8527         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8528         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8529         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8530         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8531         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8532         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8533         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8534         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8535         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8536         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8537         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8538         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8539         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8540         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8541         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8543         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8544         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8546         * sysdeps/unix/sysv/linux/arm/Makefile
8547         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8548         Add rt-aeabi_unwind_cpp_pr1.
8549         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8550         Add nptl-aeabi_unwind_cpp_pr1.
8551         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8552         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8553         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8554         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8555         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8556         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8558         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8559         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8560         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8561         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8563         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8564         Deconditionalize the code that was previously under [RESET_PID].
8565         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8567         * sysdeps/generic/exit-thread.h: New file.
8568         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8569         * include/unistd.h (__exit_thread): Remove declaration.
8570         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8571         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8572         * csu/libc-start.c: Include <exit-thread.h>.
8573         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8574         * nptl/pthread_create.c: Include <exit-thread.h>.
8575         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8576         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8577         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8578         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8579         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8580         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8581         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8582         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8583         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8584         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8585         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8586         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8587         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8588         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8589         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8590         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8591         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8593 2014-05-13  Andreas Schwab  <schwab@suse.de>
8595         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8597 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8599         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8600         (__ASSUME_UTIMES): Do not condition on kernel version.
8601         (__ASSUME_PSELECT): Define unconditionally.
8602         (__ASSUME_PPOLL): Likewise.
8603         (__ASSUME_ATFCTS): Likewise.
8604         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8605         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8606         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8607         (__ASSUME_UTIMENSAT): Define unconditionally.
8608         (__ASSUME_PRIVATE_FUTEX): Likewise.
8609         (__ASSUME_FALLOCATE): Likewise.
8610         (__ASSUME_O_CLOEXEC): Likewise.
8611         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8612         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8613         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8614         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8615         (__ASSUME_IN_NONBLOCK): Likewise.
8616         (__ASSUME_PIPE2): Likewise.
8617         (__ASSUME_EVENTFD2): Likewise.
8618         (__ASSUME_SIGNALFD4): Likewise.
8619         (__ASSUME_DUP3): Likewise.
8620         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8621         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8622         (__ASSUME_AT_RANDOM): Likewise.
8623         (__ASSUME_PREADV): Likewise.
8624         (__ASSUME_PWRITEV): Likewise.
8625         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8626         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8627         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8628         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8629         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8630         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8631         (__ASSUME_O_CLOEXEC): Define unconditionally.
8632         (__ASSUME_PSELECT): Do not undefine conditionally.
8633         (__ASSUME_PPOLL): Likewise.
8634         (__ASSUME_ATFCTS): Likewise.
8635         (__ASSUME_SET_ROBUST_LIST): Likewise.
8636         (__ASSUME_UTIMENSAT): Likewise.
8637         (__ASSUME_FDATASYNC): Define unconditionally.
8638         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8639         (__ASSUME_SIGFRAME_V2): Likewise.
8640         )__ASSUME_EVENTFD2): Likewise.
8641         (__ASSUME_SIGNALFD4): Likewise.
8642         (__ASSUME_PSELECT): Do not undefine conditionally.
8643         (__ASSUME_PPOLL): Likewise.
8644         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8645         (__ASSUME_PSELECT): Define unconditionally.
8646         (__ASSUME_PPOLL): Likewise.
8647         (__ASSUME_O_CLOEXEC): Likewise.
8648         (__ASSUME_SOCK_CLOEXEC): Likewise.
8649         (__ASSUME_IN_NONBLOCK): Likewise.
8650         (__ASSUME_PIPE2): Likewise.
8651         (__ASSUME_EVENTFD2): Likewise.
8652         (__ASSUME_SIGNALFD4): Likewise.
8653         (__ASSUME_DUP3): Likewise.
8654         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8655         (__ASSUME_O_CLOEXEC): Likewise.
8656         (__ASSUME_SOCK_CLOEXEC): Likewise.
8657         (__ASSUME_IN_NONBLOCK): Likewise.
8658         (__ASSUME_PIPE2): Likewise.
8659         (__ASSUME_EVENTFD2): Likewise.
8660         (__ASSUME_SIGNALFD4): Likewise.
8661         (__ASSUME_DUP3): Likewise.
8662         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8663         (__ASSUME_EVENTFD2): Likewise.
8664         (__ASSUME_SIGNALFD4): Likewise.
8665         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8667 2014-05-12  Andreas Schwab  <schwab@suse.de>
8669         [BZ #16932]
8670         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8671         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8672         than maximum RPC packet size.
8673         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8674         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8675         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8676         (_nss_nis_getservbyport_r): Likewise.
8678 2014-05-12  Will Newton  <will.newton@linaro.org>
8680         * malloc/Makefile (tests): Add tst-mallopt.
8681         * malloc/tst-mallopt.c: New file.
8683 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8685         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8686         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8688 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8690         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8691         (tst-tlsmod6.so): Likewise.
8693 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8695         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8697 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
8699         [BZ #16064]
8700         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8701         and <dl-procinfo.h>.
8702         (__fegetenv): Save SSE state in envp->__eip if supported.
8703         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8704         envp->__eip if supported.
8705         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8706         and <dl-procinfo.h>.
8707         (__fesetenv): Always set __eip, __cs_selector, __opcode,
8708         __data_offset and __data_selector in environment to 0.  Set SSE
8709         state if supported.
8710         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8711         test-fenv-sse.
8712         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8713         -mfpmath=sse.
8714         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8716 2014-05-09  Will Newton  <will.newton@linaro.org>
8718         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8719         and libc_relro_required for ARM.
8720         * sysdeps/arm/preconfigure: Regenerate.
8722 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8723             Stefan Liebler  <stli@linux.vnet.ibm.com>
8725         * config.make.in (enable-lock-elision): New Makefile variable.
8726         * configure.ac: Likewise.
8727         * configure: Regenerate.
8728         * sysdeps/s390/configure.ac:
8729         Add check for gcc transactions support.
8730         * sysdeps/s390/configure: Regenerate.
8731         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8732         Build elision files if enabled.
8733         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8734         Add lock elision support for s390.
8735         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8736         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8737         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8738         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8739         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8740         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8741         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8742         Likewise.
8743         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8744         Likewise.
8745         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8746         Likewise.
8747         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8748         Likewise.
8749         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8750         (__lll_timedlock_elision, __lll_lock_elision)
8751         (__lll_unlock_elision, __lll_trylock_elision)
8752         (lll_timedlock_elision, lll_lock_elision)
8753         (lll_unlock_elision, lll_trylock_elision): Add.
8754         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8755         (pthread_mutex_t): Add lock elision support for s390.
8757 2014-05-14  Wilco  <wdijkstr@arm.com>
8759         * sysdeps/arm/fclrexcpt.c: Cleanup.
8760         * sysdeps/arm/fedisblxcpt.c: Cleanup.
8761         * sysdeps/arm/feenablxcpt.c: Cleanup.
8762         * sysdeps/arm/fegetenv.c: Cleanup.
8763         * sysdeps/arm/fegetexcept.c: Cleanup.
8764         * sysdeps/arm/fegetround.c: Cleanup.
8765         * sysdeps/arm/feholdexcpt.c: Cleanup.
8766         * sysdeps/arm/fesetenv.c: Cleanup.
8767         * sysdeps/arm/fesetround.c: Cleanup.
8768         * sysdeps/arm/feupdateenv.c: Cleanup.
8769         * sysdeps/arm/fgetexcptflg.c: Cleanup.
8770         * sysdeps/arm/fraiseexcpt.c: Cleanup.
8771         * sysdeps/arm/fsetexcptflg.c: Cleanup.
8772         * sysdeps/arm/ftestexcept.c: Cleanup.
8773         * sysdeps/arm/get-rounding-mode.h: Cleanup.
8774         * sysdeps/arm/setfpucw.c: Cleanup.
8776 2014-05-09  Will Newton  <will.newton@linaro.org>
8778         * sysdeps/arm/armv7/strcmp.S: New file.
8779         * NEWS: Mention addition of ARMv7 optimized strcmp.
8781 2014-05-08  Roland McGrath  <roland@hack.frob.com>
8783         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8784         look for %.ac rather than %.in.
8786         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8787         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8788         * sysdeps/mach/hurd/configure: Regenerated.
8789         * sysdeps/unix/sysv/linux/configure: Regenerated.
8791         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8793 2014-05-07  Steve Ellcey  <sellcey@mips.com>
8795         [BZ# 16922]
8796         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8797         (LONG_SUB): Ditto.
8798         (PTR_SUB): Ditto.
8800 2014-05-07  Andreas Schwab  <schwab@suse.de>
8802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8803         when skipping over non-matching result from nscd.
8805 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
8807         [BZ #16876]
8808         * nptl/sockperf.c (client): Check socket return value.
8810         [BZ #16877]
8811         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8812         nscd security class.
8814 2014-05-06  Roland McGrath  <roland@hack.frob.com>
8816         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8817         * sysdeps/arm/unwind.h: ... here.
8819 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
8821         [BZ# 16916]
8822         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8823         Define.
8825 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8827         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8828         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8829         multiarch strncpy for PPC64.
8830         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8831         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8833         multiarch optimizations.
8834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8835         (__libc_ifunc_impl_list): Likewise.
8836         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8837         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8838         multiarch stpncpy for PPC64.
8839         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8840         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8842 2014-05-06  Andreas Schwab  <schwab@suse.de>
8844         [BZ #16912]
8845         * gmon/mcount.c (_MCOUNT_DECL): Use
8846         atomic_compare_and_exchange_bool_acq instead of
8847         catomic_compare_and_exchange_bool_acq.
8849 2014-05-05  Roland McGrath  <roland@hack.frob.com>
8851         * elf/Makefile (others, install-bin): Remove pldd.
8852         (pldd-modules): Variable removed.
8853         ($(objpfx)pldd): Target removed.
8854         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8855         (others, install-bin): Append pldd here.
8856         ($(objpfx)pldd): New target.
8858         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8859         to 0, so the first #if test emitted later doesn't see it undefined.
8860         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8861         * sysdeps/gnu/errlist.c: Regenerated.
8863 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8865         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8866         [libc_hidden_builtin_def]: Define to empty value.
8867         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8868         [libc_hidden_builtin_def]: Likewise.
8869         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8870         [libc_hidden_builtin_def]: Likewise.
8871         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8872         [libc_hidden_builtin_def]: Likewise.
8873         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8874         __redirect_memcpy and define ifunc as default hidden symbol.
8875         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8876         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8878 2014-05-04  Adam Conrad  <adconrad@0c3.net>
8880         * locale/iso-4217.def: Reintroduce XDR currency.
8882 2014-05-04  Allan McRae  <allan@archlinux.org>
8884         * po/eo.po: Update Esperanto translation from translation project.
8886 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
8888         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8889         and FEATURE_INDEX_MAX to 1.
8890         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8892 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8894         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8895         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8896         * iconvdata/big5.c (ONE_DIRECTION): Define.
8897         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8898         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8899         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8900         * iconvdata/cp932.c (ONE_DIRECTION): Define.
8901         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8902         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8903         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8904         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8905         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8906         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8907         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8908         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8909         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8910         * iconvdata/gbk.c (ONE_DIRECTION): Define.
8911         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8912         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8913         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8914         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8915         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8916         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8917         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8918         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8919         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8920         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8921         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8922         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8923         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8924         * iconvdata/iso646.c (ONE_DIRECTION): Define.
8925         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8926         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8927         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8928         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8929         * iconvdata/johab.c (ONE_DIRECTION): Define.
8930         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8931         * iconvdata/sjis.c (ONE_DIRECTION): Define.
8932         * iconvdata/t.61.c (ONE_DIRECTION): Define.
8933         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8934         * iconvdata/tscii.c (ONE_DIRECTION): Define.
8935         * iconvdata/uhc.c (ONE_DIRECTION): Define.
8936         * iconvdata/unicode.c (ONE_DIRECTION): Define.
8937         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8938         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8939         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8941 2014-05-01  Roland McGrath  <roland@hack.frob.com>
8943         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8944         (_IO_JUMPS_OFFSET): Define to 0.
8946         * nptl/sysdeps/pthread/bits/libc-lock.h
8947         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8948         (__libc_lock_define_initialized_recursive): Always define using
8949         initializer.  Modern compilers treat uninitialized (implicit zero) and
8950         explicit zero initializers the same (i.e. put the datum in bss).
8952 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8954         * nscd/nscd-client.h: Include <string.h>.
8956 2014-05-01  David S. Miller  <davem@davemloft.net>
8958         [BZ #16885]
8959         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8960         multiple zero bytes exist at the end of a string.
8961         Reported by Aurelien Jarno <aurelien@aurel32.net>
8963         * string/test-strcmp.c (check): Add explicit test for situations where
8964         there are multiple zero bytes after the first.
8966 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8968         [BZ #16890]
8969         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8970         when compiling wprintf.
8971         * stdio-common/tstdiomisc.c (t3): New function.
8972         (main): Call it.
8974 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8976         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8977         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8978         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8979         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8981 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8983         * stdlib/longlong.h: Updated from GCC.
8985 2014-05-01  Will Newton  <will.newton@linaro.org>
8986             Bernard Ogden  <bernie.ogden@linaro.org>
8988         * NEWS: Update fixed bug list.
8990         [BZ #15119]
8991         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8993 2014-04-30  David S. Miller  <davem@davemloft.net>
8995         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8996         (libc_feholdexcept_setround_sparc_ctx): New function.
8997         (libc_fesetenv_sparc_ctx): Likewise.
8998         (libc_feupdateenv_sparc_ctx): Likewise.
8999         (libc_feholdsetround_sparc_ctx): Likewise.
9000         (libc_feholdexcept_setround_ctx): Define.
9001         (libc_feholdexcept_setroundf_ctx): Likewise.
9002         (libc_feholdexcept_setroundl_ctx): Likewise.
9003         (libc_fesetenv_ctx): Likewise.
9004         (libc_fesetenvf_ctx): Likewise.
9005         (libc_fesetenvl_ctx): Likewise.
9006         (libc_feupdateenv_ctx): Likewise.
9007         (libc_feupdateenvf_ctx): Likewise.
9008         (libc_feupdateenvl_ctx): Likewise.
9009         (libc_feresetround_ctx): Likewise.
9010         (libc_feresetroundf_ctx): Likewise.
9011         (libc_feresetroundl_ctx): Likewise.
9012         (libc_feholdsetround_ctx): Likewise.
9013         (libc_feholdsetroundf_ctx): Likewise.
9014         (libc_feholdsetroundl_ctx): Likewise.
9016         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9017         with __USE_GNU instead of XOPEN cpp guards.
9019         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9020         0.
9022         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9023         with XOPEN cpp guards.
9025 2014-04-30  Julian Brown  <julian@codesourcery.com>
9027         [BZ #16888]
9028         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9029         handling.
9031 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
9033         [BZ #9894]
9034         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9035         Change to 2.6.32.
9036         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9037         * sysdeps/unix/sysv/linux/configure: Regenerated.
9038         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9039         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9040         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9041         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9042         * README: Update reference to required Linux kernel version.
9043         * manual/install.texi (Linux): Update reference to required Linux
9044         kernel headers version.
9045         * INSTALL: Regenerated.
9047         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9048         header inclusion.
9049         [POSIX] (limits.h): Likewise.
9050         [POSIX] (math.h): Likewise.
9051         [POSIX] (sys/wait.h): Likewise.
9052         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9053         function.
9054         [POSIX] (stddef.h): Do not allow header inclusion.
9056 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9058         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9060 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
9062         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9063         Return immediately after lll_futex_wake.
9065 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9067         [BZ #16791]
9068         * nscd/nscd-client.h (datahead_init_common): Initialize entire
9069         structure.
9070         (datahead_init_pos): Call datahead_init_common early.
9071         (datahead_init_neg): Likewise.
9073         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9074         datahead_init_neg): New functions.
9075         * nscd/aicache.c (addhstaiX): Use them.
9076         * nscd/grpcache.c (cache_addgr): Likewise.
9077         * nscd/hstcache.c (cache_addhst): Likewise.
9078         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9079         * nscd/netgroupcache.c (do_notfound): Likewise.
9080         (addgetnetgrentX): Likewise.
9081         (addinnetgrX): Likewise.
9082         * nscd/pwdcache.c (cache_addpw): Likewise.
9083         * nscd/servicescache.c (cache_addserv): Likewise.
9085 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9086             Atsushi Onoe  <atsushi@onoe.org>
9088         [BZ #14308]
9089         [BZ #12994]
9090         [BZ #13651]
9091         * resolv/res_query.c (__libc_res_nsearch): Return if at least
9092         one response is valid.
9093         * resolv/res_send.c (send_dg): Check for validity of other
9094         response if the current response is a referral.
9096 2014-04-29  Steve Ellcey  <sellcey@mips.com>
9098         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9100 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
9102         [BZ #16823]
9103         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9104         Always divide by positive zero when computing -Inf result.
9105         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9106         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9108 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9110         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9111         FPSCR if value do not change.
9112         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9113         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9114         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9115         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9116         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9117         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9118         function.
9120 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
9122         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9123         * sysdeps/unix/sysv/linux/hppa: Move directory from
9124         ports/systeps/unix/sysv/linux/hppa.
9125         * README: Update listing for hppa-*-linux-gnu.
9127 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
9129         [BZ #16754]
9130         * manual/stdio.texi (Hook functions): Fix types of stream hook
9131         functions.
9132         [BZ #16854]
9133         * socket/sys/socket.h: Fix typo in comment.
9135 2014-04-28  Wilco  <wdijkstr@arm.com>
9137         * sysdeps/arm/fenv_private.h: New file.
9138         * sysdeps/arm/math_private.h: New file.
9139         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9141 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
9143         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9144         with __int128_t.
9145         (La_x86_64_retval): Likewise.
9147 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
9149         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9150         fpsr if value didn't change.
9151         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9152         to fpcr if value didn't change.
9153         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9154         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9155         fpsr or fpcr if value didn't change.
9156         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9157         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9158         fpcr if value didn't change.
9159         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9160         to fpsr if value didn't change.
9162 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9164         * nptl/tst-sem3.c: Use test-skeleton.c
9165         (main): Rename to do_test.  Use return instead of
9166         exit.
9167         * nptl/tst-sem4.c: Use test-skeleton.c
9168         (main): Rename to do_test.
9170 2014-04-22  David S. Miller  <davem@davemloft.net>
9172         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9173         (struct sigaction): New struct member __glibc_reserved0, change
9174         type of sa_flags to int.
9176 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
9178         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9179         (COUNT_LEADING_ZEROS_0): Define for AArch64.
9181 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9183         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9184         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9186 2014-04-22  Will Newton  <will.newton@linaro.org>
9187             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
9189         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9190         (__longjmp): Add longjmp and longjmp_target SystemTap
9191         probes.
9192         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9193         (__sigsetjmp): Add setjmp SystemTap probe.
9195 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
9197         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9198         match manual order.
9200 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9202         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9204         * sysdeps/powerpc/fpu/fenv_private.h
9205         (libc_feholdexcept_setroundl_ctx): Define to
9206         libc_feholdexcept_setround_ppc_ctx.
9207         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9208         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9209         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9210         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9212 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9214         * sysdeps/aarch64/math-tests.h: New file.
9216 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
9218         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9219         New.
9220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9221         Check and set bit_AVX2_Usable.
9222         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9223         macro.
9224         (bit_AVX2): Likewise.
9225         (index_AVX2_Usable): Likewise.
9226         (CPUID_AVX2): Likewise.
9227         (HAS_AVX2): Likewise.
9229 2014-04-17  Will Newton  <will.newton@linaro.org>
9231         * manual/setjmp.texi (System V contexts): Add note that
9232         calling setcontext on a context created by a call to a
9233         signal handler is undefined.  Update text to note that
9234         setcontext from a signal handler is possible but not
9235         recommended.
9237         [BZ #16629]
9238         * stdlib/tst-setcontext.c: Include signal.h.
9239         (main): Check that the signal stack before and
9240         after swapcontext is the same.
9242         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9243         Re-implement to restore registers in user code and avoid
9244         rt_sigreturn system call.
9246 2014-04-17  Wilco  <wdijkstr@arm.com>
9248         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9249         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9250         * math/test-fenv.c: Skip exception trap tests on targets which only
9251         support non-stop mode.
9253 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9254             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9256         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9257         (libc_feholdsetround_aarch64_ctx)
9258         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9259         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9260         (libc_feresetround_ctx, libc_feresetroundf_ctx)
9261         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9262         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9263         (libc_feresetround_noexl_ctx): Define.
9265 2014-04-16  Richard Henderson  <rth@redhat.com>
9267         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9269         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9270         unwind tables.
9272         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9273         const from the non-libc, non-ldso copy.
9275         * sysdeps/alpha/libm-test-ulps: Regenerate.
9277 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
9278             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9280         * sysdeps/aarch64/fpu/math_private.h: New file.
9282 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9284         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9286 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
9288         [BZ #16275]
9289         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9290         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9291         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9292         Intel MPX bound registers before _dl_profile_fixup.
9293         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9294         registers after _dl_profile_fixup.  Save and restore bound
9295         registers bnd0/bnd1 when calling _dl_call_pltexit.
9296         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9297         (LR_BND_OFFSET): Likewise.
9298         (LRV_BND0_OFFSET): Likewise.
9299         (LRV_BND1_OFFSET): Likewise.
9301 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9303         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9304         to...
9305         * sysdeps/mach/hurd/i386/tls.h: ... here.
9306         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9307         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9308         fields.
9310 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9312         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9314 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9316         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9318 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9320         [BZ #14770]
9321         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9322         * sysdeps/s390/configure: Regenerate.
9324         [BZ #16824]
9325         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9326         Set round-to-nearest internally to reduce error accumulation.
9328 2014-04-16  Alan Modra  <amodra@gmail.com>
9330         [BZ #16740]
9331         [BZ #16619]
9332         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9333         * math/libm-test.inc (frexp_test_data): Add tests.
9334         * NEWS: Update fixed bug list.
9336 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9338         * benchtests/Makefile: Depend on libraries in build directory.
9339         (bench-math): Separate out math tests.
9340         (bench-pthread): Separate out pthread tests.
9341         (bench): Include math and pthread tests.
9343 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
9345         [BZ #16831]
9346         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9347         _dl_debug_initialize.
9349         * configure.ac: Remove SELinux header check.
9350         * configure: Regenerate.
9351         * nscd/selinux.c (perms): Array of const char* to permission names.
9352         (nscd_request_avc_has_perm): Call security_deny_unknown to find
9353         default policy. Call string_to_security_class and string_to_av_perm to
9354         translate strings. Enforce default policy and call avs_has_perm with
9355         results of translated strings.
9357 2014-04-13  David S. Miller  <davem@davemloft.net>
9359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9361 2014-04-12  Allan McRae  <allan@archlinux.org>
9363         [BZ #16838]
9364         * manual/string.texi (Collation Functions): Fix qsort argument
9365         order in example.
9366         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9368 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
9370         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9371         Make the test a no-op if there are no exceptions defined.
9373 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9375         * elf/Makefile (tests): make tst-dlopen-aout conditional on
9376         enable-hardcoded-path-in-tests
9378 2014-04-11  Will Newton  <will.newton@linaro.org>
9380         * benchtests/Makefile (extra-objs): Add json-lib.o.
9381         (bench-func): Tidy up JSON output.
9382         * benchtests/bench-skeleton.c: Include json-lib.h.
9383         (main): Use JSON library functions to do output of
9384         benchmark results.
9385         * benchtests/bench-timing-type.c (main): Output the
9386         timing type simply, leaving formatting to the user.
9387         * benchtests/json-lib.c: New file.
9388         * benchtests/json-lib.h: Likewise.
9390 2014-04-11  Torvald Riegel  <triegel@redhat.com>
9392         [BZ #15215]
9393         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9394         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
9395         memory barriers.  Add comments.
9396         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9397         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9398         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9399         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9400         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9401         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9403 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9405         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9406         * sysdeps/s390/s390-64/configure.ac: ... this ...
9407         * sysdeps/s390/configure.ac: ... to here.
9408         * sysdeps/s390/s390-32/configure: Delete file.
9409         * sysdeps/s390/s390-64/configure: Delete file.
9410         * sysdeps/s390/configure: Regenerate.
9412 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
9414         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9416 2014-04-11  Will Newton  <will.newton@linaro.org>
9418         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9419         to zero if it is not defined elsewhere.  (mtrim): Test
9420         the value of MALLOC_DEBUG with #if rather than #ifdef.
9422 2014-04-10 Torvald Riegel  <triegel@redhat.com>
9424         * benchtests/pthread_once-inputs: New file.
9425         * benchtests/pthread_once-source.c: New file.
9426         * benchtests/README: Update documentation.
9428 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9429             H.J. Lu  <hongjiu.lu@intel.com>
9431         [BZ #16275]
9432         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9433         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9434         * sysdeps/x86_64/configure: Regenerated.
9435         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9436         macro.
9437         (REGISTER_SAVE_RAX): Likewise.
9438         (REGISTER_SAVE_RCX): Likewise.
9439         (REGISTER_SAVE_RDX): Likewise.
9440         (REGISTER_SAVE_RSI): Likewise.
9441         (REGISTER_SAVE_RDI): Likewise.
9442         (REGISTER_SAVE_R8): Likewise.
9443         (REGISTER_SAVE_R9): Likewise.
9444         (REGISTER_SAVE_BND0): Likewise.
9445         (REGISTER_SAVE_BND1): Likewise.
9446         (REGISTER_SAVE_BND2): Likewise.
9447         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
9448         bound registers when calling _dl_fixup.
9450 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9452         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9453         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9454         of its definition.
9455         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9456         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9457         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9458         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9459         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9460         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9461         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9463 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
9465         [BZ #15514]
9466         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9467         pathconf(_PC_NAME_MAX).
9469 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9471         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9472         Remove macro usage.
9473         (__PTHREAD_SPINS): Move definition to ...
9474         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9475         (__PTHREAD_SPINS): ... here.
9476         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9477         (__PTHREAD_SPIN): Likewise.
9478         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9479         (__PTHREAD_SPIN): Likewise.
9480         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9481         (__PTHREAD_SPIN): Likewise.
9482         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9483         (__PTHREAD_SPIN): Likewise.
9484         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9485         (__PTHREAD_SPIN): Likewise.
9486         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9487         (__PTHREAD_SPIN): Likewise.
9488         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9489         (__PTHREAD_SPIN): Likewise.
9490         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9491         (__PTHREAD_SPIN): Likewise.
9492         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9493         (__PTHREAD_SPIN): Likewise.
9494         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9495         (__PTHREAD_SPIN): Likewise.
9496         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9497         (__PTHREAD_SPIN): Likewise.
9498         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9499         (__PTHREAD_SPIN): Likewise.
9501         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9502         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9503         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9504         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9505         imply folder.
9506         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9507         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9508         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9509         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9510         correct imply path.
9511         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9512         strlen symbol for non multi-arch builds.
9513         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9514         missing hidden_def and weak_alias.
9516 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9518         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9520 2014-04-07  Will Newton  <will.newton@linaro.org>
9522         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9523         and contents.  [!_LIBC] Remove #ifndef and contents.
9524         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9525         * string/memccpy.c (__memccpy): Use ANSI prototype.
9526         * string/memfrob.c (memfrob): Likewise.
9527         * string/strcoll.c (STRCOLL): Likewise.
9528         * string/strlen.c (strlen): Likewise.
9529         * string/strtok.c (STRTOK): Likewise.
9530         * string/strcat.c: Remove unused #include of memcopy.h.
9531         (strcat): Use ANSI prototype.
9532         * string/strchr.c: Remove unused #include of memcopy.h.
9533         (strchr): Use ANSI prototype.
9534         * string/strcmp.c: Remove unused #include of memcopy.h.
9535         (strcmp): Use ANSI prototype.
9536         * string/strcpy.c: Remove unused #include of memcopy.h.
9537         (strcpy): Use ANSI prototype.
9539 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9541         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9542         * config.make.in (config-extra-cppflags): Set it from
9543         libc_extra_cppflags.
9544         * configure.ac (libc_extra_cflags): Make it accumulate over
9545         configure fragments.
9546         (libc_extra_cppflags): New flag.
9547         * configure. Regenerate.
9548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9549         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9550         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9553         [BZ #16815]
9554         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9555         result for FE_DOWNWARD rounding mode.
9556         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9557         Likewise.
9558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9560 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9562         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9563         in function argument name.
9565 2014-04-03  David Svoboda  <svoboda@cert.org>
9567         [BZ #5666]
9568         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9569         explicitly.
9571 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9573         * elf/dl-unmap-segments.h: New file.
9574         * sysdeps/generic/ldsodefs.h
9575         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9576         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9577         * elf/dl-fptr.c: Likewise.
9578         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9579         * sysdeps/aarch64/tlsdesc.c: Likewise.
9580         * sysdeps/arm/tlsdesc.c: Likewise.
9581         * sysdeps/i386/tlsdesc.c: Likewise.
9582         * sysdeps/tile/dl-runtime.c: Likewise.
9583         * sysdeps/x86_64/tlsdesc.c: Likewise.
9584         * elf/dl-load.h: New file.
9585         * elf/dl-load.c: Include it.
9586         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9587         Macros moved to dl-load.h.
9588         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9589         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9590         Use _dl_unmap_segments in place of __munmap.
9591         Break out segment-mapping loop into ...
9592         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9594 2014-04-03  Will Newton  <will.newton@linaro.org>
9596         * elf/dl-lookup.c (do_lookup_x): Remove comment
9597         referring to nested function and move variable
9598         declarations down to before first use.
9600 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9602         [BZ #16799]
9603         [BZ #16800]
9604         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9605         with 0 numerator.
9606         * math/s_catanf.c (__catanf): Likewise.
9607         * math/s_catanh.c (__catanh): Likewise.
9608         * math/s_catanhf.c (__catanhf): Likewise.
9609         * math/s_catanhl.c (__catanhl): Likewise.
9610         * math/s_catanl.c (__catanl): Likewise.
9611         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9612         by positive zero when computing -Inf result.
9613         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9614         (catanh_test): Likewise.
9615         * sysdeps/i386/fpu/libm-test-ulps: Update.
9616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9618         [BZ #16789]
9619         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9620         instead of using underflowing value in computing result.
9621         * math/s_clog10.c (__clog10): Likewise.
9622         * math/s_clog10f.c (__clog10f): Likewise.
9623         * math/s_clog10l.c (__clog10l): Likewise.
9624         * math/s_clogf.c (__clogf): Likewise.
9625         * math/s_clogl.c (__clogl): Likewise.
9626         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9627         (clog10_test): Likewise.
9628         * sysdeps/i386/fpu/libm-test-ulps: Update.
9629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9631 2014-04-02  Alan Modra  <amodra@gmail.com>
9633         [BZ #16739]
9634         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9635         output when value is near a power of two.  Use int64_t for lx and
9636         remove casts.  Use decimal rather than hex exponent constants.
9637         Don't use long double multiplication when double will suffice.
9638         * math/libm-test.inc (nextafter_test_data): Add tests.
9639         * NEWS: Add 16739 and 16786 to bug list.
9641         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9643         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9645 2014-04-01  Will Newton  <will.newton@linaro.org>
9647         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9648         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9650 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9652         [BZ #13347]
9653         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9654         * nptl/tst-setuid2.c: New file.
9655         * nptl/Makefile (xtests): Add tst-setuid2.
9657 2014-04-01  Alan Modra  <amodra@gmail.com>
9659         [BZ #16786]
9660         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9662 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9664         [BZ #6803]
9665         [BZ #6804]
9666         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9667         set errno as appropriate.
9668         * math/w_scalbf.c (__scalbf): Likewise.
9669         * math/w_scalbl.c (__scalbl): Likewise.
9670         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9671         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9672         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9673         Add more NaN tests.
9675         [BZ #16349]
9676         * math/w_atan2.c: Include <errno.h>.
9677         (__atan2): Set errno for result underflowing to zero.
9678         * math/w_atan2f.c: Include <errno.h>.
9679         (__atan2f): Set errno for result underflowing to zero.
9680         * math/w_atan2l.c: Include <errno.h>.
9681         (__atan2l): Set errno for result underflowing to zero.
9682         * math/auto-libm-test-in: Don't allow missing errno for some atan2
9683         tests.
9684         * math/auto-libm-test-out: Regenerated.
9686 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9688         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9689         Encode instruction correctly in little endian.
9690         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9691         Likewise.
9692         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9693         Likewise.
9694         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9695         Likewise.
9696         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9697         Likewise.
9699 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9701         [BZ #9894]
9702         * sysdeps/unix/sysv/linux/kernel-features.h
9703         [__sparc__ && !__arch64__ && !__sparc_v9__]
9704         (__ASSUME_SET_ROBUST_LIST): Do not define.
9705         [__sparc__ && !__arch64__ && !__sparc_v9__]
9706         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9707         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9708         Likewise.
9709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9710         (__ASSUME_FUTEX_LOCK_PI): Undefine.
9711         (__ASSUME_REQUEUE_PI): Likewise.
9712         (__ASSUME_SET_ROBUST_LIST): Likewise.
9713         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9714         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9715         Undefine.
9716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9717         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9718         Likewise.
9719         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9720         Likewise.
9721         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9722         Likewise.
9723         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9724         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9725         Undefine.
9726         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9727         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9728         Likewise.
9730         [BZ #16648]
9731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9732         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9733         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9735 2014-03-31  Will Newton  <will.newton@linaro.org>
9737         * benchtests/Makefile (bench): Add ffs and ffsll to list
9738         of tests.
9739         * benchtests/ffs-inputs: New file.
9740         * benchtests/ffsll-inputs: Likewise.
9742 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
9744         [BZ #16770]
9745         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9746         too large before casting to int.
9747         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9748         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9749         * math/libm-test.inc (scalb_test_data): Add more tests.
9751 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9753         * benchtests/Makefile (DETAILED_OPT): New make option.
9754         (bench-func): Run benchmark program with -d if DETAILED_OPT is
9755         set.
9756         * benchtests/bench-skeleton.c: Include stdbool.h.
9757         (main): Store and print timings per input.
9758         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9759         member to each argument value.
9760         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9761         (_print_arg_data): Initialize per-input timing to 0.
9763         * benchtests/Makefile (timing-type): New binary.
9764         (bench-clean): Also remove bench-timing-type.
9765         (bench): New target for timing-type.
9766         (bench-func): Print output in JSON format.
9767         * benchtests/bench-skeleton.c (main): Print output in JSON
9768         format.
9769         * benchtests/bench-timing-type.c: New file.
9770         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9771         (TIMING_PRINT_STATS): Remove.
9772         * benchtests/scripts/bench.py (_print_arg_data): Store variant
9773         name separately.
9775         * benchtests/bench-modf.c: Remove.
9776         * benchtests/modf-inputs: New inputs file.
9778 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
9780         [BZ #16362]
9781         * math/s_clog10.c (M_PI_LOG10E): New macro.
9782         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9783         imaginary parts are 0.
9784         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9785         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9786         imaginary parts are 0.
9787         * math/s_clog10l.c (M_PI_LOG10El): New macro.
9788         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9789         imaginary parts are 0.
9790         * math/libm-test.inc (clog10_test_data): Update expected results
9791         for when real and imaginary parts are 0.
9793 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
9795         * elf/dl-load.c: Finish conversion of __builtin_expect into
9796         __glibc_{un}likely.
9798 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
9800         [BZ #16348]
9801         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9802         1+x for argument with exponent below -67.
9803         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9804         Likewise.
9805         * math/auto-libm-test-in: Add more tests of exp.
9806         * math/auto-libm-test-out: Regenerated.
9808 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9810         [BZ #16759]
9811         * inet/getnetgrent_r.c (get_nonempty_val): New function.
9812         (nscd_getnetgrent): Use it.
9814         [BZ #16760]
9815         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9816         of stpcpy.
9818 2014-03-27  Andi Kleen  <ak@linux.intel.com>
9820         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9821         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9822         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9823         (lll_robust_unlock): Remove out of line section. Use cfi
9824         intrinsics.
9825         (LLL_STUB_UNWIND_INFO*): Remove.
9826         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9827         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9828         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9829         (lll_robust_unlock): Remove out of line section. Use cfi
9830         intrinsics.
9831         (LLL_STUB_UNWIND_INFO*): Remove.
9833 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9835         [BZ #16758]
9836         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9837         blank values.
9839 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9841         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9843 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
9845         [BZ #16198]
9846         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9847         fnstenv.
9848         * math/test-fenv-preserve.c: New file.
9849         * math/Makefile (tests): Add test-fenv-preserve.
9851 2014-03-26  Will Newton <will.newton@linaro.org>
9853         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9855 2014-03-25  Roland McGrath  <roland@hack.frob.com>
9857         * scripts/versionlist.awk: Partition the version sets and emit all
9858         GLIBC_* (sorted) before all others (sorted).
9860 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9862         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9863         GLIBC_2.2.5 version.
9865 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9867         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9868         calls.
9870         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9871         previous change.
9873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9875 2014-03-25  Andreas Schwab  <schwab@suse.de>
9877         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9878         label to be used after in6ailist is initialized.
9880 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9882         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9883         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9885 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9887         [BZ #16357]
9888         [BZ #16599]
9889         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9890         min_plus_half.
9891         (fp_formats): Update initializers.
9892         (init_fp_formats): Initialize new field.
9893         (output_for_one_input_case): Allow underflow for results up to
9894         min_plus_half.
9895         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9896         * math/auto-libm-test-in: Don't mark some underflows from asin and
9897         atanh as spurious.
9898         * math/auto-libm-test-out: Regenerated.
9899         * sysdeps/i386/fpu/libm-test-ulps: Update.
9900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9902 2014-03-25  Andreas Schwab  <schwab@suse.de>
9904         * libio/Makefile (tst-ftell-partial-wide-ENV)
9905         (tst-ftell-active-handler-ENV): Define.
9907 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
9909         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9911 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9913         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9915 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9917         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9918         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9919         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9921 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9923         [BZ #16634]
9924         * elf/dl-load.c (open_verify): Add mode parameter.
9925         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9926         (open_path): Change from boolean 'secure' to complete flag 'mode'
9927         (_dl_map_object): Adjust.
9928         * elf/Makefile (tests): Add tst-dlopen-aout.
9929         * elf/tst-dlopen-aout.c: New test.
9931 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
9933         [BZ #16714]
9934         * sysdeps/unix/sysv/linux/s390/bits/stat.h
9935         (struct stat): Rename member pad0 to __glibc_reserved0.
9937         [BZ #16712]
9938         * sysdeps/s390/s390-32/bits/wordsize.h
9939         (__WORDSIZE32_SIZE_ULONG): New define.
9940         * sysdeps/s390/s390-64/bits/wordsize.h
9941         (__WORDSIZE32_SIZE_ULONG): Likewise.
9942         * sysdeps/generic/stdint.h (SIZE_MAX):
9943         Define as UL if __WORDSIZE32_SIZE_ULONG.
9945         [BZ #16713]
9946         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9947         (__glibc_reserved0): New variable.
9948         (sa_flags): Change type to int.
9950         * posix/Makefile (before-compile): Use += before-compile instead
9951         of a :=.
9953         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9954         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9956 2014-03-20  Andreas Schwab  <schwab@suse.de>
9958         [BZ #16743]
9959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9960         non-matching result from nscd.
9962 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9964         * scripts/bench.py: Moved to ...
9965         * benchtests/scripts/bench.py: ... here.
9966         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9968 2014-03-24  Andreas Schwab  <schwab@suse.de>
9970         [BZ #16002]
9971         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9972         alloca_account and account alloca use for struct in6ailist.
9974 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9976         [BZ #16284]
9977         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9978         rounding mode to recompute results that overflow to infinity or
9979         underflow to zero.
9980         * math/auto-libm-test-in: Don't mark tests as expected to fail for
9981         bug 16284.
9982         * math/auto-libm-test-out: Regenerated.
9983         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9984         (ccosh_test): Likewise.
9985         (csin_test_data): Use plus_oflow.
9986         (csin_test): Use ALL_RM_TEST.
9987         (csinh_test_data): Use plus_oflow.
9988         (csinh_test): Use ALL_RM_TEST.
9989         * sysdeps/i386/fpu/libm-test-ulps: Update.
9990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9992 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
9994         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9995         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9996         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9998         [BZ #16731]
9999         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10000         when x - 1 is zero.
10001         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10002         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10003         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10004         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10005         argument is 1.
10006         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10007         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10008         zero.
10009         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10010         * sysdeps/i386/fpu/libm-test-ulps: Update.
10011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10013 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10015         * scripts/bench.pl: Remove file.
10016         * scripts/bench.py: New benchmark script.
10017         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10018         * benchtests/README: Mention python dependency.
10019         * scripts/pylintrc: New file.
10020         * scripts/pylint: New file.
10022         * bits/mathdef.h: Use #ifdef instead of #if.
10023         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10024         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10025         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10026         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10027         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10028         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10030 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10031             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10033         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10035         and strpbrk-ppc64 objects.
10036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10037         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10038         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10039         multiarch strpbrk for POWER7.
10040         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10041         multiarch strpbrk for PPC64.
10042         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10043         ifunc selector.
10044         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10045         strpbrk for POWER7.
10047 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10049         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10050         (atan_test): Likewise.
10051         (atanh_test_data): Use NO_TEST_INLINE for two tests.
10052         (atanh_test): Use ALL_RM_TEST.
10053         (atan2_test_data): Likewise.
10054         (cabs_test): Likewise.
10055         (cacosh_test): Likewise.
10056         (carg_test): Likewise.
10057         (casin_test): Likewise.
10058         (casinh_test): Likewise.
10059         (cbrt_test): Likewise.
10060         (csqrt_test): Likewise.
10061         (erf_test): Likewise.
10062         (erfc_test): Likewise.
10063         (pow10_test): Likewise.
10064         (exp2_test): Likewise.
10065         (hypot_test): Likewise.
10066         (j0_test): Likewise.
10067         (j1_test): Likewise.
10068         (lgamma_test): Likewise.
10069         (gamma_test): Likewise.
10070         (sincos_test): Likewise.
10071         (tanh_test): Likewise.
10072         (y0_test): Likewise.
10073         (y1_test): Likewise.
10074         * sysdeps/i386/fpu/libm-test-ulps: Update.
10075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10077 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10079         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10081         and strcspn-ppc64 objects.
10082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10083         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10084         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10085         multiarch strcspn for POWER7.
10086         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10087         multiarch strcspn for PPC64.
10088         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10089         ifunc selector.
10090         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10091         strcspn for POWER7.
10093 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10095         * math/gen-libm-test.pl (generate_testfile): Expect only function
10096         name as argument to AUTO_TESTS_* and pass results for all rounding
10097         modes to parse_args.
10098         (parse_auto_input): Separate inputs of automatic tests from
10099         outputs before storing in %auto_tests.
10100         * math/libm-test.inc (acos_test_data): Update call to
10101         AUTO_TESTS_f_f.
10102         (acos_test): Use ALL_RM_TEST.
10103         (acos_tonearest_test_data): Remove.
10104         (acos_test_tonearest): Likewise.
10105         (acos_towardzero_test_data): Likewise.
10106         (acos_test_towardzero): Likewise.
10107         (acos_downward_test_data): Likewise.
10108         (acos_test_downward): Likewise.
10109         (acos_upward_test_data): Likewise.
10110         (acos_test_upward): Likewise.
10111         (acosh_test_data): Update call to AUTO_TESTS_f_f.
10112         (asin_test_data): Likewise.
10113         (asin_test): Use ALL_RM_TEST.
10114         (asin_tonearest_test_data): Remove.
10115         (asin_test_tonearest): Likewise.
10116         (asin_towardzero_test_data): Likewise.
10117         (asin_test_towardzero): Likewise.
10118         (asin_downward_test_data): Likewise.
10119         (asin_test_downward): Likewise.
10120         (asin_upward_test_data): Likewise.
10121         (asin_test_upward): Likewise.
10122         (asinh_test_data): Update call to AUTO_TESTS_f_f.
10123         (atan_test_data): Likewise.
10124         (atanh_test_data): Likewise.
10125         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10126         (cabs_test_data): Update call to AUTO_TESTS_c_f.
10127         (carg_test_data): Likewise.
10128         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10129         (ccos_test_data): Update call to AUTO_TESTS_c_c.
10130         (ccosh_test_data): Likewise.
10131         (cexp_test_data): Likewise.
10132         (clog_test_data): Likewise.
10133         (clog10_test_data): Likewise.
10134         (cos_test_data): Update call to AUTO_TESTS_f_f.
10135         (cos_test): Use ALL_RM_TEST.
10136         (cos_tonearest_test_data): Remove.
10137         (cos_test_tonearest): Likewise.
10138         (cos_towardzero_test_data): Likewise.
10139         (cos_test_towardzero): Likewise.
10140         (cos_downward_test_data): Likewise.
10141         (cos_test_downward): Likewise.
10142         (cos_upward_test_data): Likewise.
10143         (cos_test_upward): Likewise.
10144         (cosh_test_data): Update call to AUTO_TESTS_f_f.
10145         (cosh_test): Use ALL_RM_TEST.
10146         (cosh_tonearest_test_data): Remove.
10147         (cosh_test_tonearest): Likewise.
10148         (cosh_towardzero_test_data): Likewise.
10149         (cosh_test_towardzero): Likewise.
10150         (cosh_downward_test_data): Likewise.
10151         (cosh_test_downward): Likewise.
10152         (cosh_upward_test_data): Likewise.
10153         (cosh_test_upward): Likewise.
10154         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10155         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10156         (ctan_test_data): Likewise.
10157         (ctan_test): Use ALL_RM_TEST.
10158         (ctan_tonearest_test_data): Remove.
10159         (ctan_test_tonearest): Likewise.
10160         (ctan_towardzero_test_data): Likewise.
10161         (ctan_test_towardzero): Likewise.
10162         (ctan_downward_test_data): Likewise.
10163         (ctan_test_downward): Likewise.
10164         (ctan_upward_test_data): Likewise.
10165         (ctan_test_upward): Likewise.
10166         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10167         (ctanh_test): Use ALL_RM_TEST.
10168         (ctanh_tonearest_test_data): Remove.
10169         (ctanh_test_tonearest): Likewise.
10170         (ctanh_towardzero_test_data): Likewise.
10171         (ctanh_test_towardzero): Likewise.
10172         (ctanh_downward_test_data): Likewise.
10173         (ctanh_test_downward): Likewise.
10174         (ctanh_upward_test_data): Likewise.
10175         (ctanh_test_upward): Likewise.
10176         (erf_test_data): Update call to AUTO_TESTS_f_f.
10177         (erfc_test_data): Likewise.
10178         (exp_test_data): Likewise.
10179         (exp_test): Use ALL_RM_TEST.
10180         (exp_tonearest_test_data): Remove.
10181         (exp_test_tonearest): Likewise.
10182         (exp_towardzero_test_data): Likewise.
10183         (exp_test_towardzero): Likewise.
10184         (exp_downward_test_data): Likewise.
10185         (exp_test_downward): Likewise.
10186         (exp_upward_test_data): Likewise.
10187         (exp_test_upward): Likewise.
10188         (exp10_test_data): Update call to AUTO_TESTS_f_f.
10189         (exp10_test): Use ALL_RM_TEST.
10190         (exp10_tonearest_test_data): Remove.
10191         (exp10_test_tonearest): Likewise.
10192         (exp10_towardzero_test_data): Likewise.
10193         (exp10_test_towardzero): Likewise.
10194         (exp10_downward_test_data): Likewise.
10195         (exp10_test_downward): Likewise.
10196         (exp10_upward_test_data): Likewise.
10197         (exp10_test_upward): Likewise.
10198         (exp2_test_data): Update call to AUTO_TESTS_f_f.
10199         (expm1_test_data): Likewise.
10200         (expm1_test): Use ALL_RM_TEST.
10201         (expm1_tonearest_test_data): Remove.
10202         (expm1_test_tonearest): Likewise.
10203         (expm1_towardzero_test_data): Likewise.
10204         (expm1_test_towardzero): Likewise.
10205         (expm1_downward_test_data): Likewise.
10206         (expm1_test_downward): Likewise.
10207         (expm1_upward_test_data): Likewise.
10208         (expm1_test_upward): Likewise.
10209         (fma_test_data): Update call to AUTO_TESTS_fff_f.
10210         (fma_test): Use ALL_RM_TEST.
10211         (fma_towardzero_test_data): Remove.
10212         (fma_test_towardzero): Likewise.
10213         (fma_downward_test_data): Likewise.
10214         (fma_test_downward): Likewise.
10215         (fma_upward_test_data): Likewise.
10216         (fma_test_upward): Likewise.
10217         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10218         (j0_test_data): Update call to AUTO_TESTS_f_f.
10219         (j1_test_data): Likewise.
10220         (jn_test_data): Update call to AUTO_TESTS_if_f.
10221         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10222         (log_test_data): Update call to AUTO_TESTS_f_f.
10223         (log10_test_data): Likewise.
10224         (log1p_test_data): Likewise.
10225         (log2_test_data): Likewise.
10226         (pow_test_data): Update call to AUTO_TESTS_ff_f.
10227         (pow_tonearest_test_data): Likewise.
10228         (sin_test_data): Update call to AUTO_TESTS_f_f.
10229         (sin_test): Use ALL_RM_TEST.
10230         (sin_tonearest_test_data): Remove.
10231         (sin_test_tonearest): Likewise.
10232         (sin_towardzero_test_data): Likewise.
10233         (sin_test_towardzero): Likewise.
10234         (sin_downward_test_data): Likewise.
10235         (sin_test_downward): Likewise.
10236         (sin_upward_test_data): Likewise.
10237         (sin_test_upward): Likewise.
10238         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10239         (sinh_test_data): Update call to AUTO_TESTS_f_f.
10240         (sinh_test): Use ALL_RM_TEST.
10241         (sinh_tonearest_test_data): Remove.
10242         (sinh_test_tonearest): Likewise.
10243         (sinh_towardzero_test_data): Likewise.
10244         (sinh_test_towardzero): Likewise.
10245         (sinh_downward_test_data): Likewise.
10246         (sinh_test_downward): Likewise.
10247         (sinh_upward_test_data): Likewise.
10248         (sinh_test_upward): Likewise.
10249         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10250         (sqrt_test): Use ALL_RM_TEST.
10251         (sqrt_tonearest_test_data): Remove.
10252         (sqrt_test_tonearest): Likewise.
10253         (sqrt_towardzero_test_data): Likewise.
10254         (sqrt_test_towardzero): Likewise.
10255         (sqrt_downward_test_data): Likewise.
10256         (sqrt_test_downward): Likewise.
10257         (sqrt_upward_test_data): Likewise.
10258         (sqrt_test_upward): Likewise.
10259         (tan_test_data): Update call to AUTO_TESTS_f_f.
10260         (tan_test): Use ALL_RM_TEST.
10261         (tan_tonearest_test_data): Remove.
10262         (tan_test_tonearest): Likewise.
10263         (tan_towardzero_test_data): Likewise.
10264         (tan_test_towardzero): Likewise.
10265         (tan_downward_test_data): Likewise.
10266         (tan_test_downward): Likewise.
10267         (tan_upward_test_data): Likewise.
10268         (tan_test_upward): Likewise.
10269         (tanh_test_data): Update call to AUTO_TESTS_f_f.
10270         (tgamma_test_data): Likewise.
10271         (y0_test_data): Likewise.
10272         (y1_test_data): Likewise.
10273         (yn_test_data): Update call to AUTO_TESTS_if_f.
10274         (main): Do not call removed functions.
10276 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10278         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10279         (ldexp_test_data): Remove.
10280         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
10281         scalbn_test_data.
10282         (scalb_test): Use ALL_RM_TEST.
10284 2014-03-19  Andreas Schwab  <schwab@suse.de>
10286         * nscd/nscd.service: Also invalidate netgroup cache on reload.
10288 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10290         [BZ #16649]
10291         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10292         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10293         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10294         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10295         (__ASSUME_PREADV): Undefine.
10296         (__ASSUME_PWRITEV): Likewise.
10298 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10300         * bits/mman-linux.h: Add comment about non-Linux use.
10301         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10302         bits/mman-linux.h resting place.
10304         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10305         * bits/mman-linux.h: ... here.
10307 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10309         * conform/conformtest.pl: Add standard definition when calling C
10310         preprocessor on data files.
10311         (checknamespace): Remove unused variable.
10313 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10315         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10316         minus_oflow, plus_uflow and minus_uflow in expected results.
10317         * math/libm-test.inc (scalbn_test_data): Add more tests of
10318         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
10319         minus_uflow.
10320         (scalbn_test): Use ALL_RM_TEST.
10321         (scalbln_test_data): Add more tests of negative arguments.  Use
10322         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10323         (scalbln_test): Use ALL_RM_TEST.
10325 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10327         * scripts/abilist.awk: Ignore symbols marked with .hidden.
10329 2014-03-18  Will Newton  <will.newton@linaro.org>
10331         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10332         inaccurate comment.
10334 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10336         * Makerules [!subdir] (check-abi): Exit with error status if a
10337         test failed.
10339 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10341         * math/libm-test.inc (nearbyint_test_data): Include all tests used
10342         for rint.  Include results for all rounding modes.
10343         (nearbyint_test): Use ALL_RM_TEST.
10344         (rint_test_data): Include all tests used for nearbyint.
10346 2014-03-17  Will Newton  <will.newton@linaro.org>
10348         * nptl/sysdeps/pthread/pthread.h: Revert previous
10349         change.
10351         * sysdeps/generic/ldsodefs.h: Revert previous
10352         change.
10354         * libio/genops.c: Revert previous change.
10355         * libio/libioP.h: Likewise.
10356         * stdio-common/vfprintf.c: Likewise.
10358         * sysdeps/generic/math_private.h: Revert previous
10359         change.
10361         * sysdeps/generic/math_private.h: Check whether
10362         HAVE_RM_CTX is defined with #ifdef rather
10363         than #if.
10365         * argp/argp-fmtstream.h: Check whether
10366         __STRICT_ANSI__ is defined with #ifdef rather
10367         than #if.
10368         * argp/argp.h: Likewise.
10370         * libio/genops.c: Check whether
10371         _IO_JUMPS_OFFSET is defined with #ifdef rather
10372         than #if.
10373         * libio/libioP.h: Likewise.
10374         * stdio-common/vfprintf.c: Likewise.
10376         * sysdeps/generic/ldsodefs.h: Check whether
10377         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10378         than #if.
10380         * nptl/sysdeps/pthread/pthread.h: Check
10381         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10382         its value.
10384 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10386         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10387         setting O_APPEND.
10388         * libio/tst-ftell-active-handler.c (do_append_test): Add a
10389         test case.
10391         [BZ #16680]
10392         * libio/fileops.c (_IO_file_open): Seek to end of file but
10393         don't cache the offset.
10394         (get_file_offset): Remove function.
10395         (do_ftell): Use cached offset when available.
10396         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10397         don't cache the offset.
10398         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10399         case.
10400         (do_one_test): Call it.
10401         (do_ftell_test): Fix up expected old offset for a+ mode.
10402         * libio/wfileops.c (do_ftell_wide): Used cached offset when
10403         available.
10405         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10406         up test status with function return status.
10407         (do_write_test): Likewise.
10408         (do_append_test): Likewise.
10410         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10411         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10412         Remove.
10414 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10416         * math/gen-libm-test.pl (parse_args): Handle results specified for
10417         each rounding mode separately.
10418         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10419         tests and results from lrint_tonearest_test_data,
10420         lrint_towardzero_test_data, lrint_downward_test_data and
10421         lrint_upward_test_data.
10422         (lrint_test): Use ALL_RM_TEST.
10423         (lrint_tonearest_test_data): Remove.
10424         (lrint_test_tonearest): Likewise.
10425         (lrint_towardzero_test_data): Likewise.
10426         (lrint_test_towardzero): Likewise.
10427         (lrint_downward_test_data): Likewise.
10428         (lrint_test_downward): Likewise.
10429         (lrint_upward_test_data): Likewise.
10430         (lrint_test_upward): Likewise.
10431         (llrint_test_data): Merge in per-rounding-mode tests and results
10432         from llrint_tonearest_test_data, llrint_towardzero_test_data,
10433         llrint_downward_test_data and llrint_upward_test_data.
10434         (llrint_test): Use ALL_RM_TEST.
10435         (llrint_tonearest_test_data): Remove.
10436         (llrint_test_tonearest): Likewise.
10437         (llrint_towardzero_test_data): Likewise.
10438         (llrint_test_towardzero): Likewise.
10439         (llrint_downward_test_data): Likewise.
10440         (llrint_test_downward): Likewise.
10441         (llrint_upward_test_data): Likewise.
10442         (llrint_test_upward): Likewise.
10443         (rint_test_data): Merge in per-rounding-mode tests and results
10444         from rint_tonearest_test_data, rint_towardzero_test_data,
10445         rint_downward_test_data and rint_upward_test_data.  Add
10446         per-rounding-mode results for tests not in those arrays.
10447         (rint_test): Use ALL_RM_TEST.
10448         (rint_tonearest_test_data): Remove.
10449         (rint_test_tonearest): Likewise.
10450         (rint_towardzero_test_data): Likewise.
10451         (rint_test_towardzero): Likewise.
10452         (rint_downward_test_data): Likewise.
10453         (rint_test_downward): Likewise.
10454         (rint_upward_test_data): Likewise.
10455         (rint_test_upward): Likewise.
10456         (main): Don't call removed functions.
10458 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10460         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10461         "Compiled on ..." crapola.  It is anti-useful.
10463 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
10465         * scripts/evaluate-test.sh: Handle fourth argument to determine
10466         whether test run should stop on failure.
10467         * Makeconfig (stop-on-test-failure): New variable.
10468         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10469         $(stop-on-test-failure).
10470         * Makefile (tests): Give a summary of results from testing and
10471         exit with failure status if they include an ERROR or FAIL.
10472         (xtests): Likewise.
10473         * manual/install.texi (Configuring and compiling): Mention
10474         stop-on-test-failure=y.
10475         * INSTALL: Regenerated.
10477 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10479         * scripts/versionlist.awk: New file.
10480         * Makerules [$(build-shared) = yes]
10481         (postclean-generated): Add Versions.def, not Versions.def.v and
10482         Versions.def.v.i.
10483         ($(common-objpfx)Versions.def.v.i): Target removed.
10484         ($(common-objpfx)Versions.def): New target.
10485         ($(common-objpfx)Versions.all): Depend on that rather that
10486         $(common-objpfx)Versions.def.v.
10487         * Versions.def: File removed.
10489         * Makeconfig (+gccwarn): Add -Wundef.
10490         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10491         a dl-sysdep.h breaking its contract.
10492         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10493         * include/stackinfo.h: New file.
10494         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10495         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10496         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10497         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10498         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10499         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10500         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10501         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10502         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10503         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10504         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10505         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10506         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10507         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10508         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10510 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10512         [BZ #16707]
10513         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10514         implementation.
10515         * math/libm-test.inc (round_test_data): Add more tests.
10517         [BZ #16706]
10518         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10519         implementation.
10520         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10522         [BZ #16701]
10523         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10524         implementation.
10525         * math/libm-test.inc (ceil_test_data): Add more tests.
10527         * math/libm-test.inc (trunc_test_data): Add more tests related to
10528         BZ#16414.
10530 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10532         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10533         with #if rather than #ifdef.
10534         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10536 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10538         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10539         first.  Disable AVX-512 GCC support if assembler doesn't support
10540         it.
10541         * sysdeps/x86_64/configure: Regenerated.
10543 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10545         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10546         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10547         (__old_pthread_attr_setstack): Likewise.
10548         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10549         [!_STACK_GROWS_DOWN]: Likewise.
10551 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10553         * config.make.in (have-bash2): Delete.
10554         * configure.ac (libc_cv_have_bash2): Delete.
10555         * configure: Regenerate.
10556         * elf/Makefile (common-ldd-rewrite): Rename to ...
10557         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10558         (sh-ldd-rewrite): Delete.
10559         (bash-ldd-rewrite): Delete.
10560         (have-bash2): Delete checks.
10561         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10562         ldd-rewrite.
10564         * config.make.in (have-ksh): Delete.
10565         (KSH): Delete.
10566         * configure.ac (libc_cv_have_ksh): Delete.
10567         * configure: Regenerate.
10569         * elf/Makefile: Delete $(have-ksh) check.
10570         ($(objpfx)sotruss): Change KSH to BASH.
10571         * elf/sotruss.ksh: Rename to ...
10572         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10573         function style to match POSIX.  Drop ksh vim mode setting.
10575         * manual/time.texi (Specifying the Time Zone with TZ): Change
10576         Tuesday to Thursday.
10578         * debug/tst-longjmp_chk2.c: Update header comment.
10579         (stackoverflow_handler): Add comment.  Call assert on pass value.
10581 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10583         [BZ #16194]
10584         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10585         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10586         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10587         (La_x86_64_vector): Add zmm.
10588         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10589         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10590         ($(objpfx)tst-audit10): New target.
10591         ($(objpfx)tst-audit10.out): Likewise.
10592         (tst-audit10-ENV): New.
10593         (AVX512-CFLAGS): Likewise.
10594         (CFLAGS-tst-audit10.c): Likewise.
10595         (CFLAGS-tst-auditmod10a.c): Likewise.
10596         (CFLAGS-tst-auditmod10b.c): Likewise.
10597         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10598         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10599         * sysdeps/x86_64/configure: Regenerated.
10600         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10601         AVX-512 zmm register support.
10602         (_dl_x86_64_save_sse): Likewise.
10603         (_dl_x86_64_restore_sse): Likewise.
10604         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10605         size vector registers.
10606         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10607         (ZMM_SIZE): Likewise.
10608         * sysdeps/x86_64/tst-audit10.c: New file.
10609         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10610         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10612 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10614         * configure.ac (HAVE_EHDR_START): New check.
10615         * configure: Regenerated.
10616         * config.h.in (HAVE_EHDR_START): New #undef.
10617         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10618         assuming the lowest-addressed segment maps the start of the file.
10620 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10622         * INSTALL: Regenerated.
10624 2014-03-13  Will Newton  <will.newton@linaro.org>
10626         * manual/setjmp.texi (System V contexts): Improve
10627         clarity and grammar of documentation.
10629 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10631         [BZ #16381]
10632         * elf/Makefile (tests): Add tst-pie2.
10633         (tests-pie): Add tst-pie2.
10634         * elf/tst-pie2.c: New file.
10635         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10636         for ET_EXEC.
10637         * elf/rtld.c (map_doit): Load executable as lt_executable.
10638         (dl_main): Likewise.
10640 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10642         [BZ #16642]
10643         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10644         (__ASSUME_PSELECT): Undefine.
10646 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10648         [BZ #16689]
10649         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10650         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10651         static build.
10652         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10653         selector for static builds.
10655 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10657         [BZ #16695]
10658         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10659         key in the buffer.
10661 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10663         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10664         IFUNC selector for static builds.
10666 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10668         * sysdeps/mips/math_private.h [__mips_hard_float]
10669         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10670         libc_feresetround_mips_ctx.
10671         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10672         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10673         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10675         [BZ #16677]
10676         * math/s_nextafter.c (__nextafter): Do not return value from
10677         overflowing computation.
10678         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10679         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10680         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10681         Likewise.
10682         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10683         Likewise.
10684         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10685         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10687 2014-03-11  Roland McGrath  <roland@hack.frob.com>
10689         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10690         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10691         Move sfi_sp use from the load-multiple (that no longer sets sp) to
10692         the new mov targetting sp.
10694 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10696         [BZ #16683]
10697         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10698         Define it for static builds as well.
10699         (NO_BZERO_IMPL): Likewise.
10701 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10703         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10704         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10705         multiarch strspn for PPC64.
10706         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10707         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10709         (__libc_ifunc_impl_list): Likewise.
10710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10711         multiarch optimizations
10712         * string/strspn.c (strspn): Using macro to redefine symbol name.
10714 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10715             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10717         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10718         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10719         multiarch strncat for PPC64.
10720         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10721         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10723         (__libc_ifunc_impl_list): Likewise.
10724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10725         multiarch optimizations
10727 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10729         [BZ #16639]
10730         * nscd/nscd.service: Make service type forking.
10732 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10734         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10735         sign in non default rounding modes.
10736         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10738 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
10740         * math/libm-test.inc (ALL_RM_TEST): New macro.
10741         (ceil_test): Use ALL_RM_TEST.
10742         (cimag_test): Likewise.
10743         (conj_test): Likewise.
10744         (copysign_test): Likewise.
10745         (cproj_test): Likewise.
10746         (creal_test): Likewise.
10747         (fabs_test): Likewise.
10748         (floor_test): Likewise.
10749         (fmax_test): Likewise.
10750         (fmin_test): Likewise.
10751         (fmod_test): Likewise.
10752         (fpclassify_test): Likewise.
10753         (frexp_test): Likewise.
10754         (ilogb_test): Likewise.
10755         (isfinite_test): Likewise.
10756         (finite_test): Likewise.
10757         (isgreater_test): Likewise.
10758         (isgreaterequal_test): Likewise.
10759         (isinf_test): Likewise.
10760         (isless_test): Likewise.
10761         (islessequal_test): Likewise.
10762         (islessgreater_test): Likewise.
10763         (isnan_test): Likewise.
10764         (isnormal_test): Likewise.
10765         (issignaling_test): Likewise.
10766         (isunordered_test): Likewise.
10767         (logb_test): Likewise.
10768         (logb_downward_test_data): Remove.
10769         (logb_test_downward): Likewise.
10770         (lround_test): Use ALL_RM_TEST.
10771         (llround_test): Likewise.
10772         (modf_test): Likewise.
10773         (nexttoward_test): Likewise.
10774         (remainder_test): Likewise.
10775         (drem_test): Likewise.
10776         (remainder_tonearest_test_data): Likewise.
10777         (remainder_test_tonearest): Likewise.
10778         (drem_test_tonearest): Likewise.
10779         (remainder_towardzero_test_data): Likewise.
10780         (remainder_test_towardzero): Likewise.
10781         (drem_test_towardzero): Likewise.
10782         (remainder_downward_test_data): Likewise.
10783         (remainder_test_downward): Likewise.
10784         (drem_test_downward): Likewise.
10785         (remainder_upward_test_data): Likewise.
10786         (remainder_test_upward): Likewise.
10787         (drem_test_upward): Likewise.
10788         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
10789         (round_test): Use ALL_RM_TEST.
10790         (signbit_test): Likewise.
10791         (trunc_test): Likewise.
10792         (significand_test): Likewise.
10793         (main): Don't call removed functions.
10795 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10797         [BZ #16674]
10798         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10799         || __USE_XOPEN2K8].
10800         (ILL_ILLOPN): Likewise.
10801         (ILL_ILLADR): Likewise.
10802         (ILL_ILLTRP): Likewise.
10803         (ILL_PRVOPC): Likewise.
10804         (ILL_PRVREG): Likewise.
10805         (ILL_COPROC): Likewise.
10806         (ILL_BADSTK): Likewise.
10807         (FPE_INTDIV): Likewise.
10808         (FPE_INTOVF): Likewise.
10809         (FPE_FLTDIV): Likewise.
10810         (FPE_FLTOVF): Likewise.
10811         (FPE_FLTUND): Likewise.
10812         (FPE_FLTRES): Likewise.
10813         (FPE_FLTINV): Likewise.
10814         (FPE_FLTSUB): Likewise.
10815         (SEGV_MAPERR): Likewise.
10816         (SEGV_ACCERR): Likewise.
10817         (BUS_ADRALN): Likewise.
10818         (BUS_ADRERR): Likewise.
10819         (BUS_OBJERR): Likewise.
10820         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10821         (TRAP_TRACE): Likewise.
10822         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10823         __USE_XOPEN2K8].
10824         (CLD_KILLED): Likewise.
10825         (CLD_DUMPED): Likewise.
10826         (CLD_TRAPPED): Likewise.
10827         (CLD_STOPPED): Likewise.
10828         (CLD_CONTINUED): Likewise.
10829         (POLL_IN): Likewise.
10830         (POLL_OUT): Likewise.
10831         (POLL_MSG): Likewise.
10832         (POLL_ERR): Likewise.
10833         (POLL_PRI): Likewise.
10834         (POLL_HUP): Likewise.
10835         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10836         Likewise.
10837         (ILL_ILLOPN): Likewise.
10838         (ILL_ILLADR): Likewise.
10839         (ILL_ILLTRP): Likewise.
10840         (ILL_PRVOPC): Likewise.
10841         (ILL_PRVREG): Likewise.
10842         (ILL_COPROC): Likewise.
10843         (ILL_BADSTK): Likewise.
10844         (FPE_INTDIV): Likewise.
10845         (FPE_INTOVF): Likewise.
10846         (FPE_FLTDIV): Likewise.
10847         (FPE_FLTOVF): Likewise.
10848         (FPE_FLTUND): Likewise.
10849         (FPE_FLTRES): Likewise.
10850         (FPE_FLTINV): Likewise.
10851         (FPE_FLTSUB): Likewise.
10852         (SEGV_MAPERR): Likewise.
10853         (SEGV_ACCERR): Likewise.
10854         (BUS_ADRALN): Likewise.
10855         (BUS_ADRERR): Likewise.
10856         (BUS_OBJERR): Likewise.
10857         (BUS_MCEERR_AR): Likewise.
10858         (BUS_MCEERR_AO): Likewise.
10859         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10860         (TRAP_TRACE): Likewise.
10861         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10862         __USE_XOPEN2K8].
10863         (CLD_KILLED): Likewise.
10864         (CLD_DUMPED): Likewise.
10865         (CLD_TRAPPED): Likewise.
10866         (CLD_STOPPED): Likewise.
10867         (CLD_CONTINUED): Likewise.
10868         (POLL_IN): Likewise.
10869         (POLL_OUT): Likewise.
10870         (POLL_MSG): Likewise.
10871         (POLL_ERR): Likewise.
10872         (POLL_PRI): Likewise.
10873         (POLL_HUP): Likewise.
10874         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10875         (ILL_ILLOPN): Likewise.
10876         (ILL_ILLADR): Likewise.
10877         (ILL_ILLTRP): Likewise.
10878         (ILL_PRVOPC): Likewise.
10879         (ILL_PRVREG): Likewise.
10880         (ILL_COPROC): Likewise.
10881         (ILL_BADSTK): Likewise.
10882         (FPE_INTDIV): Likewise.
10883         (FPE_INTOVF): Likewise.
10884         (FPE_FLTDIV): Likewise.
10885         (FPE_FLTOVF): Likewise.
10886         (FPE_FLTUND): Likewise.
10887         (FPE_FLTRES): Likewise.
10888         (FPE_FLTINV): Likewise.
10889         (FPE_FLTSUB): Likewise.
10890         (SEGV_MAPERR): Likewise.
10891         (SEGV_ACCERR): Likewise.
10892         (BUS_ADRALN): Likewise.
10893         (BUS_ADRERR): Likewise.
10894         (BUS_OBJERR): Likewise.
10895         (BUS_MCEERR_AR): Likewise.
10896         (BUS_MCEERR_AO): Likewise.
10897         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10898         (TRAP_TRACE): Likewise.
10899         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10900         __USE_XOPEN2K8].
10901         (CLD_KILLED): Likewise.
10902         (CLD_DUMPED): Likewise.
10903         (CLD_TRAPPED): Likewise.
10904         (CLD_STOPPED): Likewise.
10905         (CLD_CONTINUED): Likewise.
10906         (POLL_IN): Likewise.
10907         (POLL_OUT): Likewise.
10908         (POLL_MSG): Likewise.
10909         (POLL_ERR): Likewise.
10910         (POLL_PRI): Likewise.
10911         (POLL_HUP): Likewise.
10912         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10913         Likewise.
10914         (ILL_ILLOPN): Likewise.
10915         (ILL_ILLADR): Likewise.
10916         (ILL_ILLTRP): Likewise.
10917         (ILL_PRVOPC): Likewise.
10918         (ILL_PRVREG): Likewise.
10919         (ILL_COPROC): Likewise.
10920         (ILL_BADSTK): Likewise.
10921         (ILL_BADIADDR): Likewise.
10922         (ILL_BREAK): Likewise.
10923         (FPE_INTDIV): Likewise.
10924         (FPE_INTOVF): Likewise.
10925         (FPE_FLTDIV): Likewise.
10926         (FPE_FLTOVF): Likewise.
10927         (FPE_FLTUND): Likewise.
10928         (FPE_FLTRES): Likewise.
10929         (FPE_FLTINV): Likewise.
10930         (FPE_FLTSUB): Likewise.
10931         (FPE_DECOVF): Likewise.
10932         (FPE_DECDIV): Likewise.
10933         (FPE_DECERR): Likewise.
10934         (FPE_INVASC): Likewise.
10935         (FPE_INVDEC): Likewise.
10936         (SEGV_MAPERR): Likewise.
10937         (SEGV_ACCERR): Likewise.
10938         (SEGV_PSTKOVF): Likewise.
10939         (BUS_ADRALN): Likewise.
10940         (BUS_ADRERR): Likewise.
10941         (BUS_OBJERR): Likewise.
10942         (BUS_MCEERR_AR): Likewise.
10943         (BUS_MCEERR_AO): Likewise.
10944         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10945         (TRAP_TRACE): Likewise.
10946         (TRAP_BRANCH): Likewise.
10947         (TRAP_HWBKPT): Likewise.
10948         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10949         __USE_XOPEN2K8].
10950         (CLD_KILLED): Likewise.
10951         (CLD_DUMPED): Likewise.
10952         (CLD_TRAPPED): Likewise.
10953         (CLD_STOPPED): Likewise.
10954         (CLD_CONTINUED): Likewise.
10955         (POLL_IN): Likewise.
10956         (POLL_OUT): Likewise.
10957         (POLL_MSG): Likewise.
10958         (POLL_ERR): Likewise.
10959         (POLL_PRI): Likewise.
10960         (POLL_HUP): Likewise.
10961         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10962         (ILL_ILLOPN): Likewise.
10963         (ILL_ILLADR): Likewise.
10964         (ILL_ILLTRP): Likewise.
10965         (ILL_PRVOPC): Likewise.
10966         (ILL_PRVREG): Likewise.
10967         (ILL_COPROC): Likewise.
10968         (ILL_BADSTK): Likewise.
10969         (FPE_INTDIV): Likewise.
10970         (FPE_INTOVF): Likewise.
10971         (FPE_FLTDIV): Likewise.
10972         (FPE_FLTOVF): Likewise.
10973         (FPE_FLTUND): Likewise.
10974         (FPE_FLTRES): Likewise.
10975         (FPE_FLTINV): Likewise.
10976         (FPE_FLTSUB): Likewise.
10977         (SEGV_MAPERR): Likewise.
10978         (SEGV_ACCERR): Likewise.
10979         (BUS_ADRALN): Likewise.
10980         (BUS_ADRERR): Likewise.
10981         (BUS_OBJERR): Likewise.
10982         (BUS_MCEERR_AR): Likewise.
10983         (BUS_MCEERR_AO): Likewise.
10984         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10985         (TRAP_TRACE): Likewise.
10986         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10987         __USE_XOPEN2K8].
10988         (CLD_KILLED): Likewise.
10989         (CLD_DUMPED): Likewise.
10990         (CLD_TRAPPED): Likewise.
10991         (CLD_STOPPED): Likewise.
10992         (CLD_CONTINUED): Likewise.
10993         (POLL_IN): Likewise.
10994         (POLL_OUT): Likewise.
10995         (POLL_MSG): Likewise.
10996         (POLL_ERR): Likewise.
10997         (POLL_PRI): Likewise.
10998         (POLL_HUP): Likewise.
10999         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11000         (ILL_ILLOPN): Likewise.
11001         (ILL_ILLADR): Likewise.
11002         (ILL_ILLTRP): Likewise.
11003         (ILL_PRVOPC): Likewise.
11004         (ILL_PRVREG): Likewise.
11005         (ILL_COPROC): Likewise.
11006         (ILL_BADSTK): Likewise.
11007         (FPE_INTDIV): Likewise.
11008         (FPE_INTOVF): Likewise.
11009         (FPE_FLTDIV): Likewise.
11010         (FPE_FLTOVF): Likewise.
11011         (FPE_FLTUND): Likewise.
11012         (FPE_FLTRES): Likewise.
11013         (FPE_FLTINV): Likewise.
11014         (FPE_FLTSUB): Likewise.
11015         (SEGV_MAPERR): Likewise.
11016         (SEGV_ACCERR): Likewise.
11017         (BUS_ADRALN): Likewise.
11018         (BUS_ADRERR): Likewise.
11019         (BUS_OBJERR): Likewise.
11020         (BUS_MCEERR_AR): Likewise.
11021         (BUS_MCEERR_AO): Likewise.
11022         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11023         (TRAP_TRACE): Likewise.
11024         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11025         __USE_XOPEN2K8].
11026         (CLD_KILLED): Likewise.
11027         (CLD_DUMPED): Likewise.
11028         (CLD_TRAPPED): Likewise.
11029         (CLD_STOPPED): Likewise.
11030         (CLD_CONTINUED): Likewise.
11031         (POLL_IN): Likewise.
11032         (POLL_OUT): Likewise.
11033         (POLL_MSG): Likewise.
11034         (POLL_ERR): Likewise.
11035         (POLL_PRI): Likewise.
11036         (POLL_HUP): Likewise.
11037         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11038         (ILL_ILLOPN): Likewise.
11039         (ILL_ILLADR): Likewise.
11040         (ILL_ILLTRP): Likewise.
11041         (ILL_PRVOPC): Likewise.
11042         (ILL_PRVREG): Likewise.
11043         (ILL_COPROC): Likewise.
11044         (ILL_BADSTK): Likewise.
11045         (FPE_INTDIV): Likewise.
11046         (FPE_INTOVF): Likewise.
11047         (FPE_FLTDIV): Likewise.
11048         (FPE_FLTOVF): Likewise.
11049         (FPE_FLTUND): Likewise.
11050         (FPE_FLTRES): Likewise.
11051         (FPE_FLTINV): Likewise.
11052         (FPE_FLTSUB): Likewise.
11053         (SEGV_MAPERR): Likewise.
11054         (SEGV_ACCERR): Likewise.
11055         (BUS_ADRALN): Likewise.
11056         (BUS_ADRERR): Likewise.
11057         (BUS_OBJERR): Likewise.
11058         (BUS_MCEERR_AR): Likewise.
11059         (BUS_MCEERR_AO): Likewise.
11060         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11061         (TRAP_TRACE): Likewise.
11062         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11063         __USE_XOPEN2K8].
11064         (CLD_KILLED): Likewise.
11065         (CLD_DUMPED): Likewise.
11066         (CLD_TRAPPED): Likewise.
11067         (CLD_STOPPED): Likewise.
11068         (CLD_CONTINUED): Likewise.
11069         (POLL_IN): Likewise.
11070         (POLL_OUT): Likewise.
11071         (POLL_MSG): Likewise.
11072         (POLL_ERR): Likewise.
11073         (POLL_PRI): Likewise.
11074         (POLL_HUP): Likewise.
11075         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11076         (ILL_ILLOPN): Likewise.
11077         (ILL_ILLADR): Likewise.
11078         (ILL_ILLTRP): Likewise.
11079         (ILL_PRVOPC): Likewise.
11080         (ILL_PRVREG): Likewise.
11081         (ILL_COPROC): Likewise.
11082         (ILL_BADSTK): Likewise.
11083         (ILL_DBLFLT): Likewise.
11084         (ILL_HARDWALL): Likewise.
11085         (FPE_INTDIV): Likewise.
11086         (FPE_INTOVF): Likewise.
11087         (FPE_FLTDIV): Likewise.
11088         (FPE_FLTOVF): Likewise.
11089         (FPE_FLTUND): Likewise.
11090         (FPE_FLTRES): Likewise.
11091         (FPE_FLTINV): Likewise.
11092         (FPE_FLTSUB): Likewise.
11093         (SEGV_MAPERR): Likewise.
11094         (SEGV_ACCERR): Likewise.
11095         (BUS_ADRALN): Likewise.
11096         (BUS_ADRERR): Likewise.
11097         (BUS_OBJERR): Likewise.
11098         (BUS_MCEERR_AR): Likewise.
11099         (BUS_MCEERR_AO): Likewise.
11100         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11101         (TRAP_TRACE): Likewise.
11102         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11103         __USE_XOPEN2K8].
11104         (CLD_KILLED): Likewise.
11105         (CLD_DUMPED): Likewise.
11106         (CLD_TRAPPED): Likewise.
11107         (CLD_STOPPED): Likewise.
11108         (CLD_CONTINUED): Likewise.
11109         (POLL_IN): Likewise.
11110         (POLL_OUT): Likewise.
11111         (POLL_MSG): Likewise.
11112         (POLL_ERR): Likewise.
11113         (POLL_PRI): Likewise.
11114         (POLL_HUP): Likewise.
11115         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11116         (ILL_ILLOPN): Likewise.
11117         (ILL_ILLADR): Likewise.
11118         (ILL_ILLTRP): Likewise.
11119         (ILL_PRVOPC): Likewise.
11120         (ILL_PRVREG): Likewise.
11121         (ILL_COPROC): Likewise.
11122         (ILL_BADSTK): Likewise.
11123         (FPE_INTDIV): Likewise.
11124         (FPE_INTOVF): Likewise.
11125         (FPE_FLTDIV): Likewise.
11126         (FPE_FLTOVF): Likewise.
11127         (FPE_FLTUND): Likewise.
11128         (FPE_FLTRES): Likewise.
11129         (FPE_FLTINV): Likewise.
11130         (FPE_FLTSUB): Likewise.
11131         (SEGV_MAPERR): Likewise.
11132         (SEGV_ACCERR): Likewise.
11133         (BUS_ADRALN): Likewise.
11134         (BUS_ADRERR): Likewise.
11135         (BUS_OBJERR): Likewise.
11136         (BUS_MCEERR_AR): Likewise.
11137         (BUS_MCEERR_AO): Likewise.
11138         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11139         (TRAP_TRACE): Likewise.
11140         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11141         __USE_XOPEN2K8].
11142         (CLD_KILLED): Likewise.
11143         (CLD_DUMPED): Likewise.
11144         (CLD_TRAPPED): Likewise.
11145         (CLD_STOPPED): Likewise.
11146         (CLD_CONTINUED): Likewise.
11147         (POLL_IN): Likewise.
11148         (POLL_OUT): Likewise.
11149         (POLL_MSG): Likewise.
11150         (POLL_ERR): Likewise.
11151         (POLL_PRI): Likewise.
11152         (POLL_HUP): Likewise.
11153         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11154         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11156         [BZ #16670]
11157         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11158         before #include of <time.h>.
11159         [!__USE_XOPEN2K] (__need_timespec): Likewise.
11160         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11161         (test-xfail-UNIX98/sched.h/conform): Likewise.
11163 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11165         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11166         error absence of trapping exception support.
11167         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11169 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11171         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11172         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11173         * timezone/Makefile (testdata): Move definition above include of
11174         Rules.
11175         (test-zones): New variable.
11176         (tests-special): Add zone files.
11177         (build-testdata): Use $(evaluate-test).
11179         * elf/Makefile (tests-special): Rename tests to end with .out.
11180         ($(objpfx)noload-mem): Likewise.
11181         ($(objpfx)tst-leaks1-mem): Likewise.
11182         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11183         * iconv/Makefile (xtests-special): Change test-iconvconfig to
11184         $(objpfx)test-iconvconfig.out.
11185         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
11186         set -e inside subshell and redirect output to file.
11187         * iconvdata/Makefile (generated): Rename tests to end with .out.
11188         Correct type.
11189         (tests-special): Rename tests to end with .out.
11190         ($(objpfx)mtrace-tst-loading): Likewise.
11191         * intl/Makefile (generated): Likewise.
11192         (tests-special): Likewise.
11193         ($(objpfx)mtrace-tst-gettext): Likewise.
11194         * misc/Makefile (generated): Likewise.
11195         (tests-special): Likewise.
11196         ($(objpfx)tst-error1-mem): Likewise.
11197         * nptl/Makefile (tests-special): Likewise.
11198         ($(objpfx)tst-stack3-mem): Likewise.
11199         (generated): Likewise.
11200         * posix/Makefile (generated): Likewise.
11201         (tests-special): Likewise.
11202         (xtests-special): Likewise.
11203         ($(objpfx)tst-fnmatch-mem): Likewise.
11204         ($(objpfx)bug-regex2-mem): Likewise.
11205         ($(objpfx)bug-regex14-mem): Likewise.
11206         ($(objpfx)bug-regex21-mem): Likewise.
11207         ($(objpfx)bug-regex31-mem): Likewise.
11208         ($(objpfx)tst-vfork3-mem): Likewise.
11209         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11210         ($(objpfx)tst-pcre-mem): Likewise.
11211         ($(objpfx)tst-boost-mem): Likewise.
11212         ($(objpfx)bug-ga2-mem): Likewise.
11213         ($(objpfx)bug-glob2-mem): Likewise.
11214         * resolv/Makefile (generate): Likewise.
11215         (tests-special): Likewise.
11216         (xtests-special): Likewise.
11217         (generated): Likewise.
11218         ($(objpfx)mtrace-tst-leaks): Likewise.
11219         ($(objpfx)mtrace-tst-leaks2): Likewise.
11221         * scripts/merge-test-results.sh: New file.
11222         * Makefile (tests-special-notdir): New variable.
11223         (tests): Run merge-test-results.sh.
11224         (xtests): Likewise.
11225         * Rules (tests-special-notdir): New variable.
11226         (xtests-special-notdir): Likewise.
11227         (tests): Run merge-test-results.sh
11228         (xtests): Likewise.
11230         * Makeconfig (test-xfail-name): New variable.
11231         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11232         compute variable name for expected failures.
11233         * conform/Makefile (conformtest-headers-data): New variable.
11234         (conformtest-standards): Likewise.
11235         (conformtest-headers-ISO): Likewise.
11236         (conformtest-headers-ISO99): Likewise.
11237         (conformtest-headers-ISO11): Likewise.
11238         (conformtest-headers-POSIX): Likewise.
11239         (conformtest-headers-XPG3): Likewise.
11240         (conformtest-headers-XPG4): Likewise.
11241         (conformtest-headers-UNIX98): Likewise.
11242         (conformtest-headers-XOPEN2K): Likewise.
11243         (conformtest-headers-POSIX2008): Likewise.
11244         (conformtest-headers-XOPEN2K8): Likewise.
11245         (conformtest-header-list-base): Likewise.
11246         (conformtest-header-list-tests): Likewise.
11247         (conformtest-header-base): Likewise.
11248         (conformtest-header-tests): Likewise.
11249         (tests-special): Add $(conformtest-header-list-tests).  If
11250         [$(fast-check) && !$(cross-compiling)], add
11251         $(conformtest-header-tests) instead of
11252         $(objpfx)run-conformtest.out.
11253         (generated): Add $(conformtest-header-list-base).  If
11254         [$(fast-check) && !$(cross-compiling)], add
11255         $(conformtest-header-base).  Remove previous setting.
11256         ($(conformtest-header-list-tests)): New target.
11257         (test-xfail-run-conformtest): Remove variable.
11258         ($(objpfx)run-conformtest.out): Remove target.
11259         (test-xfail-ISO11/complex.h/conform): New variable.
11260         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11261         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11262         (test-xfail-XPG3/varargs.h/conform): Likewise.
11263         (test-xfail-XPG4/varargs.h/conform): Likewise.
11264         (test-xfail-UNIX98/varargs.h/conform): Likewise.
11265         (test-xfail-XPG4/ndbm.h/conform): Likewise.
11266         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11267         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11268         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11269         (test-xfail-XPG3/fcntl.h/conform): Likewise.
11270         (test-xfail-XPG3/ftw.h/conform): Likewise.
11271         (test-xfail-XPG3/grp.h/conform): Likewise.
11272         (test-xfail-XPG3/langinfo.h/conform): Likewise.
11273         (test-xfail-XPG3/limits.h/conform): Likewise.
11274         (test-xfail-XPG3/pwd.h/conform): Likewise.
11275         (test-xfail-XPG3/search.h/conform): Likewise.
11276         (test-xfail-XPG3/signal.h/conform): Likewise.
11277         (test-xfail-XPG3/stdio.h/conform): Likewise.
11278         (test-xfail-XPG3/stdlib.h/conform): Likewise.
11279         (test-xfail-XPG3/string.h/conform): Likewise.
11280         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11281         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11282         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11283         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11284         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11285         (test-xfail-XPG3/sys/types.h/conform): Likewise.
11286         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11287         (test-xfail-XPG3/termios.h/conform): Likewise.
11288         (test-xfail-XPG3/time.h/conform): Likewise.
11289         (test-xfail-XPG3/unistd.h/conform): Likewise.
11290         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11291         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11292         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11293         (test-xfail-XPG4/netdb.h/conform): Likewise.
11294         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11295         (test-xfail-XPG4/signal.h/conform): Likewise.
11296         (test-xfail-XPG4/stdio.h/conform): Likewise.
11297         (test-xfail-XPG4/stdlib.h/conform): Likewise.
11298         (test-xfail-XPG4/stropts.h/conform): Likewise.
11299         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11300         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11301         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11302         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11303         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11304         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11305         (test-xfail-XPG4/sys/time.h/conform): Likewise.
11306         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11307         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11308         (test-xfail-XPG4/termios.h/conform): Likewise.
11309         (test-xfail-XPG4/ucontext.h/conform): Likewise.
11310         (test-xfail-XPG4/unistd.h/conform): Likewise.
11311         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11312         (test-xfail-POSIX/sched.h/conform): Likewise.
11313         (test-xfail-POSIX/signal.h/conform): Likewise.
11314         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11315         (test-xfail-POSIX/tar.h/conform): Likewise.
11316         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11317         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11318         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11319         (test-xfail-UNIX98/netdb.h/conform): Likewise.
11320         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11321         (test-xfail-UNIX98/sched.h/conform): Likewise.
11322         (test-xfail-UNIX98/signal.h/conform): Likewise.
11323         (test-xfail-UNIX98/stdio.h/conform): Likewise.
11324         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11325         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11326         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11327         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11328         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11329         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11330         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11331         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11332         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11333         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11334         (test-xfail-UNIX98/unistd.h/conform): Likewise.
11335         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11336         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11337         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11338         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11339         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11340         (test-xfail-XOPEN2K/math.h/conform): Likewise.
11341         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11342         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11343         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11344         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11345         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11346         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11347         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11348         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11349         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11350         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11351         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11352         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11353         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11354         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11355         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11356         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11357         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11358         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11359         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11360         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11361         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11362         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11363         (test-xfail-POSIX2008/signal.h/conform): Likewise.
11364         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11365         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11366         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11367         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11368         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11369         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11370         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11371         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11372         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11373         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11374         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11375         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11376         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11377         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11378         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11379         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11380         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11381         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11382         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11383         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11384         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11385         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11386         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11387         (conformtest-cc-flags): Likewise.
11388         ($(conformtest-header-tests): New target.
11389         * conform/check-header-lists.sh: New file.
11390         * conform/run-conformtest.sh: Remove.
11392         * conform/conformtest.pl: Allow ' and \ in values given for
11393         constants.
11394         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11395         inclusion.
11396         [POSIX] (sys/types.h): Likewise.
11397         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11398         inclusion.
11399         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11400         inclusion.
11401         * conform/data/signal.h-data (SIGIO): Remove expectation.
11402         [XPG3] (SIGBUS): Do not expect.
11403         [POSIX || XPG3] (SIGPOLL): Likewise.
11404         [POSIX || XPG3] (SIGPROF): Likewise.
11405         [POSIX || XPG3] (SIGSYS): Likewise.
11406         [XPG3] (SIGTRAP): Likewise.
11407         [POSIX || XPG3] (SIGURG): Likewise.
11408         [POSIX || XPG3] (SIGVTALRM): Likewise.
11409         [POSIX || XPG3] (SIGXCPU): Likewise.
11410         [POSIX || XPG3] (SIGXFSZ): Likewise.
11411         [POSIX] (SA_SIGINFO): Expect.
11412         [XPG3] (siginfo_t): Do not expect type or contents.
11413         [POSIX] (si_pid): Do not expect element.
11414         [POSIX] (si_uid): Likewise.
11415         [POSIX] (si_addr): Likewise.
11416         [POSIX] (si_status): Likewise.
11417         [POSIX] (si_band): Likewise.
11418         [XPG4] (si_value): Likewise.
11419         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11420         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11421         [POSIX || XPG3] (ILL_ILLADR): Likewise.
11422         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11423         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11424         [POSIX || XPG3] (ILL_PRVREG): Likewise.
11425         [POSIX || XPG3] (ILL_COPROC): Likewise.
11426         [POSIX || XPG3] (ILL_BADSTK): Likewise.
11427         [POSIX || XPG3] (FPE_INTDIV): Likewise.
11428         [POSIX || XPG3] (FPE_INTOVF): Likewise.
11429         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11430         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11431         [POSIX || XPG3] (FPE_FLTUND): Likewise.
11432         [POSIX || XPG3] (FPE_FLTRES): Likewise.
11433         [POSIX || XPG3] (FPE_FLTINV): Likewise.
11434         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11435         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11436         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11437         [POSIX || XPG3] (BUS_ADRALN): Likewise.
11438         [POSIX || XPG3] (BUS_ADRERR): Likewise.
11439         [POSIX || XPG3] (BUS_OBJERR): Likewise.
11440         [POSIX || XPG3] (CLD_EXITED): Likewise.
11441         [POSIX || XPG3] (CLD_KILLED): Likewise.
11442         [POSIX || XPG3] (CLD_DUMPED): Likewise.
11443         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11444         [POSIX || XPG3] (CLD_STOPPED): Likewise.
11445         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11446         [POSIX || XPG3] (POLL_IN): Likewise.
11447         [POSIX || XPG3] (POLL_OUT): Likewise.
11448         [POSIX || XPG3] (POLL_MSG): Likewise.
11449         [POSIX || XPG3] (POLL_ERR): Likewise.
11450         [POSIX || XPG3] (POLL_PRI): Likewise.
11451         [POSIX || XPG3] (POLL_HUP): Likewise.
11452         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11453         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11454         (SIG*): Do not allow.
11455         [XPG3] (si_*): Likewise.
11456         [XPG3] (SI_*): Likewise.
11457         [XPG3 || XPG4] (sigev_*): Likewise.
11458         [XPG3 || XPG4] (SIGEV_*): Likewise.
11459         [XPG3 || XPG4] (sival_*): Likewise.
11460         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11461         [POSIX || XPG3] (BUS_*): Likewise.
11462         [POSIX || XPG3] (CLD_*): Likewise.
11463         [POSIX || XPG3] (FPE_*): Likewise.
11464         [POSIX || XPG3] (ILL_*): Likewise.
11465         [POSIX || XPG3] (POLL_*): Likewise.
11466         [POSIX || XPG3] (SEGV_*): Likewise.
11467         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11468         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11469         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11470         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11471         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11472         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11473         Specify type and value.
11474         (TVERSLEN): Likewise.
11475         (REGTYPE): Likewise.
11476         (AREGTYPE): Likewise.
11477         (LNKTYPE): Likewise.
11478         (SYMTYPE): Likewise.
11479         (CHRTYPE): Likewise.
11480         (BLKTYPE): Likewise.
11481         (DIRTYPE): Likewise.
11482         (FIFOTYPE): Likewise.
11483         (CONTTYPE): Likewise.
11484         (TSUID): Likewise.
11485         (TSGID): Likewise.
11486         (TSVTX): Likewise.
11487         (TUREAD): Likewise.
11488         (TUWRITE): Likewise.
11489         (TUEXEC): Likewise.
11490         (TGREAD): Likewise.
11491         (TGWRITE): Likewise.
11492         (TGEXEC): Likewise.
11493         (TOREAD): Likewise.
11494         (TOWRITE): Likewise.
11495         (TOEXEC): Likewise.
11496         [POSIX] (TSVTX): Expect constant.
11498 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11500         * Makefile (tests): Change dependencies to ....
11501         (tests-special): ... additions to this variable.
11502         (tests): Depend on $(tests-special).
11503         * Makerules (check-abi-list): New variable.
11504         (check-abi): Depend on $(check-abi-list).
11505         [$(subdir) = elf] (tests-special): Add
11506         $(objpfx)check-abi-libc.out.
11507         [$(build-shared) = yes && subdir] (tests-special): Add
11508         $(check-abi-list).
11509         [$(build-shared) = yes && subdir] (tests): Do not depend on
11510         check-abi.
11511         * Rules (tests): Depend on $(tests-special).
11512         (xtests): Depend on $(xtests-special).
11513         * catgets/Makefile (tests): Change dependencies to ....
11514         (tests-special): ... additions to this variable.
11515         * conform/Makefile (tests): Change dependencies to ....
11516         (tests-special): ... additions to this variable.
11517         * elf/Makefile (tests): Change dependencies to ....
11518         (tests-special): ... additions to this variable.
11519         * grp/Makefile (tests): Change dependencies to ....
11520         (tests-special): ... additions to this variable.
11521         * iconv/Makefile (xtests): Change dependencies to ....
11522         (xtests-special): ... additions to this variable.
11523         * iconvdata/Makefile (tests): Change dependencies to ....
11524         (tests-special): ... additions to this variable.
11525         * intl/Makefile (tests): Change dependencies to ....
11526         (tests-special): ... additions to this variable.  Also add
11527         $(objpfx)tst-gettext.out.
11528         * io/Makefile (tests): Change dependencies to ....
11529         (tests-special): ... additions to this variable.
11530         * libio/Makefile (tests): Change dependencies to ....
11531         (tests-special): ... additions to this variable.
11532         * malloc/Makefile (tests): Change dependencies to ....
11533         (tests-special): ... additions to this variable.
11534         * misc/Makefile (tests): Change dependencies to ....
11535         (tests-special): ... additions to this variable.
11536         * nptl/Makefile (tests): Change dependencies to ....
11537         (tests-special): ... additions to this variable.
11538         * nptl_db/Makefile (tests): Change dependencies to ....
11539         (tests-special): ... additions to this variable.
11540         * posix/Makefile (tests): Change dependencies to ....
11541         (tests-special): ... additions to this variable.
11542         (xtests): Change dependencies to ....
11543         (xtests-special): ... additions to this variable.
11544         * resolv/Makefile (tests): Change dependencies to ....
11545         (tests-special): ... additions to this variable.
11546         (xtests): Change dependencies to ....
11547         (xtests-special): ... additions to this variable.
11548         * stdio-common/Makefile (tests): Change dependencies to ....
11549         (tests-special): ... additions to this variable.
11550         (do-tst-unbputc): Remove target.
11551         (do-tst-printf): Likewise.
11552         * stdlib/Makefile (tests): Change dependencies to ....
11553         (tests-special): ... additions to this variable.
11554         * string/Makefile (tests): Change dependencies to ....
11555         (tests-special): ... additions to this variable.
11556         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11557         (tests-special): ... additions to this variable.
11559         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11560         whole file.
11561         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11562         whole file.
11563         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11564         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11566         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11567         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11568         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11569         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11570         * conform/data/libgen.h-data [XPG3]: Likewise.
11571         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11572         * conform/data/ndbm.h-data [XPG3]: Likewise.
11573         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11574         * conform/data/netdb.h-data [XPG3]: Likewise.
11575         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11576         * conform/data/poll.h-data [XPG3]: Likewise.
11577         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11578         * conform/data/strings.h-data [XPG3]: Likewise.
11579         * conform/data/stropts.h-data [XPG3]: Likewise.
11580         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11581         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11582         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11583         Likewise.
11584         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11585         * conform/data/sys/time.h-data [XPG3]: Likewise.
11586         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11587         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11588         * conform/data/sys/un.h-data [XPG3]: Likewise.
11589         * conform/data/syslog.h-data [XPG3]: Likewise.
11590         * conform/data/ucontext.h-data [XPG3]: Likewise.
11591         * conform/data/utmpx.h-data [XPG3]: Likewise.
11592         * conform/data/varargs.h-data [UNIX98]: Enable file.
11594         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11596         * math/libm-test.inc (struct test_f_f_data): Move expected results
11597         into structure for each rounding mode.
11598         (struct test_ff_f_data): Likewise.
11599         (struct test_ff_f_data_nexttoward): Likewise.
11600         (struct test_fi_f_data): Likewise.
11601         (struct test_fl_f_data): Likewise.
11602         (struct test_if_f_data): Likewise.
11603         (struct test_fff_f_data): Likewise.
11604         (struct test_c_f_data): Likewise.
11605         (struct test_f_f1_data): Likewise.
11606         (struct test_fF_f1_data): Likewise.
11607         (struct test_ffI_f1_data): Likewise.
11608         (struct test_c_c_data): Likewise.
11609         (struct test_cc_c_data): Likewise.
11610         (struct test_f_i_data): Likewise.
11611         (struct test_ff_i_data): Likewise.
11612         (struct test_f_l_data): Likewise.
11613         (struct test_f_L_data): Likewise.
11614         (struct test_fFF_11_data): Likewise.
11615         (RM_): New macro.
11616         (RM_FE_DOWNWARD): Likewise.
11617         (RM_FE_TONEAREST): Likewise.
11618         (RM_FE_TOWARDZERO): Likewise.
11619         (RM_FE_UPWARD): Likewise.
11620         (RUN_TEST_LOOP_f_f): Update references to expected results.
11621         (RUN_TEST_LOOP_2_f): Likewise.
11622         (RUN_TEST_LOOP_fff_f): Likewise.
11623         (RUN_TEST_LOOP_c_f): Likewise.
11624         (RUN_TEST_LOOP_f_f1): Likewise.
11625         (RUN_TEST_LOOP_fF_f1): Likewise.
11626         (RUN_TEST_LOOP_fI_f1): Likewise.
11627         (RUN_TEST_LOOP_ffI_f1): Likewise.
11628         (RUN_TEST_LOOP_c_c): Likewise.
11629         (RUN_TEST_LOOP_cc_c): Likewise.
11630         (RUN_TEST_LOOP_f_i): Likewise.
11631         (RUN_TEST_LOOP_f_i_tg): Likewise.
11632         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11633         (RUN_TEST_LOOP_f_b): Likewise.
11634         (RUN_TEST_LOOP_f_b_tg): Likewise.
11635         (RUN_TEST_LOOP_f_l): Likewise.
11636         (RUN_TEST_LOOP_f_L): Likewise.
11637         (RUN_TEST_LOOP_fFF_11): Likewise.
11638         * math/gen-libm-test.pl (parse_args): Output four copies of
11639         expected results for each test.
11641         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11642         (__ASSUME_UTIMES): Remove.
11643         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11644         (__ASSUME_UTIMES): Likewise.
11646         * math/gen-auto-libm-tests.c: Update comment on output format.
11647         (output_for_one_input_case): Generate before-rounding and
11648         after-rounding information as conditions on output flags not
11649         floating-point format.
11650         * math/auto-libm-test-out: Regenerated.
11651         * math/gen-libm-test.pl (cond_value): New function.
11652         (or_cond_value): Use cond_value.
11653         (generate_testfile): Handle conditional exceptions.
11655 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11657         * math/libm-test.inc (max_valid_error): New variable.
11658         (init_max_error): Take new argument specifying whether function
11659         results are exactly determined.  Set max_valid_error and bound
11660         other variables for errors based on this argument.
11661         (set_max_error): Do not record results above max_valid_error.
11662         (check_float_internal): Only accept errors of up to 0.5ulps if
11663         also at most max_valid_error.
11664         (START): Take new argument EXACT and pass it to init_max_error.
11665         (acos_test): Update call to START.
11666         (acos_test_tonearest): Likewise.
11667         (acos_test_towardzero): Likewise.
11668         (acos_test_downward): Likewise.
11669         (acos_test_upward): Likewise.
11670         (acosh_test): Likewise.
11671         (asin_test): Likewise.
11672         (asin_test_tonearest): Likewise.
11673         (asin_test_towardzero): Likewise.
11674         (asin_test_downward): Likewise.
11675         (asin_test_upward): Likewise.
11676         (asinh_test): Likewise.
11677         (atan_test): Likewise.
11678         (atanh_test): Likewise.
11679         (atan2_test): Likewise.
11680         (cabs_test): Likewise.
11681         (cacos_test): Likewise.
11682         (cacosh_test): Likewise.
11683         (carg_test): Likewise.
11684         (casin_test): Likewise.
11685         (casinh_test): Likewise.
11686         (catan_test): Likewise.
11687         (catanh_test): Likewise.
11688         (cbrt_test): Likewise.
11689         (ccos_test): Likewise.
11690         (ccosh_test): Likewise.
11691         (ceil_test): Likewise.
11692         (cexp_test): Likewise.
11693         (cimag_test): Likewise.
11694         (clog_test): Likewise.
11695         (clog10_test): Likewise.
11696         (conj_test): Likewise.
11697         (copysign_test): Likewise.
11698         (cos_test): Likewise.
11699         (cos_test_tonearest): Likewise.
11700         (cos_test_towardzero): Likewise.
11701         (cos_test_downward): Likewise.
11702         (cos_test_upward): Likewise.
11703         (cosh_test): Likewise.
11704         (cosh_test_tonearest): Likewise.
11705         (cosh_test_towardzero): Likewise.
11706         (cosh_test_downward): Likewise.
11707         (cosh_test_upward): Likewise.
11708         (cpow_test): Likewise.
11709         (cproj_test): Likewise.
11710         (creal_test): Likewise.
11711         (csin_test): Likewise.
11712         (csinh_test): Likewise.
11713         (csqrt_test): Likewise.
11714         (ctan_test): Likewise.
11715         (ctan_test_tonearest): Likewise.
11716         (ctan_test_towardzero): Likewise.
11717         (ctan_test_downward): Likewise.
11718         (ctan_test_upward): Likewise.
11719         (ctanh_test): Likewise.
11720         (ctanh_test_tonearest): Likewise.
11721         (ctanh_test_towardzero): Likewise.
11722         (ctanh_test_downward): Likewise.
11723         (ctanh_test_upward): Likewise.
11724         (erf_test): Likewise.
11725         (erfc_test): Likewise.
11726         (exp_test): Likewise.
11727         (exp_test_tonearest): Likewise.
11728         (exp_test_towardzero): Likewise.
11729         (exp_test_downward): Likewise.
11730         (exp_test_upward): Likewise.
11731         (exp10_test): Likewise.
11732         (exp10_test_tonearest): Likewise.
11733         (exp10_test_towardzero): Likewise.
11734         (exp10_test_downward): Likewise.
11735         (exp10_test_upward): Likewise.
11736         (pow10_test): Likewise.
11737         (exp2_test): Likewise.
11738         (expm1_test): Likewise.
11739         (expm1_test_tonearest): Likewise.
11740         (expm1_test_towardzero): Likewise.
11741         (expm1_test_downward): Likewise.
11742         (expm1_test_upward): Likewise.
11743         (fabs_test): Likewise.
11744         (fdim_test): Likewise.
11745         (floor_test): Likewise.
11746         (fma_test): Likewise.
11747         (fma_test_towardzero): Likewise.
11748         (fma_test_downward): Likewise.
11749         (fma_test_upward): Likewise.
11750         (fmax_test): Likewise.
11751         (fmin_test): Likewise.
11752         (fmod_test): Likewise.
11753         (fpclassify_test): Likewise.
11754         (frexp_test): Likewise.
11755         (hypot_test): Likewise.
11756         (ilogb_test): Likewise.
11757         (isfinite_test): Likewise.
11758         (finite_test): Likewise.
11759         (isgreater_test): Likewise.
11760         (isgreaterequal_test): Likewise.
11761         (isinf_test): Likewise.
11762         (isless_test): Likewise.
11763         (islessequal_test): Likewise.
11764         (islessgreater_test): Likewise.
11765         (isnan_test): Likewise.
11766         (isnormal_test): Likewise.
11767         (issignaling_test): Likewise.
11768         (isunordered_test): Likewise.
11769         (j0_test): Likewise.
11770         (j1_test): Likewise.
11771         (jn_test): Likewise.
11772         (ldexp_test): Likewise.
11773         (lgamma_test): Likewise.
11774         (gamma_test): Likewise.
11775         (lrint_test): Likewise.
11776         (lrint_test_tonearest): Likewise.
11777         (lrint_test_towardzero): Likewise.
11778         (lrint_test_downward): Likewise.
11779         (lrint_test_upward): Likewise.
11780         (llrint_test): Likewise.
11781         (llrint_test_tonearest): Likewise.
11782         (llrint_test_towardzero): Likewise.
11783         (llrint_test_downward): Likewise.
11784         (llrint_test_upward): Likewise.
11785         (log_test): Likewise.
11786         (log10_test): Likewise.
11787         (log1p_test): Likewise.
11788         (log2_test): Likewise.
11789         (logb_test): Likewise.
11790         (logb_test_downward): Likewise.
11791         (lround_test): Likewise.
11792         (llround_test): Likewise.
11793         (modf_test): Likewise.
11794         (nearbyint_test): Likewise.
11795         (nextafter_test): Likewise.
11796         (nexttoward_test): Likewise.
11797         (pow_test): Likewise.
11798         (pow_test_tonearest): Likewise.
11799         (pow_test_towardzero): Likewise.
11800         (pow_test_downward): Likewise.
11801         (pow_test_upward): Likewise.
11802         (remainder_test): Likewise.
11803         (drem_test): Likewise.
11804         (remainder_test_tonearest): Likewise.
11805         (drem_test_tonearest): Likewise.
11806         (remainder_test_towardzero): Likewise.
11807         (drem_test_towardzero): Likewise.
11808         (remainder_test_downward): Likewise.
11809         (drem_test_downward): Likewise.
11810         (remainder_test_upward): Likewise.
11811         (drem_test_upward): Likewise.
11812         (remquo_test): Likewise.
11813         (rint_test): Likewise.
11814         (rint_test_tonearest): Likewise.
11815         (rint_test_towardzero): Likewise.
11816         (rint_test_downward): Likewise.
11817         (rint_test_upward): Likewise.
11818         (round_test): Likewise.
11819         (scalb_test): Likewise.
11820         (scalbn_test): Likewise.
11821         (scalbln_test): Likewise.
11822         (signbit_test): Likewise.
11823         (sin_test): Likewise.
11824         (sin_test_tonearest): Likewise.
11825         (sin_test_towardzero): Likewise.
11826         (sin_test_downward): Likewise.
11827         (sin_test_upward): Likewise.
11828         (sincos_test): Likewise.
11829         (sinh_test): Likewise.
11830         (sinh_test_tonearest): Likewise.
11831         (sinh_test_towardzero): Likewise.
11832         (sinh_test_downward): Likewise.
11833         (sinh_test_upward): Likewise.
11834         (sqrt_test): Likewise.
11835         (sqrt_test_tonearest): Likewise.
11836         (sqrt_test_towardzero): Likewise.
11837         (sqrt_test_downward): Likewise.
11838         (sqrt_test_upward): Likewise.
11839         (tan_test): Likewise.
11840         (tan_test_tonearest): Likewise.
11841         (tan_test_towardzero): Likewise.
11842         (tan_test_downward): Likewise.
11843         (tan_test_upward): Likewise.
11844         (tanh_test): Likewise.
11845         (tgamma_test): Likewise.
11846         (trunc_test): Likewise.
11847         (y0_test): Likewise.
11848         (y1_test): Likewise.
11849         (yn_test): Likewise.
11850         (significand_test): Likewise.
11852         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11853         individual tests in comment.
11854         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11855         (prev_max_error): New variable.
11856         (prev_real_max_error): Likewise.
11857         (prev_imag_max_error): Likewise.
11858         (compare_ulp_data): Don't refer to test names in comment.
11859         (find_test_ulps): Remove function.
11860         (find_function_ulps): Likewise.
11861         (find_complex_function_ulps): Likewise.
11862         (init_max_error): Take function name as argument.  Look up ulps
11863         for that function.
11864         (print_ulps): Remove function.
11865         (print_max_error): Use prev_max_error instead of calling
11866         find_function_ulps.
11867         (print_complex_max_error): Use prev_real_max_error and
11868         prev_imag_max_error instead of calling find_complex_function_ulps.
11869         (check_float_internal): Take max_ulp parameter instead of calling
11870         find_test_ulps.  Don't call print_ulps.
11871         (check_float): Update call to check_float_internal.
11872         (check_complex): Update calls to check_float_internal.
11873         (START): Pass argument to init_max_error.
11874         * math/gen-libm-test.pl (%results): Don't include "kind"
11875         information.
11876         (parse_ulps): Don't handle ulps of individual tests.
11877         (print_ulps_file): Likewise.
11878         (output_ulps): Likewise.
11879         * math/README.libm-test: Update.
11880         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11881         individual tests.
11882         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11883         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11884         * sysdeps/arm/libm-test-ulps: Likewise.
11885         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11886         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11887         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11888         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11889         * sysdeps/microblaze/libm-test-ulps: Likewise.
11890         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11891         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11892         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11893         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11894         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11895         * sysdeps/sh/libm-test-ulps: Likewise.
11896         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11897         * sysdeps/tile/libm-test-ulps: Likewise.
11898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11900 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
11902         * math/libm-test.inc (print_complex_max_error): Check separately
11903         whether real and imaginary errors are within allowed range and
11904         pass 0 to print_complex_function_ulps instead of value within
11905         allowed range.
11907 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11909         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11910         formatting.
11911         (get_handles_fopen): Likewise.
11912         (do_write_test): Likewise.
11914         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11916         * libio/fileops.c (do_ftell): Use cached offset when
11917         available.
11918         * libio/iofwide.c (do_ftell_wide): Likewise.
11919         * libio/iofdopen.c (_IO_new_fdopen): Don't use
11920         _IO_file_attach.
11921         * libio/wfileops.c (_IO_fwide): Don't cache offset.
11923         [BZ #16532]
11924         * libio/libioP.h (get_file_offset): New function.
11925         * libio/fileops.c (get_file_offset): Likewise.
11926         (do_ftell): Likewise.
11927         (_IO_new_file_seekoff): Split out ftell logic.
11928         * libio/wfileops.c (do_ftell_wide): Likewise.
11929         (_IO_wfile_seekoff): Split out ftell logic.
11930         * libio/tst-ftell-active-handler.c: New test case.
11931         * libio/Makefile (tests): Add it.
11933 2014-03-03  Roland McGrath  <roland@hack.frob.com>
11935         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11936         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11938 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11940         [BZ #16639]
11941         * nscd/connections.c (nscd_init): Call do_exit.
11942         (start_threads): Call do_exit and notify_parent.
11943         (begin_drop_privileges): Call do_exit.
11944         (finish_drop_privileges): Likewise.
11945         * nscd/selinux.c (preserve_capabilities): Likewise.
11946         (install_real_capabilities): Likewise.
11947         (nscd_selinux_enabled): Likewise.
11948         (avc_create_thread): Likewise.
11949         (avc_alloc_lock): Likewise.
11950         (nscd_avc_init): Likewise.
11951         * nscd/nscd.c (parent_fd): New static variable.
11952         (main): Create a pipe between parent and child processes.
11953         Skip closing parent_fd.
11954         (monitor_child): New function.
11955         (do_exit): Likewise.
11956         (notify_parent): Likewise.
11957         * nscd/nscd.h (notify_parent): Likewise.
11958         (do_exit): Likewise.
11960 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
11962         * malloc/malloc.c (__libc_calloc): Revert last change.
11964 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11968 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11970         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11972         implementation.
11973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11974         (__libc_ifunc_impl_list): Likewise.
11975         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11976         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11977         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11978         * string/strrchr.c: Define STRRCHR.
11980 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
11982         * benchtest/bench-strtok.c (simple_strtok): Delete.
11983         (strtok_string): Use as benchmark.
11984         * string/strtok (STRTOK): New macro.
11986 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
11988         * manual/threads.texi: Add header and standard comments to all
11989         functions.
11991         * elf/dl-lookup.c (check_match): New function.
11992         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11993         (do_lookup_x): Remove nested function check_match. Use non-nested
11994         function check_match.
11996 2014-02-28  Roland McGrath  <roland@hack.frob.com>
11998         * csu/Makefile (generated, before-compile): Use += rather than =.
11999         * catgets/Makefile (generated, generated-dirs): Likewise.
12000         * debug/Makefile (generated): Likewise.
12001         * dlfcn/Makefile (generated): Likewise.
12002         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12003         * iconvdata/Makefile (before-compile, generated): Likewise.
12004         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12005         * libio/Makefile (generated): Likewise.
12006         * malloc/Makefile (generated): Likewise.
12007         * manual/Makefile (generated, generated-dirs): Likewise.
12008         * misc/Makefile (generated): Likewise.
12009         * posix/Makefile (generated): Likewise.
12010         * resolv/Makefile (generated): Likewise.
12011         * sunrpc/Makefile (generated, generated-dirs): Likewise.
12012         * timezone/Makefile (generated, generated-dirs): Likewise.
12014         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12016 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12019         power8 implementation.
12020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12021         file: POWER8 llround ifunc implementation.
12022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12023         (__lllround): Add POWER8 implementation.
12024         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12025         POWER8 llround implementation.
12027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12028         power8 implementation.
12029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12030         file: POWER8 llrint ifunc implementation.
12031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12032         Add POWER8 implementation.
12033         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12034         POWER8 llrint implementation.
12036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12037         power8 implementation.
12038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12039         file: POWER8 finite ifunc implementation.
12040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12041         Add POWER8 implementation.
12042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12043         Likewise.
12044         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12045         POWER8 finite implementation.
12046         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12049         power8 implementation.
12050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12051         file: POWER8 isinf ifunc implementation.
12052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12053         POWER8 implementation.
12054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12055         Likewise.
12056         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12057         isinf implementation.
12058         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12060         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12061         (INIT_ARCH): Add hwcap2 initialization.
12062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12063         power8 implementation.
12064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12065         file: POWER8 isnan ifunc implementation.
12066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12067         POWER8 implementation.
12068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12069         Likewise.
12070         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12071         isnan implementation.
12072         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12074 2014-02-27  Joey Ye  <joey.ye@arm.com>
12076         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12077         (_FP_NANFRAC_Q): Set to zero.
12079 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12081         [BZ #16623]
12082         * math/auto-libm-test-in: New test inputs.
12083         * math/auto-libm-test-out: Regenerate.
12084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12085         and DA.
12086         (__cos): Likewise.
12087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12089 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
12091         * scripts/evaluate-test.sh: Take new argument indicating whether
12092         failure is expected.
12093         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12094         indicating whether failure is expected.
12095         * conform/Makefile (test-xfail-run-conformtest): New variable.
12096         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12097         level.
12098         * posix/Makefile (test-xfail-annexc): New variable.
12099         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12101 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
12103         * argp/Makefile: Include Makeconfig immediately after defining
12104         subdir.
12105         * assert/Makefile: Likewise.
12106         * benchtests/Makefile: Likewise.
12107         * catgets/Makefile: Likewise.
12108         * conform/Makefile: Likewise.
12109         * crypt/Makefile: Likewise.
12110         * csu/Makefile: Likewise.
12111         (all): Remove target.
12112         * ctype/Makefile: Include Makeconfig immediately after defining
12113         subdir.
12114         * debug/Makefile: Likewise.
12115         * dirent/Makefile: Likewise.
12116         * dlfcn/Makefile: Likewise.
12117         * gmon/Makefile: Likewise.
12118         * gnulib/Makefile: Likewise.
12119         * grp/Makefile: Likewise.
12120         * gshadow/Makefile: Likewise.
12121         * hesiod/Makefile: Likewise.
12122         * hurd/Makefile: Likewise.
12123         (all): Remove target.
12124         * iconvdata/Makefile: Include Makeconfig immediately after
12125         defining subdir.
12126         * inet/Makefile: Likewise.
12127         * intl/Makefile: Likewise.
12128         * io/Makefile: Likewise.
12129         * libio/Makefile: Likewise.
12130         (all): Remove target.
12131         * locale/Makefile: Include Makeconfig immediately after defining
12132         subdir.
12133         * login/Makefile: Likewise.
12134         * mach/Makefile: Likewise.
12135         (all): Remove target.
12136         * malloc/Makefile: Include Makeconfig immediately after defining
12137         subdir.
12138         (all): Remove target.
12139         * manual/Makefile: Include Makeconfig immediately after defining
12140         subdir.
12141         * math/Makefile: Likewise.
12142         * misc/Makefile: Likewise.
12143         * nis/Makefile: Likewise.
12144         * nss/Makefile: Likewise.
12145         * po/Makefile: Likewise.
12146         (all): Remove target.
12147         * posix/Makefile: Include Makeconfig immediately after defining
12148         subdir.
12149         * pwd/Makefile: Likewise.
12150         * resolv/Makefile: Likewise.
12151         * resource/Makefile: Likewise.
12152         * rt/Makefile: Likewise.
12153         * setjmp/Makefile: Likewise.
12154         * shadow/Makefile: Likewise.
12155         * signal/Makefile: Likewise.
12156         * socket/Makefile: Likewise.
12157         * soft-fp/Makefile: Likewise.
12158         * stdio-common/Makefile: Likewise.
12159         * stdlib/Makefile: Likewise.
12160         * streams/Makefile: Likewise.
12161         * string/Makefile: Likewise.
12162         * sunrpc/Makefile: Likewise.
12163         (all): Remove target.
12164         * sysvipc/Makefile: Include Makeconfig immediately after defining
12165         subdir.
12166         * termios/Makefile: Likewise.
12167         * time/Makefile: Likewise.
12168         * timezone/Makefile: Likewise.
12169         (all): Remove target.
12170         * wcsmbs/Makefile: Include Makeconfig immediately after defining
12171         subdir.
12172         * wctype/Makefile: Likewise.
12174 2014-02-26  Steve Ellcey  <sellcey@mips.com>
12176         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12177         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12178         (libc_feholdexcept_setround_mips): Ditto.
12179         (libc_feholdsetround): New.
12180         (libc_feholdsetroundf): New.
12181         (libc_feholdsetroundl): New.
12182         (libc_feupdateenv_test_mips): New.
12183         (libc_feupdateenv_test): New.
12184         (libc_feupdateenv_testf): New.
12185         (libc_feupdateenv_testl): New.
12186         (libc_feresetround): New.
12187         (libc_feresetroundf): New.
12188         (libc_feresetroundl): New.
12189         (libc_fetestexcept_mips): New.
12190         (libc_fetestexcept): New.
12191         (libc_fetestexceptf): New.
12192         (libc_fetestexceptl): New.
12193         (HAVE_RM_CTX): New.
12194         (libc_feholdexcept_setround_mips_ctx): New.
12195         (libc_feholdexcept_setround_ctx): New.
12196         (libc_feholdexcept_setroundf_ctx): New.
12197         (libc_feholdexcept_setroundl_ctx): New.
12198         (libc_fesetenv_mips_ctx): New.
12199         (libc_fesetenv_ctx): New.
12200         (libc_fesetenv_ctxf): New.
12201         (libc_fesetenv_ctxl): New.
12202         (libc_feupdateenv_mips_ctx): New.
12203         (libc_feupdateenv_ctx): New.
12204         (libc_feupdateenvf_ctx): New.
12205         (libc_feupdateenvl_ctx): New.
12206         (libc_feholdsetround_mips_ctx): New.
12207         (libc_feholdsetround_ctx): New.
12208         (libc_feholdsetroundf_ctx): New.
12209         (libc_feholdsetroundl_ctx): New.
12210         (libc_feresetround_mips_ctx): New.
12211         (libc_feresetround_ctx): New.
12212         (libc_feresetroundf_ctx): New.
12213         (libc_feresetroundl_ctx): New.
12215 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
12217         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12219         * manual/ipc.texi: New file.
12220         * manual/Makefile (chapters): Add ipc.
12221         * manual/job.texi: Add "Inter-Process Communication" to next.
12222         * manual/process.texi: Add "Inter-Process Communication" to prev.
12224 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12228 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
12230         * malloc/malloc.c (__libc_calloc): Simplify implementation.
12232         * manual/arith.texi: Fix spaces after sentences.
12233         * manual/charset.texi: Likewise.
12234         * manual/errno.texi: Likewise.
12235         * manual/install.texi: Likewise.
12236         * manual/llio.texi: Likewise.
12237         * manual/locale.texi: Likewise.
12238         * manual/maint.texi: Likewise.
12239         * manual/math.texi: Likewise.
12240         * manual/memory.texi: Likewise.
12241         * manual/message.texi: Likewise.
12242         * manual/probes.texi: Likewise.
12243         * manual/resource.texi: Likewise.
12244         * manual/signal.texi: Likewise.
12245         * manual/socket.texi: Likewise.
12246         * manual/stdio.texi: Likewise.
12247         * manual/string.texi: Likewise.
12248         * manual/time.texi: Likewise.
12249         * manual/users.texi: Likewise.
12251 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
12253         [BZ #16632]
12254         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12255         _DEFAULT_SOURCE is defined.
12257 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
12258             Carlos O'Donell  <carlos@redhat.com>
12260         [BZ #16613]
12261         * elf/dl-tls.c (_dl_count_modids): New function.
12262         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12263         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12264         audit library and increment generation counter.
12265         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12266         * elf/tst-audit9.c: New file.
12267         * elf/tst-auditmod9a.c: New file.
12268         * elf/tst-auditmod9b.c: New file.
12269         * elf/Makefile: Add rules to build and run tst-audit9.
12271 2014-02-25  Florian Weimer  <fweimer@redhat.com>
12273         [BZ #15347]
12274         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12276 2014-02-25  Will Newton  <will.newton@linaro.org>
12278         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12279         (__longjmp): Restore sp and lr before restoring callee
12280         saved registers.  Add longjmp and longjmp_target
12281         SystemTap probe point.
12282         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12283         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12284         Define to zero to match jmpbuf layout.
12285         * sysdeps/arm/setjmp.S: Include stap-probe.h.
12286         (__sigsetjmp): Save sp and lr before saving callee
12287         saved registers.  Add setjmp SystemTap probe point.
12289 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12291         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12293 2014-02-24  Andreas Schwab  <schwab@suse.de>
12295         [BZ #15804]
12296         * elf/pldd.c (wait_for_ptrace_stop): New function.
12297         (main): Call it after attaching.
12299 2014-02-22  Roland McGrath  <roland@hack.frob.com>
12301         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12302         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12303         Versions files is now verboten.
12304         * hurd/Versions (libc: GLIBC_2.0):
12305         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12306         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12307         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12308         * mach/Versions: Likewise.
12310         * csu/Versions: Remove unused %include.
12311         * resolv/Versions: Likewise.
12313 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
12315         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12316         ($(objpfx)check-local-headers.out): Likewise.
12317         ($(objpfx)begin-end-check.out): Likewise.
12318         * Makerules (check-abi-%.out): Likewise.
12319         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12320         ($(objpfx)test2.cat): Likewise.
12321         ($(objpfx)de/libc.cat): Likewise.
12322         ($(objpfx)test-gencat.out): Likewise.
12323         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12324         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12325         ($(objpfx)noload-mem): Likewise.
12326         ($(objpfx)tst-pathopt.out): Likewise.
12327         ($(objpfx)tst-rtld-load-self.out): Likewise.
12328         ($(objpfx)tst-array1-cmp.out): Likewise.
12329         ($(objpfx)tst-array1-static-cmp.out): Likewise.
12330         ($(objpfx)tst-array2-cmp.out): Likewise.
12331         ($(objpfx)tst-array3-cmp.out): Likewise.
12332         ($(objpfx)tst-array4-cmp.out): Likewise.
12333         ($(objpfx)tst-array5-cmp.out): Likewise.
12334         ($(objpfx)tst-array5-static-cmp.out): Likewise.
12335         ($(objpfx)check-textrel.out): Likewise.
12336         ($(objpfx)check-execstack.out): Likewise.
12337         ($(objpfx)check-localplt.out): Likewise.
12338         ($(objpfx)order2-cmp.out): Likewise.
12339         ($(objpfx)tst-leaks1-mem): Likewise.
12340         ($(objpfx)tst-leaks1-static-mem): Likewise.
12341         ($(objpfx)tst-initorder-cmp.out): Likewise.
12342         ($(objpfx)tst-initorder2-cmp.out): Likewise.
12343         ($(objpfx)tst-unused-dep.out): Likewise.
12344         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12345         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12346         * iconv/Makefile (test-iconvconfig): Likewise.
12347         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12348         ($(objpfx)iconv-test.out): Likewise.
12349         ($(objpfx)tst-tables.out): Likewise.
12350         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12351         ($(objpfx)tst-gettext.out): Likewise.
12352         ($(objpfx)tst-translit.out): Likewise.
12353         ($(objpfx)tst-gettext2.out): Likewise.
12354         ($(objpfx)tst-gettext4.out): Likewise.
12355         ($(objpfx)tst-gettext6.out): Likewise.
12356         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12357         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12358         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12359         ($(objpfx)tst-fopenloc-mem.out): Likewise.
12360         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12361         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12362         * posix/Makefile ($(objpfx)globtest.out): Likewise.
12363         ($(objpfx)wordexp-tst.out): Likewise.
12364         ($(objpfx)annexc.out): Likewise.
12365         ($(objpfx)tst-fnmatch-mem): Likewise.
12366         ($(objpfx)bug-regex2-mem): Likewise.
12367         ($(objpfx)bug-regex14-mem): Likewise.
12368         ($(objpfx)bug-regex21-mem): Likewise.
12369         ($(objpfx)bug-regex31-mem): Likewise.
12370         ($(objpfx)tst-vfork3-mem): Likewise.
12371         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12372         ($(objpfx)tst-pcre-mem): Likewise.
12373         ($(objpfx)tst-boost-mem): Likewise.
12374         ($(objpfx)tst-getconf.out): Likewise.
12375         ($(objpfx)bug-ga2-mem): Likewise.
12376         ($(objpfx)bug-glob2-mem): Likewise.
12377         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12378         ($(objpfx)mtrace-tst-leaks2): Likewise.
12379         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12380         ($(objpfx)tst-printf.out): Likewise.
12381         ($(objpfx)tst-setvbuf1.out): Likewise.
12382         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12383         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12384         ($(objpfx)tst-fmtmsg.out): Likewise.
12385         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12386         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12388         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12389         * bits/sigaction.h [__USE_MISC]: Likewise.
12390         * bits/waitstatus.h: Update #endif comments.
12391         * ctype/ctype.h: Likewise.
12392         * dirent/dirent.h: Likewise.
12393         [__USE_MISC]: Remove redundant conditionals.
12394         * grp/grp.h: Update #endif comments.
12395         [__USE_GNU]: Remove redundant conditionals.
12396         [__USE_MISC]: Likewise.
12397         * inet/netinet/in.h [__USE_GNU]: Likewise.
12398         * io/sys/stat.h [__USE_MISC]: Likewise.
12399         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12400         * libio/bits/stdio.h: Update #endif comments.
12401         [__USE_MISC]: Remove redundant conditionals.
12402         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12403         * libio/stdio.h: Update #endif comments.
12404         [__USE_MISC]: Remove redundant conditionals.
12405         * math/bits/math-finite.h [__USE_MISC]: Likewise.
12406         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12407         * math/math.h: Update #else and #endif comments.
12408         [__USE_MISC]: Remove redundant conditionals.
12409         * misc/sys/uio.h: Update #endif comments.
12410         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12411         * posix/glob.h [__USE_MISC]: Likewise.
12412         * posix/sys/types.h: Update #endif comments.
12413         [__USE_MISC]: Remove redundant conditionals.
12414         * posix/sys/wait.h: Update #endif comments.
12415         [__USE_MISC]: Remove redundant conditionals.
12416         * posix/unistd.h: Update #endif comments.
12417         [__USE_MISC]: Remove redundant conditionals.
12418         * pwd/pwd.h [__USE_GNU]: Likewise.
12419         [__USE_MISC]: Likewise.
12420         * resolv/netdb.h [__USE_GNU]: Likewise.
12421         * signal/signal.h: Update #endif comments.
12422         [__USE_MISC]: Remove redundant conditionals.
12423         * stdlib/stdlib.h: Update #else and #endif comments.
12424         [__USE_MISC]: Remove redundant conditionals.
12425         [__USE_GNU]: Likewise.
12426         * string/bits/string2.h [__USE_MISC]: Likewise.
12427         * string/string.h: Update #endif comments.
12428         [__USE_MISC]: Remove redundant conditionals.
12429         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12430         Likewise.
12431         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12432         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12433         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12434         Likewise.
12435         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12436         Likewise.
12437         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12438         comments.
12439         [__USE_MISC]: Remove redundant conditionals.
12440         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12441         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12442         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12443         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12444         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12445         Likewise.
12446         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12447         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12448         Likewise.
12449         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12450         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12451         Likewise.
12452         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12453         Likewise.
12454         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12455         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12456         Likewise.
12457         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12458         Likewise.
12459         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12460         * sysdeps/x86/bits/string.h: Update #endif comments.
12461         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12462         conditionals.
12463         * time/sys/time.h: Update #endif comments.
12464         * time/time.h: Likewise.
12465         [__USE_MISC]: Remove redundant conditionals.
12467 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
12469         [BZ #16600]
12470         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12472 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
12474         * Versions.def (librt): Add GLIBC_2.17.
12476 2014-02-21  Adam Conrad  <adconrad@0c3.net>
12478         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12479         synonym for _SYS_AUXV_H to allow direct inclusion.
12480         * sysdeps/sparc/bits/hwcap.h: Likewise.
12481         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12482         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12483         * sysdeps/sparc/sysdep.h: Likewise.
12485 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12487         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12489 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12491         * benchtests/bench-strrchr.c: Print length instead of position.
12493 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12495         [BZ #16611]
12496         * sysdeps/unix/sysv/linux/kernel-features.h
12497         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12498         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12499         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12500         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12501         Likewise.
12502         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12503         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12504         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12505         (__ASSUME_SENDMMSG): Define instead of using previous
12506         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12507         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12508         (__ASSUME_SENDMMSG_SYSCALL): Define.
12509         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12510         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12511         Likewise.
12512         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12513         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12514         Likewise.
12515         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12516         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12517         Likewise.
12518         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12519         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12520         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12521         [__ASSUME_SENDMMSG]: Change conditionals to
12522         [__ASSUME_SENDMMSG_SOCKETCALL].
12523         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12524         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12525         Define.
12526         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12527         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12528         Likewise.
12529         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12530         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12531         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12532         [!__ASSUME_SENDMMSG]: Change conditional to
12533         [!__ASSUME_SENDMMSG_SOCKETCALL].
12534         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12535         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12536         Define.
12538         [BZ #16610]
12539         * sysdeps/unix/sysv/linux/kernel-features.h
12540         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12541         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12542         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12543         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12544         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12545         [__i386__ || __sparc__]
12546         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12547         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12548         (__ASSUME_RECVMMSG): Define instead of using previous
12549         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12550         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12551         (__ASSUME_RECVMMSG_SYSCALL): Define.
12552         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12553         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12554         Likewise.
12555         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12556         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12557         Likewise.
12558         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12559         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12560         Likewise.
12561         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12562         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12563         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12564         [__ASSUME_RECVMMSG]: Change condition to
12565         [__ASSUME_RECVMMSG_SOCKETCALL].
12566         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12567         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12568         Define.
12569         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12570         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12571         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12572         Likewise.
12573         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12574         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12575         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12576         [!__ASSUME_RECVMMSG]: Change condition to
12577         [!__ASSUME_RECVMMSG_SOCKETCALL].
12578         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12579         (__ASSUME_RECVMMSG_SYSCALL): Define.
12581         [BZ #16609]
12582         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12583         __powerpc__ || __s390__ || __sh__ || __sparc__]
12584         (__ASSUME_SOCKETCALL): Define.
12585         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12586         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12587         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12588         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12589         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12590         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12591         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12592         (__ASSUME_ACCEPT4): Define instead of using previous
12593         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12594         __powerpc__ || __sparc__ || __s390__)] condition.
12595         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12596         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12597         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12598         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12599         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12600         [!__ASSUME_ACCEPT4]: Change condition to
12601         [!__ASSUME_ACCEPT4_SOCKETCALL].
12602         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12603         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12604         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12605         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12606         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12607         __ASSUME_ACCEPT4_SYSCALL.
12608         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12609         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12610         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12611         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12612         __ASSUME_ACCEPT4_SYSCALL.
12613         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12614         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12615         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12616         [__ASSUME_ACCEPT4]: Change condition to
12617         [__ASSUME_ACCEPT4_SOCKETCALL].
12618         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12619         (__ASSUME_SOCKETCALL): Define.
12620         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12621         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12622         (__ASSUME_SOCKETCALL): Define.
12623         (__ASSUME_ACCEPT4): Remove.
12624         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12625         Define.
12626         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12627         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12628         Likewise.
12629         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12630         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12632         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12633         macro.
12634         (HWCAP_ARM_LPAE): Likewise.
12635         (HWCAP_ARM_EVTSTRM): Likewise.
12636         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12637         Add vpfd32, lpae and evtstrm.
12638         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12639         Increase to 22.
12641 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12643         * math/auto-libm-test-in: Add tests of clog10.
12644         * math/auto-libm-test-out: Regenerated.
12645         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12646         * sysdeps/i386/fpu/libm-test-ulps: Update.
12647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12649 2014-02-18  Andreas Schwab  <schwab@suse.de>
12651         [BZ #16574]
12652         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12653         Store non-zero if the second buffer was newly allocated.
12654         (send_dg): Likewise.
12655         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12656         to send_vc and send_dg.
12657         (res_nsend): Pass NULL for ansp2_malloced.
12658         * resolv/res_query.c (__libc_res_nquery): Add parameter
12659         answerp2_malloced and pass it down to __libc_res_nsend.
12660         (res_nquery): Pass additional NULL to __libc_res_nquery.
12661         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12662         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12663         second answer buffer if answerp2_malloced was set.
12664         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12665         (__libc_res_nquerydomain): Add parameter
12666         answerp2_malloced and pass it down to __libc_res_nquery.
12667         (res_nquerydomain): Pass additional NULL to
12668         __libc_res_nquerydomain.
12669         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12670         additional NULL to __libc_res_nsend and __libc_res_nquery.
12671         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12672         additional NULL to __libc_res_nsearch.
12673         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12674         parameter of __libc_res_nsearch to check for separately allocated
12675         second buffer.
12676         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12677         __libc_res_nquery.
12678         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12679         additional NULL to __libc_res_nquery.
12680         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12681         __libc_res_nsearch.
12682         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12683         * include/resolv.h: Update prototypes of __libc_res_nquery,
12684         __libc_res_nsearch, __libc_res_nsend.
12686 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
12688         * math/auto-libm-test-in: Add tests of fma.
12689         * math/auto-libm-test-out: Regenerated.
12690         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12691         (fma_towardzero_test_data): Likewise.
12692         (fma_downward_test_data): Likewise.
12693         (fma_upward_test_data): Likewise.
12694         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12695         mpc_mode.
12696         (rounding_modes): Add values for new field.
12697         (func_calc_method): Add value mpfr_fff_f.
12698         (func_calc_desc): Add mpfr_fff_f union field.
12699         (test_function): Add field exact_args.
12700         (FUNC): Add macro argument EXACT_ARGS.
12701         (FUNC_mpfr_f_f): Update call to FUNC.
12702         (FUNC_mpfr_f_f): Likewise.
12703         (FUNC_mpfr_ff_f): Likewise.
12704         (FUNC_mpfr_if_f): Likewise.
12705         (FUNC_mpc_c_f): Likewise.
12706         (FUNC_mpc_c_c): Likewise.
12707         (test_functions): Add fma.  Update calls to FUNC.
12708         (handle_input_arg): Add argument exact_args.
12709         (add_test): Update call to handle_input_arg.
12710         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
12711         (output_for_one_input_case): Update call to calc_generic_results.
12712         Recalculate exact zero results in each rounding mode.
12714         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12715         non-negative before setting low bit.
12716         * math/auto-libm-test-in: Mark one asin test possibly having
12717         spurious underflow.
12718         * math/auto-libm-test-out: Regenerated.
12719         * sysdeps/i386/fpu/libm-test-ulps: Update.
12720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12722 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
12724         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12725         * sysdeps/unix/sysv/linux/microblaze: Move directory from
12726         ports/sysdeps/unix/sysv/linux/microblaze.
12727         * README: Add missing listing for microblaze*-*-linux-gnu.
12729 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
12731         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12732         duplicate code
12734 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
12736         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12737         * sysdeps/unix/sysv/linux/ia64: Move directory from
12738         ports/sysdeps/unix/sysv/linux/ia64.
12739         * README: Update listing for ia64-*-linux-gnu.
12741 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
12742             Joseph Myers  <joseph@codesourcery.com>
12744         * Makeconfig (test-name): New variable.
12745         (evaluate-test): Likewise.
12746         * Makerules (do-test-clean): Remove .test-result files.
12747         (common-mostlyclean): Likewise.
12748         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12749         * scripts/evaluate-test.sh: New file.
12751 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
12753         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12754         separate $(objpfx)tst-fopenloc-cmp.out and
12755         $(objpfx)tst-fopenloc-mem.out targets.
12756         (tests): Update dependencies.
12757         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12758         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12759         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12760         (tst-rxspencer-no-utf8-ARGS): New variable.
12761         (tst-rxspencer-no-utf8-ENV): Likewise.
12762         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12763         instead of $(objpfx)tst-rxspencer-mem.
12764         ($(objpfx)tst-rxspencer-mem): Change target to
12765         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
12766         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12767         * posix/tst-rxspencer-no-utf8.c: New file.
12769         * elf/Makefile ($(objpfx)order.out): Remove rule.
12770         [$(run-built-tests) = yes] (tests): Depend on
12771         $(objpfx)order-cmp.out.
12772         ($(objpfx)order-cmp.out): New rule.
12773         [$(run-built-tests) = yes] (tests): Depend on
12774         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12775         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12776         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12777         $(objpfx)tst-array5-static-cmp.out.
12778         ($(objpfx)tst-array1.out): Remove rule.
12779         ($(objpfx)tst-array1-cmp.out): New rule.
12780         ($(objpfx)tst-array1-static.out): Remove rule.
12781         ($(objpfx)tst-array1-static-cmp.out): New rule.
12782         ($(objpfx)tst-array2.out): Remove rule.
12783         ($(objpfx)tst-array2-cmp.out): New rule.
12784         ($(objpfx)tst-array3.out): Remove rule.
12785         ($(objpfx)tst-array3-cmp.out): New rule.
12786         ($(objpfx)tst-array4.out): Remove rule.
12787         ($(objpfx)tst-array4-cmp.out): New rule.
12788         ($(objpfx)tst-array5.out): Remove rule.
12789         ($(objpfx)tst-array5-cmp.out): New rule.
12790         ($(objpfx)tst-array5-static.out): Remove rule.
12791         ($(objpfx)tst-array5-static-cmp.out): New rule.
12792         [$(run-built-tests) = yes] (tests): Depend on
12793         $(objpfx)order2-cmp.out.
12794         ($(objpfx)order2.out): Remove rule.
12795         ($(objpfx)order2-cmp.out): New rule.
12796         ($(objpfx)tst-initorder.out): Remove rule.
12797         [$(run-built-tests) = yes] (tests): Depend on
12798         $(objpfx)tst-initorder-cmp.out.
12799         ($(objpfx)tst-initorder-cmp.out): New rule.
12800         ($(objpfx)tst-initorder2.out): Remove rule.
12801         [$(run-built-tests) = yes] (tests): Depend on
12802         $(objpfx)tst-initorder2-cmp.out.
12803         ($(objpfx)tst-initorder2-cmp.out): New rule.
12804         [$(run-built-tests) = yes] (tests): Depend on
12805         $(objpfx)tst-unused-dep-cmp.out.
12806         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12807         ($(objpfx)tst-unused-dep-cmp.out): New rule.
12808         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12809         on $(objpfx)tst-setvbuf1-cmp.out.
12810         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12811         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12812         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12813         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12814         ($(objpfx)tst-svc.out): Remove rule.
12815         ($(objpfx)tst-svc-cmp.out): New rule.
12817 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
12819         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12820         * ctype/ctype.h [__USE_MISC]: Likewise.
12821         * dirent/dirent.h [__USE_MISC]: Likewise.
12822         * grp/grp.h [__USE_MISC]: Likewise.
12823         * io/fcntl.h [__USE_MISC]: Likewise.
12824         * io/sys/stat.h [__USE_MISC]: Likewise.
12825         * libio/stdio.h [__USE_MISC]: Likewise.
12826         * posix/unistd.h [__USE_MISC]: Likewise.
12827         * pwd/pwd.h [__USE_MISC]: Likewise.
12828         * stdlib.h [__USE_MISC]: Likewise.
12829         * string/bits/string2.h [__USE_MISC]: Likewise.
12830         * string/string.h [__USE_MISC]: Likewise.
12831         * time/time.h [__USE_MISC]: Likewise.
12833 2014-02-13  Andreas Schwab  <schwab@suse.de>
12835         [BZ #16574]
12836         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12837         second answer buffer if it was separately allocated.
12839 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
12841         * sysdeps/mips/math-tests.h: Include <features.h>.
12842         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12843         (ROUNDING_TESTS_long_double): Do not define.
12844         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12845         (EXCEPTION_TESTS_long_double): Likewise.
12846         * sysdeps/mips/mips64/libm-test-ulps: Update.
12848         * include/features.h (__USE_BSD): Remove macro definitions.
12849         (__USE_SVID): Likewise.
12850         (_BSD_SOURCE): Likewise.
12851         (_SVID_SOURCE): Likewise.
12852         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12853         from definition of _DEFAULT_SOURCE.
12854         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12855         [_DEFAULT_SOURCE].
12856         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12857         * bits/mman.h [__USE_BSD]: Likewise.
12858         * bits/termios.h [__USE_BSD]: Likewise.
12859         * bits/waitstatus.h [__USE_BSD]: Likewise.
12860         * ctype/ctype.h [__USE_SVID]: Likewise.
12861         * dirent/dirent.h [__USE_BSD]: Likewise.
12862         * grp/grp.h [__USE_SVID]: Likewise.
12863         [__USE_BSD]: Likewise.
12864         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12865         * io/fcntl.h [__USE_BSD]: Likewise.
12866         * io/ftw.h [__USE_BSD]: Likewise.
12867         * io/sys/stat.h [__USE_BSD]: Likewise.
12868         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12869         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12870         * libio/stdio.h [__USE_SVID]: Likewise.
12871         [__USE_BSD]: Likewise.
12872         * math/math.h [__USE_SVID]: Likewise.
12873         [__USE_BSD]: Likewise.
12874         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12875         * misc/bits/syslog.h [__USE_BSD]: Likewise.
12876         * misc/search.h [__USE_SVID]: Likewise.
12877         * misc/sys/mman.h [__USE_BSD]: Likewise.
12878         * misc/sys/syslog.h [__USE_BSD]: Likewise.
12879         * misc/sys/uio.h [__USE_BSD]: Likewise.
12880         * posix/bits/unistd.h [__USE_BSD]: Likewise.
12881         * posix/glob.h [__USE_BSD]: Likewise.
12882         * posix/regex.h [__USE_BSD]: Likewise.
12883         * posix/sys/types.h [__USE_BSD]: Likewise.
12884         [__USE_SVID]: Likewise.
12885         * posix/sys/utsname.h [__USE_SVID]: Likewise.
12886         * posix/sys/wait.h [__USE_BSD]: Likewise.
12887         [__USE_SVID]: Likewise.
12888         * posix/unistd.h [__USE_BSD]: Likewise.
12889         [__USE_SVID]: Likewise.
12890         * pwd/pwd.h [__USE_SVID]: Likewise.
12891         * resolv/netdb.h [__USE_BSD]: Likewise.
12892         * setjmp/setjmp.h [__USE_BSD]: Likewise.
12893         * signal/signal.h [__USE_BSD]: Likewise.
12894         [__USE_SVID]: Likewise.
12895         * socket/sys/socket.h [__USE_BSD]: Likewise.
12896         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12897         * stdlib/stdlib.h [__USE_BSD]: Likewise.
12898         [__USE_SVID]: Likewise.
12899         * string/bits/string2.h [__USE_BSD]: Likewise.
12900         [__USE_SVID]: Likewise.
12901         * string/bits/string3.h [__USE_BSD]: Likewise.
12902         * string/endian.h [__USE_BSD]: Likewise.
12903         * string/string.h [__USE_SVID]: Likewise.
12904         [__USE_BSD]: Likewise.
12905         * string/strings.h [__USE_BSD]: Likewise.
12906         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12907         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12908         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12909         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12910         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12911         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12912         Likewise.
12913         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12914         Likewise.
12915         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12916         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12917         Likewise.
12918         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12919         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12920         Likewise.
12921         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12922         Likewise.
12923         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12924         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12925         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12926         Likewise.
12927         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12928         Likewise.
12929         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12930         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12931         * termios/termios.h [__USE_BSD]: Likewise.
12932         * time/sys/time.h [__USE_BSD]: Likewise.
12933         * time/time.h [__USE_BSD]: Likewise.
12934         [__USE_SVID]: Likewise.
12936         * Makefile (subdir_targets): Remove subdir_lint.out.
12938         * stdio-common/Makefile (do-tst-unbputc): Remove target.
12939         (do-tst-printf): Likewise.
12940         (tests): Depend directly on $(objpfx)tst-unbputc.out and
12941         $(objpfx)tst-printf.out.
12943         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12945         * Makerules (check-abi-%): Change target to
12946         $(objpfx)check-abi-%.out.
12947         (check-abi target): Update dependencies.
12948         (check-abi-pattern variable): Redirect output of diff to $@.
12949         (check-abi variable): Likewise.
12950         * elf/Makefile (check-abi): Update dependencies.
12952         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12953         unused.
12954         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12955         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12956         subnormal range.
12957         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12958         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12959         value has largest subnormal exponent.
12960         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12961         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12962         * sysdeps/aarch64/soft-fp/sfp-machine.h
12963         (_FP_TININESS_AFTER_ROUNDING): New macro.
12964         * sysdeps/alpha/soft-fp/sfp-machine.h
12965         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12966         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12967         Likewise.
12968         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12969         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12970         * sysdeps/mips/soft-fp/sfp-machine.h
12971         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12972         * sysdeps/powerpc/soft-fp/sfp-machine.h
12973         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12974         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12975         Likewise.
12976         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12977         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12978         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12979         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12980         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12981         Likewise.
12983 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
12985         [BZ #16545]
12986         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12987         model 1.
12989 2014-02-12  Richard Henderson  <rth@redhat.com>
12991         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12992         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12993         * sysdeps/unix/sysv/linux/alpha: Move directory from
12994         ports/sysdeps/unix/sysv/linux/alpha.
12995         * README: Update listing for alpha-*-linux-gnu.
12997 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
12999         * include/features.h: Update comment documenting feature test
13000         macros.
13001         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
13002         _DEFAULT_SOURCE.
13003         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13004         (_SVID_SOURCE): Likewise.
13005         (_DEFAULT_SOURCE): Update description of default features.
13006         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13007         with _GNU_SOURCE.
13008         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13009         (S_ISVTX): Likewise.
13010         * manual/math.texi (Mathematical Constants): Likewise.
13011         * manual/signal.texi (Interrupted Primitives): Likewise.
13012         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13013         * math/test-matherr.c (_SVID_SOURCE): Do not define.
13014         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13015         Don't refer to _SVID_SOURCE in warning text.
13017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13019         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13020         already defined.
13021         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13022         * sysdeps/mips/dl-lookup.c: Remove.
13023         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13025 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13027         [BZ #16447]
13028         * math/auto-libm-test-in: Add testcase for expl.
13029         * math/auto-libm-test-out: Regenerate.
13030         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13031         calculation of unsafe.
13032         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13034 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13036         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13037         * sysdeps/unix/sysv/linux/aarch64: Move directory from
13038         ports/sysdeps/unix/sysv/linux/aarch64.
13039         * README: Update listing for aarch64*-*-linux-gnu.
13041 2014-02-11  Will Newton  <will.newton@linaro.org>
13043         * manual/probes.texi (Mathematical Function Probes): Use
13044         "triggered" instead of "hit".
13046         * manual/probes.texi (Internal Probes): Add documentation
13047         of setjmp, longjmp and longjmp_target probes.
13049         * include/stap-probe.h: Add comment about probe argument
13050         format.
13052         * malloc/mtrace.c (attribute_hidden): Remove unused macro
13053         definition.  (tr_where, tr_freehook, tr_mallochook,
13054         tr_reallochook, tr_memalignhook): Use ANSI protoype.
13056 2014-02-11  David S. Miller  <davem@davemloft.net>
13058         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13059         processing int_tests.
13061 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
13063         * sysdeps/mips: Move directory from ports/sysdeps/mips.
13064         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13065         * sysdeps/unix/sysv/linux/mips: Move directory from
13066         ports/sysdeps/unix/sysv/linux/mips.
13067         * README: Update listing for mips-*-linux-gnu and
13068         mips64-*-linux-gnu.
13070 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
13072         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13073         * sysdeps/unix/sysv/linux/m68k: Move directory from
13074         ports/sysdeps/unix/sysv/linux/m68k.
13075         * README: Update listing for m68k-*-linux-gnu.
13077 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
13079         * sysdeps/tile: Move directory from ports/sysdeps/tile.
13080         * sysdeps/unix/sysv/linux/generic: Move directory from
13081         ports/sysdeps/unix/sysv/linux/generic.
13082         * sysdeps/unix/sysv/linux/tile: Move directory from
13083         ports/sysdeps/unix/sysv/linux/tile.
13084         * README: Update listing for tile*-*-linux-gnu.
13086 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
13088         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13089         __builtin_expect.
13090         * benchtests/bench-memmem.c (simple_memmem): Likewise.
13091         * catgets/open_catalog.c (__open_catalog): Likewise.
13092         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13093         * debug/confstr_chk.c: Likewise.
13094         * debug/fread_chk.c (__fread_chk): Likewise.
13095         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13096         * debug/getgroups_chk.c: Likewise.
13097         * debug/mbsnrtowcs_chk.c: Likewise.
13098         * debug/mbsrtowcs_chk.c: Likewise.
13099         * debug/mbstowcs_chk.c: Likewise.
13100         * debug/memcpy_chk.c: Likewise.
13101         * debug/memmove_chk.c: Likewise.
13102         * debug/mempcpy_chk.c: Likewise.
13103         * debug/memset_chk.c: Likewise.
13104         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13105         * debug/strcat_chk.c (__strcat_chk): Likewise.
13106         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13107         * debug/strncat_chk.c (__strncat_chk): Likewise.
13108         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13109         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13110         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13111         * debug/wcpncpy_chk.c: Likewise.
13112         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13113         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13114         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13115         * debug/wcsncpy_chk.c: Likewise.
13116         * debug/wcsnrtombs_chk.c: Likewise.
13117         * debug/wcsrtombs_chk.c: Likewise.
13118         * debug/wcstombs_chk.c: Likewise.
13119         * debug/wmemcpy_chk.c: Likewise.
13120         * debug/wmemmove_chk.c: Likewise.
13121         * debug/wmempcpy_chk.c: Likewise.
13122         * debug/wmemset_chk.c: Likewise.
13123         * dirent/scandirat.c (SCANDIRAT): Likewise.
13124         * dlfcn/dladdr1.c (dladdr1): Likewise.
13125         * dlfcn/dladdr.c (dladdr): Likewise.
13126         * dlfcn/dlclose.c (dlclose_doit): Likewise.
13127         * dlfcn/dlerror.c (__dlerror): Likewise.
13128         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13129         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13130         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13131         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13132         * dlfcn/dlsym.c (dlsym_doit): Likewise.
13133         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13134         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13135         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13136         Likewise.
13137         * elf/dl-conflict.c: Likewise.
13138         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13139         * elf/dl-dst.h: Likewise.
13140         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13141         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13142         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13143         * elf/dl-init.c (call_init, _dl_init): Likewise.
13144         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13145         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13146         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13147         Likewise.
13148         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13149         Likewise.
13150         * elf/dl-minimal.c (__libc_memalign): Likewise.
13151         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13152         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13153         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13154         * elf/dl-sym.c (do_sym): Likewise.
13155         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13156         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13157         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13158         * elf/dl-writev.h (_dl_writev): Likewise.
13159         * elf/ldconfig.c (search_dir): Likewise.
13160         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13161         (dl_main): Likewise.
13162         * elf/setup-vdso.h (setup_vdso): Likewise.
13163         * grp/compat-initgroups.c (compat_call): Likewise.
13164         * grp/fgetgrent.c (fgetgrent): Likewise.
13165         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13166         * grp/putgrent.c (putgrent): Likewise.
13167         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13168         Likewise.
13169         * hurd/hurdinit.c: Likewise.
13170         * iconvdata/8bit-gap.c (struct): Likewise.
13171         * iconvdata/ansi_x3.110.c : Likewise.
13172         * iconvdata/big5.c : Likewise.
13173         * iconvdata/big5hkscs.c : Likewise.
13174         * iconvdata/cp1255.c: Likewise.
13175         * iconvdata/cp1258.c : Likewise.
13176         * iconvdata/cp932.c : Likewise.
13177         * iconvdata/euc-cn.c: Likewise.
13178         * iconvdata/euc-jisx0213.c : Likewise.
13179         * iconvdata/euc-jp.c: Likewise.
13180         * iconvdata/euc-jp-ms.c : Likewise.
13181         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13182         * iconvdata/gb18030.c : Likewise.
13183         * iconvdata/gbbig5.c (const): Likewise.
13184         * iconvdata/gbgbk.c: Likewise.
13185         * iconvdata/gbk.c : Likewise.
13186         * iconvdata/ibm1364.c : Likewise.
13187         * iconvdata/ibm930.c : Likewise.
13188         * iconvdata/ibm932.c: Likewise.
13189         * iconvdata/ibm933.c : Likewise.
13190         * iconvdata/ibm935.c : Likewise.
13191         * iconvdata/ibm937.c : Likewise.
13192         * iconvdata/ibm939.c : Likewise.
13193         * iconvdata/ibm943.c: Likewise.
13194         * iconvdata/iso_11548-1.c: Likewise.
13195         * iconvdata/iso-2022-cn.c : Likewise.
13196         * iconvdata/iso-2022-cn-ext.c : Likewise.
13197         * iconvdata/iso-2022-jp-3.c: Likewise.
13198         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13199         * iconvdata/iso-2022-kr.c : Likewise.
13200         * iconvdata/iso646.c (gconv_end): Likewise.
13201         * iconvdata/iso_6937-2.c : Likewise.
13202         * iconvdata/iso_6937.c : Likewise.
13203         * iconvdata/iso8859-1.c: Likewise.
13204         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13205         * iconvdata/shift_jisx0213.c : Likewise.
13206         * iconvdata/sjis.c : Likewise.
13207         * iconvdata/t.61.c : Likewise.
13208         * iconvdata/tcvn5712-1.c : Likewise.
13209         * iconvdata/tscii.c: Likewise.
13210         * iconvdata/uhc.c : Likewise.
13211         * iconvdata/unicode.c (gconv_end): Likewise.
13212         * iconvdata/utf-16.c (gconv_end): Likewise.
13213         * iconvdata/utf-32.c (gconv_end): Likewise.
13214         * iconvdata/utf-7.c (base64): Likewise.
13215         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13216         * iconv/gconv_close.c (__gconv_close): Likewise.
13217         * iconv/gconv_open.c (__gconv_open): Likewise.
13218         * iconv/gconv_simple.c (internal_ucs4_loop_single)
13219         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13220         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13221         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13222         (ucs4le_internal_loop_single): Likewise.
13223         * iconv/iconv.c (iconv): Likewise.
13224         * iconv/iconv_close.c: Likewise.
13225         * iconv/loop.c (SINGLE): Likewise.
13226         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13227         * include/atomic.h: Likewise.
13228         * inet/inet6_option.c (option_alloc): Likewise.
13229         * intl/bindtextdom.c (set_binding_values): Likewise.
13230         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13231         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13232         * intl/localealias.c (read_alias_file): Likewise.
13233         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13234         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13235         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13236         * libio/fmemopen.c (fmemopen): Likewise.
13237         * libio/iofgets.c (_IO_fgets): Likewise.
13238         * libio/iofgets_u.c (fgets_unlocked): Likewise.
13239         * libio/iofgetws.c (fgetws): Likewise.
13240         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13241         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13242         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13243         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13244         * locale/findlocale.c (_nl_find_locale): Likewise.
13245         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13246         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13247         Likewise.
13248         * locale/setlocale.c (setlocale): Likewise.
13249         * login/programs/pt_chown.c (main): Likewise.
13250         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13251         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13252         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13253         (mmap, mmap64, mremap, munmap): Likewise.
13254         * math/e_exp2l.c: Likewise.
13255         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13256         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13257         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13258         * math/s_catan.c (__catan): Likewise.
13259         * math/s_catanf.c (__catanf): Likewise.
13260         * math/s_catanh.c (__catanh): Likewise.
13261         * math/s_catanhf.c (__catanhf): Likewise.
13262         * math/s_catanhl.c (__catanhl): Likewise.
13263         * math/s_catanl.c (__catanl): Likewise.
13264         * math/s_ccosh.c (__ccosh): Likewise.
13265         * math/s_ccoshf.c (__ccoshf): Likewise.
13266         * math/s_ccoshl.c (__ccoshl): Likewise.
13267         * math/s_cexp.c (__cexp): Likewise.
13268         * math/s_cexpf.c (__cexpf): Likewise.
13269         * math/s_cexpl.c (__cexpl): Likewise.
13270         * math/s_clog10.c (__clog10): Likewise.
13271         * math/s_clog10f.c (__clog10f): Likewise.
13272         * math/s_clog10l.c (__clog10l): Likewise.
13273         * math/s_clog.c (__clog): Likewise.
13274         * math/s_clogf.c (__clogf): Likewise.
13275         * math/s_clogl.c (__clogl): Likewise.
13276         * math/s_csin.c (__csin): Likewise.
13277         * math/s_csinf.c (__csinf): Likewise.
13278         * math/s_csinh.c (__csinh): Likewise.
13279         * math/s_csinhf.c (__csinhf): Likewise.
13280         * math/s_csinhl.c (__csinhl): Likewise.
13281         * math/s_csinl.c (__csinl): Likewise.
13282         * math/s_csqrt.c (__csqrt): Likewise.
13283         * math/s_csqrtf.c (__csqrtf): Likewise.
13284         * math/s_csqrtl.c (__csqrtl): Likewise.
13285         * math/s_ctan.c (__ctan): Likewise.
13286         * math/s_ctanf.c (__ctanf): Likewise.
13287         * math/s_ctanh.c (__ctanh): Likewise.
13288         * math/s_ctanhf.c (__ctanhf): Likewise.
13289         * math/s_ctanhl.c (__ctanhl): Likewise.
13290         * math/s_ctanl.c (__ctanl): Likewise.
13291         * math/w_pow.c: Likewise.
13292         * math/w_powf.c: Likewise.
13293         * math/w_powl.c: Likewise.
13294         * math/w_scalb.c (sysv_scalb): Likewise.
13295         * math/w_scalbf.c (sysv_scalbf): Likewise.
13296         * math/w_scalbl.c (sysv_scalbl): Likewise.
13297         * misc/error.c (error_tail): Likewise.
13298         * misc/pselect.c (__pselect): Likewise.
13299         * nis/nis_callback.c (__nis_create_callback): Likewise.
13300         * nis/nis_call.c (__nisfind_server): Likewise.
13301         * nis/nis_creategroup.c (nis_creategroup): Likewise.
13302         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13303         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13304         * nis/nis_getservlist.c (nis_getservlist): Likewise.
13305         * nis/nis_lookup.c (nis_lookup): Likewise.
13306         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13307         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13308         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13309         * nis/nis_xdr.c (xdr_endpoint): Likewise.
13310         * nis/nss_compat/compat-grp.c (getgrent_next_file)
13311         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13312         * nis/nss_compat/compat-initgroups.c (add_group)
13313         (internal_getgrent_r): Likewise.
13314         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13315         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13316         * nis/nss_compat/compat-spwd.c (getspent_next_file)
13317         (internal_getspnam_r): Likewise.
13318         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13319         (_nss_nis_getaliasbyname_r): Likewise.
13320         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13321         (_nss_nis_getntohost_r): Likewise.
13322         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13323         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13324         (_nss_nis_getgrgid_r): Likewise.
13325         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13326         (internal_nis_gethostent_r, internal_gethostbyname2_r)
13327         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13328         (_nss_nis_gethostbyname4_r): Likewise.
13329         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13330         (initgroups_netid): Likewise.
13331         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13332         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13333         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13334         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13335         (_nss_nis_getprotobynumber_r): Likewise.
13336         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13337         (_nss_nis_getsecretkey): Likewise.
13338         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13339         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13340         (_nss_nis_getpwuid_r): Likewise.
13341         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13342         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13343         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13344         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13345         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13346         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13347         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13348         Likewise.
13349         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13350         (_nss_nisplus_getntohost_r): Likewise.
13351         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13352         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13353         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13354         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13355         Likewise.
13356         * nis/nss_nisplus/nisplus-initgroups.c
13357         (_nss_nisplus_initgroups_dyn): Likewise.
13358         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13359         (_nss_nisplus_getnetbyaddr_r): Likewise.
13360         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13361         (_nss_nisplus_getprotobynumber_r): Likewise.
13362         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13363         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13364         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13365         Likewise.
13366         * nis/nss_nisplus/nisplus-service.c
13367         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13368         (_nss_nisplus_getservbyport_r): Likewise.
13369         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13370         (_nss_nisplus_getspnam_r): Likewise.
13371         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13372         Likewise.
13373         * nscd/aicache.c (addhstaiX): Likewise.
13374         * nscd/cache.c (cache_search, prune_cache): Likewise.
13375         * nscd/connections.c (register_traced_file, send_ro_fd)
13376         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13377         (main_loop_epoll): Likewise.
13378         * nscd/grpcache.c (addgrbyX): Likewise.
13379         * nscd/hstcache.c (addhstbyX): Likewise.
13380         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13381         * nscd/mem.c (gc, mempool_alloc): Likewise.
13382         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13383         (addinnetgrX): Likewise.
13384         * nscd/nscd-client.h (__nscd_acquire_maplock)
13385         (__nscd_drop_map_ref): Likewise.
13386         * nscd/nscd_getai.c (__nscd_getai): Likewise.
13387         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13388         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13389         Likewise.
13390         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13391         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13392         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13393         (__nscd_get_map_ref): Likewise.
13394         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13395         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13396         Likewise.
13397         * nscd/pwdcache.c (addpwbyX): Likewise.
13398         * nscd/selinux.c (preserve_capabilities): Likewise.
13399         * nscd/servicescache.c (addservbyX): Likewise.
13400         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13401         * posix/fnmatch.c (fnmatch): Likewise.
13402         * posix/getopt.c (_getopt_internal_r): Likewise.
13403         * posix/glob.c (glob, glob_in_dir): Likewise.
13404         * posix/wordexp.c (exec_comm_child): Likewise.
13405         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13406         (getanswer_r, gaih_getanswer_slice): Likewise.
13407         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13408         * resolv/res_init.c: Likewise.
13409         * resolv/res_mkquery.c (res_nmkquery): Likewise.
13410         * resolv/res_query.c (__libc_res_nquery): Likewise.
13411         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13412         Likewise.
13413         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13414         * stdio-common/perror.c (perror): Likewise.
13415         * stdio-common/printf_fp.c (___printf_fp): Likewise.
13416         * stdio-common/tmpnam.c (tmpnam): Likewise.
13417         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13418         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13419         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13420         Likewise.
13421         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13422         * stdlib/putenv.c (putenv): Likewise.
13423         * stdlib/setenv.c (__add_to_environ): Likewise.
13424         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13425         * stdlib/strtol_l.c (INTERNAL): Likewise.
13426         * string/memmem.c (memmem): Likewise.
13427         * string/strerror.c (strerror): Likewise.
13428         * string/strnlen.c (__strnlen): Likewise.
13429         * string/test-memmem.c (simple_memmem): Likewise.
13430         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13431         * sunrpc/pm_getport.c (__get_socket): Likewise.
13432         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13433         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13434         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13435         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13436         Likewise.
13437         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13438         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13439         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13440         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13441         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13442         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13443         Likewise.
13444         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13445         Likewise.
13446         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13447         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13448         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13449         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13450         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13451         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13452         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13453         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13454         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13455         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13456         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13457         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13458         Likewise.
13459         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13460         Likewise.
13461         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13462         Likewise.
13463         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13464         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13465         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13466         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13467         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13468         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13469         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13470         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13471         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13472         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13473         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13474         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13475         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13476         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13478         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13479         Likewise.
13480         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13481         Likewise.
13482         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13483         Likewise.
13484         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13485         Likewise.
13486         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13487         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13488         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13489         Likewise.
13490         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13491         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13492         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13493         * sysdeps/posix/sleep.c: Likewise.
13494         * sysdeps/posix/tempname.c: Likewise.
13495         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13496         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13497         Likewise.
13498         * sysdeps/powerpc/powerpc32/dl-machine.h
13499         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13500         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13501         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13502         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13503         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13504         Likewise.
13505         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13506         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13507         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13508         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13509         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13510         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13511         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13512         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13513         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13514         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13515         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13516         (elf_machine_lazy_rel): Likewise.
13517         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13518         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13519         (elf_machine_lazy_rel): Likewise.
13520         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13521         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13522         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13523         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13524         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13525         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13526         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13527         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13528         Likewise.
13529         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13530         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13531         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13532         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13533         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13534         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13535         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13536         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13537         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13538         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13539         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13540         Likewise.
13541         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13542         (__posix_fallocate64_l64): Likewise.
13543         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13544         (posix_fallocate): Likewise.
13545         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13546         Likewise.
13547         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13548         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13549         (getifaddrs_internal): Likewise.
13550         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13551         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13552         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13553         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13554         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13555         (__posix_fallocate64_l64): Likewise.
13556         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13557         Likewise.
13558         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13559         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13560         (__get_clockfreq): Likewise.
13561         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13562         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13563         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13566         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13567         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13568         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13569         Likewise.
13570         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13571         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13572         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13573         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13574         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13575         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13576         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13577         Likewise.
13578         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13579         (posix_fallocate): Likewise.
13580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13581         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13582         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13583         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13584         (elf_machine_rela, elf_machine_rela_relative)
13585         (elf_machine_lazy_rel): Likewise.
13586         * time/asctime.c (asctime_internal): Likewise.
13587         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13588         * time/tzset.c (__tzset_parse_tz): Likewise.
13589         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13590         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13591         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13592         * wcsmbs/wcsmbsload.h: Likewise.
13594         [BZ #15894]
13595         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13597         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13598         (arena_get2): Remove THREAD_STATS conditionals.
13599         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13600         (__malloc_stats, int): Likewise.
13602 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13604         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13605         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13607         * manual/setjmp.texi: Fix typos/grammar errors.
13609         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13610         Only return early when n is <= 0.  Delete unused return statement.
13612         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13613         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13614         * debug/tst-longjmp_chk3.c: New file.
13616         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13617         (test_main): Replace code with set_fortify_handler call.
13618         * debug/test-strcpy_chk.c: Likewise.
13619         * debug/tst-chk1.c: Likewise.
13620         * debug/tst-longjmp_chk.c: Likewise.
13621         * test-skeleton.c: Include fcntl.h & paths.h
13622         (set_fortify_handler): Define.
13624         * debug/tst-longjmp_chk.c: Add header comment and include
13625         ../test-skeleton.c.
13626         (do_test): Mark static.
13627         (TEST_FUNCTION): Define.
13629         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13630         (IP_PMTUDISC_INTERFACE): Likewise.
13631         (IP_MULTICAST_IF): Likewise.
13632         (IP_MULTICAST_TTL): Likewise.
13633         (IP_MULTICAST_LOOP): Likewise.
13634         (IP_ADD_MEMBERSHIP): Likewise.
13635         (IP_DROP_MEMBERSHIP): Likewise.
13636         (IP_UNBLOCK_SOURCE): Likewise.
13637         (IP_BLOCK_SOURCE): Likewise.
13638         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13639         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13640         (IP_MSFILTER): Likewise.
13641         (MCAST_JOIN_GROUP): Likewise.
13642         (MCAST_BLOCK_SOURCE): Likewise.
13643         (MCAST_UNBLOCK_SOURCE): Likewise.
13644         (MCAST_LEAVE_GROUP): Likewise.
13645         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13646         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13647         (MCAST_MSFILTER): Likewise.
13648         (IP_MULTICAST_ALL): Likewise.
13649         (IP_UNICAST_IF): Likewise.
13651         * timezone/Makefile: Delete $(have-ksh) check.
13652         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13653         * timezone/tzselect.ksh: Add +x mode bits.
13655         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13656         (ANON_INODE_FS_MAGIC): Likewise.
13657         (BDEVFS_MAGIC): Likewise.
13658         (BINFMTFS_MAGIC): Likewise.
13659         (BTRFS_TEST_MAGIC): Likewise.
13660         (CRAMFS_MAGIC_WEND): Likewise.
13661         (DEBUGFS_MAGIC): Likewise.
13662         (ECRYPTFS_SUPER_MAGIC): Likewise.
13663         (EXT3_SUPER_MAGIC): Likewise.
13664         (EXT4_SUPER_MAGIC): Likewise.
13665         (FUTEXFS_SUPER_MAGIC): Likewise.
13666         (HOSTFS_SUPER_MAGIC): Likewise.
13667         (HUGETLBFS_MAGIC): Likewise.
13668         (MINIX3_SUPER_MAGIC): Likewise.
13669         (MTD_INODE_FS_MAGIC): Likewise.
13670         (NILFS_SUPER_MAGIC): Likewise.
13671         (OPENPROM_SUPER_MAGIC): Likewise.
13672         (PIPEFS_MAGIC): Likewise.
13673         (PSTOREFS_MAGIC): Likewise.
13674         (QNX6_SUPER_MAGIC): Likewise.
13675         (RAMFS_MAGIC): Likewise.
13676         (REISERFS_SUPER_MAGIC_STRING): Likewise.
13677         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13678         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13679         (SECURITYFS_MAGIC): Likewise.
13680         (SELINUX_MAGIC): Likewise.
13681         (SMACK_MAGIC): Likewise.
13682         (SOCKFS_MAGIC): Likewise.
13683         (SQUASHFS_MAGIC): Likewise.
13684         (STACK_END_MAGIC): Likewise.
13685         (TMPFS_MAGIC): Likewise.
13686         (USBDEVICE_SUPER_MAGIC): Likewise.
13687         (V9FS_MAGIC): Likewise.
13688         (XENFS_SUPER_MAGIC): Likewise.
13689         (CRAMFS_MAGIC): Fix typo in comment.
13690         (EXT2_SUPER_MAGIC): Update comment.
13691         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13693 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
13695         * sysdeps/arm: Move directory from ports/sysdeps/arm.
13696         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13697         * sysdeps/unix/sysv/linux/arm: Move directory from
13698         ports/sysdeps/unix/sysv/linux/arm.
13699         * README: Update listing for arm-*-linux-gnueabi.
13701         * README: Remove mention of am33.
13703 2014-02-07  Roland McGrath  <roland@hack.frob.com>
13705         * bits/sigset.h (__sigemptyset): Use a statement expression rather
13706         than the comma operator, to avoid "rhs of comma has no effect"
13707         compiler warnings.
13708         (__sigfillset, __sigandset, __sigorset): Likewise.
13709         * include/signal.h (__sigemptyset): Likewise.
13710         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13712 2014-02-07  Allan McRae  <allan@archlinux.org>
13714         * version.h (RELEASE): Set to "development".
13715         (VERSION): Set to "2.19.90"
13716         * NEWS: Add 2.20 section.
13718 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
13720         [BZ #16529]
13721         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13723 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13725         * manual/contrib.texi: Update entry for Carlos O'Donell,
13726         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13728 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
13730         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13732         * sysdeps/unix/sysv/linux/kernel-features.h
13733         [__LINUX_KERNEL_VERSION >= 0x020621]
13734         (__ASSUME_PROC_PID_TASK_COMM): Define.
13736 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13738         [BZ #16398]
13739         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13740         conversion when destination buffer does not have enough space.
13741         * libio/tst-ftell-partial-wide.c: New test case.
13742         * libio/Makefile (tests): Add tst-ftell-partial-wide.
13744         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13745         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
13746         Leonard and Allan McRae.
13748 2014-02-04  David S. Miller  <davem@davemloft.net>
13750         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13751         32-bit.
13753 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13756         New file
13757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13758         New file
13759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13760         New file.
13761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13762         New file.
13763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13764         New file.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13766         New file.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13768         New file.
13769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13770         New file.
13771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13772         New file.
13773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13774         New file.
13775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13776         New file.
13777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13778         New file.
13779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13780         New file.
13782 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13784         * nptl/shlib-versions: Change powerpc*le start to 2.17.
13785         * shlib-versions: Likewise.
13787 2014-02-04  Roland McGrath  <roland@hack.frob.com>
13788             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13790         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13791         (abilist-pattern): New variable, set to %-le.abilist.
13793         * Makerules (abilist-pattern): New variable.
13794         (vpath): Use $(abilist-pattern) in place of %.abilist.
13795         (check-abi-% pattern rule): Likewise.
13796         (check-abi, update-abi): Likewise.
13798 2014-02-04  Eric Wong  <normalperson@yhbt.net>
13800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13802 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
13804         * manual/startup.texi: Add next, previous, and top entries for
13805         the `Program Arguments' and `Environment Variables' nodes.
13807 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
13809         * manual/macros.texi: Add comments before MTASC-safety macros.
13811         * manual/users.texi: Document MTASC-safety properties.
13813         * manual/threads.texi (pthread_key_create, pthread_key_delete)
13814         (pthread_getspecific, pthread_setspecific): Format with
13815         @deftypefun, and add @safety note.
13816         * manual/signal.texi: Move comments that analyze the above
13817         functions to their home place.
13819 2014-02-03  Allan McRae  <allan@archlinux.org>
13821         * po/sl.po: Update Slovenian translation from translation project.
13823 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
13825         * manual/time.texi (timegm): Add missing blank after @c.
13826         Reported by Joseph Myers <joseph@codesourcery.com>.
13828 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
13830         * manual/check-safety.sh: New.
13831         * manual/Makefile ($(objpfx)stamp-summary): Run it.
13833         * manual/terminal.texi: Document MTASC-safety properties.
13835         * manual/filesys.texi: Document MTASC-safety properties.
13837         * manual/errno.texi: Document MTASC-safety properties.
13839         * manual/intro.texi: Document safety identifiers and
13840         conditionals.
13842         * manual/string.texi (wcstok): Fix prototype.
13843         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13845         * manual/time.texi: Document MTASC-safety properties.
13847         * manual/string.texi: Document MTASC-safety properties.
13849         * manual/threads.texi: Document MTASC-safety properties.
13851         * manual/stdio.texi: Document MTASC-safety properties.
13853         * manual/syslog.texi: Document MTASC-safety properties.
13855         * manual/sysinfo.texi: Document MTASC-safety properties.
13857         * manual/startup.texi: Document MTASC-safety properties.
13859         * manual/socket.texi: Document MTASC-safety properties.
13861         * manual/signal.texi: Document MTASC-safety properties.
13863 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
13865         * manual/setjmp.texi: Document MTASC-safety properties.
13867         * manual/search.texi: Document MTASC-safety properties.
13869         * manual/resource.texi: Document MTASC-safety properties.
13871         * manual/process.texi: Document MTASC-safety properties.
13873         * manual/platform.texi: Document MTASC-safety properties.
13875         * manual/pipe.texi: Document MTASC-safety properties.
13877         * manual/pattern.texi: Document MTASC-safety properties.
13879         * manual/message.texi: Document MTASC-safety properties.
13881         [BZ #12751]
13882         * manual/memory.texi: Document MTASC-safety properties.
13884         * manual/math.texi: Document MTASC-safety properties.
13886         * manual/locale.texi: Document MTASC-safety properties.
13888         * manual/llio.texi: Document MTASC-safety properties.
13890         * manual/libdl.texi: New.
13892         * manual/lang.texi: Document MTASC-safety properties.
13894         * manual/job.texi: Document MTASC-safety properties.
13896         * manual/getopt.texi: Document MTASC-safety properties.
13898         * manual/ctype.texi: Document MTASC-safety properties.
13900 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
13902         [BZ #16046]
13903         * csu/libc-tls.c (static_map): Remove variable.
13904         (__libc_setup_tls): Use main executable's link map for TLS data.
13905         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13906         casing for LM_ID_BASE and GL(dl_nns).
13907         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13908         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
13909         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13910         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13911         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13912         member.
13913         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13914         l_phnum members.
13916 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
13918         * manual/debug.texi: Document MTASC-safety properties.
13920 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
13922         [BZ #16510]
13923         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13924         of __x86_64__ when disabling x87 inline functions.
13926 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
13928         * manual/charset.texi: Document MTASC-safety properties.
13930         * manual/crypt.texi: Document MTASC-safety properties.
13932         * manual/conf.texi: Document MTASC-safety properties.
13934         * manual/arith.texi: Document MTASC-safety properties.
13936         * manual/argp.texi: Document MTASC-safety properties.
13938         * manual/macros.texi: Introduce macros to document multi
13939         thread, asynchronous signal and asynchronous cancellation
13940         safety properties.
13941         * manual/intro.texi: Introduce the properties themselves.
13943 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13945         * sysdeps/sh/sh4/Makefile: New file.
13947 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
13949         * math/gen-libm-test.pl ($srcdir): New variable.
13950         ($auto_input): Use it.
13952 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13954         [BZ #16506]
13955         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13956         access beyond array bounds when parsing netgroups file.
13958         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13959         the old buffer before realloc.
13961 2014-01-27  Allan McRae  <allan@archlinux.org>
13963         * po/fr.po: Update French translation from translation project.
13965 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13967         * sysdeps/sh/libm-test-ulps: Regenerate.
13969 2014-01-24  David S. Miller  <davem@davemloft.net>
13971         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13973 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13975         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13976         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13978 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13980         [BZ #16474]
13981         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13982         string pointers after reallocation.
13984 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13986         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13987         __SH4A__ instead of __SH_FPU_ANY__.
13989 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13991         * sysdeps/sh/fpu_control.h: New file.
13992         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13993         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13994         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13995         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13996         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13997         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13998         * sysdeps/sh/sys/ucontext.h: Remove.
13999         * sysdeps/sh/sys: Remove directory.
14001 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14003         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14004         s390/sys/ucontext.h.
14005         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14006         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14008 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
14010         [BZ #15605]
14011         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14013 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14015         [BZ#16431]
14016         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14017         Adjust the vDSO correctly for internal calls.
14018         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14020 2014-01-20  Allan McRae  <allan@archlinux.org>
14022         * po/ca.po: Update Catalan translation from translation project.
14024 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
14026         * sysdeps/s390/sotruss-lib.c: New file.
14028 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14030         [BZ#16430]
14031         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14032         (__GI___gettimeofday): Alias for a different internal symbol to avoid
14033         local calls issues by not having a PLT stub required for IFUNC calls.
14034         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14036 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
14038         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14039         * math/test-fpucw-static.c: Likewise.
14041 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14043         [BZ #16453]
14044         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14046 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14048         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14049         implementation for powerpc.
14051 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
14053         [BZ #14782]
14054         * sysdeps/posix/system.c (__libc_system): Do not enable
14055         asynchronous cancellation.
14057 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14059         [BZ #16427]
14060         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14061         handling only for numbers special also in the IEEE case.
14063 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14065         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14067 2014-01-11  Allan McRae  <allan@archlinux.org>
14069         * po/bg.po: Update Bulgarian translation from translation project.
14071         * po/de.po: Update German translation from translation project.
14073 2014-01-10  Roland McGrath  <roland@hack.frob.com>
14075         * sysdeps/generic/gcc-compat.h: New file.
14077 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14079         * benchtests/asin-inputs: Correct slow inputs.
14080         * benchtests/acos-inputs: Likewise.
14082 2014-01-10  Allan McRae  <allan@archlinux.org>
14084         * po:sv.po: Update Swedish translation from translation project.
14086         * po/vi.po: Update Vietnamese translation from translation project.
14088         * po/eo.po: Update Esperanto translation from translation project.
14090         * po/cs.po: Update Czech translation from translation project.
14092         * po/nl.po: Update Dutch translation from translation project.
14094         * po/pl.po: Update Polish translation from translation project.
14096         * po/ru.po: Update Russian translation from translation project.
14098         * po/uk.po: Update Ukrainian translation from translation project.
14100 2014-01-08  Brooks Moses  <bmoses@google.com>
14102         * elf/dl-load.c: Fix comment typo.
14104 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
14106         * po/header.pot: Rename to...
14107         * po/pot.header: ... this.
14108         * po/Makefile: Use pot.header.
14110 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
14111             Maxim Kuvyrkov  <maxim@kugelworks.com>
14113         [BZ #16394]
14114         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14115         SRC and DEST against LEN.
14117 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14119         [BZ #16414]
14120         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14121         implementation.
14122         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14124 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14128 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
14130         [BZ #16408]
14131         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14132         for large positive arguments.
14134 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
14136         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14138         * math/auto-libm-test-in: Mark various tests with
14139         xfail-rounding:ldbl-128ibm.
14140         * math/auto-libm-test-out: Regenerated.
14142         [BZ #16407]
14143         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14144         Increase overflow threshold.
14146 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
14148         [BZ #14286]
14149         * stdio-common/vfprintf.c: Check for integer overflow.
14151 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14153         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14154         the first argument and return value of __tls_get_addr_internal.
14156 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14158         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14159         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14161 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14163         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14164         * sysdeps/s390/rtld-global-offsets.sym: New file.
14165         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14166         GLIBC_2.19 symbol.
14167         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14168         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14169         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14170         ... this.
14171         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14172         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14173         ... this.
14174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14175         Regenerate.
14176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14177         Regenerate.
14178         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14179         halfs of GPRs for high_gprs contexts.
14180         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14181         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
14182         field.
14183         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14184         uc_flags field.
14185         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14186         64 bit versions:
14187         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14188         for high GPRs (uc_high_gprs) and for future extensions
14189         (__reserved).
14190         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14191         for future extensions (__reserved).
14192         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14193         64 bit versions:
14194         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14195         SC_HIGHGPRS offset definition.
14196         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14197         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14199         * Versions.def: Add GLIBC_2.19 for libpthread.
14200         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14201         siglongjmp for libpthread with GLIBC_2.19 symver.
14202         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14203         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14204         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14205         * sysdeps/s390/__longjmp.c: New file.
14206         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14207         * sysdeps/s390/longjmp.c: New file.
14208         * sysdeps/s390/setjmp.S: New file.
14209         * sysdeps/s390/sigjmp.S: New file.
14210         * sysdeps/s390/v1-longjmp.c: New file.
14211         * sysdeps/s390/v1-setjmp.h: New file.
14212         * sysdeps/s390/v1-sigjmp.c: New file.
14213         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14214         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14215         GLIBC_2.19 version.
14216         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14217         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14218         versioned symbols for ____longjmp_chk.
14219         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14220         Likewise.
14221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14222         Regenerate.
14223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14224         Regenerate.
14225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14226         Regenerate.
14227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14228         Regenerate.
14229         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14230         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14231         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14232         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14233         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14234         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14235         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14236         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14237         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14238         * sysdeps/s390/rtld-__longjmp.c: New file.
14239         * sysdeps/s390/rtld-setjmp.S: New file.
14241 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
14243         [BZ #16400]
14244         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14245         Return -__logl (x) for small positive arguments without evaluating
14246         a polynomial.
14248 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
14250         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14251         Rename to ...
14252         (__ptrace_peeksiginfo_args): ... this.
14253         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14254         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14255         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14257 2014-01-06  Allan McRae  <allan@archlinux.org>
14259         * inet/netinet/in.h: Fix typo in comment.
14261 2014-01-05  Andreas Jaeger  <aj@suse.de>
14263         * sysdeps/i386/fpu/libm-test-ulps: Update.
14265 2014-01-05  Allan McRae  <allan@archlinux.org>
14267         * po/libc.pot: Regenerated.
14269         * malloc/memusagestat.c: Fix gettext call formatting.
14271 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
14273         * nscd/nscd.c: Improve usage() output.
14275 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
14277         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14278         * sysdeps/unix/sysv/linux/configure: Regenerated.
14279         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14280         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14282 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14284         [BZ #16390]
14285         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14286         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14288 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14290         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14291         extra tokens at end of #undef directive.
14292         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14293         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14294         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14296 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14298         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14300         * math/auto-libm-test-in: Mark various tests with
14301         xfail-rounding:ldbl-128ibm.
14302         * math/auto-libm-test-out: Regenerated.
14304 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
14306         [BZ #16386]
14307         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14308         numbers with subnormal high part when calculating exponent.
14310         [BZ #16385]
14311         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14312         fabs.
14314         [BZ #16384]
14315         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14316         M_LN2l.
14317         (__ieee754_acoshl): Use __log1pl not __log1p.
14319 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
14321         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14322         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14323         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14324         (grow_heap, heap_trim, _int_new_arena, get_free_list)
14325         (reused_arena, arena_get2): Convert to GNU style.
14326         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14327         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14328         (memalign_check, __malloc_set_state): Likewise.
14329         * malloc/mallocbug.c (main): Likewise.
14330         * malloc/malloc.c (__malloc_assert, malloc_init_state)
14331         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14332         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14333         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14334         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14335         (__posix_memalign, malloc_info): Likewise.
14336         * malloc/malloc.h: Likewise.
14337         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14338         (mallochook, memalignhook, reallochook, mabort): Likewise.
14339         * malloc/mcheck.h: Likewise.
14340         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14341         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14342         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14343         * malloc/morecore.c (__default_morecore): Likewise.
14344         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14345         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14346         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14347         (print_and_abort): Likewise.
14348         * malloc/obstack.h: Likewise.
14349         * malloc/set-freeres.c (__libc_freeres): Likewise.
14350         * malloc/tst-mallocstate.c (main): Likewise.
14351         * malloc/tst-mtrace.c (main): Likewise.
14352         * malloc/tst-realloc.c (do_test): Likewise.
14354 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14356         [BZ #16366]
14357         * nscd/netgroupcache.c (do_notfound): New function.
14358         (addgetnetgrentX): Use it.
14360         [BZ # 16365]
14361         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14362         NSS_STATUS_NOTFOUND.
14364 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
14366         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14369 2014-01-01  Allan McRae  <allan@archlinux.org>
14371         * scripts/update-copyrights: Update configure input file suffix.
14373         * NEWS: Update copyright year.
14374         * catgets/gencat.c: Likewise.
14375         * csu/version.c: Likewise.
14376         * debug/catchsegv.sh: Likewise.
14377         * debug/pcprofiledump.c: Likewise.
14378         * debug/xtrace.sh: Likewise.
14379         * elf/ldconfig.c: Likewise.
14380         * elf/ldd.bash.in: Likewise.
14381         * elf/pldd.c: Likewise.
14382         * elf/sotruss.ksh: Likewise.
14383         * elf/sprof.c: Likewise.
14384         * iconv/iconv_prog.c: Likewise.
14385         * iconv/iconvconfig.c: Likewise.
14386         * locale/programs/locale.c: Likewise.
14387         * locale/programs/localedef.c: Likewise.
14388         * login/programs/pt_chown.c: Likewise.
14389         * malloc/memusage.sh: Likewise.
14390         * malloc/memusagestat.c: Likewise.
14391         * malloc/mtrace.pl: Likewise.
14392         * manual/libc.texinfo: Likewise.
14393         * nscd/nscd.c: Likewise.
14394         * nss/getent.c: Likewise.
14395         * nss/makedb.c: Likewise.
14396         * posix/getconf.c: Likewise.
14397         * scripts/test-installation.pl: Likewise.
14399         * All files with FSF copyright notices: Update copyright dates
14400         using scripts/update-copyrights.
14401         * intl/plural.c: Regenerated.
14402         * locale/programs/charmap-kw.h: Likewise.
14403         * locale/programs/locfile-kw.h: Likewise.
14405 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
14407         * sysdeps/unix/sysv/linux/configure: Regenerated.
14408         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14409         the linux/fanotify.h header.
14410         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14411         HAVE_LINUX_FANOTIFY_H is defined.
14413 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14415         * benchtests/cos-inputs: New inputs.
14416         * benchtests/sin-inputs: Likewise.
14418         * benchtests/atan-inputs: New inputs. Fix name of multiple
14419         precision fallback inputs.
14421         * benchtests/atanh-inputs: New inputs.
14422         * benchtests/tanh-inputs: Likewise.
14424         * benchtests/acosh-inputs: New inputs.
14425         * benchtests/asinh-inputs: Likewise.
14427         * benchtests/cosh-inputs: New inputs.
14428         * benchtests/sinh-inputs: Likewise.
14430         * benchtests/acos-inputs: Add more inputs.
14431         * benchtests/asin-inputs: Likewise.
14433 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
14435         [BZ #16375]
14436         * manual/arith.texi: Fix spelling.
14437         * manual/charset.texi: Likewise.
14438         * manual/errno.texi: Likewise.
14439         * manual/filesys.texi: Likewise.
14440         * manual/lang.texi: Likewise.
14441         * manual/llio.texi: Likewise.
14442         * manual/locale.texi: Likewise.
14443         * manual/message.texi: Likewise.
14444         * manual/resource.texi: Likewise.
14445         * manual/search.texi: Likewise.
14446         * manual/setjmp.texi: Likewise.
14447         * manual/stdio.texi: Likewise.
14448         * manual/string.texi: Likewise.
14449         * manual/sysinfo.texi: Likewise.
14450         * manual/time.texi: Likewise.
14452 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
14454         * po/sl.po: New file.
14456 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
14458         * .gitignore: Add core/.gdbinit/.gdb_history.
14460 2013-12-27  Allan McRae  <allan@archlinux.org>
14462         [BZ #16369]
14463         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14464         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14466 2013-12-24  Brooks Moses  <bmoses@google.com>
14468         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14469         all compilers that claim C++98 compliance, not just GCC.
14470         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14471         Likewise.
14473 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14475         * NEWS: Restore accidentally deleted bug-fix entries.
14477 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14478             Ondřej Bílka  <neleai@seznam.cz>
14480         [BZ #15073]
14481         * malloc/malloc.c (_int_free): Perform sanity check only if we
14482         have_lock.
14484 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14486         [BZ #12986]
14487         * manual/stdio.texi (String Input Conversions): Clarify that character
14488         classes are not supported.
14490 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14494 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14496         [BZ #16337]
14497         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14498         Calculate results for small negative arguments directly rather
14499         than using reflection formula with special underflow handling.
14501         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14502         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14503         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14504         (fchflags): Likewise.
14505         (revoke): Likewise.
14506         (setlogin): Likewise.
14507         (sigaltstack): Likewise.
14508         (wait4): Likewise.
14509         (sigblock): Remove.
14510         (sigsetmask): Likewise.
14511         (wait3): Likewise.
14512         (waitpid): Likewise.
14513         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14514         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14515         file.
14516         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14517         * sysdeps/unix/bsd/Makefile: ... here.
14518         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14519         * sysdeps/unix/bsd/Versions: ... here.
14520         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14521         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14522         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14523         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14524         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14525         * sysdeps/unix/bsd/sigblock.c: ... here.
14526         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14527         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14528         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14529         * sysdeps/unix/bsd/sigvec.c: ... here.
14530         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14531         * sysdeps/unix/bsd/tcdrain.c: ... here.
14532         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14533         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14534         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14535         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14536         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14537         * sysdeps/unix/bsd/wait.c: ... here.
14538         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14539         * sysdeps/unix/bsd/wait3.c: ... here.
14540         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14541         * sysdeps/unix/bsd/waitpid.c: ... here.
14543 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14545         [BZ #16356]
14546         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14547         round-to-nearest for [!USE_AS_EXPM1L].
14548         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14549         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14550         more tests of exp and exp10.  Expect some exp10 tests to miss
14551         exceptions or fail in directed rounding modes.
14552         * math/auto-libm-test-out: Regenerated.
14553         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14554         (exp10_test_tonearest): New function.
14555         (exp10_towardzero_test_data): New array.
14556         (exp10_test_towardzero): New function.
14557         (exp10_downward_test_data): New array.
14558         (exp10_test_downward): New function.
14559         (exp10_upward_test_data): New array.
14560         (exp10_test_upward): New function.
14561         (main): Call the new functions.
14562         * sysdeps/i386/fpu/libm-test-ulps: Update.
14563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14565 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14567         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14568         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14569         * math/auto-libm-test-out: Regenerated.
14570         * math/libm-test.inc (acosh_test_data): Add more tests.
14571         (atanh_test_data): Likewise.
14572         (ceil_test_data): Likewise.
14573         (copysign_test_data): Likewise.
14574         * sysdeps/i386/fpu/libm-test-ulps: Update.
14575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14577         * timezone/checktab.awk: Update from tzcode 2013i.
14578         * timezone/private.h: Likewise.
14579         * timezone/scheck.c: Likewise.
14580         * timezone/tzfile.h: Likewise.
14581         * timezone/tzselect.ksh: Likewise.
14582         * timezone/zdump.c: Likewise.
14583         * timezone/zic.c: Likewise.
14585         * math/auto-libm-test-in: Add tests of cpow.
14586         * math/auto-libm-test-out: Regenerated.
14587         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14588         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14589         mpc_cc_c.
14590         (func_calc_desc): Add mpc_cc_c union field.
14591         (test_functions): Add cpow.
14592         (special_fill_2pi): New function.
14593         (special_real_inputs): Add 2pi.
14594         (calc_generic_results): Handle mpc_cc_c.
14595         * sysdeps/i386/fpu/libm-test-ulps: Update.
14596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14598         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14599         csqrt, ctan and ctanh.
14600         * math/auto-libm-test-out: Regenerated.
14601         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14602         (TEST_COND_x86): Likewise.
14603         (ccos_test_data): Use AUTO_TESTS_c_c.
14604         (ccosh_test_data): Likewise.
14605         (cexp_test_data): Likewise.
14606         (clog_test_data): Likewise.
14607         (csqrt_test_data): Likewise.
14608         (ctan_test_data): Likewise.
14609         (ctan_tonearest_test_data): Likewise.
14610         (ctan_towardzero_test_data): Likewise.
14611         (ctan_downward_test_data): Likewise.
14612         (ctan_upward_test_data): Likewise.
14613         (ctanh_test_data): Likewise.
14614         (ctanh_tonearest_test_data): Likewise.
14615         (ctanh_towardzero_test_data): Likewise.
14616         (ctanh_downward_test_data): Likewise.
14617         (ctanh_upward_test_data): Likewise.
14618         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14619         mpc_c_c.
14620         (func_calc_desc): Add mpc_c_c union field.
14621         (FUNC_mpc_c_c): New macro.
14622         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14623         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14624         ctanh.
14625         (special_fill_min_subnorm_p120): New function.
14626         (special_real_inputs): Add min_subnorm_p120.
14627         (calc_generic_results): Handle mpc_c_c.
14628         * sysdeps/i386/fpu/libm-test-ulps: Update.
14629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14631 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14633         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14634         (do_sin_slow): New functions.
14635         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14636         (cslow2, csloww1, csloww2): Use the new functions.
14638         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14639         Use M to change sign of result instead of X.  Assume X is
14640         positive.
14641         (csloww1): Likewise.
14642         (__sin): Adjust.
14643         (__cos): Adjust.
14645         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14646         arguments A and DA.
14647         (__sin): Adjust.
14648         (__cos): Likewise.
14650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14651         (__cos): Likewise.
14652         (sloww1): Don't adjust sign of DX.
14653         (csloww1): Likewise.
14654         (sloww2): Use X directly and don't adjust sign of DX.
14655         (csloww2): Likewise.
14657 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14659         * math/auto-libm-test-in: Add tests of cabs and carg.
14660         * math/auto-libm-test-out: Regenerated.
14661         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14662         (carg_test_data): Likewise.
14663         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14664         mpc_c_f.
14665         (func_calc_desc): Add mpc_c_f union field.
14666         (test_functions): Add cabs and carg.
14667         (calc_generic_results): Handle mpc_c_f.
14669         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14670         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14671         as a macro and a compat symbol.
14672         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14673         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14674         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14675         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14676         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14677         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14678         not use .hidden.
14679         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14680         Likewise.
14681         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14682         Likewise.
14683         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14684         Likewise.
14685         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14686         Likewise.
14687         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14688         Likewise.
14689         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14690         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14691         from GLIBC_2.3.2.
14693 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14697 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14699         * manual/texinfo.tex: Update to version 2013-11-26.10 with
14700         trailing whitespace removed.
14701         * scripts/config.guess: Update to version 2013-11-29.
14702         * scripts/config.sub: Update to version 2013-10-01.
14704         * math/auto-libm-test-in: Add tests of sincos.
14705         * math/auto-libm-test-out: Regenerated.
14706         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14708         mpfr_f_11.
14709         (func_calc_desc): Add mpfr_f_11 union field.
14710         (test_functions): Add sincos.
14711         (calc_generic_results): Handle mpfr_f_11.
14712         * sysdeps/i386/fpu/libm-test-ulps: Update.
14713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14715 2013-12-19  Andreas Schwab  <schwab@suse.de>
14717         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14718         CALL_MCOUNT.
14719         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14720         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14721         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14723 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14725         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14726         * sysdeps/i386/fpu/libm-test-ulps: Update.
14727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14729         [BZ #16293]
14730         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14731         round-to-nearest mode when using frndint.
14732         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14733         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14734         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14735         Likewise.
14736         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
14737         sinh test to fail.
14738         * math/auto-libm-test-out: Regenerated.
14739         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14740         (TEST_COND_x86): Likewise.
14741         (expm1_tonearest_test_data): New array.
14742         (expm1_test_tonearest): New function.
14743         (expm1_towardzero_test_data): New array.
14744         (expm1_test_towardzero): New function.
14745         (expm1_downward_test_data): New array.
14746         (expm1_test_downward): New function.
14747         (expm1_upward_test_data): New array.
14748         (expm1_test_upward): New function.
14749         (main): Run the new test functions.
14750         * sysdeps/i386/fpu/libm-test-ulps: Update.
14751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14753         * include/features.h: Update comment documenting feature test
14754         macros.  Mention _DEFAULT_SOURCE in comment.
14755         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14756         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14757         _BSD_SOURCE and _SVID_SOURCE.
14758         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14759         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14760         !_SVID_SOURCE]: Likewise.
14761         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14762         (__USE_POSIX_IMPLICITLY): Define.
14763         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14764         (_POSIX_SOURCE): Undefine and redefine.
14765         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14766         (_POSIX_C_SOURCE): Likewise.
14767         * manual/creature.texi (_DEFAULT_SOURCE): Document.
14768         (Feature Test Macros): Update documentation of default features.
14770 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14772         * benchtests/Makefile: Add bench-strtok.
14773         * benchtests/bench-strtok.c: New file: strtok benchtest.
14775 2013-12-19  Allan McRae  <allan@archlinux.org>
14777         * manual/install.texi: Suppress menu for plain text output.
14778         * INSTALL: Regenerated.
14780 2013-12-18  Brooks Moses  <bmoses@google.com>
14782         [BZ #15846]
14783         * misc/getauxval.c: Include errno.h.
14784         (__getauxval): Set errno to ENOENT if the requested type is not
14785         found.
14786         * misc/sys/auxv.h (getauxval): Document that it may set errno;
14787         don't declare with __attribute_const__.
14788         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14789         * manual/startup.texi: Document that getauxval sets errno.
14791 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14793         * math/auto-libm-test-in: Add tests of jn and yn.
14794         * math/auto-libm-test-out: Regenerated.
14795         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14796         (yn_test_data): Likewise.
14797         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14798         mpfr_if_f.
14799         (func_calc_desc): Add mpfr_if_f union field.
14800         (FUNC_mpfr_if_f): New macro.
14801         (test_functions): Add jn and yn.
14802         (calc_generic_results): Assert type of second input for
14803         mpfr_ff_f.  Handle mpfr_if_f.
14804         (output_for_one_input_case): Disable all checking for arguments
14805         fitting floating-point types in case of an integer argument.
14806         * sysdeps/i386/fpu/libm-test-ulps: Update.
14807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14810         Don't expect fegetround reference in libm.so.
14812 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14814         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14815         $(config-cflags-nofma).
14817 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14819         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14820         * math/auto-libm-test-out: Regenerated.
14822         [BZ #16338]
14823         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14824         to determine exponent and adjust argument to have exponent of -1.
14825         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14826         log2.
14827         * math/auto-libm-test-out: Regenerated.
14828         * sysdeps/i386/fpu/libm-test-ulps: Update.
14829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14831 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
14833         * manual/probes.texi: Remove cases when per-thread arenas are
14834         disabled.
14836 2013-12-18  Andreas Schwab  <schwab@suse.de>
14838         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14839         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14840         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14841         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14842         * sysdeps/i386/i686/multiarch/Makefile: Update.
14843         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14845 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14847         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14848         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14850 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
14852         [BZ #15968]
14853         Support TZ transition times < 00:00:00.
14854         This is needed for version-3 tz-format files; it supports time
14855         stamps past 2037 for America/Godthab (the only entry in the tz
14856         database for which this change is relevant).
14857         * manual/time.texi (TZ Variable): Document transition times
14858         from -167:59:59 through -00:00:01.
14859         * time/tzset.c (tz_rule): Time of day is now signed.
14860         (__tzset_parse_tz): Parse negative time of day.
14862         Document TZ transition times >= 25:00:00.
14863         * manual/time.texi (TZ Variable): Document transition times from
14864         25:00:00 through 167:59:59.  These are already supported, and this
14865         support will help with version-3 tz-format files.
14867         * manual/time.texi (TZ Variable): Modernize North America example
14868         to reflect current (i.e., 2007-and-later) daylight saving rules.
14870         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14872 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14874         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14875         * sysdeps/unix/bsd/bits/stat.h: Likewise.
14876         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14877         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14878         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14879         * sysdeps/unix/bsd/bsdstat.h: Likewise.
14880         * sysdeps/unix/bsd/clock.c: Likewise.
14881         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14882         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14883         * sysdeps/unix/bsd/init-posix.c: Likewise.
14884         * sysdeps/unix/bsd/poll.c: Likewise.
14885         * sysdeps/unix/bsd/ptsname.c: Likewise.
14886         * sysdeps/unix/bsd/seekdir.c: Likewise.
14887         * sysdeps/unix/bsd/setegid.c: Likewise.
14888         * sysdeps/unix/bsd/seteuid.c: Likewise.
14889         * sysdeps/unix/bsd/setgid.c: Likewise.
14890         * sysdeps/unix/bsd/setrgid.c: Likewise.
14891         * sysdeps/unix/bsd/setruid.c: Likewise.
14892         * sysdeps/unix/bsd/setsid.c: Likewise.
14893         * sysdeps/unix/bsd/setuid.c: Likewise.
14894         * sysdeps/unix/bsd/sigaction.c: Likewise.
14895         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14896         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14897         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14898         * sysdeps/unix/bsd/telldir.c: Likewise.
14899         * sysdeps/unix/bsd/times.c: Likewise.
14900         * sysdeps/unix/bsd/usleep.c: Likewise.
14902         * misc/Makefile (install-lib): Remove libbsd-compat.a.
14903         ($(objpfx)libbsd-compat.a): Remove rule.
14905         * include/features.h (__FAVOR_BSD): Do not define.
14906         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14907         features conflicting with POSIX.
14908         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14909         (_BSD_SOURCE): Remove description of not being a subset of other
14910         feature test macros.
14911         * manual/job.texi (getpgrp): Do not document BSD version.
14912         (getpgid): Do not document by reference to BSD getpgrp.
14913         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14914         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14915         * signal/signal.h [__FAVOR_BSD]: Likewise.
14916         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14917         instead of making contents conditional on [__FAVOR_BSD].
14918         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14920 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14924 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14926         [BZ #16314]
14927         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14928         values below 2**-450, not 2**-500.
14929         * math/auto-libm-test-in: Don't allow spurious underflow from
14930         hypot.
14931         * math/auto-libm-test-out: Regenerated.
14933         [BZ #16316]
14934         [BZ #16330]
14935         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14936         values of ha and hb and sort them after adjusting subnormal
14937         arguments.
14938         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14939         Likewise.
14940         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14941         values of ea and eb and sort them after adjusting subnormal
14942         arguments.
14943         * math/auto-libm-test-in: Do not expect some hypot tests of
14944         subnormals to fail.  Add more hypot tests.
14945         * math/auto-libm-test-out: Regenerated.
14947 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14949         [BZ #13304]
14950         * sysdeps/sh/s_fma.c: New file.
14951         * sysdeps/sh/s_fmaf.c: New file.
14952         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
14953         version.
14954         * sysdeps/sh/Implies: Add sh/soft-fp.
14956 2013-12-16  Roland McGrath  <roland@hack.frob.com>
14958         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
14959         level of indirection to members `objname', `errstring', `malloced'.
14960         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14961         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
14962         it as the __longjmp argument (just pass 1 instead).
14963         (_dl_catch_error): Initialize C with argument pointers and address of
14964         volatile local ERRCODE rather than copying values out of C at return.
14966 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
14968         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14969         * math/auto-libm-test-out: Regenerated.
14970         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14971         (hypot_test_data): Likewise.
14972         (pow_test_data): Likewise.
14973         (pow_tonearest_test_data): Likewise.
14974         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14975         mpfr_ff_f.
14976         (func_calc_desc): Add mpfr_ff_f union field.
14977         (FUNC_mpfr_ff_f): New macro.
14978         (test_functions): Add atan2, hypot and pow.
14979         (special_fill_min): New function.
14980         (special_fill_minus_min): Likewise.
14981         (special_fill_min_subnorm): Likewise.
14982         (special_fill_minus_min_subnorm): Likewise.
14983         (special_real_inputs): Add min, -min, min_subnorm and
14984         -min_subnorm.
14985         (calc_generic_results): Handle mpfr_ff_f.
14986         * sysdeps/i386/fpu/libm-test-ulps: Update.
14987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14989 2013-12-16  Will Newton  <will.newton@linaro.org>
14991         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14992         (Aligned Memory Blocks): Add documentation for aligned_alloc
14993         and suggest it as an alternative to posix_memalign.
14994         (Hooks for Malloc): Document __memalign_hook is also called
14995         for aligned_alloc.  (Summary of Malloc): Add summary for
14996         aligned alloc.  Document __memalign_hook is also called
14997         for aligned_alloc.
14999 2013-12-16  Will Newton  <will.newton@linaro.org>
15001         * manual/memory.texi (Malloc Examples): Clarify default
15002         alignment documentation.  Suggest posix_memalign rather
15003         than memalign or valloc.
15004         (Aligned Memory Blocks): Remove suggestion to use memalign
15005         or valloc.  Remove obsolete comment about BSD.
15006         Document memalign errno values and mark the function obsolete.
15007         Document posix_memalign returned error codes.  Mark valloc
15008         as obsolete.  (Hooks for Malloc): __memalign_hook is also
15009         called for posix_memalign and valloc.
15010         (Summary of Malloc): Add posix_memalign to function summary.
15011         __memalign_hook is also called for posix_memalign and valloc.
15013 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15015         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15016         TAYLOR_SIN.
15017         (__sin): Adjust.
15018         (__cos): Likewise.
15019         (sloww): Use mynumber union.  Expand ternary operator into
15020         if-else statements.
15021         (cslow): use mynumber union.
15023 2013-12-16  Allan McRae  <allan@archlinux.org>
15025         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15026         * configure: Regenerated.
15028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15030         [BZ #14120]
15031         * configure.ac: Added --enable-maintainer-mode. Check for
15032         autoconf when enabled.
15033         * configure: Regenerated.
15035         * nscd/nscd.service: New file.
15036         * nscd/nscd.tmpfiles: New file.
15038 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
15040         [BZ #12100]
15041         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15042         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15043         * sysdeps/x86_64/multiarch/strstr.c: ... here.
15044         (strstr): Add __strstr_sse2_unaligned ifunc.
15045         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15046         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15047         (strcasestr): Remove __strcasestr_sse42 ifunc.
15048         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15052 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15054         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15055         * sysdeps/sh/bits/fenv.h: ... here.
15056         * sysdeps/sh/sh4/fpu/bits: Remove directory.
15058 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15060         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15063         hypotf multiarch implementations.
15064         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15065         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15066         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15067         multiarch hypot for PPC64.
15068         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15069         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15070         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15071         multiarch hypotf for PPC64.
15073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15074         modff multiarch implementations.
15075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15078         multiarch modf for PPC64.
15079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15082         multiarch modff for PPC64.
15084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15085         and logl multiarch implementations.
15086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15089         multiarch logb for PPC64.
15090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15093         multiarch logb for PPC64.
15094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15097         multiarch logb for PPC64.
15099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15100         isinff multiarch implementation.
15101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15102         file.
15103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15105         multiarch isinf for PPC64.
15106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15107         file.
15108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15109         multiarch isinff for PPC64.
15111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15112         finitef multiarch implementation.
15113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15114         file.
15115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15117         multiarch finite for PPC64.
15118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15119         file.
15120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15121         multiarch finitef for PPC64.
15123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15124         lrint multiarch implementation.
15125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15126         file.
15127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15129         multiarch llrint for PPC64.
15130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15131         multiarch lrint for PPC64.
15133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15134         copysignf multiarch implementation.
15135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15136         file.
15137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15138         file.
15139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15140         multiarch copysign for PPC64.
15141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15142         multiarch copysignf for PPC64.
15144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15145         multiarch implementation.
15146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15147         file.
15148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15149         file.
15150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15151         file.
15152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15153         file.
15154         multiarch llround for PPC64.
15155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15156         multiarch trunc for PPC64.
15157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15158         multiarch truncf for PPC64.
15160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15161         multiarch implementation.
15162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15163         file.
15164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15165         file.
15166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15167         file.
15168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15169         file.
15170         multiarch llround for PPC64.
15171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15172         multiarch round for PPC64.
15173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15174         multiarch roundf for PPC64.
15176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15177         multiarch implementation.
15178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15179         file.
15180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15181         file.
15182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15183         file.
15184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15185         file.
15186         multiarch llround for PPC64.
15187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15188         multiarch floor for PPC64.
15189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15190         multiarch floorf for PPC64.
15192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15193         multiarch implementation.
15194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15195         file.
15196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15197         file.
15198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15199         file.
15200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15201         file.
15202         multiarch llround for PPC64.
15203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15204         multiarch ceil for PPC64.
15205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15206         multiarch ceilf for PPC64.
15208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15209         multiarch implementation.
15210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15211         file.
15212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15213         file.
15214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15215         file.
15216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15217         multiarch llround for PPC64.
15218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15219         multiarch lround for PPC64.
15221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15222         multiarch implementation.
15223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15226         file.
15227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15230         multiarch isnan for PPC64.
15231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15232         multiarch isnanf for PPC64.
15234         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15235         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15236         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15237         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15238         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15241         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15242         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15243         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15244         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15247         multiarch implementations.
15248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15249         (__libc_ifunc_impl_list): Likewise.
15250         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15251         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15252         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15253         multiarch stpcpy for PPC64.
15255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15256         multiarch implementations.
15257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15258         (__libc_ifunc_impl_list): Likewise.
15259         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15260         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15261         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15262         multiarch strcpy for PPC64.
15264         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15265         redefine function name.
15266         (_wordcopy_fwd_dest_aligned): Likewise.
15267         (_wordcopy_bwd_aligned): Likewise.
15268         (_wordcopy_bwd_dest_aligned): Likewise.
15269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15270         multiarch implementations.
15271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15272         (__libc_ifunc_impl_list): Likewise.
15273         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15274         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15275         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15276         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15277         multiarch wcscpy for PPC64.
15279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15280         multiarch implementations.
15281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15282         (__libc_ifunc_impl_list): Likewise.
15283         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15284         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15285         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15286         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15287         multiarch wcscpy for PPC64.
15289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15290         multiarch implementations.
15291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15292         (__libc_ifunc_impl_list): Likewise.
15293         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15294         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15295         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15296         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15297         multiarch wcsrchr for PPC64.
15299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15300         multiarch implementations.
15301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15302         (__libc_ifunc_impl_list): Likewise.
15303         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15304         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15305         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15306         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15307         multiarch wcschr for PPC64.
15309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15310         multiarch implementations.
15311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15312         (__libc_ifunc_impl_list): Likewise.
15313         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15314         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15315         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15316         multiarch strchrnul for PPC64.
15318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15319         implementations.
15320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15321         (__libc_ifunc_impl_list): Likewise.
15322         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15323         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15324         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15325         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15326         strchr for PPC64.
15328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15329         implementations.
15330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15331         (__libc_ifunc_impl_list): Likewise.
15332         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15333         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15334         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15335         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15336         strncmp for PPC64.
15338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15339         multiarch implementations.
15340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15341         (__libc_ifunc_impl_list): Likewise.
15342         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15343         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15344         strncasecmp for PPC64.
15345         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15346         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15347         multiarch strncasecmp_l for PPC64.
15349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15350         multiarch implementations.
15351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15352         (__libc_ifunc_impl_list): Likewise.
15353         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15354         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15355         multiarch strcasecmp for PPC64.
15356         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15357         file.
15358         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15359         multiarch strcasecmp_l for PPC64.
15361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15362         implementations.
15363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15364         (__libc_ifunc_impl_list): Likewise.
15365         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15366         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15367         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15368         strnlen for PPC64.
15370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15371         implementations.
15372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15373         (__libc_ifunc_impl_list): Likewise.
15374         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15375         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15376         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15377         strlen for PPC64.
15379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15380         implementations.
15381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15382         (__libc_ifunc_impl_list): Likewise.
15383         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15384         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15385         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15386         rawmemrchr for PPC64.
15388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15389         implementation.
15390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15391         (__libc_ifunc_impl_list): Likewise.
15392         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15393         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15394         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15395         memrchr for PPC64.
15397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15398         implementation.
15399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15400         (__libc_ifunc_impl_list): Likewise.
15401         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15402         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15403         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15404         memchr for PPC64.
15406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15407         implementation.
15408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15409         (__libc_ifunc_impl_list): Likewise.
15410         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15411         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15412         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15413         mempcpy for PPC64.
15415         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15416         avoid cretion of __bzero symbol.
15417         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15418         Likewise.
15419         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15420         Likewise.
15421         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15422         Likewise.
15423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15424         multiarch implementations.
15425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15426         (__libc_ifunc_impl_list): Likewise.
15427         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15428         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15429         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15430         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15431         bzero for PPC32.
15432         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15433         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15434         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15435         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15436         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15437         memset for PPC64.
15438         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15440         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15442         implementations.
15443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15444         (__libc_ifunc_impl_list): Likewise.
15445         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15446         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15447         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15448         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15449         memcmp for PPC64.
15451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15452         multiarch for POWER/PPC64.
15453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15454         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15455         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15456         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15457         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15458         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15459         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15460         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15461         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15462         memcpy for PPC64.
15464         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15465         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15466         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15467         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15468         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15469         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15470         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15471         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15472         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15473         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15474         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15475         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15476         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15477         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15478         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15487 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15489         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15491 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15493         * benchtests/Makefile (bench): Add exp2 and log2.
15494         (LDLIBS-bench-exp2): Add -lm.
15495         (LDLIBS-bench-log2): Likewise.
15496         * benchtests/exp2-inputs: New inputs file.
15497         * benchtests/log2-inputs: New inputs file.
15498         * benchtests/log-inputs: Add new inputs.
15499         * benchtests/tan-inputs: Likewise.
15501 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15503         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15504         definition...
15505         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15506         (csloww2): ... from here.
15508         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15509         instead of structures.
15510         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15511         (POLYNOMIAL): Likewise.
15512         (TAYLOR_SLOW): Likewise.
15513         (__sin): Likewise.
15514         (__cos): Likewise.
15515         (slow1): Likewise.
15516         (slow2): Likewise.
15517         (sloww): Likewise.
15518         (sloww1); Likewise.
15519         (sloww2): Likewise.
15520         (bsloww1): Likewise.
15521         (bsloww2): Likewise.
15522         (cslow2): Likewise.
15523         (csloww): Likewise.
15524         (csloww1): Likewise.
15525         (csloww2): Likewise.
15527 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15529         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15530         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15531         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15532         * malloc/hooks.c (realloc_check): Likewise.
15534         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15535         * malloc/arena.c: Remove PER_THREAD conditional.
15536         [!PER_THREAD]: Remove code.
15537         (ptmalloc_unlock_all2): Likewise.
15538         (ptmalloc_init): Likewise.
15539         (_int_new_arena): Likewise.
15540         (arena_get2): Likewise.
15541         * malloc/hooks.c (__malloc_get_state): Likewise.
15542         (__malloc_set_state): Likewise.
15543         * malloc/malloc.c: Likewise.
15544         (struct malloc_state): Likewise.
15545         (struct malloc_par): Likewise.
15546         (__libc_realloc): Likewise.
15547         (__libc_mallopt): Likewise.
15549 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15551         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15553 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15555         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15556         macro to a function.  Check for zero perturb_byte.
15557         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15559         * malloc/malloc.c: (force_reg): Remove.
15560         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15561         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15562         force_reg by atomic_forced_read.
15563         * malloc/arena.c (ptmalloc_init): Likewise.
15564         * malloc/hooks.c (top_check): Likewise.
15566 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15570 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15574 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15576         * math/auto-libm-test-in: Add tests of lgamma.
15577         * math/auto-libm-test-out: Regenerated.
15578         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15579         (M_LOG_2_SQRT_PIl): Likewise.
15580         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15581         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15582         mpfr_f_f1.
15583         (func_calc_desc): Add mpfr_f_f1 union field.
15584         (ARGS1): New macro.
15585         (ARGS2): Likewise.
15586         (ARGS3): Likewise.
15587         (ARGS4): Likewise.
15588         (RET1): Likewise.
15589         (RET2): Likewise.
15590         (CALC): Likewise.
15591         (FUNC): Likewise.
15592         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15593         (test_functions): Add lgamma.
15594         (calc_generic_results): Handle mpfr_f_f1.
15595         * sysdeps/i386/fpu/libm-test-ulps: Update.
15596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15598 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15600         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15601         __mpn_add_n for PowerPC64/POWER7.
15602         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15603         __mpn_sub_n for PowerPC64/POWER7.
15605         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15606         __mpn_addmul_1 for PowerPC64.
15607         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15608         __mpn_submul_1 for PowerPC64.
15609         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15610         for PowerPC64.
15611         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15612         for PowerPC64.
15614 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15616         [BZ #15089]
15617         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15619 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15621         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15623         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15624         add multiarch folders.
15625         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15626         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15627         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15628         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15629         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15630         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15631         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15632         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15633         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15634         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15635         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15644         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15646         New file.
15647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15648         New file.
15649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15650         multiarch __ieee754_hypot for PowerPC32.
15651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15652         New file.
15653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15654         New file.
15655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15656         multiarch __ieee754_hypotf for PowerPC32.
15658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15659         long_double_symbol only if __logbl is defined.
15660         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15661         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15663         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15664         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15665         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15666         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15667         path for implementation.
15668         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15669         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15671         logb, and logbl multiarch implementations for PowerPC32.
15672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15673         file.
15674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15675         file.
15676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15677         multiarch logb for PowerPC32.
15678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15679         file.
15680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15681         file.
15682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15683         multiarch logbf for PowerPC32.
15684         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15686         file.
15687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15688         multiarch logbl implementation for PowerPC32.
15690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15691         and modff multiarch implementations.
15692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15693         New file.
15694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15695         New file.
15696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15697         multiarch modf for PowerPC32.
15698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15699         New file.
15700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15701         New file.
15702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15703         multiarch modff for PowerPC32.
15705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15706         and lrintf multiarch implementations.
15707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15708         New file.
15709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15710         New file.
15711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15712         multiarch lrint for PowerPC32.
15713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15714         file: multiarch lrintf for PowerPC32.
15716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15717         and lroundf multiarch implementations.
15718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15719         New file.
15720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15721         New file.
15722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15723         New file.
15724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15725         multiarch lround for PowerPC32.
15726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15727         file: multiarch lroundf for PowerPC32.
15729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15730         copysign and copysignf multiarch implementations.
15731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15732         New file.
15733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15734         New file.
15735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15736         file: multiarch copysign for PowerPC32.
15737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15738         file: multiarch copysignf for PowerPC32.
15740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15741         and truncf multiarch implementations.
15742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15743         New file.
15744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15745         file.
15746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15747         multiarch trunc for PowerPC32.
15748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15749         New file.
15750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15751         New file.
15752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15753         multiarch truncf for PowerPC32.
15755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15756         and roundf multiarch implementations.
15757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15758         New file.
15759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15760         file.
15761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15762         multiarch round for PowerPC32.
15763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15764         New file.
15765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15766         New file.
15767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15768         multiarch roundf for PowerPC32.
15770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15771         and floorf multiarch implementations.
15772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15773         New file.
15774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15775         file.
15776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15777         multiarch floor for PowerPC32.
15778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15779         New file.
15780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15781         New file.
15782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15783         multiarch floorf for PowerPC32.
15785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15786         and ceilf multiarch implementations.
15787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15788         New file.
15789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15790         file.
15791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15792         multiarch ceil for PowerPC32.
15793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15794         New file.
15795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15796         file.
15797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15798         multiarch ceilf for PowerPC32.
15800         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15801         is defined.
15802         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15803         FINITEF is defined.
15804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15805         and finitef multiarch implementations.
15806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15807         New file.
15808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15809         file.
15810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15811         multiarch finite for PowerPC32.
15812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15813         New file.
15814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15815         file: multiarch finitef for PowerPC32.
15817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15818         and isinff multiarch implementations.
15819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15820         file.
15821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15822         file.
15823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15824         multiarch isinf for PowerPC32.
15825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15826         New file.
15827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15828         multiarch isinff for PowerPC32.
15830         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15831         alias when __isnan is defined.
15832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15833         and isnanf multiarch implementations.
15834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15835         file.
15836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15837         file.
15838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15839         file.
15840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15841         file.
15842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15843         multiarch isnan for PowerPC32.
15844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15845         New file.
15846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15847         New file.
15848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15849         multiarch isnanf for PowerPC32.
15851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15852         and sqrtf multiarch implementations.
15853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15854         file.
15855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15856         file.
15857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15858         multiarch sqrt for PowerPC32.
15859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15860         file.
15861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15862         file.
15863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15864         multiarch sqrtf for PowerPC32.
15866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15867         and llroundf multiarch implementations.
15868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15869         New file.
15870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15871         New file.
15872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15873         New file.
15874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15875         file: multiarch llround for PowerPC32.
15876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15877         file: multiarch llroundf for PowerPC32.
15879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15880         multiarch PowerPC32 fpu implementations.
15881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15882         New file.
15883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15884         New file.
15885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15886         multiarch llrint for PowerPC32.
15887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15888         New file.
15889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15890         New file.
15891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15892         file.
15894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15896         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15897         file.
15898         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15899         file.
15900         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15901         file.
15902         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15903         multiarch wordcopy for PPC32.
15904         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15905         wordcopy objects.
15906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15907         (__libc_ifunc_impl_list): Likewise.
15908         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15909         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15910         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15911         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15912         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15913         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15915         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15916         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15917         file.
15918         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15919         file.
15920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15921         file.
15922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15923         multiarch wcscpy for PPC32.
15924         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15925         multiarch objects.
15926         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15927         (__libc_ifunc_impl_list): Likewise.
15928         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15929         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15930         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15931         sysdeps/powerpc/power6/wcscpy.c.
15933         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15935         file.
15936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15937         file.
15938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15939         file.
15940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15941         multiarch wcsrchr for PPC32.
15942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15943         multiarch objects.
15944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15945         (__libc_ifunc_impl_list): Likewise.
15946         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15947         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15948         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15949         sysdeps/powerpc/power6/wcsrchr.c.
15951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15952         file.
15953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15954         file.
15955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15957         multiarch wcschr for PPc32.
15958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15959         multiarch objects.
15960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15961         (__libc_ifunc_impl_list): Likewise.
15962         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15963         * sysdeps/powerpc/power6/wcschr.c: ... to here.
15964         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15965         sysdeps/powerpc/power6/wcschr.c.
15967         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15968         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15969         file.
15970         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15971         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15972         file: multiarch strchr for PPC32.
15973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15974         multiarch objects.
15975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15976         (__libc_ifunc_impl_list): Likewise.
15978         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15979         name.
15980         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15981         file.
15982         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15983         file.
15984         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15985         multiarch strchrnul for PPC32.
15986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15987         multiarch objects.
15988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15989         (__libc_ifunc_impl_list): Likewise.
15991         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15992         file.
15993         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15994         multiarch strncasecmp for PPC32.
15995         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15996         file.
15997         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15998         multiarch strncasecmp_l for PPC32.
15999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16000         strncasecmp multiarch objects.
16001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16002         (__libc_ifunc_impl_list): Likewise.
16004         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16005         file.
16006         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16007         multiarch strncasecmp for PPC32.
16008         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16009         New file.
16010         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16011         multiarch strcasecmp_l for PPC32.
16012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16013         multiarch objects.
16014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16015         (__libc_ifunc_impl_list): Likewise.
16017         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16018         file.
16019         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16020         file.
16021         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16022         multiarch strncmp for PPC32.
16023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16024         multiarch objects.
16025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16026         (__libc_ifunc_impl_list): Likewise.
16028         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16029         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16030         file.
16031         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16032         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16034         multiarch objects.
16035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16036         (__libc_ifunc_impl_list): Likewise.
16038         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16039         file.
16040         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16041         file.
16042         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16044         multiarch objects.
16045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16046         (__libc_ifunc_impl_list): Likewise.
16048         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16049         file.
16050         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16051         file.
16052         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16053         multiarch rawmemchr for PPC32.
16054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16055         multiarch objects.
16056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16057         (__libc_ifunc_impl_list): Likewise.
16059         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16060         file.
16061         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16062         file.
16063         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16064         file: memrchr multiarch for PPC32.
16065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16066         multiarch objects.
16067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16068         (__libc_ifunc_impl_list): Likewise.
16070         * string/memchr.c (__memchr): Using macro to redefine symbol name.
16071         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16072         file.
16073         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16074         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16075         multiarch memchr for PPC32.
16076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16077         multiarch objects.
16078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16079         (__libc_ifunc_impl_list): Likewise.
16081         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16082         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16083         file.
16084         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16085         file.
16086         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16087         file: multiarch mempcpy for PPC32.
16088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16089         multiarch objects.
16090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16091         (__libc_ifunc_impl_list): Likewise.
16093         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16094         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16095         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16096         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16097         multiarch bzero for PPC32.
16098         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16099         file.
16100         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16101         file.
16102         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16103         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16104         file: multiarch memset for PPC32.
16105         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16107         memset multiarch objects.
16108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16109         (__libc_ifunc_impl_list): Likewise.
16111         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16112         file.
16113         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16114         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16115         memcmp for PPC32.
16116         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16118         multiarch objects.
16119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16120         (__libc_ifunc_impl_list): Likewise.
16122         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16123         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16124         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16125         file.
16126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16127         file.
16128         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16129         file.
16130         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16131         multiarch memcpy for PPC32.
16132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16133         multiarch objects.
16134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16135         (__libc_ifunc_impl_list): Likewise.
16137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16138         support multiarch for POWER/PPC32.
16139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16140         Likewise.
16141         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16143         Implies file to make multiarch folder appers before the fpu and
16144         default folder for power4 configuration.
16146 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16148         * scripts/bench.pl: Append volatile keyword to type.
16150 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16152         * sysdeps/sh/sotruss-lib.c: New file.
16153         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16155 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16159 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
16161         [BZ #6810]
16162         * math/w_tgamma.c: Include <errno.h>.
16163         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
16164         * math/w_tgammaf.c: Include <errno.h>.
16165         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
16166         * math/w_tgammal.c: Include <errno.h>.
16167         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
16168         * math/auto-libm-test-in: Do not allow missing errno on tgamma
16169         underflow.  Add more tgamma tests.
16170         * math/auto-libm-test-out: Regenerated.
16171         * sysdeps/i386/fpu/libm-test-ulps: Update.
16172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16174         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16175         sin, sinh, tan, tanh, tgamma, y0 and y1.
16176         * math/auto-libm-test-out: Regenerated.
16177         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16178         (TEST_COND_x86): Likewise.
16179         (M_E2l): Remove macro.
16180         (M_E3l): Likewise.
16181         (M_2_SQRT_PIl): Likewise.
16182         (M_SQRT_PIl): Likewise.
16183         (M_1_DIV_El): Likewise.
16184         (log_test_data): Use AUTO_TESTS_f_f.
16185         (log10_test_data): Likewise.
16186         (log1p_test_data): Likewise.
16187         (log2_test_data): Likewise.
16188         (sin_test_data): Likewise.
16189         (sin_tonearest_test_data): Likewise.
16190         (sin_towardzero_test_data): Likewise.
16191         (sin_downward_test_data): Likewise.
16192         (sin_upward_test_data): Likewise.
16193         (sinh_test_data): Likewise.
16194         (sinh_tonearest_test_data): Likewise.
16195         (sinh_towardzero_test_data): Likewise.
16196         (sinh_downward_test_data): Likewise.
16197         (sinh_upward_test_data): Likewise.
16198         (tan_test_data): Likewise.
16199         (tan_tonearest_test_data): Likewise.
16200         (tan_towardzero_test_data): Likewise.
16201         (tan_downward_test_data): Likewise.
16202         (tan_upward_test_data): Likewise.
16203         (tanh_test_data): Likewise.
16204         (tgamma_test_data): Likewise.
16205         (y0_test_data): Likewise.
16206         (y1_test_data): Likewise.
16207         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16208         (special_real_inputs): Add pi/4.
16209         * sysdeps/i386/fpu/libm-test-ulps: Update.
16210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16212 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16214         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16215         "longjmp_target" static probes.
16216         (__longjmp): Rename to __longjmp_symbol.
16217         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16218         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16219         on which longjmp to generate.
16220         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16221         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16222         probe.
16223         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16224         (__sigjmp_save): Rename to __sigjmp_save_symbol.
16225         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16226         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16227         and __sigjmp_save_symbol based on which sigsetjmp to generated.
16228         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16230         __longjmp_symbol based on which __longjmp to generate.
16231         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16232         probe.
16233         (setjmp): Rename to setjmp_symbol.
16234         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16235         (_setjmp): Rename to _setjmp_symbol.
16236         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16237         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16238         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16239         which setjmp to generate.
16240         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16241         "longjmp_target" static probes.
16243 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16245         * benchtests/README: Add note about output arguments.
16246         * benchtests/bench-sincos.c: Remove file.
16247         * benchtests/sincos-inputs: New file.
16248         * scripts/bench.pl: Identify output arguments and define
16249         static variables for them.
16251         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16253         [BZ #15941]
16254         * Makefile (INSTALL): Add install-plain.texi as the primary
16255         dependency.
16256         * manual/install-plain.texi: New file.
16257         * manual/install.texi: Include node directive only for
16258         non-plaintext output.
16260 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
16262         * stdlib/longlong.h: Update from GCC.
16264         [BZ #6807]
16265         [BZ #15901]
16266         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16267         * math/w_j0f.c (y0f): Likewise.
16268         * math/w_j0l.c (__y0l): Likewise.
16269         * math/w_j1.c (y1): Likewise.
16270         * math/w_j1f.c (y1f): Likewise.
16271         * math/w_j1l.c (__y1l): Likewise
16272         * math/w_jn.c (yn): Likewise.
16273         * math/w_jnf.c (ynf): Likewise.
16274         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16275         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
16276         value for Bessel function domain errors outside _SVID_ mode.
16277         Adjust sign of return value for yn (negative integer, 0).
16278         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16279         by zero in return for negative x and set sign appropriately for
16280         negative n.
16281         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16282         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16283         * math/libm-test.inc (y0_test_data): Add more tests and adjust
16284         expectations in error cases.
16285         (y1_test_data): Likewise.
16286         (yn_test_data): Likewise.
16287         * sysdeps/i386/fpu/libm-test-ulps: Update.
16288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16290 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16292         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16293         "64" to "64-v1".  Add "64-v2".
16294         (abi-64-options): Rename to ...
16295         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
16296         (abi-64-condition): Rename to ...
16297         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
16298         (abi-64-ld-soname): Rename to ...
16299         (abi-64-v1-ld-soname): ... this.
16300         (abi-64-v2-options): Define.
16301         (abi-64-v2-condition): Likewise.
16302         (abi-64-v2-ld-soname): Likewise.
16303         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16304         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16309 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16310             Alan Modra  <amodra@gmail.com>
16312         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16313         New versions for use with the ELFv2 ABI.
16314         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16315         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16316         declaration.
16317         (struct La_ppc64v2_retval): Likewise.
16318         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16319         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16320         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16321         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16322         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16323         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16324         Do not save or restore CR.
16325         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16326         (_dl_profile_resolve): Do no save or restore CR.  Support extended
16327         return values for ELFv2 ABI.  Fix location of FPR return registers.
16328         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16329         updated values for _CALL_ELF == 2.
16330         (La_regs, La_retval, int_retval): Likewise.
16332 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16334         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16335         (FRAME_MIN_SIZE_PARM): Likewise.
16336         (FRAME_BACKCHAIN): Likewise.
16337         (FRAME_CR_SAVE): Likewise.
16338         (FRAME_LR_SAVE): Likewise.
16339         (FRAME_TOC_SAVE): Likewise.
16340         (FRAME_PARM_SAVE): Likewise.
16341         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16342         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16343         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16344         (call_mcount_parm_offset): New macro.
16345         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16346         (PROF): Use symbolic stack frame offsets.
16347         (TAIL_CALL_SYSCALL_ERROR): Likewise.
16348         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16349         Redefine in terms of FRAME_MIN_SIZE.
16350         (_dl_runtime_resolve): Use symbolic stack frame offsets.
16351         (_dl_profile_resolve): Likewise.  Update comment.
16352         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16353         symbols stack frame offsets.
16354         (__sigsetjmp): Likewise.
16355         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16356         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16357         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16358         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16361         (FRAME_BACKCHAIN): Remove.
16362         (FRAME_CR_SAVE): Likewise.
16363         (FRAME_LR_SAVE): Likewise.
16364         (FRAME_COMPILER_DW): Likewise.
16365         (FRAME_LINKER_DW): Likewise.
16366         (FRAME_TOC_SAVE): Likewise.
16367         (FRAME_PARM_SAVE): Likewise.
16368         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16369         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16370         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16372         (CHECK_SP): Use symbolic stack frame offsets.
16373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16374         zone" instead of caller's parameter save area for temp storage.
16375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16376         Likewise.  Also, use symbolic stack frame offsets.
16377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16378         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16379         our own stack frame instead of the caller's.
16380         (__socket): Use symbolic stack frame offsets.
16382 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16383             Alan Modra  <amodra@gmail.com>
16385         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16386         Define.
16387         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16388         (PPC64_LOCAL_ENTRY_OFFSET): Define.
16389         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16390         New function.
16391         (elf_machine_fixup_plt): Call it.
16392         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
16393         reloc arguments.
16394         (elf_machine_rela): Update call to elf_machine_plt_conflict.
16395         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16396         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16397         r2 before calling target.
16399 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16400             Alan Modra  <amodra@gmail.com>
16402         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16403         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16404         versions of macros to support ELFv2 ABI.
16405         (LOCALENTRY): New macro.
16406         (ENTRY, EALIGN): Use it.
16407         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16408         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16409         fall through into ENTRY entry point.
16410         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16411         Only define if _CALL_ELF != 2.
16413         (elf_machine_matches_host): Verify ABI version matches.
16414         (RTLD_START): Use LOCALENTRY.
16415         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16416         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16417         (PLT_ENTRY_WORDS): New macro.
16418         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16419         (elf_machine_runtime_setup): Support ELFv2 ABI.
16420         (elf_machine_fixup_plt): Likewise.
16421         (elf_machine_plt_conflict): Likewise.
16422         (resolve_ifunc): Likewise.
16423         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16424         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16425         Likewise.
16426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16427         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16429         (makecontext): Support ELFv2 ABI.
16430         * elf/elf.h (EF_PPC64_ABI): Define.
16432 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16434         * sysdeps/powerpc/powerpc64/sysdep.h
16435         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16436         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16437         (ENTRY) [ASSEMBLER]: ... but instead here ...
16438         (EALIGN) [ASSEMBLER]: ... and here.
16439         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16440         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16441         (ENTRY_2) [!ASSEMBLER]: Use it.
16442         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16443         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
16444         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16445         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16446         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16448         Use PPC64_LOAD_FUNCPTR.
16450         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16452 2013-12-04  Alan Modra  <amodra@gmail.com>
16454         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16455         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16456         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16457         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16459         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16460         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16461         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16462         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16463         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16464         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16466 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16469         (__makecontext): Fix incorrect CFI when backtracing out of
16470         context created via makecontext.
16471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16472         (__setcontext): Fix incorrect CFI during switch to new context.
16473         (__novec_setcontext): Likewise.
16475 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16477         [BZ #4772]
16478         * time/strptime_l.c (__strptime_internal): Allow modifiers
16479         in strptime.
16480         * time/tst-strptime.c (day_tests): Add testcase.
16482 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16484         * scripts/bench.pl: Skip over blank lines.
16486 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16488         [BZ #926]
16489         * manual/time.texi (Calendar Time): Clarify what timezone functions
16490         use.
16492 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16496 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16498         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16499         implementation.
16500         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16501         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16502         * debug/memset_chk.c (__memset_chk): Likewise.
16503         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16504         * debug/strncpy_chk.c: Likewise.
16506 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16508         [BZ #15268]
16509         [BZ #15425]
16510         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16511         (__ieee754_exp): For possibly underflowing results, check size of
16512         result and force underflow exception if required.
16513         * math/auto-libm-test-in: Add more tests of exp.
16514         * math/auto-libm-test-out: Regenerated.
16515         * sysdeps/i386/fpu/libm-test-ulps: Update.
16516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16518         [BZ #16283]
16519         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16520         * math/w_exp2f.c (__exp2f): Likewise.
16521         * math/w_exp2l.c (__exp2l): Likewise.
16522         * math/auto-libm-test-in: Do not allow missing errno on exp2
16523         underflow.
16524         * math/auto-libm-test-out: Regenerated.
16526 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16528         [BZ #16274]
16529         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16530         handle filename validation.
16531         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16532         (do_open): Delete.
16534 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16536         [BZ #6786]
16537         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16538         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16539         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16540         <float.h>.
16541         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16542         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16543         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16544         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16545         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16546         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16547         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16548         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16549         Add more erfc tests.
16550         * math/auto-libm-test-out: Regenerated.
16551         * sysdeps/i386/fpu/libm-test-ulps: Update.
16552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16554         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16555         exp2, expm1, j0 and j1.
16556         * math/auto-libm-test-out: Regenerated.
16557         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16558         (erfc_test_data): Likewise.
16559         (exp_test_data): Likewise.
16560         (exp_tonearest_test_data): Likewise.
16561         (exp_towardzero_test_data): Likewise.
16562         (exp_downward_test_data): Likewise.
16563         (exp_upward_test_data): Likewise.
16564         (exp10_test_data): Likewise.
16565         (exp2_test_data): Likewise.
16566         (expm1_test_data): Likewise.
16567         (j0_test_data): Likewise.
16568         (j1_test_data): Likewise.
16569         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16570         (input_flag_type): Add flag_xfail_rounding.
16571         (input_flags): Add xfail-rounding.
16572         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16573         (output_for_one_input_case): Handle flag_xfail_rounding.
16574         * sysdeps/i386/fpu/libm-test-ulps: Update.
16575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16577 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16579         [BZ #16289]
16580         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16581         division by 0.
16583 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16585         [BZ #16195]
16586         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16587         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16588         (STAP_PROBE0): New macro.
16589         (STAP_PROBE1): Likewise.
16590         (STAP_PROBE2): Likewise.
16591         (STAP_PROBE3): Likewise.
16592         (STAP_PROBE4): Likewise.
16594 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16596         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16598 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16600         * benchtests/Makefile (bench): Add sqrt.
16601         (LDLIBS-bench-sqrt): New.
16602         * benchtests/sqrt-input: New.
16604 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16606         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16607         (GAIH_EAI): Likewise.
16608         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16609         (gaih_inet): Likewise.
16610         (getaddrinfo): Don't use GAIH_EAI.
16612         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16613         (struct gaih): Remove definition.
16615 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16617         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16618         Use HERRNOP directly.
16620 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16624 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16626         * math/gen-auto-libm-tests.c (test_functions): Add more
16627         single-argument functions.
16628         (special_fill_pi_2): New function.
16629         (special_fill_minus_pi_2): Likewise.
16630         (special_fill_pi_6): Likewise.
16631         (special_fill_minus_pi_6): Likewise.
16632         (special_fill_pi_3): Likewise.
16633         (special_fill_2pi_3): Likewise.
16634         (special_fill_e): Likewise.
16635         (special_fill_1_e): Likewise.
16636         (special_fill_e_minus_1): Likewise.
16637         (special_real_inputs): Add more special inputs.
16638         (output_for_one_input_case): Do not require ERANGE on underflow to
16639         zero if round-to-nearest result does not underflow to zero, unless
16640         exact results required.
16641         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16642         atan, atanh, cbrt, cos and cosh.
16643         * math/auto-libm-test-out: Regenerated.
16644         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16645         (acos_tonearest_test_data): Likewise.
16646         (acos_towardzero_test_data): Likewise.
16647         (acos_downward_test_data): Likewise.
16648         (acos_upward_test_data): Likewise.
16649         (acosh_test_data): Likewise.
16650         (asin_test_data): Likewise.
16651         (asin_tonearest_test_data): Likewise.
16652         (asin_towardzero_test_data): Likewise.
16653         (asin_upward_test_data): Likewise.
16654         (asinh_test_data): Likewise.
16655         (atan_test_data): Likewise.
16656         (atanh_test_data): Likewise.
16657         (cbrt_test_data): Likewise.
16658         (cos_test_data): Likewise.
16659         (cos_tonearest_test_data): Likewise.
16660         (cos_towardzero_test_data): Likewise.
16661         (cos_downward_test_data): Likewise.
16662         (cos_upward_test_data): Likewise.
16663         (cosh_test_data): Likewise.
16664         (cosh_tonearest_test_data): Likewise.
16665         (cosh_towardzero_test_data): Likewise.
16666         (cosh_downward_test_data): Likewise.
16667         (cosh_upward_test_data): Likewise.
16668         * sysdeps/i386/fpu/libm-test-ulps: Update.
16669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16671 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16673         [BZ #6787]
16674         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16675         * math/w_exp10f.c (__exp10f): Likewise.
16676         * math/w_exp10l.c (__exp10l): Likewise.
16677         * math/libm-test.inc (exp10_test_data): Add more tests and expect
16678         errno settings in existing tests.
16680         [BZ #14032]
16681         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16682         precision control set to double precision.
16683         * sysdeps/i386/fpu/w_sqrt.c: New file.
16684         * math/auto-libm-test-in: Add more tests.
16685         * math/auto-libm-test-out: Update.
16687         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16688         (sqrt_test_tonearest): New function.
16689         (sqrt_towardzero_test_data): New variable.
16690         (sqrt_test_towardzero): New function.
16691         (sqrt_downward_test_data): New variable.
16692         (sqrt_test_downward): New function.
16693         (sqrt_upward_test_data): New variable.
16694         (sqrt_test_upward): New function.
16695         (main): Call the new functions.
16697         * math/gen-auto-libm-tests.c: New file.
16698         * math/auto-libm-test-in: Likewise.
16699         * math/auto-libm-test-out: New generated file.
16700         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16701         variables.
16702         (%beautify): Add generated representations of zero.
16703         (top level): Set $auto_input and call parse_auto_input.
16704         (beautify): Remove trailing "f" from hex float constants.
16705         (parse_args): Handle XFAIL_TEST.
16706         (convert_condition): New function.
16707         (or_value): Likewise.
16708         (or_cond_value): Likewise.
16709         (generate_testfile): Handle AUTO_TESTS_* lines.
16710         (parse_auto_input): New function.
16711         * math/libm-test.inc (XFAIL_TEST): New macro.
16712         (ERRNO_UNCHANGED): Update value.
16713         (ERRNO_EDOM): Likewise.
16714         (ERRNO_ERANGE): Likewise.
16715         (IGNORE_RESULT): Likewise.
16716         (TEST_COND_flt_32): New macro.
16717         (TEST_COND_dbl_64): Likewise.
16718         (TEST_COND_ldbl_96_intel): Likewise.
16719         (TEST_COND_ldbl_96_m68k): Likewise.
16720         (TEST_COND_ldbl_128): Likewise.
16721         (TEST_COND_ldbl_128ibm): Likewise.
16722         (TEST_COND_long32): Likewise.
16723         (TEST_COND_long64): Likewise.
16724         (TEST_COND_before_rounding): Likewise.
16725         (TEST_COND_after_rounding): Likewise.
16726         (enable_test): Handle XFAIL_TEST flag.
16727         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16728         with finite results.
16729         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16730         auto-libm-test-out.
16732 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16733             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16735         [BZ #16214]
16736         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16737         __tls_get_addr_internal instead of __tls_get_offset in order to
16738         avoid GOT pointer dependency.  Make rtld export
16739         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16740         __tls_get_addr since we are a __tls_get_offset platform.
16741         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16742         GOT pointer being set up before.
16743         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16745 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
16747         * manual/math.texi (Errors in Math Functions): Document accuracy
16748         goals.
16750         [BZ #15004]
16751         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16752         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16753         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16754         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16755         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16756         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16757         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16758         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16759         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16760         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16761         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16762         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16763         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16764         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16765         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16766         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16768         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16769         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16770         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16771         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16772         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16773         Likewise.
16774         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16775         Likewise.
16776         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16777         Likewise.
16778         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16779         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16780         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16781         atomic-feupdateenv and flt-rounds.
16782         * sysdeps/powerpc/nofpu/Versions (libc): Add
16783         __atomic_feholdexcept, __atomic_feclearexcept,
16784         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16785         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16786         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16787         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16788         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16789         here.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16791         Update.
16793         * manual/arith.texi (FP Exceptions): Document that exceptions may
16794         not be raised when matherr is used.
16795         (Math Error Reporting): Document overflow in directed rounding
16796         modes.  Document that errno may not be set when finite values are
16797         returned on overflow.  Document intent to set errno on underflow
16798         only for underflow to zero.
16800         [BZ #16271]
16801         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16802         round-to-nearest then adjust result for other rounding modes.
16803         * include/fenv.h (fegetround): Use libm_hidden_proto.
16804         * math/fegetround.c (fegetround): Use libm_hidden_def.
16805         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16806         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16807         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16808         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16809         Likewise.
16810         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16811         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16812         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16813         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16815 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16817         [BZ #16077]
16818         * nss/Versions (libnss_files): Add
16819         _nss_files_gethostbyname3_r.
16820         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16821         New function.
16822         (HOST_DB_LOOKUP): Remove macro.
16823         (_nss_files_gethostbyname_r): Implement function without the
16824         HOST_DB_LOOKUP macro.
16825         (_nss_files_gethostbyname2_r): Likewise.
16827 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
16829         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16831 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
16833         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16834         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16835         warning.
16837 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16839         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16840         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16841         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16842         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16843         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16844         __fe_nomask_env_priv and attribute_hidden.
16845         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16846         (libc_feupdateenv_test_ppc): Likewise.
16847         (libc_feresetround_ppc): Likewise.
16848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16849         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16850         compat_symbol macro.
16851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16852         (__fe_nomask_env): Likewise.
16853         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16855 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16857         * string/Makefile: Remove ifunc tests.
16858         * string/test-string.h: Define TEST_IFUNC.
16859         * string/test-bcopy-ifunc.c: Remove.
16860         * string/test-bzero-ifunc.c: Likewise.
16861         * string/test-memccpy-ifunc.c: Likewise.
16862         * string/test-memchr-ifunc.c: Likewise.
16863         * string/test-memcmp-ifunc.c: Likewise.
16864         * string/test-memcpy-ifunc.c: Likewise.
16865         * string/test-memmem-ifunc.c: Likewise.
16866         * string/test-memmove-ifunc.c: Likewise.
16867         * string/test-mempcpy-ifunc.c: Likewise.
16868         * string/test-memrchr-ifunc.c: Likewise.
16869         * string/test-memset-ifunc.c: Likewise.
16870         * string/test-rawmemchr-ifunc.c: Likewise.
16871         * string/test-stpcpy-ifunc.c: Likewise.
16872         * string/test-stpncpy-ifunc.c: Likewise.
16873         * string/test-strcasecmp-ifunc.c: Likewise.
16874         * string/test-strcasestr-ifunc.c: Likewise.
16875         * string/test-strcat-ifunc.c: Likewise.
16876         * string/test-strchr-ifunc.c: Likewise.
16877         * string/test-strchrnul-ifunc.c: Likewise.
16878         * string/test-strcmp-ifunc.c: Likewise.
16879         * string/test-strcpy-ifunc.c: Likewise.
16880         * string/test-strcspn-ifunc.c: Likewise.
16881         * string/test-strlen-ifunc.c: Likewise.
16882         * string/test-strncasecmp-ifunc.c: Likewise.
16883         * string/test-strncat-ifunc.c: Likewise.
16884         * string/test-strncmp-ifunc.c: Likewise.
16885         * string/test-strncpy-ifunc.c: Likewise.
16886         * string/test-strnlen-ifunc.c: Likewise.
16887         * string/test-strpbrk-ifunc.c: Likewise.
16888         * string/test-strrchr-ifunc.c: Likewise.
16889         * string/test-strspn-ifunc.c: Likewise.
16890         * string/test-strstr-ifunc.c: Likewise.
16892 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16894         * benchtests/Makefile: Remove ifunc tests.
16895         * benchtests/bench-string.h: Define TEST_IFUNC.
16896         * benchtests/bench-bcopy-ifunc.c: Remove.
16897         * benchtests/bench-bzero-ifunc.c: Likewise.
16898         * benchtests/bench-memccpy-ifunc.c: Likewise.
16899         * benchtests/bench-memchr-ifunc.c: Likewise.
16900         * benchtests/bench-memcmp-ifunc.c: Likewise.
16901         * benchtests/bench-memcpy-ifunc.c: Likewise.
16902         * benchtests/bench-memmem-ifunc.c: Likewise.
16903         * benchtests/bench-memmove-ifunc.c: Likewise.
16904         * benchtests/bench-mempcpy-ifunc.c: Likewise.
16905         * benchtests/bench-memrchr-ifunc.c: Likewise.
16906         * benchtests/bench-memset-ifunc.c: Likewise.
16907         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16908         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16909         * benchtests/bench-stpcpy-ifunc.c: Likewise.
16910         * benchtests/bench-stpncpy-ifunc.c: Likewise.
16911         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16912         * benchtests/bench-strcasestr-ifunc.c: Likewise.
16913         * benchtests/bench-strcat-ifunc.c: Likewise.
16914         * benchtests/bench-strchr-ifunc.c: Likewise.
16915         * benchtests/bench-strchrnul-ifunc.c: Likewise.
16916         * benchtests/bench-strcmp-ifunc.c: Likewise.
16917         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16918         * benchtests/bench-strcpy-ifunc.c: Likewise.
16919         * benchtests/bench-strcspn-ifunc.c: Likewise.
16920         * benchtests/bench-strlen-ifunc.c: Likewise.
16921         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16922         * benchtests/bench-strncat-ifunc.c: Likewise.
16923         * benchtests/bench-strncmp-ifunc.c: Likewise.
16924         * benchtests/bench-strncpy-ifunc.c: Likewise.
16925         * benchtests/bench-strnlen-ifunc.c: Likewise.
16926         * benchtests/bench-strpbrk-ifunc.c: Likewise.
16927         * benchtests/bench-strrchr-ifunc.c: Likewise.
16928         * benchtests/bench-strsep-ifunc.c: Likewise.
16929         * benchtests/bench-strspn-ifunc.c: Likewise.
16930         * benchtests/bench-strstr-ifunc.c: Likewise.
16932 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16934         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16936 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16938         * resolv/netdb.h: Use __glibc_reserved instead __unused.
16939         * rt/aio.h: Likewise.
16940         * sysdeps/gnu/bits/utmp.h: Likewise.
16941         * sysdeps/gnu/bits/utmpx.h: Likewise.
16942         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16943         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16944         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16945         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16946         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16947         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16948         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16949         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16950         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16951         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16952         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16953         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16954         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16956         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16957         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16958         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16959         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16960         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16961         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16962         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16963         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16964         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16965         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16966         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16967         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16968         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16969         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16970         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16971         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16972         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16973         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16974         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16975         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16976         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16977         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16978         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16979         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16980         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16981         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16982         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16983         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16985 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
16987         [BZ #16245]
16988         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16989         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16991 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
16993         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16994         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16995         Likewise.
16997 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16999         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17000         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17001         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17002         (__fesetround): Remove define.
17003         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17004         rounding and exceptions handling.
17005         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17006         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17007         (__fe_nomask_env): Likewise.
17008         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17009         __fegetround instead of fegetround.
17010         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17011         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17013 2013-11-21  Roland McGrath  <roland@hack.frob.com>
17015         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17016         it's there.
17018         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17020 2013-11-21  Meador Inge  <meadori@codesourcery.com>
17022         [BZ #11157]
17023         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17024         (encrypt_r): Likewise.
17025         * malloc/obstack.h (obstack_free): Likewise.
17026         * posix/unistd.h (encrypt): Likewise.
17028 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
17030         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17031         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17032         DL_CALL_DT_FINI() that call the functions directly.
17033         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17034         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17035         * elf/dl-fini.c: Likewise.
17037 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
17039         * malloc/hooks.c (memalign_check): Add alignment rounding.
17040         * malloc/malloc.c (_mid_memalign): New function.
17041         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17042         Implement by calling _mid_memalign.
17043         * manual/probes.texi (Memory Allocation Probes): Remove
17044         memory_valloc_retry and memory_pvalloc_retry.
17046 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17048         * locale/programs/locarchive.c (open_archive): Add const
17049         qualifier to ARCHIVEFNAME and copy default fname to
17050         DEFAULT_FNAME.
17052         [BZ #15601]
17053         * libio/tst-widetext.input: Rename Oriya to Odia.
17054         * locale/iso-639.def: Likewise.
17056         * manual/probes.texi (Mathematical Function Probes): Add
17057         documentation for sin, cos, asin and acos probes.
17058         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17059         (__sin32): Add slowasin probe.
17060         (__cos32): Add slowacos probe.
17061         (__mpsin): Add slowsin probe.
17062         (__mpcos): Add slowcos probe.
17064 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
17066         [BZ #15483]
17067         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17068         thread-local __sim_exceptions_thread and global
17069         __sim_exceptions_global.
17070         (__sim_disabled_exceptions): Change to thread-local
17071         __sim_disabled_exceptions_thread and global
17072         __sim_disabled_exceptions_global.
17073         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17074         and global __sim_round_mode_global.
17075         (__simulate_exceptions): Use thread-local floating-point state and
17076         set global state from it as needed.
17077         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17078         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17079         __sim_round_mode_thread.
17080         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17081         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17082         and global __sim_exceptions_global.
17083         (__sim_disabled_exceptions): Change to thread-local
17084         __sim_disabled_exceptions_thread and global
17085         __sim_disabled_exceptions_global.
17086         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17087         and global __sim_round_mode_global.
17088         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17089         (SIM_SET_GLOBAL): Likewise.
17090         * sysdeps/powerpc/soft-fp/sfp-machine.h
17091         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17092         __sim_round_mode_thread.
17093         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17094         __sim_disabled_exceptions_thread.
17095         (__sim_exceptions): Change to __sim_exceptions_thread.
17096         (__sim_disabled_exceptions): Change to
17097         __sim_disabled_exceptions_thread.
17098         (__sim_round_mode): Change to __sim_round_mode_thread.
17099         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17100         thread-local floating-point state and set global state from it as
17101         needed.
17102         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17103         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17104         (__sim_disabled_exceptions): Remove extern declaration.
17105         (feenableexcept): Use thread-local floating-point state and set
17106         global state from it as needed.
17107         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17108         extern declaration.
17109         (__sim_disabled_exceptions): Likewise.
17110         (__sim_round_mode): Likewise.
17111         (__fegetenv): Use thread-local floating-point state.
17112         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17113         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17114         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17115         floating-point state and set global state from it as needed.
17116         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17117         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17118         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17119         Likewise.
17120         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17121         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17122         Likewise.
17123         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17124         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17125         Use __sim_round_mode_thread.
17126         * math/test-fenv-tls.c: New file.
17127         * math/Makefile (tests): Add test-fenv-tls.
17128         ($(objpfx)test-fenv-tls): Depend on
17129         $(common-objpfx)nptl/libpthread.so.
17131 2013-11-19  Andreas Schwab  <schwab@suse.de>
17133         * locale/programs/locale.c (show_info): Decode wordarray elements.
17134         * locale/categories.def (LC_MONETARY): Add element for
17135         _NL_MONETARY_CRNCYSTR.
17136         * locale/C-monetary.c (conversion_rate): New variable.
17137         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17138         element.
17140 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
17142         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17143         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17145 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17147         * elf/Makefile (tst-auxv): New test.
17148         * elf/tst-auxv.c: New
17149         * elf/rtld.c (dl_main): Adjust AT_EXECFN
17151 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
17153         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17154         (hidden_proto): Caller changed.
17155         (hidden_tls_proto): New macro.
17156         (libc_hidden_tls_proto): Likewise.
17157         (rtld_hidden_tls_proto): Likewise.
17158         (libm_hidden_tls_proto): Likewise.
17159         (libresolv_hidden_tls_proto): Likewise.
17160         (librt_hidden_tls_proto): Likewise.
17161         (libdl_hidden_tls_proto): Likewise.
17162         (libnss_files_hidden_tls_proto): Likewise.
17163         (libnsl_hidden_tls_proto): Likewise.
17164         (libnss_nisplus_hidden_tls_proto): Likewise.
17165         (libutil_hidden_tls_proto): Likewise.
17167 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
17169         [BZ #10253]
17170         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17171         (decompose_rpath): Defer expansion to fillin_rpath.
17172         (_dl_init_paths): Pass linkmap to fillin_rpath.
17174 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17176         * benchtests/Makefile: Add strsep.
17177         * benchtests/bench-strsep.c: New file: strsep benchtest.
17178         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17180 2013-11-18  Andreas Schwab  <schwab@suse.de>
17182         * locale/programs/locale.c (show_info) [case byte]: Check for
17183         '\377' instead of '\177'.
17184         * locale/C-monetary.c (not_available): Always use "\377".
17185         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17186         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
17187         detect unavailable sign_posn locale elements.
17188         * locale/localeconv.c (__localeconv): For grouping and
17189         mon_grouping handle "\177" and "\377" like no grouping.
17190         (INT_ELEM): New macro.  Use it to set all numeric members.
17191         * locale/programs/ld-monetary.c (monetary_read)
17192         <tok_mon_grouping>: Normalize single -1 to the empty string.
17193         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17194         Likewise.
17196 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17198         [BZ #16055]
17199         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17200         when we match (nil).
17201         * stdio-common/tst-sscanf.c (struct test): Add testcase.
17203 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
17205         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17206         (NO_TEST_INLINE): Update value.
17207         (ERRNO_UNCHANGED): Likewise.
17208         (ERRNO_EDOM): Likewise.
17209         (ERRNO_ERANGE): Likewise.
17210         (IGNORE_RESULT): Likewise.
17211         (check_float_internal): Check signs of NaN results if
17212         TEST_NAN_SIGN used.
17213         (check_complex): Pass TEST_NAN_SIGN flag through to second
17214         check_float_internal call.
17215         (copysign_test_data): Add tests with quiet NaNs as second
17216         argument.  Use TEST_NAN_SIGN.
17217         (fabs_test_data): Add test of negative quiet NaN argument.  Use
17218         TEST_NAN_SIGN.
17219         (signbit_test_data): Add tests of quiet NaN argument.
17220         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17222         * math/gen-libm-test.pl (show_exceptions): Take extra argument
17223         $ignore_result.
17224         (parse_args): Handle function results specified as IGNORE.
17225         * math/libm-test.inc (IGNORE_RESULT): New macro.
17226         (check_float_internal): Do not check numerical result if flag
17227         IGNORE_RESULT set.
17228         (check_complex): Pass through IGNORE_RESULT to second
17229         check_float_internal call.
17230         (check_int): Do not check numerical result if flag IGNORE_RESULT
17231         set.
17232         (check_long): Likewise.
17233         (check_bool): Likewise.
17234         (check_longlong): Likewise.
17235         (lrint_test_data): Add tests of infinite and NaN arguments.
17236         (lrint_tonearest_test_data): Likewise.
17237         (lrint_towardzero_test_data): Likewise.
17238         (lrint_downward_test_data): Likewise.
17239         (lrint_upward_test_data): Likewise.
17240         (llrint_test_data): Likewise.
17241         (llrint_tonearest_test_data): Likewise.
17242         (llrint_towardzero_test_data): Likewise.
17243         (llrint_downward_test_data): Likewise.
17244         (llrint_upward_test_data): Likewise.
17245         (lround_test_data): Likewise.
17246         (llround_test_data): Likewise.
17248         * math/libm-test.inc (NO_TEST_INLINE): New macro.
17249         (ERRNO_UNCHANGED): Update value.
17250         (ERRNO_EDOM): Likewise.
17251         (ERRNO_ERANGE): Likewise.
17252         (NO_TEST_INLINE_FLOAT): New macro.
17253         (NO_TEST_INLINE_DOUBLE): Likewise.
17254         (enable_test): New function.
17255         (RUN_TEST_f_f): Check enable_test before running test.
17256         (RUN_TEST_2_f): Likewise.
17257         (RUN_TEST_fff_f): Likewise.
17258         (RUN_TEST_c_f): Likewise.
17259         (RUN_TEST_f_f1): Likewise.
17260         (RUN_TEST_fF_f1): Likewise.
17261         (RUN_TEST_fI_f1): Likewise.
17262         (RUN_TEST_ffI_f1): Likewise.
17263         (RUN_TEST_c_c): Likewise.
17264         (RUN_TEST_cc_c): Likewise.
17265         (RUN_TEST_f_i): Likewise.
17266         (RUN_TEST_f_i_tg): Likewise.
17267         (RUN_TEST_ff_i_tg): Likewise.
17268         (RUN_TEST_f_b): Likewise.
17269         (RUN_TEST_f_b_tg): Likewise.
17270         (RUN_TEST_f_l): Likewise.
17271         (RUN_TEST_f_L): Likewise.
17272         (RUN_TEST_fFF_11): Likewise.
17273         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17274         conditionals.
17275         (cosh_test_data): Likewise.
17276         (exp_test_data): Likewise.
17277         (expm1_test_data): Likewise.
17278         (hypot_test_data): Likewise.
17279         (pow_test_data): Likewise.
17280         (sinh_test_data): Likewise.
17281         (tanh_test_data): Likewise.
17282         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17283         flags argument.
17285         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17286         tests with quiet NaN input and output.
17287         (acosh_test_data): Likewise.
17288         (asin_test_data): Likewise.
17289         (asinh_test_data): Likewise.
17290         (atan_test_data): Likewise.
17291         (atanh_test_data): Likewise.
17292         (atan2_test_data): Likewise.
17293         (cbrt_test_data): Likewise.
17294         (cos_test_data): Likewise.
17295         (cosh_test_data): Likewise.
17296         (erf_test_data): Likewise.
17297         (erfc_test_data): Likewise.
17298         (exp_test_data): Likewise.
17299         (exp10_test_data): Likewise.
17300         (exp2_test_data): Likewise.
17301         (expm1_test_data): Likewise.
17302         (hypot_test_data): Likewise.
17303         (j0_test_data): Likewise.
17304         (j1_test_data): Likewise.
17305         (jn_test_data): Likewise.
17306         (lgamma_test_data): Likewise.
17307         (log_test_data): Likewise.
17308         (log10_test_data): Likewise.
17309         (log1p_test_data): Likewise.
17310         (log2_test_data): Likewise.
17311         (pow_test_data): Likewise.
17312         (scalb_test_data): Likewise.
17313         (sin_test_data): Likewise.
17314         (sincos_test_data): Likewise.
17315         (sinh_test_data): Likewise.
17316         (tan_test_data): Likewise.
17317         (tanh_test_data): Likewise.
17318         (tgamma_test_data): Likewise.
17319         (y0_test_data): Likewise.
17320         (y1_test_data): Likewise.
17321         (yn_test_data): Likewise.
17323         [BZ #16167]
17324         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17325         argument being NaN and avoid computations with second argument in
17326         that case.
17327         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17328         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17329         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17331 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
17333         * locale/iso-639.def: Add Chitwani Tharu (the).
17335 2013-11-14  Andreas Schwab  <schwab@suse.de>
17337         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17338         word instead of empty string.
17340 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17343         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17345         (__fe_nomask_env): Likewise.
17347 2013-11-13  Steve Ellcey  <sellcey@mips.com>
17349         * benchtests/bench-timing.h: Include time.h.
17351 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
17353         [BZ #15997]
17354         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17355         to 3.4.0 for x32.
17356         * sysdeps/unix/sysv/linux/configure: Regenerated.
17358 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
17360         [BZ #16151]
17361         * stdlib/strtod_l.c (round_and_return): Do not consider
17362         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17363         exponent one less than half the least subnormal exponent.
17364         * stdlib/test-strtod-round-data: Add more tests.
17365         * stdlib/tst-strtod-round.c (tests): Regenerated.
17367 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17369         [BZ #14143]
17370         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17371         (__fe_mask_env): Likewise.
17372         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17373         libm_hidden_proto and add function prototype.
17374         (__fe_mask_env): Add function prototype.
17375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17376         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17378         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17380         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17382 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17384         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17385         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17387 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17389         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17390         of htab_find_slot().
17392 2013-11-11  David S. Miller  <davem@davemloft.net>
17394         [BZ #16150]
17395         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17396         symbol in the non-vis3 case in static builds.
17397         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17398         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17399         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17400         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17402 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
17404         [BZ #387]
17405         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17406         it is empty.
17408 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17410         * benchtests/Makefile: Add bench-strtod.
17411         * benchtests/bench-strtod.c: New file: strtod benchtest
17413 2013-11-11  Andreas Schwab  <schwab@suse.de>
17415         [BZ #16153]
17416         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17417         terminating NUL in key length.
17419 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17421         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17422         Add artificial ODP entry for vDSO symbol for PPC64.
17423         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17424         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17426 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17428         [BZ #15374]
17429         * nss/getent.c (services_keys): Recognize services starting with digit.
17431 2013-11-06  David S. Miller  <davem@davemloft.net>
17433         [BZ #15985]
17434         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17435         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17437 2013-11-06  Will Newton  <will.newton@linaro.org>
17439         * manual/memory.texi (Malloc Examples): Remove register
17440         keyword from examples.
17442 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
17444         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17446 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
17448         [BZ #6981]
17449         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17450         depending on [__GCC_IEC_559 > 0].
17451         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17452         depending on [__GCC_IEC_559_COMPLEX > 0].
17454 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
17456         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17457         to iso-639.def.
17459 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
17461         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17463 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
17465         [BZ #16112]
17466         * malloc/malloc (malloc_info): Do not handle first bin as
17467         special case.
17469 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
17471         * locale/iso-639.def: Add Central Nahuatl (nhn).
17473 2013-11-01  Bruno Haible  <bruno@clisp.org>
17475         [BZ #7003]
17476         * manual/math.texi (BSD Random): Specify range upper bound as
17477         in POSIX.
17479 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17481         * locale/iso-639.def: Add Meadow Mari (mhr).
17483 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17485         [BZ #14752], [BZ #15763]
17486         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17487         Validate name.
17488         * rt/tst_shm.c: Add test for escaping directory.
17490 2013-10-31  Andreas Schwab  <schwab@suse.de>
17492         [BZ #15917]
17493         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17494         followed by 'x' as part of digit sequence.
17495         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17497 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17499         [BZ #16037]
17500         * configure.ac: allow GNU Make 4.0 and greater.
17501         * configure: Regenerated.
17503 2013-10-30  Will Newton  <will.newton@linaro.org>
17505         [BZ #16038]
17506         * malloc/hooks.c (memalign_check): Limit alignment to the
17507         maximum representable power of two.
17508         * malloc/malloc.c (__libc_memalign): Likewise.
17509         * malloc/tst-memalign.c (do_test): Add test for very
17510         large alignment values.
17511         * malloc/tst-posix_memalign.c (do_test): Likewise.
17513 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17515         [BZ #11087]
17516         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17517         (munmap_chunk): Likewise.
17518         (mremap_chunk): Likewise.
17520 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17522         [BZ #15799]
17523         * stdlib/div.c (div): Remove obsolete code.
17524         * stdlib/ldiv.c (ldiv): Likewise.
17525         * stdlib/lldiv.c (lldiv): Likewise.
17527 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17529         [BZ #16071]
17530         * nss/nss_files/files-XXX.c (get_contents_ret): New
17531         enumerator.
17532         (get_contents): New function.
17533         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17535 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17537         * configure.in: Moved to ...
17538         * configure.ac: ... here. Change reference to configure.in
17539         to configure.ac.
17540         * sysdeps/arm/preconfigure.ac: ... here.
17541         configure.in to configure.ac.
17542         * sysdeps/gnu/configure.in: Moved to ...
17543         * sysdeps/gnu/configure.ac: ... here.
17544         * sysdeps/i386/configure.in: Moved to ...
17545         * sysdeps/i386/configure.ac: ... here.
17546         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17547         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17548         * sysdeps/mach/configure.in: Moved to ...
17549         * sysdeps/mach/configure.ac: ... here.
17550         * sysdeps/mach/hurd/configure.in: Moved to ...
17551         * sysdeps/mach/hurd/configure.ac: ... here.
17552         * sysdeps/powerpc/configure.in: Moved to ...
17553         * sysdeps/powerpc/configure.ac: ... here.
17554         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17555         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17556         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17557         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17558         * sysdeps/s390/s390-32/configure.in: Moved to ...
17559         * sysdeps/s390/s390-32/configure.ac: ... here.
17560         * sysdeps/s390/s390-64/configure.in: Moved to ...
17561         * sysdeps/s390/s390-64/configure.ac: ... here.
17562         * sysdeps/sh/configure.in: Moved to ...
17563         * sysdeps/sh/configure.ac: ... here.
17564         * sysdeps/sparc/configure.in: Moved to ...
17565         * sysdeps/sparc/configure.ac: ... here.
17566         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17567         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17568         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17569         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17570         * sysdeps/x86_64/configure.in: Moved to ...
17571         * sysdeps/x86_64/configure.ac: ... here.
17572         * sysdeps/x86_64/preconfigure.in: Moved to ...
17573         * sysdeps/x86_64/preconfigure.ac: ... here.
17574         * aclocal.m4: Change reference to configure.in to configure.ac.
17575         * config.h.in: Likewise.
17576         * manual/install.texi: Likewise.
17577         * manual/maint.texi: Likewise.
17578         * Makefile: Likewise.
17579         * malloc/Makefile: Likewise.
17580         * nscd/Makefile: Likewise.
17581         * Makeconfig: Change reference to configure.in and
17582         preconfigure.in to configure.ac and preconfigure.ac
17583         respectively.
17584         * INSTALL: Regenerated.
17585         * configure: Likewise.
17586         * sysdeps/gnu/configure: Likewise.
17587         * sysdeps/i386/configure: Likewise.
17588         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17589         * sysdeps/mach/configure: Likewise.
17590         * sysdeps/mach/hurd/configure: Likewise.
17591         * sysdeps/powerpc/configure: Likewise.
17592         * sysdeps/powerpc/powerpc32/configure: Likewise.
17593         * sysdeps/powerpc/powerpc64/configure: Likewise.
17594         * sysdeps/s390/s390-32/configure: Likewise.
17595         * sysdeps/s390/s390-64/configure: Likewise.
17596         * sysdeps/sh/configure: Likewise.
17597         * sysdeps/sparc/configure: Likewise.
17598         * sysdeps/unix/sysv/linux/configure: Likewise.
17599         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17600         * sysdeps/x86_64/configure: Likewise.
17601         * sysdeps/x86_64/preconfigure: Likewise.
17603 2013-10-29  Andreas Schwab  <schwab@suse.de>
17605         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17607 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17609         * benchtests/pow-inputs: Add new inputs.
17611         * benchtests/exp-inputs: Add new inputs.
17613         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17614         conditional check for return value.
17615         (__cos32): Likewise.
17617 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17619         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17620         to provide a boost for large inputs with word alignment.
17621         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17622         implementation based on optimized PPC64 strcpy.
17623         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17624         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17625         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17626         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17628 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17630         [BZ #2801]
17631         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17633 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17635         [BZ #14876]
17636         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17637         * time/tst-strptime.c (day_tests): Add testcase.
17639 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17641         [BZ #14029]
17642         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17644 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17646         [BZ #16074]
17647         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17648         MAP_FAILED on error.
17650 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17652         [BZ #16072]
17653         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17654         heap for large requests.
17656 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17658         [BZ #9954]
17659         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17660         result if the result has no associated interface.
17661         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17662         interface for all 127.X.Y.Z addresses.
17664 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17666         * locale/iso-639.def: Add Ligurian (lij)
17668 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17670         [BZ #15825]
17671         * sunrpc/rpc_main.c: Document rpcgen -5.
17673 2013-10-19  Michael Stahl  <mstahl@redhat.com>
17675         * elf/rtld.c (do_preload): Print the reason why preloading failed.
17677 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17679         [BZ #10278]
17680         * posix/glob.c: Match only directories when trailing slash is present.
17681         * posix/tst-gnuglob.c (my_opendir): Do not open files.
17682         (main): Add testcase.
17684 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17686         [BZ #15670]
17687         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17689 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
17691         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17692         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17693         AUTH_DES and cindex for FIPS 140-2.
17694         (DES Encryption): Add cindex FIPS 46-3.
17696         * locale/locarchive.h (struct locarhandle): Add fname.
17697         * locale/programs/localedef.c (main): Pass ARGV[remaining]
17698         if an optional argument was specified to --list-archive,
17699         otherwise NULL.
17700         * locale/programs/locarchive.c (show_archive_content): Take new
17701         argument fname and pass it via ah.fname to open_archive.
17702         * locale/programs/localedef.h: Update decl.
17703         (open_archive): If AH->fname is non-null, open that file
17704         rather than the default file name, and don't ignore ENOENT.
17705         (create_archive): Set AH.fname to NULL.
17706         (delete_locales_from_archive): Likewise.
17707         (add_locales_to_archive): Likewise.
17708         * locale/programs/locfile.c (write_all_categories): Likewise.
17710 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
17711             Aldy Hernandez  <aldyh@redhat.com>
17713         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17714         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17715         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17716         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17717         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17718         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17719         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17720         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17721         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17722         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17723         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17724         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17725         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17726         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17727         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17728         Likewise.
17729         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17730         Likewise.
17731         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17732         Likewise.
17733         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17734         Likewise.
17735         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17736         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17737         Likewise.
17738         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17739         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17740         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17741         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17742         Likewise.
17743         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17744         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17745         * sysdeps/powerpc/preconfigure: Likewise.
17746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17747         Likewise.
17748         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17749         Replace contents of file by #include of <fenv_libc.h>.
17750         * sysdeps/powerpc/soft-fp/sfp-machine.h
17751         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17752         and <sys/prctl.h>.
17753         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17754         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17755         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17756         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17757         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17758         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17759         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17760         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17761         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17762         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17763         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17764         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17766         Allow copysignl PLT reference to be missing.
17768 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
17769             Joseph Myers  <joseph@codesourcery.com
17771         [BZ #15948]
17772         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17773         single character.
17774         (add_to_tablewc): Assert sequence of wide characters is nonempty.
17776 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17778         * elf/tst-tls-dlinfo.c: Don't include tls.h.
17779         * elf/tst-tls1.c: Likewise.
17780         * elf/tst-tls10.h: Likewise.
17781         * elf/tst-tls14.c: Likewise.
17782         * elf/tst-tls2.c: Likewise.
17783         * elf/tst-tls3.c: Likewise.
17784         * elf/tst-tls4.c: Likewise.
17785         * elf/tst-tls5.c: Likewise.
17786         * elf/tst-tls6.c: Likewise.
17787         * elf/tst-tls7.c: Likewise.
17788         * elf/tst-tls8.c: Likewise.
17789         * elf/tst-tls9.c: Likewise.
17790         * elf/tst-tlsmod1.c: Likewise.
17791         * elf/tst-tlsmod13.c: Likewise.
17792         * elf/tst-tlsmod13a.c: Likewise.
17793         * elf/tst-tlsmod14a.c: Likewise.
17794         * elf/tst-tlsmod16a.c: Likewise.
17795         * elf/tst-tlsmod16b.c: Likewise.
17796         * elf/tst-tlsmod2.c: Likewise.
17797         * elf/tst-tlsmod3.c: Likewise.
17798         * elf/tst-tlsmod4.c: Likewise.
17799         * elf/tst-tlsmod5.c: Likewise.
17800         * elf/tst-tlsmod6.c: Likewise.
17802 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
17804         [BZ #12486]
17805         * malloc/malloc.c: remove checks for statistics.
17807 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17809         [BZ #15277]
17810         * inet/inet_net.c (inet_network): Detect additional invalid strings.
17811         * inet/tst-network.c: Add testcase.
17813 2013-10-17  Andreas Schwab  <schwab@suse.de>
17815         [BZ #15218]
17816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17817         to determine canonical name.
17819 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17821         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17822         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17823         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17824         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17826         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17827         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17828         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17829         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17830         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17831         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17832         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17833         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17834         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17835         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17836         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17837         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17838         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17839         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17840         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17841         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17842         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17843         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17844         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17845         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17846         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17847         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17848         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17849         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17850         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17851         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17852         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17853         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17854         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17855         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17856         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17857         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17858         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17859         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17860         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17861         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17862         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17863         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17864         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17865         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17866         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17867         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17868         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17869         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17870         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17871         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17872         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17873         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17874         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17875         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17876         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17877         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17878         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17880 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
17882         [BZ #16041]
17883         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17884         make result into a quiet NaN.
17886 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
17888         * soft-fp/adddf3.c: Fix horizontal whitespace.
17889         * soft-fp/addsf3.c: Likewise.
17890         * soft-fp/addtf3.c: Likewise.
17891         * soft-fp/divdf3.c: Likewise.
17892         * soft-fp/divsf3.c: Likewise.
17893         * soft-fp/divtf3.c: Likewise.
17894         * soft-fp/double.h: Likewise.
17895         * soft-fp/eqdf2.c: Likewise.
17896         * soft-fp/eqsf2.c: Likewise.
17897         * soft-fp/eqtf2.c: Likewise.
17898         * soft-fp/extenddftf2.c: Likewise.
17899         * soft-fp/extended.h: Likewise.
17900         * soft-fp/extendsfdf2.c: Likewise.
17901         * soft-fp/extendsftf2.c: Likewise.
17902         * soft-fp/extendxftf2.c: Likewise.
17903         * soft-fp/fixdfdi.c: Likewise.
17904         * soft-fp/fixdfsi.c: Likewise.
17905         * soft-fp/fixdfti.c: Likewise.
17906         * soft-fp/fixsfdi.c: Likewise.
17907         * soft-fp/fixsfsi.c: Likewise.
17908         * soft-fp/fixsfti.c: Likewise.
17909         * soft-fp/fixtfdi.c: Likewise.
17910         * soft-fp/fixtfsi.c: Likewise.
17911         * soft-fp/fixtfti.c: Likewise.
17912         * soft-fp/fixunsdfdi.c: Likewise.
17913         * soft-fp/fixunsdfsi.c: Likewise.
17914         * soft-fp/fixunsdfti.c: Likewise.
17915         * soft-fp/fixunssfdi.c: Likewise.
17916         * soft-fp/fixunssfsi.c: Likewise.
17917         * soft-fp/fixunssfti.c: Likewise.
17918         * soft-fp/fixunstfdi.c: Likewise.
17919         * soft-fp/fixunstfsi.c: Likewise.
17920         * soft-fp/fixunstfti.c: Likewise.
17921         * soft-fp/floatdidf.c: Likewise.
17922         * soft-fp/floatdisf.c: Likewise.
17923         * soft-fp/floatditf.c: Likewise.
17924         * soft-fp/floatsidf.c: Likewise.
17925         * soft-fp/floatsisf.c: Likewise.
17926         * soft-fp/floatsitf.c: Likewise.
17927         * soft-fp/floattidf.c: Likewise.
17928         * soft-fp/floattisf.c: Likewise.
17929         * soft-fp/floattitf.c: Likewise.
17930         * soft-fp/floatundidf.c: Likewise.
17931         * soft-fp/floatundisf.c: Likewise.
17932         * soft-fp/floatunditf.c: Likewise.
17933         * soft-fp/floatunsidf.c: Likewise.
17934         * soft-fp/floatunsisf.c: Likewise.
17935         * soft-fp/floatunsitf.c: Likewise.
17936         * soft-fp/floatuntidf.c: Likewise.
17937         * soft-fp/floatuntisf.c: Likewise.
17938         * soft-fp/floatuntitf.c: Likewise.
17939         * soft-fp/fmadf4.c: Likewise.
17940         * soft-fp/fmasf4.c: Likewise.
17941         * soft-fp/fmatf4.c: Likewise.
17942         * soft-fp/gedf2.c: Likewise.
17943         * soft-fp/gesf2.c: Likewise.
17944         * soft-fp/getf2.c: Likewise.
17945         * soft-fp/ledf2.c: Likewise.
17946         * soft-fp/lesf2.c: Likewise.
17947         * soft-fp/letf2.c: Likewise.
17948         * soft-fp/muldf3.c: Likewise.
17949         * soft-fp/mulsf3.c: Likewise.
17950         * soft-fp/multf3.c: Likewise.
17951         * soft-fp/negdf2.c: Likewise.
17952         * soft-fp/negsf2.c: Likewise.
17953         * soft-fp/negtf2.c: Likewise.
17954         * soft-fp/op-1.h: Likewise.
17955         * soft-fp/op-2.h: Likewise.
17956         * soft-fp/op-4.h: Likewise.
17957         * soft-fp/op-8.h: Likewise.
17958         * soft-fp/op-common.h: Likewise.
17959         * soft-fp/quad.h: Likewise.
17960         * soft-fp/single.h: Likewise.
17961         * soft-fp/soft-fp.h: Likewise.
17962         * soft-fp/sqrtdf2.c: Likewise.
17963         * soft-fp/sqrtsf2.c: Likewise.
17964         * soft-fp/sqrttf2.c: Likewise.
17965         * soft-fp/subdf3.c: Likewise.
17966         * soft-fp/subsf3.c: Likewise.
17967         * soft-fp/subtf3.c: Likewise.
17968         * soft-fp/truncdfsf2.c: Likewise.
17969         * soft-fp/trunctfdf2.c: Likewise.
17970         * soft-fp/trunctfsf2.c: Likewise.
17971         * soft-fp/trunctfxf2.c: Likewise.
17972         * soft-fp/unorddf2.c: Likewise.
17973         * soft-fp/unordsf2.c: Likewise.
17974         * soft-fp/unordtf2.c: Likewise.
17976 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
17978         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17979         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17981 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
17983         * elf/dl-libc.c: Clear initfini list after freeing.
17985 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
17987         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17988         * soft-fp/addsf3.c: Likewise.
17989         * soft-fp/addtf3.c: Likewise.
17990         * soft-fp/divdf3.c: Likewise.
17991         * soft-fp/divsf3.c: Likewise.
17992         * soft-fp/divtf3.c: Likewise.
17993         * soft-fp/double.h: Likewise.
17994         * soft-fp/eqdf2.c: Likewise.
17995         * soft-fp/eqsf2.c: Likewise.
17996         * soft-fp/eqtf2.c: Likewise.
17997         * soft-fp/extenddftf2.c: Likewise.
17998         * soft-fp/extended.h: Likewise.
17999         * soft-fp/extendsfdf2.c: Likewise.
18000         * soft-fp/extendsftf2.c: Likewise.
18001         * soft-fp/extendxftf2.c: Likewise.
18002         * soft-fp/fixdfdi.c: Likewise.
18003         * soft-fp/fixdfsi.c: Likewise.
18004         * soft-fp/fixdfti.c: Likewise.
18005         * soft-fp/fixsfdi.c: Likewise.
18006         * soft-fp/fixsfsi.c: Likewise.
18007         * soft-fp/fixsfti.c: Likewise.
18008         * soft-fp/fixtfdi.c: Likewise.
18009         * soft-fp/fixtfsi.c: Likewise.
18010         * soft-fp/fixtfti.c: Likewise.
18011         * soft-fp/fixunsdfdi.c: Likewise.
18012         * soft-fp/fixunsdfsi.c: Likewise.
18013         * soft-fp/fixunsdfti.c: Likewise.
18014         * soft-fp/fixunssfdi.c: Likewise.
18015         * soft-fp/fixunssfsi.c: Likewise.
18016         * soft-fp/fixunssfti.c: Likewise.
18017         * soft-fp/fixunstfdi.c: Likewise.
18018         * soft-fp/fixunstfsi.c: Likewise.
18019         * soft-fp/fixunstfti.c: Likewise.
18020         * soft-fp/floatdidf.c: Likewise.
18021         * soft-fp/floatdisf.c: Likewise.
18022         * soft-fp/floatditf.c: Likewise.
18023         * soft-fp/floatsidf.c: Likewise.
18024         * soft-fp/floatsisf.c: Likewise.
18025         * soft-fp/floatsitf.c: Likewise.
18026         * soft-fp/floattidf.c: Likewise.
18027         * soft-fp/floattisf.c: Likewise.
18028         * soft-fp/floattitf.c: Likewise.
18029         * soft-fp/floatundidf.c: Likewise.
18030         * soft-fp/floatundisf.c: Likewise.
18031         * soft-fp/floatunsidf.c: Likewise.
18032         * soft-fp/floatunsisf.c: Likewise.
18033         * soft-fp/floatuntidf.c: Likewise.
18034         * soft-fp/floatuntisf.c: Likewise.
18035         * soft-fp/floatuntitf.c: Likewise.
18036         * soft-fp/fmadf4.c: Likewise.
18037         * soft-fp/fmasf4.c: Likewise.
18038         * soft-fp/fmatf4.c: Likewise.
18039         * soft-fp/gedf2.c: Likewise.
18040         * soft-fp/gesf2.c: Likewise.
18041         * soft-fp/getf2.c: Likewise.
18042         * soft-fp/ledf2.c: Likewise.
18043         * soft-fp/lesf2.c: Likewise.
18044         * soft-fp/letf2.c: Likewise.
18045         * soft-fp/muldf3.c: Likewise.
18046         * soft-fp/mulsf3.c: Likewise.
18047         * soft-fp/multf3.c: Likewise.
18048         * soft-fp/negdf2.c: Likewise.
18049         * soft-fp/negsf2.c: Likewise.
18050         * soft-fp/negtf2.c: Likewise.
18051         * soft-fp/op-1.h: Likewise.
18052         * soft-fp/op-2.h: Likewise.
18053         * soft-fp/op-4.h: Likewise.
18054         * soft-fp/op-8.h: Likewise.
18055         * soft-fp/op-common.h: Likewise.
18056         * soft-fp/quad.h: Likewise.
18057         * soft-fp/single.h: Likewise.
18058         * soft-fp/soft-fp.h: Likewise.
18059         * soft-fp/sqrtdf2.c: Likewise.
18060         * soft-fp/sqrtsf2.c: Likewise.
18061         * soft-fp/sqrttf2.c: Likewise.
18062         * soft-fp/subdf3.c: Likewise.
18063         * soft-fp/subsf3.c: Likewise.
18064         * soft-fp/subtf3.c: Likewise.
18065         * soft-fp/truncdfsf2.c: Likewise.
18066         * soft-fp/trunctfdf2.c: Likewise.
18067         * soft-fp/trunctfsf2.c: Likewise.
18068         * soft-fp/trunctfxf2.c: Likewise.
18069         * soft-fp/unorddf2.c: Likewise.
18070         * soft-fp/unordsf2.c: Likewise.
18071         * soft-fp/unordtf2.c: Likewise.
18073 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
18075         [BZ #15672]
18076         * misc/error.c (error_tail): Fix possible buffer overflow.
18078 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
18080         [BZ #13028]
18081         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18082         address.
18084 2013-10-14  P. J. McDermott  <pj@pehjota.net>
18086         [BZ #832]
18087         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
18088         testing pipefail option.
18090 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18092         * soft-fp/double.h: Indent preprocessor directives inside #if.
18093         * soft-fp/extended.h: Likewise.
18094         * soft-fp/op-2.h: Likewise.
18095         * soft-fp/op-4.h: Likewise.
18096         * soft-fp/op-common.h: Likewise.
18097         * soft-fp/quad.h: Likewise.
18098         * soft-fp/single.h: Likewise.
18099         * soft-fp/soft-fp.h: Likewise.
18101 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
18103         * iconv/iconv_prog.c: Fix typos.
18104         * stdio-common/psiginfo-data.h: Likewise.
18106 2013-10-12   Reuben Thomas <rrt@sc3d.org>
18108         [BZ #15764]
18109         * locale/setlocale.c: Fix typo.
18111 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18113         [BZ #16036]
18114         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18115         signaling NaN arguments.
18116         * soft-fp/unordsf2.c (__unordsf2): Likewise.
18117         * soft-fp/unordtf2.c (__unordtf2): Likewise.
18119         [BZ #14910]
18120         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18121         unordered operands.
18122         * soft-fp/gesf2.c (__gesf2): Likewise.
18123         * soft-fp/getf2.c (__getf2): Likewise.
18124         * soft-fp/ledf2.c (__ledf2): Likewise.
18125         * soft-fp/lesf2.c (__lesf2): Likewise.
18126         * soft-fp/letf2.c (__letf2): Likewise.
18128         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18129         * soft-fp/eqsf2.c (__eqsf2): Likewise.
18130         * soft-fp/eqtf2.c (__eqtf2): Likewise.
18131         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18132         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18133         * soft-fp/fixdfti.c (__fixdfti): Likewise.
18134         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18135         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18136         * soft-fp/fixsfti.c (__fixsfti): Likewise.
18137         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18138         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18139         * soft-fp/fixtfti.c (__fixtfti): Likewise.
18140         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18141         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18142         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18143         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18144         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18145         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18146         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18147         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18148         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18149         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18150         * soft-fp/floatdisf.c (__floatdisf): Likewise.
18151         * soft-fp/floatsisf.c (__floatsisf): Likewise.
18152         * soft-fp/floattidf.c (__floattidf): Likewise.
18153         * soft-fp/floattisf.c (__floattisf): Likewise.
18154         * soft-fp/floattitf.c (__floattitf): Likewise.
18155         * soft-fp/floatundidf.c (__floatundidf): Likewise.
18156         * soft-fp/floatundisf.c (__floatundisf): Likewise.
18157         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18158         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18159         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18160         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18161         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18162         * soft-fp/gesf2.c (__gesf2): Likewise.
18163         * soft-fp/getf2.c (__getf2): Likewise.
18164         * soft-fp/ledf2.c (__ledf2): Likewise.
18165         * soft-fp/lesf2.c (__lesf2): Likewise.
18166         * soft-fp/letf2.c (__letf2): Likewise.
18168         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18169         Undefine and redefine.
18170         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18171         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18172         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18173         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18174         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18175         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18176         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18177         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18178         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18179         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18180         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18181         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18182         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18183         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18184         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18186         [BZ #16032]
18187         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18188         without decrementing exponent if mantissa >= that for the
18189         denominator, not >.
18190         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18191         denominator, not >.  Decrement exponent in < case instead of
18192         incrementing in >= case.
18193         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18194         without decrementing exponent if mantissa >= that for the
18195         denominator, not >.
18197         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18198         computing saturated result for unsigned overflow.
18200 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18201             Jeff Law  <law@redhat.com>
18203         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18204         (atan2Mp): Add systemtap probe marker.
18205         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18206         (__ieee754_log): Add systemtap probe marker.
18207         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18208         (atanMp): Add systemtap probe marker.
18209         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18210         (tanMp): Add systemtap probe marker.
18211         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18212         (__slowexp): Add systemtap probe marker.
18213         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18214         (__slowpow): Add systemtap probe marker.
18215         * manual/probes.texi: Document probes.
18217 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
18219         [BZ #15362]
18220         * libio/fileops.c (_IO_new_file_write): Return count of bytes
18221         written.
18222         (_IO_new_file_xsputn): Don't return EOF if nothing has been
18223         written.
18224         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18225         written to buffer but not flushed.
18226         * libio/iofwrite_u.c:  Likewise.
18227         * libio/iopadn.c:  Return bytes returned even if EOF was
18228         encountered.
18229         * libio/iowpadn.c:  Likewise.
18230         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18231         if _IO_padn does not write the whole buffer.
18232         [!COMPILE_WPRINTF] (PAD): Likewise.
18234 2013-10-10  David S. Miller  <davem@davemloft.net>
18236         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18237         directory block.
18239 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18241         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
18242         instead of FSF address.
18243         * soft-fp/fixdfti.c: Likewise.
18244         * soft-fp/fixsfti.c: Likewise.
18245         * soft-fp/fixtfti.c: Likewise.
18246         * soft-fp/fixunsdfti.c: Likewise.
18247         * soft-fp/fixunssfti.c: Likewise.
18248         * soft-fp/fixunstfti.c: Likewise.
18249         * soft-fp/floattidf.c: Likewise.
18250         * soft-fp/floattisf.c: Likewise.
18251         * soft-fp/floattitf.c: Likewise.
18252         * soft-fp/floatuntidf.c: Likewise.
18253         * soft-fp/floatuntisf.c: Likewise.
18254         * soft-fp/floatuntitf.c: Likewise.
18255         * soft-fp/trunctfxf2.c: Likewise.
18257         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
18258         * soft-fp/fixdfti.c: Likewise.
18259         * soft-fp/fixsfti.c: Likewise.
18260         * soft-fp/fixtfti.c: Likewise.
18261         * soft-fp/fixunsdfti.c: Likewise.
18262         * soft-fp/fixunssfti.c: Likewise.
18263         * soft-fp/fixunstfti.c: Likewise.
18264         * soft-fp/floattidf.c: Likewise.
18265         * soft-fp/floattisf.c: Likewise.
18266         * soft-fp/floattitf.c: Likewise.
18267         * soft-fp/floatuntidf.c: Likewise.
18268         * soft-fp/floatuntisf.c: Likewise.
18269         * soft-fp/floatuntitf.c: Likewise.
18270         * soft-fp/trunctfxf2.c: Likewise.
18272 2013-10-10  David S. Miller  <davem@davemloft.net>
18274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18276 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
18278         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18279         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18280         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18281         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18282         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18283         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18284         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18286         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18287         for NaNs before doing comparisons on argument.
18288         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18289         Likewise.
18291 2013-10-10  Will Newton  <will.newton@linaro.org>
18293         * malloc/hooks.c (memalign_check): Ensure the value of bytes
18294         passed to _int_memalign does not overflow.
18296 2013-10-10  Torvald Riegel  <triegel@redhat.com>
18298         * scripts/bench.pl: Add include-sources directive.
18299         * benchtests/README: Update documentation.
18301 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18303         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18304         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18305         instead of FP_INIT_ROUNDMODE.
18306         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18307         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18309         [BZ #16034]
18310         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
18311         copy class of input value.
18312         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
18313         not handle exceptions.
18314         * soft-fp/negsf2.c (__negsf2): Likewise.
18315         * soft-fp/negtf2.c (__negtf2): Likewise.
18316         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18318 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
18320         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18321         semicolon.  From Linux kernel.
18323 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
18325         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18327 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
18329         [BZ #156]
18330         * manual/socket.texi: Added statement about buffer
18331         for gethostbyname2_r.
18333 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
18335         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18336         Use .p2align directive instead, throughout.
18337         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18338         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18339         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18340         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18341         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18342         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18343         * sysdeps/x86_64/strchr.S: Likewise.
18344         * sysdeps/x86_64/strrchr.S: Likewise.
18346 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18348         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18350         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18352         * sysdeps/generic/math_private.h (__mpsin1): Remove
18353         declaration.
18354         (__mpcos1): Likewise.
18355         (__mpsin): New argument __range_reduce.
18356         (__mpcos): Likewise.
18357         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18358         (slow): Use __mpsin and __mpcos.
18359         (slow1): Likewise.
18360         (slow2): Likewise.
18361         (sloww): Likewise.
18362         (sloww1): Likewise.
18363         (sloww2): Likewise.
18364         (bsloww): Likewise.
18365         (bsloww1): Likewise.
18366         (bsloww2): Likewise.
18367         (cslow2): Likewise.
18368         (csloww): Likewise.
18369         (csloww1): Likewise.
18370         (csloww2): Likewise.
18371         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18372         range_reduce.  Merge in __mpsin1.
18373         (__mpcos): Likewise.
18374         (__mpsin1): Remove.
18375         (__mpcos1): Likewise.
18377 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
18379         * locale/loadlocale.c (_nl_intern_locale_data): Use
18380         LOCFILE_ALIGNED_P.
18381         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18382         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18383         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18384         obstack data is appropriately aligned.
18385         (obstack_int32_grow_fast): Likewise.
18386         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18387         * locale/programs/locfile.c (add_locale_uint32): Likewise.
18388         (add_locale_uint32_array): Likewise.
18390 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18392         * benchtests/Makefile: Remove ARGLIST and RET variables.
18393         ($(objpfx)bench-%.c): Pass only function name to the script.
18394         * benchtests/README: Update documentation.
18395         * benchtests/acos-inputs: Add new directives.
18396         * benchtests/acosh-inputs: Likewise.
18397         * benchtests/asin-inputs: Likewise.
18398         * benchtests/asinh-inputs: Likewise.
18399         * benchtests/atan-inputs: Likewise.
18400         * benchtests/atanh-inputs: Likewise.
18401         * benchtests/cos-inputs: Likewise.
18402         * benchtests/cosh-inputs: Likewise.
18403         * benchtests/exp-inputs: Likewise.
18404         * benchtests/log-inputs: Likewise.
18405         * benchtests/pow-inputs: Likewise.
18406         * benchtests/rint-inputs: Likewise.
18407         * benchtests/sin-inputs: Likewise.
18408         * benchtests/sinh-inputs: Likewise.
18409         * benchtests/tan-inputs: Likewise.
18410         * benchtests/tanh-inputs: Likewise.
18411         * scripts/bench.pl: Add support for new directives.
18413 2013-10-07  Alan Modra  <amodra@gmail.com>
18415         * README: Fix careless merge.
18417 2013-10-05  Alan Modra  <amodra@gmail.com>
18419         * NEWS: Mention powerpc64le support and bugs fixed.
18420         * README: Both big-endian and little-endian powerpc64 supported.
18422 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18424         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18425         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18426         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18427         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18429 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
18431         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18432         match prototype.
18434 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
18436         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18437         Move -mhard-float appending from
18438         ports/sysdeps/powerpc/powerpc32/Makefile.
18439         [$(with-fp) = yes] (ASFLAGS): Likewise.
18440         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18441         * sysdeps/powerpc/nofpu: Move directory from
18442         ports/sysdeps/powerpc/nofpu.
18443         * sysdeps/powerpc/soft-fp: Move directory from
18444         ports/sysdeps/powerpc/soft-fp.
18445         * sysdeps/powerpc/powerpc32/405: Move directory from
18446         ports/sysdeps/powerpc/powerpc32/405.
18447         * sysdeps/powerpc/powerpc32/440: Move directory from
18448         ports/sysdeps/powerpc/powerpc32/440.
18449         * sysdeps/powerpc/powerpc32/464: Move directory from
18450         ports/sysdeps/powerpc/powerpc32/464.
18451         * sysdeps/powerpc/powerpc32/476: Move directory from
18452         ports/sysdeps/powerpc/powerpc32/476.
18453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18454         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18456         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18458         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18460         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18462         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18463         * README: Update for powerpc-*-linux-gnu software floating point
18464         support in libc.
18466         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18467         case to powerpc/powerpc32*.
18468         * sysdeps/unix/sysv/linux/configure: Regenerated.
18470         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18471         (_FPU_MASK_OM): Define as 0x04.
18472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18474         0x00c10080.
18475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18476         0x0000003c.
18477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18480         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18481         getcontext_e500.
18482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18483         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18484         setcontext_e500.
18485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18486         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18487         and setcontext_e500.
18489 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18491         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18493 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18495         * manual/threads.texi (Default Thread Attributes): Fix typo.
18497 2013-10-04  Will Newton  <will.newton@linaro.org>
18499         * malloc/Makefile: Add tst-memalign.
18500         * malloc/tst-memalign.c: New file.
18502         * malloc/tst-posix_memalign.c: Add comments.
18503         (do_test): Add comments and call free on all potentially
18504         allocated pointers. Add space after cast.
18506         * malloc/tst-pvalloc.c: Add comments.
18507         (do_test): Add comments and call free on all potentially
18508         allocated pointers. Remove duplicate check for NULL pointer.
18509         Add space after cast.
18511         * malloc/tst-valloc.c: Add comments.
18512         (do_test): Add comments and call free on all potentially
18513         allocated pointers. Remove duplicate check for NULL pointer.
18514         Add space after cast.
18516 2013-10-04  Alan Modra  <amodra@gmail.com>
18518         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18519         Use stdint types in rather than __attribute__((mode())).
18520         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18522 2013-10-04  Alan Modra  <amodra@gmail.com>
18524         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18525         Correct handling of unaligned relocs for little-endian.
18526         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18528 2013-10-04  Alan Modra  <amodra@gmail.com>
18530         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18531         * configure: Regenerate.
18532         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18533         * shlib-versions: Likewise.
18535 2013-10-04  Alan Modra  <amodra@gmail.com>
18537         * string/tester.c (test_memrchr): Increment reported test cycle.
18539 2013-10-04  Alan Modra  <amodra@gmail.com>
18541         * string/test-memcpy.c (do_one_test): When reporting errors, print
18542         string address and don't overrun end of string.
18544 2013-10-04  Alan Modra  <amodra@gmail.com>
18546         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18547         insrdi.  Make better use of reg selection to speed exit slightly.
18548         Schedule entry path a little better.  Remove useless "are we done"
18549         checks on entry to main loop.  Handle wrapping around zero address.
18550         Correct main loop count.  Handle single left-over word from main
18551         loop inline rather than by using loop_small.  Remove extra word
18552         case in loop_small caused by wrong loop count.  Add little-endian
18553         support.
18554         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18555         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18556         cache hint.
18557         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18558         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18559         support.  Avoid rlwimi.
18560         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18562 2013-10-04  Alan Modra  <amodra@gmail.com>
18564         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18565         insrdi.  Formatting.
18566         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18567         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18568         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18569         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18570         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18571         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18573 2013-10-04  Alan Modra  <amodra@gmail.com>
18575         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18576         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18577         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18578         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18579         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18580         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18581         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18582         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18583         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18584         use of regs.  Use power7 mtocrf.  Tidy function tails.
18586 2013-10-04  Alan Modra  <amodra@gmail.com>
18588         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18589         Formatting.  Consistently use rXXX register defines or rN defines.
18590         Use early exit labels that avoid restoring unused non-volatile regs.
18591         Make cr field use more consistent with rWORDn compares.  Rename
18592         regs used as shift registers for unaligned loop, using rN defines
18593         for short lifetime/multiple use regs.
18594         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18595         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18596         addi 1,1,64 to pop stack frame.  Simplify return value code.
18597         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18599 2013-10-04  Alan Modra  <amodra@gmail.com>
18601         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18602         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18603         rather than rlwimi.
18604         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18605         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18606         little-endian support.  Correct typos.
18607         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18608         rather than rlwimi.
18609         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18610         in loop and entry code to keep "and." results.
18611         (strchr): Add little-endian support.  Comment.  Move cntlzd
18612         earlier in tail.
18613         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18615 2013-10-04  Alan Modra  <amodra@gmail.com>
18617         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18618         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18619         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18620         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18622 2013-10-04  Alan Modra  <amodra@gmail.com>
18624         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18625         (rTMP): Define as r11.
18626         (strcmp): Add little-endian support.  Optimise tail.
18627         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18628         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18629         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18630         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18631         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18632         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18633         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18635 2013-10-04  Alan Modra  <amodra@gmail.com>
18637         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18638         little-endian support.  Remove unnecessary "are we done" tests.
18639         Handle "s" wrapping around zero and extremely large "size".
18640         Correct main loop count.  Handle single left-over word from main
18641         loop inline rather than by using small_loop.  Correct comments.
18642         Delete "zero" tail, use "end_max" instead.
18643         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18645 2013-10-04  Alan Modra  <amodra@gmail.com>
18647         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18648         support.  Don't branch over align.
18649         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18650         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18651         support.  Rearrange tmp reg use to suit.  Comment.
18652         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18654 2013-10-04  Alan Modra  <amodra@gmail.com>
18656         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18658 2013-10-04  Alan Modra  <amodra@gmail.com>
18660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18661         conditional form of branch and link when obtaining pc.
18662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18664 2013-10-04  Alan Modra  <amodra@gmail.com>
18666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18667         HIWORD/LOWORD.
18668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18671 2013-10-04  Alan Modra  <amodra@gmail.com>
18673         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18674         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18675         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18676         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18677         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18678         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18679         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18680         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18681         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18682         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18684 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18685             Alistair Popple <alistair@ozlabs.au.ibm.com>
18686             Alan Modra <amodra@gmail.com>
18688         [BZ #15723]
18689         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18690         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18691         _dl_hwcap access for little-endian.
18692         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
18693         destroy vmx regs when saving unaligned.
18694         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18695         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
18696         destroy vmx regs when saving unaligned.
18698 2013-10-04  Alan Modra  <amodra@gmail.com>
18700         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18701         Don't use a union to pack hi/low value.
18703 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18705         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18706         for little-endian.
18707         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18708         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18709         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18710         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18711         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18713 2013-10-04  Alan Modra  <amodra@gmail.com>
18715         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18716         constants to usual value for .cst8 section, and remove redundant
18717         high address load.
18718         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18719         constant for 0x1p52.  Load little-endian words of double from
18720         correct stack offsets.
18722 2013-10-04  Alan Modra  <amodra@gmail.com>
18724         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18725         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18726         words of double from correct stack offsets.
18727         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18728         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18729         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18730         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18731         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18732         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18733         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18734         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18735         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18736         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18737         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18738         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18739         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18740         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18741         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18742         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18743         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18745 2013-10-04  Alan Modra  <amodra@gmail.com>
18747         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18748         64-bit int/double union.
18749         (_FPU_SETCW): Likewise.
18750         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18751         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18753 2013-10-04  Alan Modra  <amodra@gmail.com>
18755         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18756         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18758 2013-10-04  Alan Modra  <amodra@gmail.com>
18760         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18761         use vector int constants.
18762         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18764 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18766         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18767         array with long long.
18768         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18769         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18770         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18771         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18772         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18773         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18774         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18775         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18776         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18777         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18778         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18779         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18780         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18782 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18784         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18785         (__signbit): Likewise.  Correct for little-endian.
18786         (__signbitl): Call __signbit.
18787         (lrint): Correct for little-endian.
18788         (lrintf): Call lrint.
18790 2013-10-04  Alan Modra  <amodra@gmail.com>
18792         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18793         union 32-bit int array member with 64-bit int array.
18794         (t515, tm256): Double rather than long double.
18795         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18797 2013-10-04  Alan Modra  <amodra@gmail.com>
18799         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18800         Delete.
18801         (IEEE854_LONG_DOUBLE_BIAS): Delete.
18802         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18803         version of math_ldbl.h.
18805 2013-10-04  Alan Modra  <amodra@gmail.com>
18807         [BZ #15734], [BZ #15735]
18808         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18809         all uses of ieee875 long double macros and unions.  Simplify test
18810         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
18811         ldbl_extract_mantissa value for ix,iy exponents.  Properly
18812         normalize after ldbl_extract_mantissa, and don't add hidden bit
18813         already handled.  Don't treat low word of ieee854 mantissa like
18814         low word of IBM long double and mask off bit when testing for
18815         zero.
18816         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18817         all uses of ieee875 long double macros and unions.  Simplify tests
18818         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
18819         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
18820         two1022, instead use their values.  Recognise that tests for large
18821         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
18822         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18823         Rewrite all uses of ieee875 long double macros and unions.  Simplify
18824         test for 0.0L and nan.  Correct negation.
18825         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18826         ieee875 long double macros and unions.  Correct output for large
18827         magnitude x.  Correct absolute value calculation.
18828         (__erfcl): Likewise.
18829         * math/libm-test.inc: Add tests for errors discovered in IBM long
18830         double versions of fmodl, remainderl, erfl and erfcl.
18832 2013-10-04  Alan Modra  <amodra@gmail.com>
18834         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18835         all uses of ieee854 long double macros and unions.  Simplify tests
18836         for long doubles that are fully specified by the high double.
18837         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18838         Likewise.
18839         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18840         Remove dead code too.
18841         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18842         (__ieee754_ynl): Likewise.
18843         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18844         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18845         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18846         Remove dead code too.
18847         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18848         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18849         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18850         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18851         Simplify.
18852         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18853         Simplify.
18854         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18855         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18856         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18857         Comment on variable precision.
18858         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18859         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18860         Likewise.
18861         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18862         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18863         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18864         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18865         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18867 2013-10-04  Alan Modra  <amodra@gmail.com>
18869         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18870         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18871         all uses of ieee854 long double macros and unions.
18872         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18873         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18874         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18875         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18876         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18877         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18878         Likewise.
18879         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18880         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18881         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18882         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18883         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18884         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18885         Simplify sign and nan test too.
18886         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18887         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18888         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18889         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18890         Likewise.
18891         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18892         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18893         Likewise.
18894         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18895         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18896         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18897         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18898         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18901 2013-10-04  Alan Modra  <amodra@gmail.com>
18903         * stdio-common/printf_size.c (__printf_size): Don't use
18904         union ieee854_long_double in fpnum union.
18905         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
18906         signbit macro to retrieve sign from long double.
18907         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18908         retrieve sign from long double.
18909         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18910         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18911         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18912         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18913         * math/test-misc.c (main): Don't use union ieee854_long_double.
18915 2013-10-04  Alan Modra  <amodra@gmail.com>
18917         [BZ #15680]
18918         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18919         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18920         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18921         calculation.  Remove unnecessary test for denormal exponent.
18922         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18923         Correct handling of denormals.  Avoid undefined shift behaviour.
18924         Correct normalisation of low mantissa when low double is denormal.
18925         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18926         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
18927         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18928         Correct normalisation of low mantissa.  Test for overflow of high
18929         mantissa and normalise.
18930         (ldbl_nearbyint): Use more readable constant for two52.
18931         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18932         (__mpn_construct_long_double): Fix test for overflow of high
18933         mantissa and correct normalisation.  Avoid undefined shift.
18935 2013-10-04  Alan Modra  <amodra@gmail.com>
18937         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18938         (union ibm_extended_long_double): Define as an array of ieee754_double.
18939         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18940         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18941         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18942         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18943         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18944         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18945         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18946         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18947         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18948         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18949         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18951 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
18953         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18954         page size instead of calling getpagesize.
18956         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18957         (LOCFILE_ALIGN_MASK): Likewise.
18958         (LOCFILE_ALIGN_UP): Likewise.
18959         (LOCFILE_ALIGNED_P): Likewise.
18960         * locale/programs/ld-collate.c (collate_output): Use the new
18961         macros instead of __alignof__ (int32_t).
18962         * locale/weight.h (findidx): Likewise.
18964 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
18966         [BZ #431]
18967         * manual/string.texi: Fix strncat and wcsncat.
18969 2013-10-03  Brooks Moses  <bmoses@google.com>
18971         [BZ #15915]
18972         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18973         * Makerules: ...here, and adjust associated comments.
18975 2013-10-02  Will Newton  <will.newton@linaro.org>
18977         * malloc/Makefile: Add tst-pvalloc.
18978         * malloc/tst-pvalloc.c: New file.
18980 2013-10-02  Will Newton  <will.newton@linaro.org>
18982         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18983         improve test coverage.
18985 2013-10-02  Will Newton  <will.newton@linaro.org>
18987         * malloc/Makefile: Add tst-posix_memalign.
18988         * malloc/tst-posix_memalign.c: New file.
18990 2013-10-01  Eric Blake  <eblake@redhat.com>
18992         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18993         Use __THROWNL rather than __THROW on static functions.
18995 2013-09-30  Petr Machata  <pmachata@redhat.com>
18997         * elf/elf.h (R_AARCH64_ABS16): New macro.
18998         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18999         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19000         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19001         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19002         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19003         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19004         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19005         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19006         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19007         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19008         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19009         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19010         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19011         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19012         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19013         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19014         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19015         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19016         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19017         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19018         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19019         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19020         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19021         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19022         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19023         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19024         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19025         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19026         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19027         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19028         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19029         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19030         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19031         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19032         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19033         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19034         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19035         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19036         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19037         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19038         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19039         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19040         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19041         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19042         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19043         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19044         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19045         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19046         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19047         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19048         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19049         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19050         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19051         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19052         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19053         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19054         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19055         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19056         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19057         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19058         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19059         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19060         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19061         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19062         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19063         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19064         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19065         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19066         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19067         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19068         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19069         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19070         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19071         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19072         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19073         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19074         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19075         (R_AARCH64_TLSDESC_LDR): Likewise.
19076         (R_AARCH64_TLSDESC_ADD): Likewise.
19077         (R_AARCH64_TLSDESC_CALL): Likewise.
19079 2013-09-30  Andreas Schwab  <schwab@suse.de>
19081         [BZ #15048]
19082         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19083         the nss database lookup.
19084         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19087 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
19089         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19091 2013-09-28  P. J. McDermott  <pj@pehjota.net>
19093         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19094         ${Bash-specific parameter/pattern/string} parameter expansion.
19095         * sysdeps/unix/make-syscalls.sh: Likewise.
19097 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19099         * sysdeps/sh/stackguard-macros.h: New file.
19101 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
19103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19104         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19105         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19106         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19107         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19108         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19110 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19112         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19113         Fix thread ID register.
19115 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
19117         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19118         [POSIX || UNIX98]: Require rather than permitting all symbols from
19119         <time.h>.
19120         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19121         element of struct sched_param.
19122         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19123         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19124         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19125         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19126         constant.
19128 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
19130         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19131         argument calculation.
19133 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19135         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19136         Expect macro.
19137         [POSIX] (pthread_attr_t): Do not require type.
19138         [POSIX] (pthread_cond_t): Likewise.
19139         [POSIX] (pthread_condattr_t): Likewise.
19140         [POSIX] (pthread_key_t): Likewise.
19141         [POSIX] (pthread_mutex_t): Likewise.
19142         [POSIX] (pthread_mutexattr_t): Likewise.
19143         [POSIX] (pthread_once_t): Likewise.
19144         [POSIX] (pthread_t): Likewise.
19145         [POSIX-based standards] (pthread_atfork): Expect function.
19147 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19148             Richard Sandiford  <richard@codesourcery.com>
19150         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19151         (swap_endianness_p): New extern variable.
19152         (set_big_endian): New inline function.
19153         (maybe_swap_uint32): Likewise.
19154         (maybe_swap_uint32_array): Likewise.
19155         (maybe_swap_uint32_obstack): Likewise.
19156         * locale/programs/locfile.c: Include <stdbool.h>.
19157         (swap_endianness_p): New variable.
19158         (add_locale_uint32): Call maybe_swap_uint32.
19159         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19160         (write_locale_data): Call maybe_swap_uint32_array.
19161         * locale/programs/ld-collate.c (obstack_int32_grow): Call
19162         maybe_swap_uint32.
19163         (obstack_int32_grow_fast): Likewise.
19164         (output_weightwc): Call maybe_swap_uint32_obstack.
19165         (collate_output): Likewise.
19166         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19167         (OPT_LITTLE_ENDIAN): Likewise.
19168         (options): Add --little-endian and --big-endian options.
19169         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19170         * locale/programs/locarchive.c: Include "locfile.h".
19171         (GET): New macro.
19172         (SET): Likewise.
19173         (INC): Likewise.
19174         (create_archive): Use the new macros to access fields of
19175         structures directly mapped from or written to locale archives.
19176         (oldlocrecentcmp): Likewise.
19177         (enlarge_archive): Likewise.
19178         (insert_name): Likewise.
19179         (add_alias): Likewise.
19180         (add_locale): Likewise.
19181         (delete_locales_from_archive): Likewise.
19182         (show_archive_content): Likewise.
19183         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
19184         locale data.
19186 2013-09-24  Roland McGrath  <roland@hack.frob.com>
19188         * manual/freemanuals.texi: Updated from (newly) canonical copy at
19189         http://www.gnu.org/doc/freemanuals.texi.
19190         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19192 2013-09-24  Will Newton  <will.newton@linaro.org>
19194         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19195         macro.
19197 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
19199         * locale/hashval.h (compute_hashval): Interpret bytes of key as
19200         unsigned char.
19202 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
19204         * manual/threads.texi (POSIX Threads): Fix a typo.
19206 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19208         [BZ #14547]
19209         * string/tst-strcoll-overflow.c: New test case.
19210         * string/Makefile (xtests): Add tst-strcoll-overflow.
19211         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19212         cache if string sizes may cause integer overflow.
19214         [BZ #14547]
19215         * string/strcoll_l.c (coll_seq): New members rule, idx,
19216         save_idx and back_us.
19217         (get_next_seq_nocache): New function.
19218         (do_compare_nocache): New function.
19219         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19220         when malloc fails.
19222 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
19224         [BZ #15754]
19225         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19226         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19227         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19229         [BZ #15754]
19230         * elf/Makefile (tests): Add tst-ptrguard1.
19231         (tests-static): Add tst-ptrguard1-static.
19232         (tst-ptrguard1-ARGS): Define.
19233         (tst-ptrguard1-static-ARGS): Define.
19234         * elf/tst-ptrguard1.c: New file.
19235         * elf/tst-ptrguard1-static.c: New file.
19236         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19237         * sysdeps/i386/stackguard-macros.h: Likewise.
19238         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19239         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19240         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19241         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19242         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19243         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19245 2013-09-23  Hector Marco  <hecmargi@upv.es>
19246             Ismael Ripoll  <iripoll@disca.upv.es>
19247             Carlos O'Donell  <carlos@redhat.com>
19249         [BZ #15754]
19250         * sysdeps/generic/stackguard-macros.h: Define
19251         __pointer_chk_guard_local and POINTER_CHK_GUARD.
19252         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19253         Define __pointer_chk_guard_local.
19254         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19255         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19257 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
19259         [BZ #15859]
19260         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19262 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
19264         * include/string.h (__ffs): Declare as hidden.
19265         * string/ffs.c (__ffs): Define as hidden.
19266         * sysdeps/i386/ffs.c (__ffs): Likewise.
19267         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19268         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19269         * sysdeps/s390/ffs.c (__ffs): Likewise.
19270         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19272 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
19274         * NEWS: Mention malloc probes.
19276         * malloc/arena.c (new_heap): New memory_heap_new probe.
19277         (grow_heap): New memory_heap_more probe.
19278         (shrink_heap): New memory_heap_less probe.
19279         (heap_trim): New memory_heap_free probe.
19280         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19281         (systrim): New memory_sbrk_less probe.
19282         * manual/probes.texi: Document them.
19284         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19285         * manual/probes.texi: Document it.
19287         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19288         (__libc_realloc): Add memory_realloc_retry probe.
19289         (__libc_memalign): Add memory_memalign_retry probe.
19290         (__libc_valloc): Add memory_valloc_retry probe.
19291         (__libc_pvalloc): Add memory_pvalloc_retry probe.
19292         (__libc_calloc): Add memory_calloc_retry probe.
19293         * manual/probes.texi: Document them.
19295         * malloc/arena.c (get_free_list): Add probe
19296         memory_arena_reuse_free_list.
19297         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19298         and memory_arena_reuse.
19299         (arena_get2) [!PER_THREAD]: Likewise.
19300         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19301         memory_arena_reuse_realloc.
19302         * manual/probes.texi: Document them.
19304         * malloc/malloc.c (__libc_free): Add
19305         memory_mallopt_free_dyn_thresholds probe.
19306         (__libc_mallopt): Add multiple memory_mallopt probes.
19307         * manual/probes.texi: Document them.
19309         * malloc/malloc.c: Include stap-probe.h.
19310         (__libc_mallopt): Add memory_mallopt probe.
19311         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19312         * manual/probes.texi: New.
19313         * manual/Makefile (chapters): Add probes.
19314         * manual/threads.texi: Set next node.
19316 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
19318         [BZ #15963, #13985]
19319         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19320         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19321         Add `Chinese' to `nan' entry name.
19323 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19325         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19326         (POLYNOMIAL): Likewise.
19327         (TAYLOR_SINCOS): Likewise.
19328         (TAYLOR_SLOW): Likewise.
19329         (__sin): Use TAYLOR_SINCOS.
19330         (__cos): Likewise.
19331         (slow): Use TAYLOR_SLOW.
19332         (sloww): Likewise.
19333         (bsloww): Likewise.
19334         (csloww): Likewise.
19336 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19338         * stdlib/strtod_l.c: Fix buffer overrun.
19340 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19342         * benchtests/Makefile (bench): Add sincos.
19343         * benchtests/bench-sincos.c: New file.
19345         * math/libm-test.inc (cos_test_data): New test inputs.
19346         (sin_test_data): Likewise.
19348         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19349         macro.
19350         (__sin): Use it.
19351         (__cos): Likewise.
19352         (slow1): Likewise.
19353         (slow2): Likewise.
19354         (sloww1): Likewise.
19355         (sloww2): Likewise.
19356         (bsloww1): Likewise.
19357         (bsloww2): Likewise.
19358         (cslow2): Likewise.
19359         (csloww1): Likewise.
19360         (csloww2): Likewise.
19362         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19363         function.
19364         (__sin): Use it.
19365         (__cos): Likewise.
19367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19368         gotos.
19369         (__cos): Likewise.
19371 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
19373         * config.h.in (HAVE_MIPS_NAN2008): New macro.
19374         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19375         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19376         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19377         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19378         * elf/cache.c (print_entry): Handle the new cache flags.
19380 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19381             Aldy Hernandez  <aldyh@redhat.com>
19383         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19384         Change condition to [_SOFT_FLOAT].
19385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19389         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19390         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19392         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19394         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19397         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19400         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19401         declaration.
19403 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19405         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19406         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19407         (__longjmp): Use LOAD_GP to load saved GPRs.
19408         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19409         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19410         (__sigsetjmp): Use SAVE_GP to save GPRs.
19412         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19413         Do not append -msoft-float.
19414         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19416 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19418         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19420 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
19422         [BZ #15966]
19423         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19424         (_FPU_GETCW): Use initial "__" on variable and field names but not
19425         on macro parameter name.
19426         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
19427         parentheses around reference to macro parameter.
19429 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
19431         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19432         prototype.
19433         (ctype_startup): Use uint32_t in cast and sizeof for
19434         ctype->charnames.
19436 2013-09-11  Jia Liu  <proljc@gmail.com>
19438         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19439         __daddr_t_defined.
19440         [__FreeBSD__]: Likewise.
19442 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
19444         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19445         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19446         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19447         (strchr): Remove __strchr_sse42 ifunc selection.
19448         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19449         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19451 2013-09-11  Will Newton  <will.newton@linaro.org>
19453         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19454         parameter to RES. Remove hardcoded 1000 value.
19455         * benchtests/bench-skeleton.c (main): Pass RES parameter
19456         to TIMING_INIT and multiply result by 1000.
19458 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19462 2013-09-11  Andreas Schwab  <schwab@suse.de>
19464         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19465         if not defined.
19466         (O_TMPFILE) [__USE_GNU]: Define.
19467         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19468         Define.
19470 2013-09-11  Will Newton  <will.newton@linaro.org>
19472         [BZ #15857]
19473         * malloc/malloc.c (__libc_memalign): Check the value of bytes
19474         does not overflow.
19476 2013-09-11  Will Newton  <will.newton@linaro.org>
19478         [BZ #15856]
19479         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19480         does not overflow.
19482 2013-09-11  Will Newton  <will.newton@linaro.org>
19484         [BZ #15855]
19485         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19486         does not overflow.
19488 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19490         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19491         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19492         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19493         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19494         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19496 2013-09-10  Allan McRae  <allan@archlinux.org>
19498         [BZ #15748]
19499         * manual/arith.texi (Parsing of Floats): Clarify
19500         cross-reference.
19502         [BZ #15849]
19503         * manual/install.texi (Running make install): Mention
19504         --enable-pt-chown.
19505         * INSTALL: Regenerated.
19507 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19509         * csu/init-first.c (_init): Remove the !SHARED condition around
19510         FPU control word initialization.
19511         * elf/dl-support.c (_dl_fpu_control): New variable.
19512         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19513         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19514         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19515         * math/test-fpucw-static.c: New file.
19516         * math/test-fpucw-ieee.c: New file.
19517         * math/test-fpucw-ieee-static.c: New file.
19518         * math/Makefile (tests): Add `test-fpucw-ieee' and
19519         `$(tests-static)'.
19520         (tests-static): New variable.
19521         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19522         dependency to...
19523         [($(build-shared),yes)]
19524         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19525         ... this.
19526         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19527         New dependency.
19529 2013-09-09  Allan McRae  <allan@archlinux.org>
19531         [BZ #15939]
19532         * manual/string.texi (Collation Functions): Fix typo in
19533         strcoll example.
19534         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19536         [BZ #15893]
19537         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19539         [BZ #15892]
19540         * libio/memstream.c (open_memstream): Fix memory leak.
19541         * libio/wmemstream.c (open_wmemstream): Likewise.
19543         [BZ #15895]
19544         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19546 2013-09-09  Will Newton  <will.newton@linaro.org>
19548         * malloc/Makefile: Add tst-realloc to tests.
19549         * malloc/tst-realloc.c: New file.
19551 2013-09-09  Allan McRae  <allan@archlinux.org>
19553         [BZ #15844]
19554         * COPYING: Update from GNU website to fix FSF address.
19555         * COPYING.LIB: Likewise.
19557 2013-09-06  David S. Miller  <davem@davemloft.net>
19559         * po/zh_TW.po: Update Chinese (traditional) translation from
19560         translation project.
19562 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19563             Joseph Myers  <joseph@codesourcery.com>
19565         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19566         "localeinfo.h".
19567         (obstack_chunk_alloc): New macro.
19568         (obstack_chunk_free): Likewise.
19569         (record_offset): New function.
19570         (init_locale_data): Likewise.
19571         (align_locale_data): Likewise.
19572         (add_locale_empty): Likewise.
19573         (add_locale_raw_data): Likewise.
19574         (add_locale_raw_obstack): Likewise.
19575         (add_locale_string): Likewise.
19576         (add_locale_wstring): Likewise.
19577         (add_locale_uint32): Likewise.
19578         (add_locale_uint32_array): Likewise.
19579         (add_locale_char): Likewise.
19580         (start_locale_structure): Likewise.
19581         (end_locale_structure): Likewise.
19582         (start_locale_prelude): Likewise.
19583         (end_locale_prelude): Likewise.
19584         (write_locale_data): Take locale_file structure rather than an
19585         iovec.
19586         * locale/programs/locfile.h: Include "obstack.h".
19587         (struct locale_file): Change to store locale file contents instead
19588         of header.
19589         (init_locale_data): New prototype.
19590         (align_locale_data): Likewise.
19591         (add_locale_empty): Likewise.
19592         (add_locale_raw_data): Likewise.
19593         (add_locale_raw_obstack): Likewise.
19594         (add_locale_string): Likewise.
19595         (add_locale_wstring): Likewise.
19596         (add_locale_uint32): Likewise.
19597         (add_locale_uint32_array): Likewise.
19598         (add_locale_char): Likewise.
19599         (start_locale_structure): Likewise.
19600         (end_locale_structure): Likewise.
19601         (start_locale_prelude): Likewise.
19602         (end_locale_prelude): Likewise.
19603         (write_locale_data): Update prototype.
19604         * locale/programs/3level.h (struct TABLE): Remove result field.
19605         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19606         Use new locale_file interface.
19607         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19608         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19609         * locale/programs/ld-address.c (address_output): Use new
19610         locale_file interface.
19611         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19612         NO_ADD_LOCALE.
19613         (collate_finish): Don't call collseq_table_finalize.
19614         (collate_output): Use new locale_file interface.
19615         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19616         in file.
19617         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19618         (TABLE): Move defines earlier in file.
19619         (ELEMENT): Likewise.
19620         (DEFAULT): Likewise.
19621         (wctrans_table_add): Move macro and inline function earlier in
19622         file.
19623         (struct wctype_table): Move type earlier in file.
19624         (add_locale_wctype_table): New static prototype.
19625         (struct locale_ctype_t): Use logical types instead of struct iovec
19626         pointers for members.
19627         (ctype_output): Use new locale_file interface.
19628         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19629         new locale_file interface.
19630         (allocate_arrays): Update for use of new locale_file interface.
19631         * locale/programs/ld-identification.c (identification_output): Use
19632         new locale_file interface.
19633         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19634         * locale/programs/ld-messages.c (messages_output): Likewise.
19635         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19636         * locale/programs/ld-name.c (name_output): Likewise.
19637         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19638         * locale/programs/ld-paper.c (paper_output): Likewise.
19639         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19640         * locale/programs/ld-time.c (time_output): Likewise.
19642 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19644         * benchtests/Makefile: Add memrchr benchmark.
19645         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19646         benchmark as memrchr.
19647         * benchtests/bench-memrchr-ifunc.c: New file.
19648         * benchtests/bench-memrchr.c: New file.
19650 2013-09-06   Will Newton  <will.newton@linaro.org>
19652         * benchtests/Makefile (string-bench): Add memcpy.
19654 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19655             Cong Wang  <amwang@redhat.com>
19657         [BZ #15850]
19658         * sysdeps/unix/sysv/linux/bits/in.h
19659         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19660         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19661         before __USE_KERNEL_IPV6_DEFS uses.
19662         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19663         IPPROTO_BEETPH.
19664         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19665         sockaddr_in6, or ipv6_mreq.
19667 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19669         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19670         memory access for final bytes in some large inputs.
19671         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19673 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19675         * string/test-memrchr.c: New file.
19676         * string/test-memrchr-ifunc.c: New file.
19677         * string/Makefile: Add new memrchr testcase.
19679 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
19681         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19682         fanotify_init returns EPERM.
19684 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19686         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19687         errors.
19688         (top level): Treat second token from macro or constant entries for
19689         allowed headers as allowed.
19690         * include/complex.h: Condition internal declarations on
19691         [!_ISOMAC].
19692         * include/fenv.h: Condition include of <stdbool.h> and internal
19693         declarations on [!_ISOMAC].
19695 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
19697         [BZ #15923]
19698         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19700 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19702         * configure.in (--enable-versioning): Remove configure option.
19703         (libc_cv_asm_symver_directive): Remove configure test.
19704         (libc_cv_ld_version_script_option): Likewise.
19705         (VERSIONING): Remove variable and AC_SUBST.
19706         (DO_VERSIONING): Remove AC_DEFINE.
19707         * configure: Regenerated.
19708         * config.h.in (DO_VERSIONING): Remove macro.
19709         * Makerules [$(versioning) = yes]: Change conditionals to
19710         [$(build-shared) = yes].
19711         * config.make.in (versioning): Remove variable.
19712         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19713         [$(build-shared) = yes].
19714         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19715         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19716         * elf/Makefile [$(versioning) = yes]: Change conditionals to
19717         [$(build-shared) = yes].
19718         * extra-lib.mk [$(versioning) = yes]: Likewise.
19719         * hurd/Makefile [$(versioning) = yes]: Likewise.
19720         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19721         [SHARED].
19722         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19723         [SHARED].
19724         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19725         [SHARED && !NO_HIDDEN].
19726         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19727         [SHARED].
19728         [SHARED && DO_VERSIONING]: Likewise..
19729         * libio/Makefile [$(versioning) = yes]: Change conditionals to
19730         [$(build-shared) = yes].
19731         * manual/install.texi (--disable-versioning): Remove
19732         documentation.
19733         * INSTALL: Regenerated.
19734         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19735         to [SHARED].
19736         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19737         [$(build-shared) = yes].
19738         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19739         * sysdeps/i386/i686/multiarch/strstr-c.c
19740         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19741         [SHARED && !NO_HIDDEN].
19742         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19743         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19744         * sysdeps/powerpc/powerpc32/dl-machine.c
19745         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19746         * sysdeps/powerpc/powerpc32/sysdep.h
19747         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19748         to [SHARED && PIC && !NO_HIDDEN].
19749         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19750         conditional to [SHARED].
19752 2013-09-04   Will Newton  <will.newton@linaro.org>
19754         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19755         * benchtests/bench-string.h: Include bench-timing.h instead
19756         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19757         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19758         call to HP_TIMING_DIFF_INIT.
19759         * benchtests/bench-memccpy.c: Use bench-timing.h macros
19760         instead of hp-timing.h macros.
19761         * benchtests/bench-memchr.c: Likewise.
19762         * benchtests/bench-memcmp.c: Likewise.
19763         * benchtests/bench-memcpy.c: Likewise.
19764         * benchtests/bench-memmem.c: Likewise.
19765         * benchtests/bench-memmove.c: Likewise.
19766         * benchtests/bench-memset.c: Likewise.
19767         * benchtests/bench-rawmemchr.c: Likewise.
19768         * benchtests/bench-strcasecmp.c: Likewise.
19769         * benchtests/bench-strcasestr.c: Likewise.
19770         * benchtests/bench-strcat.c: Likewise.
19771         * benchtests/bench-strchr.c: Likewise.
19772         * benchtests/bench-strcmp.c: Likewise.
19773         * benchtests/bench-strcpy.c: Likewise.
19774         * benchtests/bench-strcpy_chk.c: Likewise.
19775         * benchtests/bench-strlen.c: Likewise.
19776         * benchtests/bench-strncasecmp.c: Likewise.
19777         * benchtests/bench-strncat.c: Likewise.
19778         * benchtests/bench-strncmp.c: Likewise.
19779         * benchtests/bench-strncpy.c: Likewise.
19780         * benchtests/bench-strnlen.c: Likewise.
19781         * benchtests/bench-strpbrk.c: Likewise.
19782         * benchtests/bench-strrchr.c: Likewise.
19783         * benchtests/bench-strspn.c: Likewise.
19784         * benchtests/bench-strstr.c: Likewise.
19786 2013-09-04  Will Newton  <will.newton@linaro.org>
19788         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19790 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
19792         [BZ #15427]
19793         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19794         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19795         * math/libm-test.inc (lgamma_test_data): Add more tests.
19796         * sysdeps/i386/fpu/libm-test-ulps: Update.
19797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19799 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
19801         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19803         Add ifunc.
19804         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19805         Add strcmp-sse2-unaligned
19806         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19808 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19810         * Versions.def (libc): Add GLIBC_2.19.
19812 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19814         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19815         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19817 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
19819         [BZ #14155]
19820         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19821         intermediate calculations in recurrence.
19822         (__ieee754_ynf): Likewise.
19823         * math/libm-test.inc (jn_test_data): Do not allow spurious
19824         underflow exception.  Add more tests.
19825         (yn_test_data): Add more tests.
19826         * sysdeps/i386/fpu/libm-test-ulps: Update.
19827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19829 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
19831         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19833 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19835         * csu/init-first.c: Fix then/than typos.
19836         * locale/programs/ld-collate.c: Likewise.
19837         * locale/programs/linereader.h: Likewise.
19838         * manual/charset.texi: Likewise.
19839         * manual/filesys.texi: Likewise.
19840         * manual/stdio.texi: Likewise.
19841         * manual/string.texi: Likewise.
19842         * stdlib/fmtmsg.c: Likewise.
19843         * sysdeps/i386/stpncpy.S: Likewise.
19844         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19845         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19846         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19847         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19849 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19851         * elf/dl-open.c: Fix typos.
19852         * iconvdata/gbbig5.c: Likewise.
19853         * iconvdata/iso-2022-jp.c: Likewise.
19854         * iconv/gconv_int.h: Likewise.
19855         * iconv/loop.c: Likewise.
19856         * nis/rpcsvc/nis.h: Likewise.
19857         * resolv/ns_name.c: Likewise.
19858         * stdio-common/vfscanf.c: Likewise.
19859         * streams/stropts.h: Likewise.
19860         * sunrpc/rpc_thread.c: Likewise.
19861         * sysdeps/i386/strpbrk.S: Likewise.
19862         * sysdeps/ieee754/k_standard.c: Likewise.
19863         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19864         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19865         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19866         * sysdeps/mach/hurd/profil.c: Likewise.
19867         * sysdeps/s390/dl-procinfo.h: Likewise.
19868         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19869         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19870         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19871         * sysdeps/x86_64/dl-trampoline.S: Likewise.
19872         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19874 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
19876         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19877         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19879 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
19881         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19882         aix specific files.
19883         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19884         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19885         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19886         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19887         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19888         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19889         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19890         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19892 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19893             Roland McGrath  <roland@hack.frob.com>
19895         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19896         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19898 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19900         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19901         __executable_start symbol instead of _start.
19903 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19905         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19906         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19907         Move macros to...
19908         * sysdeps/gnu/ldsodefs.h: ... this new file.
19910         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19911         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19912         instead of ELFOSABI_LINUX.
19914         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19915         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19916         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19917         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19918         Likewise.
19919         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19920         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19921         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19922         Likewise.
19923         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19924         (ibm_extended_long_double): Add ieee_nan member.
19925         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19926         (do_test): New function.
19928         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19929         TEST_TRUNC.
19930         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19931         functions, renamed from truncdfsf_test, trunctfsf_test,
19932         trunctfdf_test.
19933         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19934         functions.
19935         (do_test): Run all these.
19937 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
19939         * argp/argp-help.c: Fix typos.
19940         * argp/argp-parse.c: Likewise.
19941         * debug/backtracesyms.c: Likewise.
19942         * elf/elf.h: Likewise.
19943         * malloc/malloc.c: Likewise.
19944         * nis/nis_print.c: Likewise.
19945         * resolv/res_comp.c: Likewise.
19946         * stdlib/stdlib.h: Likewise.
19947         * sunrpc/clnt_tcp.c: Likewise.
19948         * sunrpc/clnt_udp.c: Likewise.
19949         * sunrpc/clnt_unix.c: Likewise.
19950         * sysdeps/unix/bsd/ptsname.c: Likewise.
19951         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19952         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19954         Likewise.
19955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19956         Likewise.
19957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19958         Likewise.
19959         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19961 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19963         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19966 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
19968         [BZ #15897]
19969         * dlfcn/Makefile (tests): Add bug-dl-leaf.
19970         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19971         ($(objpfx)bug-dl-leaf): New rule.
19972         ($(objpfx)bug-dl-leaf.so): Likewise.
19973         ($(objpfx)bug-dl-leaf.out): Likewise.
19974         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19975         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19976         * dlfcn/bug-dl-leaf.c: New test.
19977         * dlfcn/bug-dl-leaf-lib.c: Likewise.
19978         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19979         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19980         (dlclose): Likewise.
19981         (dlmopen): Likewise.
19983 2013-08-27  Roland McGrath  <roland@hack.frob.com>
19985         * include/netdb.h [!_ISOMAC]:
19986         Don't include <tls.h>.
19987         (h_errno, __libc_h_errno): Move declaration and macros out of
19988         [_LIBC_REENTRANT].
19990         * include/resolv.h [_RESOLV_H_]:
19991         Don't include <tls.h>.
19992         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19993         * resolv/res_libc.c: Don't include <tls.h>.
19994         (_res): Use __attribute__ ((nocommon)) in place of
19995         __attribute__ ((section (".bss"))).
19997         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19998         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20000         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20002         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20003         only under [SIOCGIFCONF && SIOCGIFNETMASK].
20005         * resolv/res_mkquery.c: Include <sys/time.h>.
20007         * inet/ifreq.c: Moved to ...
20008         * sysdeps/unix/ifreq.c: ... here.
20009         * inet/ifreq.c: New file, true stub version.
20011         * socket/sa_len.c: New file.
20012         * socket/Makefile (aux): Add it.
20013         * sysdeps/unix/sysv/linux/Makefile
20014         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20015         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20016         and #include <socket/sa_len.c>.
20017         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20018         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20020         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20021         * bits/socket.h: ... here.
20023         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20024         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20025         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20027 2013-08-27  Andreas Schwab  <schwab@suse.de>
20029         [BZ #15736]
20030         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20031         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20032         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20033         * string/test-strcasecmp.c (test_main): Run tests in several
20034         locales.
20035         * string/test-strncasecmp.c (test_main): Likewise.
20037         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20038         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20039         to __strcasecmp_nonascii and __strncasecmp_nonascii.
20040         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20041         (__strncasecmp_ssse3) [PIC]: Likewise.
20043 2013-08-26  Roland McGrath  <roland@hack.frob.com>
20045         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20047         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20048         instead of explicitly declaring xdecrypt.
20049         * nis/nss_nis/nis-publickey.c: Likewise.
20051 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20053         [BZ #15890]
20054         * nscd/aicache.c: Include res_hconf.h.
20055         (addhstaiX): Initialize res_hconf.
20057 2013-08-26  Andreas Schwab  <schwab@suse.de>
20059         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20060         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20062 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20064         * nscd/aicache.c (addhstaiX): Fix indentation.
20066 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
20068         * configure.ac: Quote $build_pt_chown test.
20069         * configure: Regenerated.
20071 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
20073         [BZ #15532]
20074         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20075         * math/s_cexpf.c (__cexpf): Likewise.
20076         * math/s_cexpl.c (__cexpl): Likewise.
20077         * math/libm-test.inc (cexp_test_data): Correct expected return
20078         value for NaN + i0.  Add another test.
20080 2013-08-22  David S. Miller  <davem@davemloft.net>
20082         * po/ca.po: Update Catalan translation from translation project.
20083         * po/uk.po: Add Ukrainian translations from translation project.
20085 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
20087         [BZ #15797]
20088         * math/s_fdim.c (__fdim): Check for infinite arguments if result
20089         is infinite, not alongside NaN test.
20090         * math/s_fdimf.c (__fdimf): Likewise.
20091         * math/s_fdiml.c (__fdiml): Likewise.
20092         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
20093         errno is unchanged.
20095 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
20097         * argp/argp-help.c: Fix typos.
20098         * crypt/speeds.c: Likewise.
20099         * csu/check_fds.c: Likewise.
20100         * elf/dl-load.c: Likewise.
20101         * elf/dl-open.c: Likewise.
20102         * elf/reldep3.c: Likewise.
20103         * elf/reldep.c: Likewise.
20104         * elf/sprof.c: Likewise.
20105         * iconv/iconv_charmap.c: Likewise.
20106         * iconv/skeleton.c: Likewise.
20107         * iconv/strtab.c: Likewise.
20108         * io/lockf64.c: Likewise.
20109         * libio/libioP.h: Likewise.
20110         * resolv/gai_notify.c: Likewise.
20111         * resolv/ns_name.c: Likewise.
20112         * resolv/ns_samedomain.c: Likewise.
20113         * resolv/res_send.c: Likewise.
20114         * stdlib/random.c: Likewise.
20115         * sunrpc/rpc/xdr.h: Likewise.
20116         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20117         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20118         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20119         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20120         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20121         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20123         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20124         * sysdeps/mach/hurd/check_fds.c: Likewise.
20125         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20126         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20127         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20128         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20129         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20130         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20131         * sysdeps/pthread/aio_notify.c: Likewise.
20132         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20133         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20134         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20135         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20136         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20138 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20140         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20141         version if bit_Slow_SSE4_2 is set.
20142         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20143         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20145 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20147         [BZ #15867]
20148         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20149         trampoline stack frame information.
20150         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20151         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20152         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20153         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20154         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20155         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20156         (_libc_vdso_platform_setup): Initialize the signal trampolines.
20157         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20158         sa_flags value.
20159         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20160         interrupting a syscall and set with option SA_SIGINFO.
20162 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20164         [BZ #15531]
20165         * math/s_cproj.c (__cproj): Only return an infinity if one part of
20166         argument is infinite.
20167         * math/s_cprojf.c (__cprojf): Likewise.
20168         * math/s_cprojl.c (__cprojl): Likewise.
20169         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20170         * math/libm-test.inc (cproj_test_data): Add more tests.
20172         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20174         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20175         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20176         size.  Use __ffs to determine corresponding shift.
20178 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20179             Roland McGrath  <roland@hack.frob.com>
20181         * Makefile (INSTALL): Remove trailing blank lines from output of
20182         makeinfo.
20184 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20186         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20187         Align 32 bit compat elf_greg to 8 bytes.
20189 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
20191         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20193 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20195         * string/strcoll_l.c (coll_seq): New structure.
20196         (get_next_seq_cached): New function.
20197         (get_next_seq): New function.
20198         (do_compare): New function.
20199         (STRCOLL): Use GNU style definition.  Simplify implementation
20200         by using get_next_seq, get_next_seq_cached and do_compare.
20202 2013-08-16  Florian Weimer  <fweimer@redhat.com>
20204         [BZ #14699]
20205         CVE-2013-4237
20206         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20207         member.
20208         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20209         member.
20210         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20211         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20212         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
20213         conditional.
20214         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20215         GETDENTS_64BIT_ALIGNED.
20216         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20217         * manual/filesys.texi (Reading/Closing Directory): Document
20218         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
20219         strongly.
20220         * manual/conf.texi (Limits for Files): Add portability note to
20221         NAME_MAX, PATH_MAX.
20222         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20224 2013-08-13  Andreas Schwab  <schwab@suse.de>
20226         [BZ #15749]
20227         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20228         of fabs.
20229         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20230         LDBL_MAX_EXP >= 16384]: Add tests for it.
20232 2013-08-12  David S. Miller  <davem@davemloft.net>
20234         * version.h (RELEASE): Set to "development".
20235         (VERSION): Set to "2.18.90".
20236         * NEWS: Add 2.19 section.
20238 2013-08-03  David S. Miller  <davem@davemloft.net>
20240         * po/ko.po: Update Korean translation from translation project.
20242 2013-08-01  David S. Miller  <davem@davemloft.net>
20244         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
20245         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20246         Bilka.
20248 2013-07-30  David S. Miller  <davem@davemloft.net>
20250         * po/fr.po: Update French translation from translation project.
20252 2013-07-28  David S. Miller  <davem@davemloft.net>
20254         * po/cs.po: Update Czech translation from translation project.
20256         * po/sv.po: Update Swedish translation from translation project.
20258 2013-07-27  David S. Miller  <davem@davemloft.net>
20260         * po/eo.po: Update Esperanto translation from translation project.
20262         * po/vi.po: Update Vietnamese translation from translation project.
20264         * po/de.po: Update German translation from translation project.
20266 2013-07-26  David S. Miller  <davem@davemloft.net>
20268         * po/bg.po: Update Bulgarian translation from translation project.
20270         * po/nl.po: Update Dutch translation from translation project.
20271         * po/pl.po: Update Polish translation from translation project.
20272         * po/ru.po: Update Russian translation from translation project.
20274 2013-07-24  David S. Miller  <davem@davemloft.net>
20276         * po/libc.pot: Update.
20278 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20280         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20281         variable page size.
20282         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20283         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20284         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20286 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20288         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20290 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20291             Andreas Schwab  <schwab@suse.de>
20292             Roland McGrath  <roland@hack.frob.com>
20293             Joseph Myers  <joseph@codesourcery.com>
20294             Carlos O'Donell  <carlos@redhat.com>
20296         [BZ #15755]
20297         * config.h.in: Define HAVE_PT_CHOWN.
20298         * config.make.in (build-pt-chown): New variable.
20299         * configure.in (--enable-pt_chown): New configure option.
20300         * configure: Regenerate.
20301         * login/Makefile: Include Makeconfig.  Build pt_chown only if
20302         build-pt-chown is enabled.
20303         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20304         pt_chown to fix pty ownership.
20305         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20306         CLOSE_ALL_FDS.
20307         * manual/install.texi (Configuring and compiling): Mention
20308         --enable-pt_chown. Add @findex for grantpt.
20309         * INSTALL: Regenerate.
20311 2013-07-20  David S. Miller  <davem@davemloft.net>
20313         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20314         difference between 32-bit and 64-bit.
20316 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
20318         [BZ #15711]
20319         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20320         Avoid system header dependency with -ffreestanding.
20321         ($(objpfx)bits/syscall%d): Likewise.
20323 2013-07-13  David S. Miller  <davem@davemloft.net>
20325         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20326         underflows from atanl/atan2l due to bug 15319.
20327         (casinh_test_data): Likewise.
20329 2013-07-07  David S. Miller  <davem@davemloft.net>
20331         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20333 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
20335         * sysdeps/i386/fpu/libm-test-ulps: Update.
20336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20338 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20340         * configure.in (--enable-lock-elision): Fix message text.
20341         * INSTALL: Regenerate.
20342         * configure: Regenerate.
20344 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20348 2013-07-03  Andreas Jaeger  <aj@suse.de>
20350         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20351         define.
20352         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20353         (ptrace_peeksiginfo_args): Add.
20354         (__ptrace_peeksiginfo_flags): Add.
20355         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20356         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20357         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20359 2013-07-03  Allan McRae  <allan@archlinux.org>
20361         * sysdeps/i386/fpu/libm-test-ulps: Update.
20363 2013-07-02  David S. Miller  <davem@davemloft.net>
20365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20367 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
20369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20371 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20373         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20376 2013-07-02  Andi Kleen <ak@linux.intel.com>
20378         * config.h.in (ENABLE_LOCK_ELISION): Add.
20379         * configure.in (--enable-lock-elision): Add option.
20380         * manual/install.texi: Document --enable lock elision.
20381         * configure: Regenerate
20382         * INSTALL: Regenerate.
20384 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
20386         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20387         SSE4.2 strcasecmp for libc.a.
20388         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20390 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20392         [BZ #13304]
20393         * soft-fp/op-common.h (_FP_FMA): New macro.
20394         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20395         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
20396         (_FP_MUL_MEAT_1_imm): ... here.
20397         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
20398         (_FP_MUL_MEAT_1_wide): ... here.
20399         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
20400         (_FP_MUL_MEAT_1_hard): ... here.
20401         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20402         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
20403         (_FP_MUL_MEAT_2_wide): ... here.
20404         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
20405         (_FP_MUL_MEAT_2_wide_3mul): ... here.
20406         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
20407         (_FP_MUL_MEAT_2_gmp): ... here.
20408         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20409         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
20410         (_FP_MUL_MEAT_4_wide): ... here.
20411         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
20412         (_FP_MUL_MEAT_4_gmp): ... here.
20413         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20414         (_FP_WFRACBITS_DW_S): Likewise.
20415         (_FP_WFRACXBITS_DW_S): Likewise.
20416         (_FP_HIGHBIT_DW_S): Likewise.
20417         (FP_FMA_S): Likewise.
20418         (_FP_FRAC_HIGH_DW_S): Likewise.
20419         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20420         (_FP_WFRACBITS_DW_D): Likewise.
20421         (_FP_WFRACXBITS_DW_D): Likewise.
20422         (_FP_HIGHBIT_DW_D): Likewise.
20423         (FP_FMA_D): Likewise.
20424         (_FP_FRAC_HIGH_DW_D): Likewise.
20425         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20426         (_FP_WFRACBITS_DW_E): Likewise.
20427         (_FP_WFRACXBITS_DW_E): Likewise.
20428         (_FP_HIGHBIT_DW_E): Likewise.
20429         (FP_FMA_E): Likewise.
20430         (_FP_FRAC_HIGH_DW_E): Likewise.
20431         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20432         (_FP_WFRACBITS_DW_Q): Likewise.
20433         (_FP_WFRACXBITS_DW_Q): Likewise.
20434         (_FP_HIGHBIT_DW_Q): Likewise.
20435         (FP_FMA_Q): Likewise.
20436         (_FP_FRAC_HIGH_DW_Q): Likewise.
20437         * soft-fp/fmasf4.c: New file.
20438         * soft-fp/fmadf4.c: Likewise.
20439         * soft-fp/fmatf4.c: Likewise.
20441 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20444         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20445         Silvermont.
20446         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20447         macro.
20448         (index_Slow_SSE4_2): Likewise.
20449         (index_Prefer_PMINUB_for_stringop): Likewise.
20450         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20451         bit_Slow_SSE4_2 is set.
20452         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20453         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20455 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20457         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20458         rtld_global._dl_hwcap2.
20459         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20460         POWER8.
20461         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20462         POWER8 feature descriptions defined in _dl_hwcap2.
20463         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20464         string handling for POWER8 feature bits.
20465         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20466         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20467         _dl_powerpc_cap_flags.
20468         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20469         * sysdeps/powerpc/rtld-global-offsets.sym
20470         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20471         _dl_hwcap2 in the rtld_global_ro structure.
20473 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20475         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20476         hardware capabilities in support of AT_HWCAP2.
20477         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20478         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20479         GLRO(dl_hwcap2).
20480         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20481         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20482         explicitly the unknown a_type display mechanism is used.
20483         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20484         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20485         struct member.
20486         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20487         to macro prototype for AT_HWCAP2 support.
20488         * sysdeps/i386/dl-procinfo.h: Likewise.
20489         * sysdeps/s390/dl-procinfo.h: Likewise.
20490         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20491         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20492         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20493         return -1 for unknown a_type display fallback.
20494         * sysdeps/sparc/dl-procinfo.h: Likewise.
20495         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20496         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20498 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20500         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20501         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20503 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20505         [BZ #12492]
20506         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20507         mprotect making __stack_prot writable.
20509 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20510             Joseph Myers  <joseph@codesourcery.com>
20512         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20513         as being properly aligned.
20515 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20517         * dlfcn/modstatic5.c: New file.
20518         * dlfcn/tststatic5.c: New file.
20519         * dlfcn/Makefile (tests): Add tststatic5.
20520         (tests-static): Likewise.
20521         (modules-names): Add modstatic5.
20522         (tststatic5-ENV): New variable.
20523         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20525         [BZ #15022]
20526         * elf/dl-support.c (_dl_main_map): New variable.
20527         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20528         (_dl_nns, _dl_load_adds): Set to 1.
20529         (_dl_initial_searchlist): Refer to _dl_main_map.
20530         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20531         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20532         call to _dl_get_origin.
20533         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20534         around call_map.
20535         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20536         * dlfcn/modstatic3.c: New file.
20537         * dlfcn/tststatic3.c: New file.
20538         * dlfcn/tststatic4.c: New file.
20539         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20540         (tests-static): Likewise.
20541         (modules-names): Add modstatic3.
20542         (tststatic3-ENV, tststatic4-ENV): New variables.
20543         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20544         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20546 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20548         * configure.in (CC): Require GCC version 4.4 or later.
20549         * configure: Regenerated.
20550         * manual/install.texi (Tools for Compilation): Update GCC version
20551         requirement.
20552         * INSTALL: Regenerated.
20554 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20556         [BZ #15674]
20557         * string/test-memcmp.c (check2): New.
20558         (main): Call check2.
20560         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20562 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20564         [BZ #15022]
20565         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20566         over to...
20567         (dl_open_worker) [!SHARED]: ... here.
20569 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20571         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20573 2013-06-25  Richard Henderson  <rth@redhat.com>
20575         * locale/programs/locarchive.c: Include <libc-internal.h>
20577 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20579         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20580         trailing whitespace removed.
20582 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20584         [BZ #10283]
20585         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20586         * locale/programs/locarchive.c: Include libc-mmap.h.
20587         (prepare_address_space): Take two new outputs (the mmap base and len).
20588         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20589         values.
20590         (create_archive): Declare new mmap base and len values for
20591         prepare_address_space, and store the result in ah.
20592         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20593         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20594         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20595         Declare new mmap base and len values for
20596         prepare_address_space, and store the result in new_ah.
20597         (open_archive): Declare new mmap base and len values for
20598         prepare_address_space, and store the result in ah.
20599         (close_archive): If ah->mmap_base is not NULL, use that and
20600         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20601         * sysdeps/generic/libc-mmap.h: New file.
20603 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20605         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20606         (ALIGN_UP): Likewise.
20607         (PTR_ALIGN_DOWN): Likewise.
20608         (PTR_ALIGN_UP): Likewise.
20610 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20612         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20613         entry mapped to PPC_PLATFORM_POWER8.
20614         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20615         POWER8.
20616         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20617         (_dl_string_platform): Add case for exporting platform position for
20618         POWER8.
20619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20620         search path to sysdeps/powerpc/powerpc32/power8 directory.
20621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20622         search path to sysdeps/powerpc/powerpc64/power8 directory.
20623         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20624         power7 directories.
20625         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20626         power7 directories.
20628 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20630         * INSTALL: Regenerate.
20632         * nscd/connections.c (nscd_init): Fix comment.
20634 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20636         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20638         [BZ #15667]
20639         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20640         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20642 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20644         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20645         DL_DST_REQ_STATIC.
20646         (DL_DST_REQ_STATIC): Remove macro.
20648 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20650         [BZ #7006]
20651         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20652         with a shift of 0 bits.
20654 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20656         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20657         $(tststatic-ENV).
20659 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20661         [BZ #15655]
20662         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20664 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20666         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20667         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20668         accepts -fno-tree-loop-distribute-patterns.
20669         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20670         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20671         recursive call.
20672         * string/memset.c (memset): Likewise.
20673         * string/test-memmove.c (simple_memmove): Disable loop transformation
20674         to library calls.
20675         * string/test-memset.c (simple_memset): Likewise.
20676         * benchtests/bench-memmove.c (simple_memmove): Likewise.
20677         * benchtests/bench-memset.c (simple_memset): Likewise.
20678         * configure: Regenerated.
20680 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
20682         * math/test-misc.c (main): Ignore fesetround failure when failures
20683         of subsequent rounding tests would be ignored.
20685         [BZ #15654]
20686         * math/fedisblxcpt.c (fedisableexcept): Return 0.
20687         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20688         * math/fegetenv.c (__fegetenv): Return 0.
20689         * math/fegetexcept.c (fegetexcept): Return 0.
20690         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20691         FE_TONEAREST.
20692         * math/feholdexcpt.c (feholdexcept): Return 0.
20693         * math/fesetenv.c (__fesetenv): Return 0.
20694         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20695         argument FE_TONEAREST.
20696         * math/feupdateenv.c (__feupdateenv): Return 0.
20697         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20699 2013-06-18  Roland McGrath  <roland@hack.frob.com>
20701         * elf/rtld-Rules (rtld-compile-command.S): New variable.
20702         (rtld-compile-command.s, rtld-compile-command.c): New variables.
20703         ($(objpfx)rtld-%.os rules): Use them.
20705 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20707         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20708         fields.
20710 2013-06-17  Roland McGrath  <roland@hack.frob.com>
20712         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20713         length of target pattern, then descending length of dependency pattern.
20714         * configure.in (AWK): Require gawk 3.1.2 or newer.
20715         * manual/install.texi (Tools for Compilation): Say that we do.
20716         * configure: Regenerated.
20718         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20719         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20720         * scripts/sysd-rules.awk: ... this new script.
20721         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20722         than a glob-style pattern.
20724 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
20726         * math/test-misc.c (main): Do not treat incorrectly rounded
20727         conversions as failure unless ROUNDING_TESTS passes.
20729 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
20731         [BZ #15631]
20732         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20733         restore exception state around main square root computation, then
20734         check for inexactness explicitly.
20736         * math/libm-test.inc (fma_test_data): Add another test.
20738 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20740         * manual/threads.texi (Non-POSIX Extensions): New document
20741         node.  Document pthread_getattr_default_np and
20742         pthread_setattr_default_np.
20744         * Versions.def (libpthread): Add GLIBC_2.18.
20745         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20747         Likewise.
20748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20749         Likewise.
20750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20751         Likewise.
20752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20753         Likewise.
20754         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20755         Likewise.
20756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20757         Likewise.
20758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20759         Likewise.
20760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20761         Likewise.
20762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20763         Likewise.
20765 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20768         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20770 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20771             H.J. Lu  <hjl.tools@gmail.com>
20773         [BZ #15627]
20774         * sysdeps/x86_64/rtld-memset.c: Remove file.
20775         * sysdeps/x86_64/rtld-memset.S: New file.
20777 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
20779         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20780         (test_in_one_mode): Take arguments for whether the rounding mode
20781         is supported for each floating-point type.
20782         (do_test): Pass new arguments to test_in_one_mode using
20783         ROUNDING_TESTS.
20785 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20787         * posix/tst-waitid.c (do_test): Distinguish different instances of
20788         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
20789         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20790         before entering the kernel for waitpid.
20792 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20794         * NEWS: Fix note on clock function precision.  Text by Roland
20795         McGrath.
20797 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20799         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20800         it into place only when and if the sanity check passes.
20802 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
20804         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20805         output for whether conversion result is exact.  Take argument
20806         indicating whether type is IBM long double.
20807         (round_for_all): Change need_exact field to ibm_ld.
20808         * stdlib/tst-strtod-round.c (struct exactness): New type.
20809         (struct test): Change bool ld_ok field to struct exactness exact.
20810         (TEST): Update all definitions for change to field.
20811         (tests): Regenerate array contents.
20812         (test_in_one_mode): Take pointer to new field instead of old ld_ok
20813         field value.  Check for IBM long double here.
20814         (do_test): Update calls to test_in_one_mode.
20816 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20818         [BZ #12515]
20819         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20820         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20822 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20824         [BZ #15605]
20825         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20826         generated by the compiler on loop optimizations.
20827         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20828         general definitions.
20830 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
20832         * math/bug-nextafter.c: Include <math-tests.h>.
20833         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20834         the relevant type.
20835         * math/bug-nexttoward.c: Include <math-tests.h>.
20836         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20837         the relevant type.
20838         * math/test-misc.c: Include <math-tests.h>.
20839         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20840         the relevant type.
20842 2013-06-12  Andreas Jaeger  <aj@suse.de>
20844         * po/ia.po: Update Interlingua translation from translation
20845         project.
20847 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20849         * include/fenv.h: Include stdbool.h.
20850         (struct rm_ctx): New structure.
20851         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20852         Define macro.
20853         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20854         (SET_RESTORE_ROUNDF): Likewise.
20855         (SET_RESTORE_ROUNDL): Likewise.
20856         (SET_RESTORE_ROUND_NOEX): Likewise.
20857         (SET_RESTORE_ROUND_NOEXF): Likewise.
20858         (SET_RESTORE_ROUND_NOEXL): Likewise.
20859         (SET_RESTORE_ROUND_53BIT): Likewise.
20860         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20861         (libc_feresetround_noexf_ctx): Likewise.
20862         (libc_feresetround_noexl_ctx): Likewise.
20863         (libc_feholdsetround_53bit_ctx): Likewise.
20864         (libc_feresetround_53bit_ctx): Likewise.
20865         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20866         (libc_feholdexcept_setround_sse_ctx): New function.
20867         (libc_fesetenv_sse_ctx): Likewise.
20868         (libc_feupdateenv_sse_ctx): Likewise.
20869         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20870         (libc_feholdexcept_setround_387_ctx): Likewise.
20871         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20872         (libc_feholdsetround_387_prec_ctx): Likewise.
20873         (libc_feholdsetround_387_ctx): Likewise.
20874         (libc_feholdsetround_387_53bit_ctx): Likewise.
20875         (libc_feholdsetround_sse_ctx): Likewise.
20876         (libc_feresetround_sse_ctx): Likewise.
20877         (libc_feresetround_387_ctx): Likewise.
20878         (libc_feupdateenv_387_ctx): Likewise.
20879         (libc_feholdexcept_setroundf_ctx): Define macro.
20880         (libc_fesetenvf_ctx): Likewise.
20881         (libc_feupdateenvf_ctx): Likewise.
20882         (libc_feholdsetroundf_ctx): Likewise.
20883         (libc_feresetroundf_ctx): Likewise.
20884         (libc_feholdexcept_setround_ctx): Likewise.
20885         (libc_fesetenv_ctx): Likewise.
20886         (libc_feupdateenv_ctx): Likewise.
20887         (libc_feholdsetround_ctx): Likewise.
20888         (libc_feresetround_ctx): Likewise.
20889         (libc_feholdexcept_setroundl_ctx): Likewise.
20890         (libc_feupdateenvl_ctx): Likewise.
20891         (libc_feholdsetroundl_ctx): Likewise.
20892         (libc_feresetroundl_ctx): Likewise.
20893         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20894         (libc_feresetround_53bit_ctx): Likewise.
20896 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20898         * locale/iso-639.def: Convert to UTF-8.
20900 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
20902         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20903         (EXCEPTION_TESTS_double): Likewise.
20904         (EXCEPTION_TESTS_long_double): Likewise.
20905         (EXCEPTION_TESTS): Likewise.
20906         * math/libm-test.inc (test_exceptions): Only test exceptions if
20907         EXCEPTION_TESTS (FLOAT).
20909 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20911         * benchtests/Makefile (string-bench): Add strcpy_chk and
20912         stpcpy_chk.
20913         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20914         * benchtests/bench-stpcpy_chk.c: New file.
20915         * benchtests/bench-strcpy_chk-ifunc.c: New file.
20916         * benchtests/bench-strcpy_chk.c: New file.
20917         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20918         code.
20919         (do_test): Likewise.
20921 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20923         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20924         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20925         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20926         with tabs where appropriate.
20927         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20928         dl-procinfo.h.
20929         [PPC_PLATFORM_PPC440]: Likewise.
20930         [PPC_PLATFORM_PPC464]: Likewise.
20931         [PPC_PLATFORM_PPC476]: Likewise.
20932         (_dl_string_platform): Add support for detecting ppc405, ppc440,
20933         ppc464, and ppc476 platform strings merging from ports/
20934         dl-procinfo.h.
20936 2013-06-11  Andreas Schwab  <schwab@suse.de>
20938         [BZ #14991]
20939         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20940         (from_ucs4_idx): Regenerate.
20941         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20942         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20943         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20944         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20945         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20946         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20947         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20948         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20949         from FROM_LOOP and TO_LOOP specific macros.
20950         (BODY): Handle combining characters.
20951         * iconvdata/BIG5HKSCS.irreversible: Update.
20952         * iconvdata/BIG5HKSCS.precomposed: New file.
20953         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20954         characters.
20955         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20957 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20959         * include/sys/time.h: Fix indentation and add copyright header.
20961         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20962         (do_test): Likewise.
20963         * string/test-memchr.c (do_one_test): Likewise.
20964         (do_test): Likewise.
20965         * string/test-memcmp.c (do_one_test): Likewise.
20966         (do_test): Likewise.
20967         * string/test-memcpy.c (do_one_test): Likewise.
20968         (do_test): Likewise.
20969         * string/test-memmem.c (do_one_test): Likewise.
20970         (do_test): Likewise.
20971         (do_random_tests): Likewise.
20972         * string/test-memmove.c (do_one_test): Likewise.
20973         (do_test): Likewise.
20974         * string/test-memset.c (do_one_test): Likewise.
20975         (do_test): Likewise.
20976         * string/test-rawmemchr.c (do_one_test): Likewise.
20977         (do_test): Likewise.
20978         * string/test-strcasecmp.c (do_one_test): Likewise.
20979         (do_test): Likewise.
20980         * string/test-strcasestr.c (do_one_test): Likewise.
20981         (do_test): Likewise.
20982         * string/test-strcat.c (do_one_test): Likewise.
20983         (do_test): Likewise.
20984         * string/test-strchr.c (do_one_test): Likewise.
20985         (do_test): Likewise.
20986         * string/test-strcmp.c (do_one_test): Likewise.
20987         (do_test): Likewise.
20988         * string/test-strcpy.c (do_one_test): Likewise.
20989         (do_test): Likewise.
20990         * string/test-string.h: Likewise.
20991         (test_init): Likewise.
20992         * string/test-strlen.c (do_one_test): Likewise.
20993         (do_test): Likewise.
20994         * string/test-strncasecmp.c (do_one_test): Likewise.
20995         (do_test): Likewise.
20996         * string/test-strncat.c (do_one_test): Likewise.
20997         (do_test): Likewise.
20998         * string/test-strncmp.c (do_one_test): Likewise.
20999         (do_test_limit): Likewise.
21000         (do_test): Likewise.
21001         * string/test-strncpy.c (do_one_test): Likewise.
21002         (do_test): Likewise.
21003         * string/test-strnlen.c (do_one_test): Likewise.
21004         (do_test): Likewise.
21005         * string/test-strpbrk.c (do_one_test): Likewise.
21006         (do_test): Likewise.
21007         * string/test-strrchr.c (do_one_test): Likewise.
21008         (do_test): Likewise.
21009         * string/test-strspn.c (do_one_test): Likewise.
21010         (do_test): Likewise.
21011         * string/test-strstr.c (do_one_test): Likewise.
21012         (do_test): Likewise.
21014         * benchtests/Makefile (string-bench): Add string benchmarks.
21015         * benchtests/bench-bcopy-ifunc.c: New file.
21016         * benchtests/bench-bcopy.c: New file.
21017         * benchtests/bench-bzero-ifunc.c: New file.
21018         * benchtests/bench-bzero.c: New file.
21019         * benchtests/bench-memccpy-ifunc.c: New file.
21020         * benchtests/bench-memccpy.c: New file.
21021         * benchtests/bench-memchr-ifunc.c: New file.
21022         * benchtests/bench-memchr.c: New file.
21023         * benchtests/bench-memcmp-ifunc.c: New file.
21024         * benchtests/bench-memcmp.c: New file.
21025         * benchtests/bench-memmem-ifunc.c: New file.
21026         * benchtests/bench-memmem.c: New file.
21027         * benchtests/bench-memmove-ifunc.c: New file.
21028         * benchtests/bench-memmove.c: New file.
21029         * benchtests/bench-mempcpy-ifunc.c: New file.
21030         * benchtests/bench-mempcpy.c: New file.
21031         * benchtests/bench-memset-ifunc.c: New file.
21032         * benchtests/bench-memset.c: New file.
21033         * benchtests/bench-rawmemchr-ifunc.c: New file.
21034         * benchtests/bench-rawmemchr.c: New file.
21035         * benchtests/bench-stpcpy-ifunc.c: New file.
21036         * benchtests/bench-stpcpy.c: New file.
21037         * benchtests/bench-stpncpy-ifunc.c: New file.
21038         * benchtests/bench-stpncpy.c: New file.
21039         * benchtests/bench-strcasecmp-ifunc.c: New file.
21040         * benchtests/bench-strcasecmp.c: New file.
21041         * benchtests/bench-strcasestr-ifunc.c: New file.
21042         * benchtests/bench-strcasestr.c: New file.
21043         * benchtests/bench-strcat-ifunc.c: New file.
21044         * benchtests/bench-strcat.c: New file.
21045         * benchtests/bench-strchr-ifunc.c: New file.
21046         * benchtests/bench-strchr.c: New file.
21047         * benchtests/bench-strchrnul-ifunc.c: New file.
21048         * benchtests/bench-strchrnul.c: New file.
21049         * benchtests/bench-strcmp-ifunc.c: New file.
21050         * benchtests/bench-strcmp.c: New file.
21051         * benchtests/bench-strcpy-ifunc.c: New file.
21052         * benchtests/bench-strcpy.c: New file.
21053         * benchtests/bench-strcspn-ifunc.c: New file.
21054         * benchtests/bench-strcspn.c: New file.
21055         * benchtests/bench-strlen-ifunc.c: New file.
21056         * benchtests/bench-strlen.c: New file.
21057         * benchtests/bench-strncasecmp-ifunc.c: New file.
21058         * benchtests/bench-strncasecmp.c: New file.
21059         * benchtests/bench-strncat-ifunc.c: New file.
21060         * benchtests/bench-strncat.c: New file.
21061         * benchtests/bench-strncmp-ifunc.c: New file.
21062         * benchtests/bench-strncmp.c: New file.
21063         * benchtests/bench-strncpy-ifunc.c: New file.
21064         * benchtests/bench-strncpy.c: New file.
21065         * benchtests/bench-strnlen-ifunc.c: New file.
21066         * benchtests/bench-strnlen.c: New file.
21067         * benchtests/bench-strpbrk-ifunc.c: New file.
21068         * benchtests/bench-strpbrk.c: New file.
21069         * benchtests/bench-strrchr-ifunc.c: New file.
21070         * benchtests/bench-strrchr.c: New file.
21071         * benchtests/bench-strspn-ifunc.c: New file.
21072         * benchtests/bench-strspn.c: New file.
21073         * benchtests/bench-strstr-ifunc.c: New file.
21074         * benchtests/bench-strstr.c: New file.
21076         * benchtests/Makefile: Disable parallel execution of targets.
21077         (string-bench): Add memcpy.
21078         (benchset): New variable to store a list of benchmark sets.
21079         (bench-func): Renamed from bench.
21080         (bench-set): New target.
21081         (bench): Depend on bench-func and bench-set.
21082         * benchtests/README: Add section on benchmark sets.
21083         * benchtests/bench-memcpy-ifunc.c: New file.
21084         * benchtests/bench-memcpy.c: New file.
21085         * benchtests/bench-string.h: New file.
21087 2013-06-11  Andreas Schwab  <schwab@suse.de>
21089         [BZ #15577]
21090         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21091         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21092         values in the triple.
21093         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21094         terminator in the group key.
21096 2013-06-11  Andreas Jaeger  <aj@suse.de>
21098         * po/zh_TW.po: Update Chinese (traditional) translation from
21099         translation project.
21101 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21103         * include/time.h (__clock_gettime): Add libc_hidden_proto.
21104         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21105         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
21106         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21107         (clock_getcpuclockid): Likewise.
21108         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21109         Add weak_alias and libc_hidden_def.
21110         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21111         * rt/clock_gettime.c (clock_gettime): Rename to
21112         __clock_gettime.  Add weak_alias and libc_hidden_def.
21113         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21114         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21115         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
21116         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21117         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21118         Likewise.
21119         * rt/clock_settime.c (clock_settime): Rename to
21120         __clock_settime.  Add weak_alias and libc_hidden_def.
21121         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21123 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
21125         * mach/err_boot.sub: Remove trailing whitespace.
21126         * mach/err_ipc.sub: Likewise.
21127         * mach/err_mach.sub: Likewise.
21129         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21130         (ROUNDING_TESTS_double): Likewise.
21131         (ROUNDING_TESTS_long_double): Likewise.
21132         (ROUNDING_TESTS): Likewise.
21133         * math/libm-test.inc: Include <math-tests.h>.
21134         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21135         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21136         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21137         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21139 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21141         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21142         of assigning.
21144 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
21146         * sysdeps/gnu/errlist.awk: Do not generate space at end of
21147         otherwise empty TRANS lines.
21148         * sysdeps/gnu/errlist.c: Regenerated.
21150         * catgets/gencat.c (error_print): Use (void) in function
21151         definition.
21152         * crypt/crypt_util.c (__init_des): Likewise.
21153         * crypt/speeds.c (Stop): Likewise.
21154         (main): Likewise.
21155         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21156         * inet/ruserpass.c (token): Likewise.
21157         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21158         * intl/localealias.c (extend_alias_table): Likewise.
21159         * intl/plural-exp.c (init_germanic_plural): Likewise.
21160         * libio/fcloseall.c (__fcloseall): Likewise.
21161         * libio/genops.c (_IO_flush_all): Likewise.
21162         (_IO_flush_all_linebuffered): Likewise.
21163         (_IO_cleanup): Likewise.
21164         (_IO_iter_begin): Likewise.
21165         (_IO_iter_end): Likewise.
21166         (_IO_list_lock): Likewise.
21167         (_IO_list_unlock): Likewise.
21168         (_IO_list_resetlock): Likewise.
21169         * libio/getchar.c (getchar): Likewise.
21170         * libio/getchar_u.c (getchar_unlocked): Likewise.
21171         * libio/getwchar.c (getwchar): Likewise.
21172         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21173         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21174         * login/getpt.c (__getpt): Likewise.
21175         * login/tst-utmp.c (main): Likewise.
21176         * malloc/hooks.c (__malloc_check_init): Likewise.
21177         * malloc/malloc.c (__malloc_stats): Likewise.
21178         * malloc/mtrace.c (tr_break): Likewise.
21179         (mtrace): Likewise.
21180         (muntrace): Likewise.
21181         * misc/fstab.c (endfsent): Likewise.
21182         * misc/getclktck.c (__getclktck): Likewise.
21183         * misc/getdtsz.c (__getdtablesize): Likewise.
21184         * misc/gethostid.c (gethostid): Likewise.
21185         * misc/getpagesize.c (__getpagesize): Likewise.
21186         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21187         (__get_nprocs): Likewise.
21188         (__get_phys_pages): Likewise.
21189         (__get_avphys_pages): Likewise.
21190         * misc/getttyent.c (getttyent): Likewise.
21191         (setttyent): Likewise.
21192         (endttyent): Likewise.
21193         * misc/getusershell.c (getusershell): Likewise.
21194         (endusershell): Likewise.
21195         (setusershell): Likewise.
21196         (initshells): Likewise.
21197         * misc/hsearch.c (__hdestroy): Likewise.
21198         * misc/sync.c (sync): Likewise.
21199         * misc/syslog.c (closelog_internal): Likewise.
21200         (closelog): Likewise.
21201         * misc/ttyslot.c (ttyslot): Likewise.
21202         * misc/vhangup.c (vhangup): Likewise.
21203         * posix/fork.c (__fork): Likewise.
21204         * posix/getegid.c (__getegid): Likewise.
21205         * posix/geteuid.c (__geteuid): Likewise.
21206         * posix/getgid.c (__getgid): Likewise.
21207         * posix/getpid.c (__getpid): Likewise.
21208         * posix/getppid.c (__getppid): Likewise.
21209         * posix/getuid.c (__getuid): Likewise.
21210         * posix/pause.c (pause): Likewise.
21211         * posix/setpgrp.c (setpgrp): Likewise.
21212         * posix/setsid.c (__setsid): Likewise.
21213         * posix/test-vfork.c (noop): Likewise.
21214         * resolv/gethnamaddr.c (_endhtent): Likewise.
21215         (_gethtent): Likewise.
21216         (ht_endhostent): Likewise.
21217         (gethostent): Likewise.
21218         (dns_service): Likewise.
21219         * stdlib/drand48.c (drand48): Likewise.
21220         * stdlib/lrand48.c (lrand48): Likewise.
21221         * stdlib/mrand48.c (mrand48): Likewise.
21222         * stdlib/rand.c (rand): Likewise.
21223         * stdlib/random.c (__random): Likewise.
21224         * stdlib/setenv.c (clearenv): Likewise.
21225         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21226         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21227         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21228         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21229         (__get_nprocs): Likewise.
21230         (__get_phys_pages): Likewise.
21231         (__get_avphys_pages): Likewise.
21232         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21233         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21234         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21235         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21236         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21237         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21238         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21239         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21240         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21241         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21242         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21243         * sysdeps/mach/hurd/sync.c (sync): Likewise.
21244         * sysdeps/posix/clock.c (clock): Likewise.
21245         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21246         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21247         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21248         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21249         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21250         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21251         (__get_nprocs_conf): Likewise.
21252         (__get_phys_pages): Likewise.
21253         (__get_avphys_pages): Likewise.
21254         * time/clock.c (clock): Likewise.
21255         * time/tzset.c (__tzname_max): Likewise.
21257 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
21259         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21260         (__bswap_32): Do not use "register".
21261         * crypt/crypt.c (_ufc_doit_r): Likewise.
21262         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21263         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21264         * gmon/gmon.c (__monstartup): Likewise.
21265         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21266         * hurd/hurdmalloc.c (more_memory): Likewise.
21267         (malloc): Likewise.
21268         (free): Likewise.
21269         (realloc): Likewise.
21270         (malloc_fork_prepare): Likewise.
21271         (malloc_fork_parent): Likewise.
21272         (malloc_fork_child): Likewise.
21273         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21274         (_svcauth_des): Likewise.
21275         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21276         * inet/inet_net.c (inet_network): Likewise.
21277         * inet/inet_netof.c (inet_netof): Likewise.
21278         * inet/rcmd.c (__validuser2_sa): Likewise.
21279         * io/fts.c (fts_open): Likewise.
21280         (fts_load): Likewise.
21281         (fts_close): Likewise.
21282         (fts_read): Likewise.
21283         (fts_children): Likewise.
21284         (fts_build): Likewise.
21285         (fts_stat): Likewise.
21286         (fts_sort): Likewise.
21287         (fts_alloc): Likewise.
21288         (fts_lfree): Likewise.
21289         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21290         (_IO_file_xsgetn): Likewise.
21291         (_IO_file_xsgetn_mmap): Likewise.
21292         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21293         (_IO_cookie_write): Likewise.
21294         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21295         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21296         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21297         * malloc/obstack.c (_obstack_begin): Likewise.
21298         (_obstack_begin_1): Likewise.
21299         (_obstack_newchunk): Likewise.
21300         (_obstack_allocated_p): Likewise.
21301         (obstack_free): Likewise.
21302         (_obstack_memory_used): Likewise.
21303         * misc/getttyent.c (getttynam): Likewise.
21304         (getttyent): Likewise.
21305         (skip): Likewise.
21306         (value): Likewise.
21307         * misc/getusershell.c (initshells): Likewise.
21308         * misc/syslog.c (__vsyslog_chk): Likewise.
21309         * misc/ttyslot.c (ttyslot): Likewise.
21310         * nis/nis_hash.c (__nis_hash): Likewise.
21311         * posix/fnmatch_loop.c (FCT): Likewise.
21312         * posix/getconf.c (print_all): Likewise.
21313         (main): Likewise.
21314         * posix/getopt.c (exchange): Likewise.
21315         * posix/glob.c (globfree): Likewise.
21316         (prefix_array): Likewise.
21317         (__glob_pattern_type): Likewise.
21318         * resolv/arpa/nameser.h (NS_GET16): Likewise.
21319         (NS_GET32): Likewise.
21320         (NS_PUT16): Likewise.
21321         (NS_PUT32): Likewise.
21322         * resolv/gethnamaddr.c (getanswer): Likewise.
21323         (gethostbyname2): Likewise.
21324         (gethostbyaddr): Likewise.
21325         (_gethtent): Likewise.
21326         (_gethtbyname2): Likewise.
21327         (_gethtbyaddr): Likewise.
21328         * resolv/ns_print.c (dst_s_get_int16): Likewise.
21329         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21330         * resolv/res_init.c (__res_vinit): Likewise.
21331         (net_mask): Likewise.
21332         * resolv/res_mkquery.c (outchar): Likewise.
21333         (PRINT): Likewise.
21334         * stdio-common/printf_fp.c (outchar): Likewise.
21335         (PRINT): Likewise.
21336         * stdio-common/printf_fphex.c (outchar): Likewise.
21337         (PRINT): Likewise.
21338         * stdio-common/printf_size.c (outchar): Likewise.
21339         (PRINT): Likewise.
21340         * stdio-common/test_rdwr.c (main): Likewise.
21341         * stdio-common/tfformat.c (matches): Likewise.
21342         * stdio-common/vfprintf.c (outchar): Likewise.
21343         (printf_unknown): Likewise.
21344         (buffered_vfprintf): Likewise.
21345         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21346         * stdio-common/xbug.c (AppendToBuffer): Likewise.
21347         (ReadFile): Likewise.
21348         * stdlib/qsort.c (SWAP): Likewise.
21349         (_quicksort): Likewise.
21350         * stdlib/setenv.c (__add_to_environ): Likewise.
21351         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21352         * stdlib/strtol_l.c (__strtol_l): Likewise.
21353         * stdlib/tst-strtod.c (main): Likewise.
21354         * stdlib/tst-strtol.c (main): Likewise.
21355         * stdlib/tst-strtoll.c (main): Likewise.
21356         * string/bits/string2.h (__strcmp_cc): Likewise.
21357         (__strcmp_cg): Likewise.
21358         (__strcspn_c1): Likewise.
21359         (__strcspn_c2): Likewise.
21360         (__strcspn_c3): Likewise.
21361         (__strspn_c1): Likewise.
21362         (__strspn_c2): Likewise.
21363         (__strspn_c3): Likewise.
21364         (__strsep_1c): Likewise.
21365         (__strsep_2c): Likewise.
21366         (__strsep_3c): Likewise.
21367         * string/memccpy.c (__memccpy): Likewise.
21368         * string/stpcpy.c (__stpcpy): Likewise.
21369         * string/strcmp.c (strcmp): Likewise.
21370         * string/strrchr.c (strrchr): Likewise.
21371         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21372         Likewise.
21373         * sysdeps/mach/hurd/getcwd.c
21374         (_hurd_canonicalize_directory_name_internal): Likewise.
21375         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21376         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21377         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21378         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21379         Likewise, in both definitions.
21380         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21381         definitions.
21382         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21383         64] (__bswap_64): Likewise.
21384         * time/test_time.c (main): Likewise.
21385         * time/tzfile.c (__tzfile_read): Likewise.
21386         (__tzfile_compute): Likewise.
21387         * time/tzset.c (__tzset_parse_tz): Likewise.
21388         (tzset_internal): Likewise.
21389         (compute_change): Likewise.
21390         * wcsmbs/wcscat.c (__wcscat): Likewise.
21391         * wcsmbs/wcschr.c (wcschr): Likewise.
21392         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21393         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21394         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21395         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21396         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21397         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21398         * wcsmbs/wmemchr.c (wmemchr): Likewise.
21399         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21400         * wcsmbs/wmemset.c (wmemset): Likewise.
21402 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
21404         * scripts/config.guess: Update to version 2013-05-16.
21405         * scripts/config.sub: Update to version 2013-04-24.
21406         * scripts/install-sh: Update to version 2011-11-20.07.
21407         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21408         * scripts/move-if-change: Update to version 2012-01-06 07:23.
21410 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
21412         * debug/fgetws_u_chk.c: Fix leading whitespaces.
21413         * elf/sln.c: Likewise.
21414         * hurd/hurd/ioctl.h: Likewise.
21415         * hurd/hurdmalloc.c: Likewise.
21416         * hurd/xattr.c: Likewise.
21417         * include/shlib-compat.h: Likewise.
21418         * inet/ruserpass.c: Likewise.
21419         * libio/iofgets_u.c: Likewise.
21420         * libio/iofgetws_u.c: Likewise.
21421         * locale/programs/ld-identification.c: Likewise.
21422         * locale/programs/ld-time.c: Likewise.
21423         * mach/msg-destroy.c: Likewise.
21424         * nss/nss_files/files-netgrp.c: Likewise.
21425         * resolv/res_data.c: Likewise.
21426         * soft-fp/op-1.h: Likewise.
21427         * soft-fp/op-2.h: Likewise.
21428         * soft-fp/op-4.h: Likewise.
21429         * soft-fp/op-common.h: Likewise.
21430         * stdio-common/printf_fphex.c: Likewise.
21431         * stdlib/strtod_l.c: Likewise.
21432         * sunrpc/rpc/clnt.h: Likewise.
21433         * sysdeps/generic/framestate.c: Likewise.
21434         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21435         * sysdeps/i386/bsd-setjmp.S: Likewise.
21436         * sysdeps/i386/__longjmp.S: Likewise.
21437         * sysdeps/i386/setjmp.S: Likewise.
21438         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21439         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21440         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21441         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21442         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21443         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21444         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21445         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21446         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21447         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21448         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21449         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21450         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21451         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21452         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21453         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21454         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21455         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21456         * sysdeps/ieee754/support.c: Likewise.
21457         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21458         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21459         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21460         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21461         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21462         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21463         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21464         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21465         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21466         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21467         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21468         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21469         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21470         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21471         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21472         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21473         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21476 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
21478         * posix/transbug.c: Remove executable mode.
21480 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21482         * crypt/speeds.c: Remove trailing whitespace.
21483         * dlfcn/default.c: Likewise.
21484         * elf/ifuncdep2.c: Likewise.
21485         * elf/ifuncmain1.c: Likewise.
21486         * elf/ifuncmain1vis.c: Likewise.
21487         * elf/testobj.h: Likewise.
21488         * elf/tst-stackguard1.c: Likewise.
21489         * gmon/sys/gmon.h: Likewise.
21490         * hurd/hurdmsg.c: Likewise.
21491         * hurd/new-fd.c: Likewise.
21492         * hurd/ports-get.c: Likewise.
21493         * iconvdata/ibm1008_420.c: Likewise.
21494         * inet/tst-getni1.c: Likewise.
21495         * inet/tst-getni2.c: Likewise.
21496         * libio/ioungetc.c: Likewise.
21497         * libio/wfiledoalloc.c: Likewise.
21498         * manual/libm-err-tab.pl: Likewise.
21499         * math/w_dremf.c: Likewise.
21500         * misc/ftruncate.c: Likewise.
21501         * posix/bug-glob2.c: Likewise.
21502         * posix/tst-pcre.c: Likewise.
21503         * posix/wait4.c: Likewise.
21504         * resolv/README: Likewise.
21505         * resolv/res_debug.h: Likewise.
21506         * resolv/tst-inet_ntop.c: Likewise.
21507         * setjmp/bug269-setjmp.c: Likewise.
21508         * soft-fp/extended.h: Likewise.
21509         * soft-fp/op-1.h: Likewise.
21510         * soft-fp/op-2.h: Likewise.
21511         * soft-fp/op-4.h: Likewise.
21512         * soft-fp/op-8.h: Likewise.
21513         * soft-fp/testit.c: Likewise.
21514         * stdio-common/bug16.c: Likewise.
21515         * stdlib/random.c: Likewise.
21516         * sunrpc/rpcsvc/rquota.x: Likewise.
21517         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21518         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21519         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21520         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21521         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21522         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21523         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21524         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21525         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21526         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21527         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21528         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21529         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21530         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21531         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21532         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21533         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21534         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21535         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21536         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21537         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21538         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21539         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21540         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21541         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21542         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21543         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21544         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21545         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21546         * sysdeps/ieee754/s_lib_version.c: Likewise.
21547         * sysdeps/mach/hurd/check_fds.c: Likewise.
21548         * sysdeps/mach/hurd/getsockname.c: Likewise.
21549         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21550         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21551         * sysdeps/powerpc/bits/link.h: Likewise.
21552         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21553         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21554         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21555         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21556         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21557         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21558         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21559         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21560         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21561         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21562         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21563         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21564         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21565         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21566         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21567         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21568         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21569         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21570         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21571         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21572         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21573         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21574         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21575         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21576         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21577         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21578         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21579         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21580         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21581         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21582         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21583         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21584         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21585         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21586         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21587         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21588         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21589         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21590         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21591         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21592         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21593         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21594         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21595         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21596         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21597         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21598         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21599         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21600         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21601         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21602         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21603         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21604         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21605         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21606         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21607         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21608         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21609         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21610         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21611         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21612         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21613         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21614         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21615         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21616         * sysdeps/powerpc/sysdep.h: Likewise.
21617         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21618         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21619         * sysdeps/sh/dl-trampoline.S: Likewise.
21620         * sysdeps/sh/memset.S: Likewise.
21621         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21622         * sysdeps/sh/strlen.S: Likewise.
21623         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21624         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21625         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21626         * sysdeps/sparc/sparc32/rem.S: Likewise.
21627         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21628         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21629         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21630         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21631         * sysdeps/sparc/sparc32/urem.S: Likewise.
21632         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21633         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21634         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21635         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21636         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21637         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21638         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21639         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21640         * sysdeps/unix/bsd/times.c: Likewise.
21641         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21642         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21646         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21647         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21648         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21649         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21650         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21651         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21652         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21653         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21654         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21655         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21656         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21657         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21658         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21659         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21660         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21661         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21662         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21663         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21664         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21665         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21666         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21667         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21668         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21669         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21670         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21671         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21672         * sysdeps/x86_64/strcspn.S: Likewise.
21674 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21676         * locale/C-translit.h: Revert #include <stdint.h> because this is a
21677         generated file.  Regenerate properly from gen-translit.pl.
21678         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
21679         locale/C-translit.h.
21681 2013-06-05  Andreas Schwab  <schwab@suse.de>
21683         [BZ #15100]
21684         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21685         week as 6 instead of -1.
21686         * time/tst-strptime.c (day_tests): Add test case.
21688 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21690         * sysdeps/generic/math_private.h
21691         (libc_feholdexcept_setround_53bit): Replace with
21692         libc_feholdsetround_53bit.
21693         (libc_feupdateenv_53bit): Replace with
21694         libc_feresetround_53bit.
21695         (SET_RESTORE_ROUND_53BIT): Adjust.
21697 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21699         * string/test-strchrnul.c: Add copyright header.
21701         * posix/tst-getaddrinfo4.c: Increase test timeout.
21703 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
21705         [BZ #15536]
21706         * math/libm-test.inc (MAX_EXP): Remove
21707         (MIN_EXP): Define.
21708         (ulp): Use MIN_EXP - MANT_DIG.
21709         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21711 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
21713         * po/be.po: Revert last change.
21714         * po/zh_CN.po: Likewise.
21715         * po/header.pot: Likewise.
21717 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
21719         * Makefile ($(common-objpfx)linkobj/libc.so): Define
21720         link-libc-deps to empty as target-specific variable.
21721         * Makerules (link-libc-args): New variable.
21722         (libc-for-link): Likewise.
21723         (link-libc-deps): Likewise.
21724         (lib%.so): Depend on $(link-libc-deps).  Link with
21725         $(link-libc-args).
21726         (build-module): Link with $(link-libc-args).
21727         (build-module-asneeded): Likewise.
21728         (build-module-helper-objlist): Filter out $(link-libc-deps) from
21729         list of objects.
21730         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21731         target-specific variable.
21732         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21733         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21734         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21735         libc.
21736         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21737         libc and ld.so.
21738         ($(objpfx)libpcprofile.so): Likewise.
21739         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21740         libc_nonshared.a.
21741         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21742         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21743         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21744         $(link-libc-deps).
21745         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21746         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21747         * login/Makefile ($(objpfx)libutil.so): Likewise.
21748         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21749         * math/Makefile ($(objpfx)libm.so): Likewise.
21750         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21751         $(objpfx)libnsl.so): Define libc-for-link as target-specific
21752         variable instead of depending directly on libc.
21753         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21754         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21755         $(link-libc-deps).
21756         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21757         libc.
21758         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21759         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21760         ($(objpfx)libanl.so): Likewise.
21761         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21762         ld.so.
21763         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21764         $(link-libc-deps).
21765         * sysdeps/i386/fpu/Makefile: Remove file.
21766         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21767         ($(objpfx)libm.so): Remove dependency on ld.so.
21769 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
21771         [BZ # 15553]
21772         * nis/yp_xdr.c (XDRMAXNAME): Define.
21773         (XDRMAXRECORD): Define.
21774         (xdr_domainname): Use XDRMAXNAME.
21775         (xdr_mapname): Likewise.
21776         (xdr_peername): Likewise.
21777         (xdr_keydat): Use XDRMAXRECORD.
21778         (xdr_valdat): Likewise.
21780 2013-05-30  Jeff Law  <law@redhat.com>
21782         [BZ #14256]
21783         * manual/errno.texi (ESTALE): Update to account for more than
21784         just NFS file systems.
21785         * sysdeps/gnu/errlist.c: Regenerated.
21787 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21789         [BZ #15465]
21790         * elf/Makefile (tests): Add tst-null-argv.
21791         (modules-names):  Add tst-null-argv-lib.
21792         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21793         (tst-null-argv-ENV): Set environment for tst-null-argv.
21794         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21795         (RTLD_PROGNAME): New macro.
21796         * elf/tst-null-argv.c: New test case.
21797         * elf/tst-null-argv-lib.c: Library for test case.
21798         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21799         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21800         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21801         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21802         * elf/dl-init.c (call_init): Likewise.
21803         (_dl_init): Likewise.
21804         * elf/dl-load.c (print_search_path): Likewise.
21805         (_dl_map_object): Likewise.
21806         * elf/dl-lookup.c (do_lookup_x): Likewise.
21807         (add_dependency): Likewise.
21808         (_dl_lookup_symbol_x): Likewise.
21809         (_dl_debug_bindings): Likewise.
21810         * elf/dl-open.c (_dl_show_scope): Likewise.
21811         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21812         * elf/dl-version.c (match_symbol): Likewise.
21813         (_dl_check_map_versions): Likewise.
21814         * elf/rtld.c (dl_main): Likewise.
21815         (print_unresolved): Use RTLD_PROGNAME.
21816         (print_missing_version): Likewise.
21817         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21818         (elf_machine_rela): Likewise.
21819         * sysdeps/powerpc/powerpc32/dl-machine.c
21820         (__process_machine_rela): Likewise.
21821         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21822         Likewise.
21823         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21824         Likewise.
21825         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21826         Likewise.
21827         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21828         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21829         Likewise.
21830         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21831         Likewise.
21832         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21834 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
21836         * po/be.po: Add descriptive title.
21837         * po/zh_CN.po: Likewise.
21838         * po/header.pot: Likewise.
21840 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
21842         * locale/programs/locarchive.c (create_archive): Inlucde fname in
21843         error message.
21844         (enlarge_archive): Likewise.
21846 2013-05-28  Ben North  <ben@redfrontdoor.org>
21848         * manual/arith.texi (frexp): It is the magnitude of the return
21849         value which lies in [0.5, 1), not the return value itself.
21851 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21855 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
21857         * stdio-common/bug26.c (main): Correct fscanf template.
21859         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21860         declare _dl_skip_args.
21862         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21863         Don't declare.
21865         * manual/platform.texi: Add missing @end deftypefun.
21867 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21869         [BZ #15529]
21870         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21871         bit of mantissa of 2^16382.
21872         * math/libm-test.inc (hypot_test_data): Add more tests.
21874         * math/libm-test.inc: Add drem and pow10 to list of tested
21875         functions.
21876         (pow10_test): New function.
21877         (drem_test): Likewise.
21878         (drem_test_tonearest): Likewise.
21879         (drem_test_towardzero): Likewise.
21880         (drem_test_downward): Likewise.
21881         (drem_test_upward): Likewise.
21882         (main): Call the new functions.
21884         * math/libm-test.inc (finite_test_data): Remove.
21885         (finite_test): Run tests from isfinite_test_data.
21886         (gamma_test_data): Remove.
21887         (gamma_test): Run tests from lgamma_test_data.
21888         * sysdeps/i386/fpu/libm-test-ulps: Update.
21889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21891 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21893         * manual/platform.texi: Add PowerPC PPR function set documentation.
21894         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21895         implementation.
21897 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
21899         * math/libm-test.inc (MAX_EXP): Define.
21900         (ULPDIFF): Define.
21901         (ulp): New function.
21902         (check_float_internal): Use ULPDIFF.
21903         (cpow_test): Disable failing test.
21904         (check_ulp): Test ulp() implemetnation.
21905         (main): Call check_ulp before starting tests.
21907 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21909         * math/gen-libm-test.pl (generate_testfile): Do not handle
21910         START_DATA and END_DATA.
21911         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21912         END_DATA.
21913         (acos_tonearest_test_data): Likewise.
21914         (acos_towardzero_test_data): Likewise.
21915         (acos_downward_test_data): Likewise.
21916         (acos_upward_test_data): Likewise.
21917         (acosh_test_data): Likewise.
21918         (asin_test_data): Likewise.
21919         (asin_tonearest_test_data): Likewise.
21920         (asin_towardzero_test_data): Likewise.
21921         (asin_downward_test_data): Likewise.
21922         (asin_upward_test_data): Likewise.
21923         (asinh_test_data): Likewise.
21924         (atan_test_data): Likewise.
21925         (atanh_test_data): Likewise.
21926         (atan2_test_data): Likewise.
21927         (cabs_test_data): Likewise.
21928         (cacos_test_data): Likewise.
21929         (cacosh_test_data): Likewise.
21930         (carg_test_data): Likewise.
21931         (casin_test_data): Likewise.
21932         (casinh_test_data): Likewise.
21933         (catan_test_data): Likewise.
21934         (catanh_test_data): Likewise.
21935         (cbrt_test_data): Likewise.
21936         (ccos_test_data): Likewise.
21937         (ccosh_test_data): Likewise.
21938         (ceil_test_data): Likewise.
21939         (cexp_test_data): Likewise.
21940         (cimag_test_data): Likewise.
21941         (clog_test_data): Likewise.
21942         (clog10_test_data): Likewise.
21943         (conj_test_data): Likewise.
21944         (copysign_test_data): Likewise.
21945         (cos_test_data): Likewise.
21946         (cos_tonearest_test_data): Likewise.
21947         (cos_towardzero_test_data): Likewise.
21948         (cos_downward_test_data): Likewise.
21949         (cos_upward_test_data): Likewise.
21950         (cosh_test_data): Likewise.
21951         (cosh_tonearest_test_data): Likewise.
21952         (cosh_towardzero_test_data): Likewise.
21953         (cosh_downward_test_data): Likewise.
21954         (cosh_upward_test_data): Likewise.
21955         (cpow_test_data): Likewise.
21956         (cproj_test_data): Likewise.
21957         (creal_test_data): Likewise.
21958         (csin_test_data): Likewise.
21959         (csinh_test_data): Likewise.
21960         (csqrt_test_data): Likewise.
21961         (ctan_test_data): Likewise.
21962         (ctan_tonearest_test_data): Likewise.
21963         (ctan_towardzero_test_data): Likewise.
21964         (ctan_downward_test_data): Likewise.
21965         (ctan_upward_test_data): Likewise.
21966         (ctanh_test_data): Likewise.
21967         (ctanh_tonearest_test_data): Likewise.
21968         (ctanh_towardzero_test_data): Likewise.
21969         (ctanh_downward_test_data): Likewise.
21970         (ctanh_upward_test_data): Likewise.
21971         (erf_test_data): Likewise.
21972         (erfc_test_data): Likewise.
21973         (exp_test_data): Likewise.
21974         (exp_tonearest_test_data): Likewise.
21975         (exp_towardzero_test_data): Likewise.
21976         (exp_downward_test_data): Likewise.
21977         (exp_upward_test_data): Likewise.
21978         (exp10_test_data): Likewise.
21979         (exp2_test_data): Likewise.
21980         (expm1_test_data): Likewise.
21981         (fabs_test_data): Likewise.
21982         (fdim_test_data): Likewise.
21983         (finite_test_data): Likewise.
21984         (floor_test_data): Likewise.
21985         (fma_test_data): Likewise.
21986         (fma_towardzero_test_data): Likewise.
21987         (fma_downward_test_data): Likewise.
21988         (fma_upward_test_data): Likewise.
21989         (fmax_test_data): Likewise.
21990         (fmin_test_data): Likewise.
21991         (fmod_test_data): Likewise.
21992         (fpclassify_test_data): Likewise.
21993         (frexp_test_data): Likewise.
21994         (gamma_test_data): Likewise.
21995         (hypot_test_data): Likewise.
21996         (ilogb_test_data): Likewise.
21997         (isfinite_test_data): Likewise.
21998         (isgreater_test_data): Likewise.
21999         (isgreaterequal_test_data): Likewise.
22000         (isinf_test_data): Likewise.
22001         (isless_test_data): Likewise.
22002         (islessequal_test_data): Likewise.
22003         (islessgreater_test_data): Likewise.
22004         (isnan_test_data): Likewise.
22005         (isnormal_test_data): Likewise.
22006         (issignaling_test_data): Likewise.
22007         (isunordered_test_data): Likewise.
22008         (j0_test_data): Likewise.
22009         (j1_test_data): Likewise.
22010         (jn_test_data): Likewise.
22011         (ldexp_test_data): Likewise.
22012         (lgamma_test_data): Likewise.
22013         (lrint_test_data): Likewise.
22014         (lrint_tonearest_test_data): Likewise.
22015         (lrint_towardzero_test_data): Likewise.
22016         (lrint_downward_test_data): Likewise.
22017         (lrint_upward_test_data): Likewise.
22018         (llrint_test_data): Likewise.
22019         (llrint_tonearest_test_data): Likewise.
22020         (llrint_towardzero_test_data): Likewise.
22021         (llrint_downward_test_data): Likewise.
22022         (llrint_upward_test_data): Likewise.
22023         (log_test_data): Likewise.
22024         (log10_test_data): Likewise.
22025         (log1p_test_data): Likewise.
22026         (log2_test_data): Likewise.
22027         (logb_test_data): Likewise.
22028         (logb_downward_test_data): Likewise.
22029         (lround_test_data): Likewise.
22030         (llround_test_data): Likewise.
22031         (modf_test_data): Likewise.
22032         (nearbyint_test_data): Likewise.
22033         (nextafter_test_data): Likewise.
22034         (nexttoward_test_data): Likewise.
22035         (pow_test_data): Likewise.
22036         (pow_tonearest_test_data): Likewise.
22037         (pow_towardzero_test_data): Likewise.
22038         (pow_downward_test_data): Likewise.
22039         (pow_upward_test_data): Likewise.
22040         (remainder_test_data): Likewise.
22041         (remainder_tonearest_test_data): Likewise.
22042         (remainder_towardzero_test_data): Likewise.
22043         (remainder_downward_test_data): Likewise.
22044         (remainder_upward_test_data): Likewise.
22045         (remquo_test_data): Likewise.
22046         (rint_test_data): Likewise.
22047         (rint_tonearest_test_data): Likewise.
22048         (rint_towardzero_test_data): Likewise.
22049         (rint_downward_test_data): Likewise.
22050         (rint_upward_test_data): Likewise.
22051         (round_test_data): Likewise.
22052         (scalb_test_data): Likewise.
22053         (scalbn_test_data): Likewise.
22054         (scalbln_test_data): Likewise.
22055         (signbit_test_data): Likewise.
22056         (sin_test_data): Likewise.
22057         (sin_tonearest_test_data): Likewise.
22058         (sin_towardzero_test_data): Likewise.
22059         (sin_downward_test_data): Likewise.
22060         (sin_upward_test_data): Likewise.
22061         (sincos_test_data): Likewise.
22062         (sinh_test_data): Likewise.
22063         (sinh_tonearest_test_data): Likewise.
22064         (sinh_towardzero_test_data): Likewise.
22065         (sinh_downward_test_data): Likewise.
22066         (sinh_upward_test_data): Likewise.
22067         (sqrt_test_data): Likewise.
22068         (tan_test_data): Likewise.
22069         (tan_tonearest_test_data): Likewise.
22070         (tan_towardzero_test_data): Likewise.
22071         (tan_downward_test_data): Likewise.
22072         (tan_upward_test_data): Likewise.
22073         (tanh_test_data): Likewise.
22074         (tgamma_test_data): Likewise.
22075         (trunc_test_data): Likewise.
22076         (y0_test_data): Likewise.
22077         (y1_test_data): Likewise.
22078         (yn_test_data): Likewise.
22079         (significand_test_data): Likewise.
22081         * math/gen-libm-test.pl (@functions): Remove variable.
22082         (generate_testfile): Don't handle START and END lines.
22083         * math/libm-test.inc (START): New macro.
22084         (END): Likewise.
22085         (END_COMPLEX): Likewise.
22086         (acos_test): Use END macro without arguments.
22087         (acos_test_tonearest): Likewise.
22088         (acos_test_towardzero): Likewise.
22089         (acos_test_downward): Likewise.
22090         (acos_test_upward): Likewise.
22091         (acosh_test): Likewise.
22092         (asin_test): Likewise.
22093         (asin_test_tonearest): Likewise.
22094         (asin_test_towardzero): Likewise.
22095         (asin_test_downward): Likewise.
22096         (asin_test_upward): Likewise.
22097         (asinh_test): Likewise.
22098         (atan_test): Likewise.
22099         (atanh_test): Likewise.
22100         (atan2_test): Likewise.
22101         (cabs_test): Likewise.
22102         (cacos_test): Use END_COMPLEX macro without arguments.
22103         (cacosh_test): Likewise.
22104         (carg_test): Use END macro without arguments.
22105         (casin_test): Use END_COMPLEX macro without arguments.
22106         (casinh_test): Likewise.
22107         (catan_test): Likewise.
22108         (catanh_test): Likewise.
22109         (cbrt_test): Use END macro without arguments.
22110         (ccos_test): Use END_COMPLEX macro without arguments.
22111         (ccosh_test): Likewise.
22112         (ceil_test): Use END macro without arguments.
22113         (cexp_test): Use END_COMPLEX macro without arguments.
22114         (cimag_test): Use END macro without arguments.
22115         (clog_test): Use END_COMPLEX macro without arguments.
22116         (clog10_test): Likewise.
22117         (conj_test): Likewise.
22118         (copysign_test): Use END macro without arguments.
22119         (cos_test): Likewise.
22120         (cos_test_tonearest): Likewise.
22121         (cos_test_towardzero): Likewise.
22122         (cos_test_downward): Likewise.
22123         (cos_test_upward): Likewise.
22124         (cosh_test): Likewise.
22125         (cosh_test_tonearest): Likewise.
22126         (cosh_test_towardzero): Likewise.
22127         (cosh_test_downward): Likewise.
22128         (cosh_test_upward): Likewise.
22129         (cpow_test): Use END_COMPLEX macro without arguments.
22130         (cproj_test): Likewise.
22131         (creal_test): Use END macro without arguments.
22132         (csin_test): Use END_COMPLEX macro without arguments.
22133         (csinh_test): Likewise.
22134         (csqrt_test): Likewise.
22135         (ctan_test): Likewise.
22136         (ctan_test_tonearest): Likewise.
22137         (ctan_test_towardzero): Likewise.
22138         (ctan_test_downward): Likewise.
22139         (ctan_test_upward): Likewise.
22140         (ctanh_test): Likewise.
22141         (ctanh_test_tonearest): Likewise.
22142         (ctanh_test_towardzero): Likewise.
22143         (ctanh_test_downward): Likewise.
22144         (ctanh_test_upward): Likewise.
22145         (erf_test): Use END macro without arguments.
22146         (erfc_test): Likewise.
22147         (exp_test): Likewise.
22148         (exp_test_tonearest): Likewise.
22149         (exp_test_towardzero): Likewise.
22150         (exp_test_downward): Likewise.
22151         (exp_test_upward): Likewise.
22152         (exp10_test): Likewise.
22153         (exp2_test): Likewise.
22154         (expm1_test): Likewise.
22155         (fabs_test): Likewise.
22156         (fdim_test): Likewise.
22157         (finite_test): Likewise.
22158         (floor_test): Likewise.
22159         (fma_test): Likewise.
22160         (fma_test_towardzero): Likewise.
22161         (fma_test_downward): Likewise.
22162         (fma_test_upward): Likewise.
22163         (fmax_test): Likewise.
22164         (fmin_test): Likewise.
22165         (fmod_test): Likewise.
22166         (fpclassify_test): Likewise.
22167         (frexp_test): Likewise.
22168         (gamma_test): Likewise.
22169         (hypot_test): Likewise.
22170         (ilogb_test): Likewise.
22171         (isfinite_test): Likewise.
22172         (isgreater_test): Likewise.
22173         (isgreaterequal_test): Likewise.
22174         (isinf_test): Likewise.
22175         (isless_test): Likewise.
22176         (islessequal_test): Likewise.
22177         (islessgreater_test): Likewise.
22178         (isnan_test): Likewise.
22179         (isnormal_test): Likewise.
22180         (issignaling_test): Likewise.
22181         (isunordered_test): Likewise.
22182         (j0_test): Likewise.
22183         (j1_test): Likewise.
22184         (jn_test): Likewise.
22185         (ldexp_test): Likewise.
22186         (lgamma_test): Likewise.
22187         (lrint_test): Likewise.
22188         (lrint_test_tonearest): Likewise.
22189         (lrint_test_towardzero): Likewise.
22190         (lrint_test_downward): Likewise.
22191         (lrint_test_upward): Likewise.
22192         (llrint_test): Likewise.
22193         (llrint_test_tonearest): Likewise.
22194         (llrint_test_towardzero): Likewise.
22195         (llrint_test_downward): Likewise.
22196         (llrint_test_upward): Likewise.
22197         (log_test): Likewise.
22198         (log10_test): Likewise.
22199         (log1p_test): Likewise.
22200         (log2_test): Likewise.
22201         (logb_test): Likewise.
22202         (logb_test_downward): Likewise.
22203         (lround_test): Likewise.
22204         (llround_test): Likewise.
22205         (modf_test): Likewise.
22206         (nearbyint_test): Likewise.
22207         (nextafter_test): Likewise.
22208         (nexttoward_test): Likewise.
22209         (pow_test): Likewise.
22210         (pow_test_tonearest): Likewise.
22211         (pow_test_towardzero): Likewise.
22212         (pow_test_downward): Likewise.
22213         (pow_test_upward): Likewise.
22214         (remainder_test): Likewise.
22215         (remainder_test_tonearest): Likewise.
22216         (remainder_test_towardzero): Likewise.
22217         (remainder_test_downward): Likewise.
22218         (remainder_test_upward): Likewise.
22219         (remquo_test): Likewise.
22220         (rint_test): Likewise.
22221         (rint_test_tonearest): Likewise.
22222         (rint_test_towardzero): Likewise.
22223         (rint_test_downward): Likewise.
22224         (rint_test_upward): Likewise.
22225         (round_test): Likewise.
22226         (scalb_test): Likewise.
22227         (scalbn_test): Likewise.
22228         (scalbln_test): Likewise.
22229         (signbit_test): Likewise.
22230         (sin_test): Likewise.
22231         (sin_test_tonearest): Likewise.
22232         (sin_test_towardzero): Likewise.
22233         (sin_test_downward): Likewise.
22234         (sin_test_upward): Likewise.
22235         (sincos_test): Likewise.
22236         (sinh_test): Likewise.
22237         (sinh_test_tonearest): Likewise.
22238         (sinh_test_towardzero): Likewise.
22239         (sinh_test_downward): Likewise.
22240         (sinh_test_upward): Likewise.
22241         (sqrt_test): Likewise.
22242         (tan_test): Likewise.
22243         (tan_test_tonearest): Likewise.
22244         (tan_test_towardzero): Likewise.
22245         (tan_test_downward): Likewise.
22246         (tan_test_upward): Likewise.
22247         (tanh_test): Likewise.
22248         (tgamma_test): Likewise.
22249         (trunc_test): Likewise.
22250         (y0_test): Likewise.
22251         (y1_test): Likewise.
22252         (yn_test): Likewise.
22253         (significand_test): Likewise.
22255 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
22257         [BZ #15381]
22258         * libio/genops.c (_IO_no_init): Initialize wide struct info.
22260 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22262         [BZ #14894]
22263         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22264         __ppc_mdoio and __ppc_mdoom.
22265         * manual/platform.texi: Document new functions __ppc_yield,
22266         __ppc_mdoio and __ppc_mdoom.
22268 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
22270         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22271         (main): Mention "tls" pseudo-hwcap is legacy.
22272         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22274 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22276         * math/gen-libm-test.pl (parse_args): Output only string of
22277         arguments as text for test name, not full call or descriptions of
22278         tests for extra outputs.
22279         (generate_testfile): Do not pass function name to parse_args.
22280         Generate this_func variable from START.
22281         * math/libm-test.inc (struct test_f_f_data): Rename test_name
22282         field to arg_str.
22283         (struct test_ff_f_data): Likewise.
22284         (test_ff_f_data_nexttoward): Likewise.
22285         (struct test_fi_f_data): Likewise.
22286         (struct test_fl_f_data): Likewise.
22287         (struct test_if_f_data): Likewise.
22288         (struct test_fff_f_data): Likewise.
22289         (struct test_c_f_data): Likewise.
22290         (struct test_f_f1_data): Likewise.  Remove field extra_name.
22291         (struct test_fF_f1_data): Likewise.
22292         (struct test_ffI_f1_data): Likewise.
22293         (struct test_c_c_data): Rename test_name field to arg_str.
22294         (struct test_cc_c_data): Likewise.
22295         (struct test_f_i_data): Likewise.
22296         (struct test_ff_i_data): Likewise.
22297         (struct test_f_l_data): Likewise.
22298         (struct test_f_L_data): Likewise.
22299         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
22300         and extra2_name.
22301         (COMMON_TEST_SETUP): New macro.
22302         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22303         (COMMON_TEST_CLEANUP): Likewise.
22304         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22305         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
22306         macros.
22307         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22308         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
22309         macros.
22310         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22311         (RUN_TEST_fff_f): Take argument string.  Call new setup and
22312         cleanup macros.
22313         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22314         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
22315         macros.
22316         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22317         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
22318         macros.
22319         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22320         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
22321         cleanup macros.
22322         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22323         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
22324         cleanup macros.
22325         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22326         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
22327         cleanup macros.
22328         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22329         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
22330         macros.
22331         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22332         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
22333         macros.
22334         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22335         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
22336         macros.
22337         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22338         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
22339         cleanup macros.
22340         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22341         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
22342         cleanup macros.
22343         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22344         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
22345         macros.
22346         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22347         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
22348         cleanup macros.
22349         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22350         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
22351         macros.
22352         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22353         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
22354         macros.
22355         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22356         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
22357         cleanup macros.
22358         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22360 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
22362         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22363         to _sifields.sigfault.
22364         (si_addr_lsb): Define new macro.
22365         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22366         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22367         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22369 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
22371         [BZ #15441]
22372         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22373         returns -1.
22374         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22375         null return -1.
22376         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22377         loading the domain.
22379 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22381         * math/gen-libm-test.pl (parse_args): Do not include expected
22382         result in test name.
22383         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22384         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22385         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22386         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22387         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22390 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22392         * benchtests/Makefile: Sort function entries.
22394         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22395         tanh, asinh, acosh, atanh.
22396         * benchtests/acos-inputs: New file.
22397         * benchtests/acosh-inputs: New file.
22398         * benchtests/asin-inputs: New file.
22399         * benchtests/asinh-inputs: New file.
22400         * benchtests/atanh-inputs: New file.
22401         * benchtests/cosh-inputs: New file.
22402         * benchtests/log-inputs: New file.
22403         * benchtests/sinh-inputs: New file.
22404         * benchtests/tanh-inputs: New file.
22406 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
22408         [BZ #15339]
22409         * posix/tst-getaddrinfo4.c: New test.
22410         * posix/Makefile (tests): Add it.
22412 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22414         [BZ #15339]
22415         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22416         when no services were used.
22417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22418         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22420 2013-05-21  Andreas Schwab  <schwab@suse.de>
22422         [BZ #15014]
22423         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22424         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22425         successful.
22426         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22427         redundant variable declarations and reallocation of buffer when
22428         parsing as IPv6 address.  Always set NSS status when called from
22429         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
22430         buffer too small.  Correct computation of needed size.
22431         * nss/Makefile (tests): Add test-digits-dots.
22432         * nss/test-digits-dots.c: New test.
22434 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22436         * benchtests/Makefile: Remove instructions for adding
22437         benchmark tests.
22438         * benchtests/README: New file to explain how to execute and
22439         enhance the benchmark tests.
22441 2013-05-21  Andreas Schwab  <schwab@suse.de>
22443         [BZ #15493]
22444         * setjmp/Makefile (tests): Add tst-sigsetjmp.
22445         * setjmp/tst-sigsetjmp.c: New test.
22447 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22449         * sysdeps/x86_64/memset.S (memset): New implementation.
22450         (__bzero): Likewise.
22451         (__memset_tail): New function.
22453 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22455         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22456         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22457         __memcpy_sse2_unaligned ifunc selection.
22458         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22459         Add memcpy-sse2-unaligned.S.
22460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22461         Add: __memcpy_sse2_unaligned.
22463 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
22465         [BZ #15490]
22466         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22467         math_force_eval before restoring floating-point envrionment.
22468         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22469         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22470         Likewise.
22471         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22472         <math_private.h>.
22473         (__nearbyintl): Use math_force_eval before restoring
22474         floating-point environment.
22475         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22477         * math/gen-libm-test.pl (special_functions): Remove.
22478         (parse_args): Don't handle TEST_extra.  Handle functions with no
22479         return value.
22480         * math/libm-test.inc (struct test_sincos_data): Replace with
22481         struct test_fFF_11_data.
22482         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22483         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22484         (sincos_test_data): Change element type to struct
22485         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22486         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22487         RUN_TEST_LOOP_sincos.
22488         * math/README.libm-test: Don't mention special handling of
22489         individual functions.
22490         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22491         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22492         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22493         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22494         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22497         * math/gen-libm-test.pl (get_variable): Remove function.
22498         (parse_args): Don't show pointer parameters to call in test
22499         names.  Use "extra output N" in test names for extra outputs
22500         rather than naming variables.
22502 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22504         [BZ #15488]
22505         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22506         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22507         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22508         double tests.
22509         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22510         disable.
22511         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22512         check_long_double.
22514         * math/gen-libm-test.pl (@tests): Remove variable.
22515         ($count): Likewise.
22516         (new_test): Remove function.
22517         (show_exceptions): New function.
22518         (special_functions): Use show_exceptions instead of new_test.
22519         (parse_args): Likewise.
22520         (generate_testfile): Pass only function name in generated call to
22521         print_max_error or print_complex_max_error.
22522         (get_ulps): Do not handle complex tests specially.
22523         (output_test): Rename to ...
22524         (get_all_ulps_for_test): ... this.  Return a string rather than
22525         printing to a file.  Require ulps to be present.
22526         (output_ulps): Generate arrays rather than #defines.
22527         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22528         (struct ulp_data): New type.
22529         (BUILD_COMPLEX_ULP): Remove macro.
22530         (compare_ulp_data): New function.
22531         (find_ulps): Likewise.
22532         (find_test_ulps): Likewise.
22533         (find_function_ulps): Likewise.
22534         (find_complex_function_ulps): Likewise.
22535         (print_max_error): Determine allowed ulps using
22536         find_function_ulps.
22537         (print_complex_max_error): Determine allowed ulps using
22538         find_complex_function_ulps.
22539         (check_float_internal): Determine max ulps using find_test_ulps.
22540         (check_float): Do not take max_ulp parameter.  Update call to
22541         check_float_internal.
22542         (check_complex): Likewise.
22543         (check_int): Do not take max_ulp parameter.
22544         (check_long): Likewise.
22545         (check_bool): Likewise.
22546         (check_longlong): Likewise.
22547         (struct test_f_f_data): Remove max_ulp field.
22548         (struct test_ff_f_data): Likewise.
22549         (struct test_ff_f_data_nexttoward): Likewise.
22550         (struct test_fi_f_data): Likewise.
22551         (struct test_fl_f_data): Likewise.
22552         (struct test_if_f_data): Likewise.
22553         (struct test_fff_f_data): Likewise.
22554         (struct test_c_f_data): Likewise.
22555         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22556         (struct test_fF_f1_data): Likewise.
22557         (struct test_ffI_f1_data): Likewise.
22558         (struct test_c_c_data): Remove max_ulp field.
22559         (struct test_cc_c_data): Likewise.
22560         (struct test_f_i_data): Likewise.
22561         (struct test_ff_i_data): Likewise.
22562         (struct test_f_l_data): Likewise.
22563         (struct test_f_L_data): Likewise.
22564         (struct test_sincos_data): Likewise.
22565         (RUN_TEST_f_f): Do not handle ulps.
22566         (RUN_TEST_LOOP_f_f): Likewise.
22567         (RUN_TEST_2_f): Likewise.
22568         (RUN_TEST_LOOP_2_f): Likewise.
22569         (RUN_TEST_fff_f): Likewise.
22570         (RUN_TEST_LOOP_fff_f): Likewise.
22571         (RUN_TEST_c_f): Likewise.
22572         (RUN_TEST_LOOP_c_f): Likewise.
22573         (RUN_TEST_f_f1): Likewise.
22574         (RUN_TEST_LOOP_f_f1): Likewise.
22575         (RUN_TEST_fF_f1): Likewise.
22576         (RUN_TEST_LOOP_fF_f1): Likewise.
22577         (RUN_TEST_fI_f1): Likewise.
22578         (RUN_TEST_LOOP_fI_f1): Likewise.
22579         (RUN_TEST_ffI_f1): Likewise.
22580         (RUN_TEST_LOOP_ffI_f1): Likewise.
22581         (RUN_TEST_c_c): Likewise.
22582         (RUN_TEST_LOOP_c_c): Likewise.
22583         (RUN_TEST_cc_c): Likewise.
22584         (RUN_TEST_LOOP_cc_c): Likewise.
22585         (RUN_TEST_f_i): Likewise.
22586         (RUN_TEST_LOOP_f_i): Likewise.
22587         (RUN_TEST_f_i_tg): Likewise.
22588         (RUN_TEST_LOOP_f_i_tg): Likewise.
22589         (RUN_TEST_ff_i_tg): Likewise.
22590         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22591         (RUN_TEST_f_b): Likewise.
22592         (RUN_TEST_LOOP_f_b): Likewise.
22593         (RUN_TEST_f_b_tg): Likewise.
22594         (RUN_TEST_LOOP_f_b_tg): Likewise.
22595         (RUN_TEST_f_l): Likewise.
22596         (RUN_TEST_LOOP_f_l): Likewise.
22597         (RUN_TEST_f_L): Likewise.
22598         (RUN_TEST_LOOP_f_L): Likewise.
22599         (RUN_TEST_sincos): Likewise.
22600         (RUN_TEST_LOOP_sincos): Likewise.
22602 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22604         [BZ #15480]
22605         [BZ #15485]
22606         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22607         main case of finite arguments, set rounding mode to FE_TONEAREST
22608         and discard exceptions.
22609         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22610         exceptions.
22611         (remainder_tonearest_test_data): New variable.
22612         (remainder_test_tonearest): New function.
22613         (remainder_towardzero_test_data): New variable.
22614         (remainder_test_towardzero): New function.
22615         (remainder_downward_test_data): New variable.
22616         (remainder_test_downward): New function.
22617         (remainder_upward_test_data): New variable.
22618         (remainder_test_upward): New function.
22619         (main): Call the new test functions.
22621         * math/libm-test.inc (struct test_f_f1_data): Remove field
22622         extra_init.
22623         (struct test_fF_f1_data): Likewise.
22624         (struct test_ffI_f1_data): Likewise.
22625         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22626         based on value of EXTRA_EXPECTED.
22627         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22628         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22629         EXTRA_VAR based on value of EXTRA_EXPECTED.
22630         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22631         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22632         EXTRA_VAR based on value of EXTRA_EXPECTED.
22633         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22634         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22635         EXTRA_VAR based on value of EXTRA_EXPECTED.
22636         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22637         * math/gen-libm-test.pl (parse_args): Don't output initializers
22638         for extra output values.
22640         * math/libm-test.inc (check_int): Expect result to be exactly
22641         equal to expected value and do not handle ulps.
22642         (check_long): Likewise.
22643         (check_longlong): Likewise.
22645         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22646         exceptions.
22647         (cimag_test_data): Likewise.
22648         (conj_test_data): Likewise.
22649         (copysign_test_data): Likewise.
22650         (cproj_test_data): Likewise.
22651         (creal_test_data): Likewise.
22652         (fabs_test_data): Likewise.
22653         (fdim_test_data): Likewise.
22654         (finite_test_data): Likewise.
22655         (floor_test_data): Likewise.
22656         (fmax_test_data): Likewise.
22657         (fmin_test_data): Likewise.
22658         (fmod_test_data): Likewise.
22659         (fpclassify_test_data): Likewise.
22660         (frexp_test_data): Likewise.
22661         (ilogb_test_data): Likewise.
22662         (isfinite_test_data): Likewise.
22663         (isgreater_test_data): Likewise.
22664         (isgreaterequal_test_data): Likewise.
22665         (isinf_test_data): Likewise.
22666         (isless_test_data): Likewise.
22667         (islessequal_test_data): Likewise.
22668         (islessgreater_test_data): Likewise.
22669         (isnan_test_data): Likewise.
22670         (isnormal_test_data): Likewise.
22671         (issignaling_test_data): Likewise.
22672         (isunordered_test_data): Likewise.
22673         (ldexp_test_data): Likewise.
22674         (lrint_test_data): Likewise.
22675         (lrint_test_data) [TEST_FLOAT]: Disable one test.
22676         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22677         (lrint_tonearest_test_data): Test for "inexact" exceptions.
22678         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22679         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22680         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22681         test input.
22682         (lrint_towardzero_test_data): Test for "inexact" exceptions.
22683         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22684         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22685         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22686         that test input.
22687         (lrint_downward_test_data): Test for "inexact" exceptions.
22688         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22689         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22690         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22691         test input.
22692         (lrint_upward_test_data): Test for "inexact" exceptions.
22693         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22694         test input.
22695         (llrint_test_data): Test for "inexact" exceptions.
22696         (llrint_test_data) [TEST_FLOAT]: Disable one test.
22697         (llrint_tonearest_test_data): Test for "inexact" exceptions.
22698         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22699         (llrint_towardzero_test_data): Test for "inexact" exceptions.
22700         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22701         (llrint_downward_test_data): Test for "inexact" exceptions.
22702         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22703         (llrint_upward_test_data): Test for "inexact" exceptions.
22704         (logb_test_data): Likewise.
22705         (logb_downward_test_data): Likewise.
22706         (nextafter_test_data): Likewise.
22707         (nexttoward_test_data): Likewise.
22708         (remainder_test_data): Likewise.
22709         (remquo_test_data): Likewise.
22710         (scalbn_test_data): Likewise.
22711         (scalbln_test_data): Likewise.
22712         (signbit_test_data): Likewise.
22713         (sqrt_test_data): Likewise.
22714         (significand_test_data): Likewise.
22716 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22718         [BZ #15424]
22719         * benchtests/bench-modf.c (struct args): Mark arg0 as
22720         volatile.
22721         * scripts/bench.pl: Mark members of struct args as volatile.
22723 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22725         [BZ # 15497]
22726         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22727         negative infinity on POWER6 or lower.
22728         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22730 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22732         [BZ #15442]
22733         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22734         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22735         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22736         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22737         (_FP_SETQNAN): New macro.
22738         (_FP_SETQNAN_SEMIRAW): Likewise.
22739         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22740         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22741         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22742         (FP_EXTEND): Use _FP_FRAC_SNANP.
22743         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22744         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22745         into account.
22746         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22747         New macro.
22748         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22749         Likewise.
22751 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22753         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22754         with DIVIDE_BY_ZERO_EXCEPTION.
22755         (gamma_test_data): Likewise.
22756         (lgamma_test_data): Likewise.
22757         (log_test_data): Likewise.
22758         (log10_test_data): Likewise.
22759         (log2_test_data): Likewise.
22760         (tgamma_test_data): Likewise.
22762         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22763         (acos_test_tonearest): Likewise.
22764         (acos_test_towardzero): Likewise.
22765         (acos_test_downward): Likewise.
22766         (acos_test_upward): Likewise.
22767         (acosh_test): Likewise.
22768         (asin_test): Likewise.
22769         (asin_test_tonearest): Likewise.
22770         (asin_test_towardzero): Likewise.
22771         (asin_test_downward): Likewise.
22772         (asin_test_upward): Likewise.
22773         (asinh_test): Likewise.
22774         (atan_test): Likewise.
22775         (atanh_test): Likewise.
22776         (atan2_test): Likewise.
22777         (cabs_test): Likewise.
22778         (cacos_test): Likewise.
22779         (cacosh_test): Likewise.
22780         (casin_test): Likewise.
22781         (casinh_test): Likewise.
22782         (catan_test): Likewise.
22783         (catanh_test): Likewise.
22784         (cbrt_test): Likewise.
22785         (ccos_test): Likewise.
22786         (ccosh_test): Likewise.
22787         (cexp_test): Likewise.
22788         (clog_test): Likewise.
22789         (clog10_test): Likewise.
22790         (cos_test): Likewise.
22791         (cos_test_tonearest): Likewise.
22792         (cos_test_towardzero): Likewise.
22793         (cos_test_downward): Likewise.
22794         (cos_test_upward): Likewise.
22795         (cosh_test): Likewise.
22796         (cosh_test_tonearest): Likewise.
22797         (cosh_test_towardzero): Likewise.
22798         (cosh_test_downward): Likewise.
22799         (cosh_test_upward): Likewise.
22800         (cpow_test): Likewise.
22801         (csin_test): Likewise.
22802         (csinh_test): Likewise.
22803         (csqrt_test): Likewise.
22804         (ctan_test): Likewise.
22805         (ctan_test_tonearest): Likewise.
22806         (ctan_test_towardzero): Likewise.
22807         (ctan_test_downward): Likewise.
22808         (ctan_test_upward): Likewise.
22809         (ctanh_test): Likewise.
22810         (ctanh_test_tonearest): Likewise.
22811         (ctanh_test_towardzero): Likewise.
22812         (ctanh_test_downward): Likewise.
22813         (ctanh_test_upward): Likewise.
22814         (erf_test): Likewise.
22815         (erfc_test): Likewise.
22816         (exp_test): Likewise.
22817         (exp_test_tonearest): Likewise.
22818         (exp_test_towardzero): Likewise.
22819         (exp_test_downward): Likewise.
22820         (exp_test_upward): Likewise.
22821         (exp10_test): Likewise.
22822         (exp2_test): Likewise.
22823         (expm1_test): Likewise.
22824         (fmod_test): Likewise.
22825         (gamma_test): Likewise.
22826         (hypot_test): Likewise.
22827         (j0_test): Likewise.
22828         (j1_test): Likewise.
22829         (jn_test): Likewise.
22830         (lgamma_test): Likewise.
22831         (log_test): Likewise.
22832         (log10_test): Likewise.
22833         (log1p_test): Likewise.
22834         (log2_test): Likewise.
22835         (logb_test_downward): Likewise.
22836         (pow_test): Likewise.
22837         (pow_test_tonearest): Likewise.
22838         (pow_test_towardzero): Likewise.
22839         (pow_test_downward): Likewise.
22840         (pow_test_upward): Likewise.
22841         (remainder_test): Likewise.
22842         (remquo_test): Likewise.
22843         (sin_test): Likewise.
22844         (sin_test_tonearest): Likewise.
22845         (sin_test_towardzero): Likewise.
22846         (sin_test_downward): Likewise.
22847         (sin_test_upward): Likewise.
22848         (sincos_test): Likewise.
22849         (sinh_test): Likewise.
22850         (sinh_test_tonearest): Likewise.
22851         (sinh_test_towardzero): Likewise.
22852         (sinh_test_downward): Likewise.
22853         (sinh_test_upward): Likewise.
22854         (sqrt_test): Likewise.
22855         (tan_test): Likewise.
22856         (tan_test_tonearest): Likewise.
22857         (tan_test_towardzero): Likewise.
22858         (tan_test_downward): Likewise.
22859         (tan_test_upward): Likewise.
22860         (tanh_test): Likewise.
22861         (tgamma_test): Likewise.
22862         (y0_test): Likewise.
22863         (y1_test): Likewise.
22864         (yn_test): Likewise.
22866         * math/gen-libm-test.pl (adjust_arg): Remove function.
22867         (special_function): Remove argument $in_func.  Only handle
22868         generating output for tables of tests, not inside functions.
22869         (parse_args): Likewise.
22870         (generate_testfile): Remove variable $in_func.  Update call to
22871         parse_args.
22872         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22873         (MINUS_ZERO_INIT): Rename macro to minus_zero.
22874         (PLUS_INFTY_INIT): Rename macro to plus_infty.
22875         (MINUS_INFTY_INIT): Rename macro to minus_infty.
22876         (QNAN_VALUE_INIT): Rename macro to qnan_value.
22877         (MAX_VALUE_INIT): Rename macro to max_value.
22878         (MIN_VALUE_INIT): Rename macro to min_value.
22879         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22880         (plus_zero): Remove variable.
22881         (minus_zero): Likewise.
22882         (plus_infty): Likewise.
22883         (minus_infty): Likewise.
22884         (qnan_value): Likewise.
22885         (max_value): Likewise.
22886         (min_value): Likewise.
22887         (min_subnorm_value): Likewise.
22889 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22891         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22892         uint64_t or uint32_t usage.
22893         * crypt/sha256-block.c: Likewise.
22894         * crypt/sha256-crypt.c: Likewise.
22895         * crypt/sha256.c: Likewise.
22896         * crypt/sha512-block.c: Likewise.
22897         * crypt/sha512-crypt.c: Likewise.
22898         * crypt/sha512.c: Likewise.
22899         * debug/backtrace-tst.c: Likewise.
22900         * debug/pcprofiledump.c: Likewise.
22901         * elf/cache.c: Likewise.
22902         * elf/dl-cache.c: Likewise.
22903         * elf/dl-misc.c: Likewise.
22904         * elf/dl-profile.c: Likewise.
22905         * elf/dl-support.c: Likewise.
22906         * elf/ldconfig.c: Likewise.
22907         * elf/sprof.c: Likewise.
22908         * iconv/dummy-repertoire.c: Likewise.
22909         * iconv/iconv_charmap.c: Likewise.
22910         * iconv/skeleton.c: Likewise.
22911         * iconvdata/8bit-generic.c: Likewise.
22912         * iconvdata/cp737.h: Likewise.
22913         * iconvdata/cp775.h: Likewise.
22914         * iconvdata/ibm1008.h: Likewise.
22915         * iconvdata/ibm1025.h: Likewise.
22916         * iconvdata/ibm1046.h: Likewise.
22917         * iconvdata/ibm1097.h: Likewise.
22918         * iconvdata/ibm1112.h: Likewise.
22919         * iconvdata/ibm1122.h: Likewise.
22920         * iconvdata/ibm1123.h: Likewise.
22921         * iconvdata/ibm1124.h: Likewise.
22922         * iconvdata/ibm1129.h: Likewise.
22923         * iconvdata/ibm1130.h: Likewise.
22924         * iconvdata/ibm1132.h: Likewise.
22925         * iconvdata/ibm1133.h: Likewise.
22926         * iconvdata/ibm1137.h: Likewise.
22927         * iconvdata/ibm1140.h: Likewise.
22928         * iconvdata/ibm1141.h: Likewise.
22929         * iconvdata/ibm1142.h: Likewise.
22930         * iconvdata/ibm1143.h: Likewise.
22931         * iconvdata/ibm1144.h: Likewise.
22932         * iconvdata/ibm1145.h: Likewise.
22933         * iconvdata/ibm1146.h: Likewise.
22934         * iconvdata/ibm1147.h: Likewise.
22935         * iconvdata/ibm1148.h: Likewise.
22936         * iconvdata/ibm1149.h: Likewise.
22937         * iconvdata/ibm1153.h: Likewise.
22938         * iconvdata/ibm1154.h: Likewise.
22939         * iconvdata/ibm1155.h: Likewise.
22940         * iconvdata/ibm1156.h: Likewise.
22941         * iconvdata/ibm1157.h: Likewise.
22942         * iconvdata/ibm1158.h: Likewise.
22943         * iconvdata/ibm1160.h: Likewise.
22944         * iconvdata/ibm1161.h: Likewise.
22945         * iconvdata/ibm1162.h: Likewise.
22946         * iconvdata/ibm1163.h: Likewise.
22947         * iconvdata/ibm1164.h: Likewise.
22948         * iconvdata/ibm1166.h: Likewise.
22949         * iconvdata/ibm1167.h: Likewise.
22950         * iconvdata/ibm12712.h: Likewise.
22951         * iconvdata/ibm1390.h: Likewise.
22952         * iconvdata/ibm1399.h: Likewise.
22953         * iconvdata/ibm16804.h: Likewise.
22954         * iconvdata/ibm4517.h: Likewise.
22955         * iconvdata/ibm4899.h: Likewise.
22956         * iconvdata/ibm4909.h: Likewise.
22957         * iconvdata/ibm4971.h: Likewise.
22958         * iconvdata/ibm5347.h: Likewise.
22959         * iconvdata/ibm803.h: Likewise.
22960         * iconvdata/ibm856.h: Likewise.
22961         * iconvdata/ibm901.h: Likewise.
22962         * iconvdata/ibm902.h: Likewise.
22963         * iconvdata/ibm9030.h: Likewise.
22964         * iconvdata/ibm9066.h: Likewise.
22965         * iconvdata/ibm921.h: Likewise.
22966         * iconvdata/ibm922.h: Likewise.
22967         * iconvdata/ibm9448.h: Likewise.
22968         * iconvdata/isiri-3342.h: Likewise.
22969         * iconvdata/jis0201.h: Likewise.
22970         * include/link.h: Likewise.
22971         * include/netdb.h: Likewise.
22972         * inet/check_native.c: Likewise.
22973         * inet/check_pf.c: Likewise.
22974         * inet/getipv4sourcefilter.c: Likewise.
22975         * inet/getnameinfo.c: Likewise.
22976         * inet/getsourcefilter.c: Likewise.
22977         * inet/htonl.c: Likewise.
22978         * inet/setipv4sourcefilter.c: Likewise.
22979         * inet/setsourcefilter.c: Likewise.
22980         * inet/test-inet6_opt.c: Likewise.
22981         * inet/tst-network.c: Likewise.
22982         * locale/C-collate.c: Likewise.
22983         * locale/C-ctype.c: Likewise.
22984         * locale/C-time.c: Likewise.
22985         * locale/C-translit.h: Likewise.
22986         * locale/loadarchive.c: Likewise.
22987         * locale/programs/3level.h: Likewise.
22988         * locale/programs/charmap.c: Likewise.
22989         * locale/programs/charmap.h: Likewise.
22990         * locale/programs/ld-address.c: Likewise.
22991         * locale/programs/ld-collate.c: Likewise.
22992         * locale/programs/ld-ctype.c: Likewise.
22993         * locale/programs/ld-identification.c: Likewise.
22994         * locale/programs/ld-measurement.c: Likewise.
22995         * locale/programs/ld-messages.c: Likewise.
22996         * locale/programs/ld-monetary.c: Likewise.
22997         * locale/programs/ld-name.c: Likewise.
22998         * locale/programs/ld-numeric.c: Likewise.
22999         * locale/programs/ld-paper.c: Likewise.
23000         * locale/programs/ld-telephone.c: Likewise.
23001         * locale/programs/ld-time.c: Likewise.
23002         * locale/programs/linereader.c: Likewise.
23003         * locale/programs/locale.c: Likewise.
23004         * locale/programs/locarchive.c: Likewise.
23005         * locale/programs/locfile.h: Likewise.
23006         * locale/programs/repertoire.c: Likewise.
23007         * locale/programs/simple-hash.c: Likewise.
23008         * locale/programs/simple-hash.h: Likewise.
23009         * malloc/memusage.c: Likewise.
23010         * malloc/memusagestat.c: Likewise.
23011         * nis/nis_defaults.c: Likewise.
23012         * nis/nis_hash.c: Likewise.
23013         * nis/nis_print.c: Likewise.
23014         * nis/nis_xdr.c: Likewise.
23015         * nscd/connections.c: Likewise.
23016         * nscd/hstcache.c: Likewise.
23017         * nscd/nscd_gethst_r.c: Likewise.
23018         * nscd/nscd_getserv_r.c: Likewise.
23019         * nscd/nscd_helper.c: Likewise.
23020         * nscd/servicescache.c: Likewise.
23021         * nss/makedb.c: Likewise.
23022         * nss/nss_db/db-XXX.c: Likewise.
23023         * nss/nss_db/db-initgroups.c: Likewise.
23024         * nss/nss_db/db-netgrp.c: Likewise.
23025         * nss/nss_files/files-network.c: Likewise.
23026         * nss/nss_files/files-parse.c: Likewise.
23027         * posix/bug-regex5.c: Likewise.
23028         * posix/fnmatch_loop.c: Likewise.
23029         * posix/regcomp.c: Likewise.
23030         * posix/regexec.c: Likewise.
23031         * posix/tst-rfc3484-2.c: Likewise.
23032         * posix/tst-rfc3484-3.c: Likewise.
23033         * posix/tst-rfc3484.c: Likewise.
23034         * resolv/nss_dns/dns-canon.c: Likewise.
23035         * resolv/nss_dns/dns-network.c: Likewise.
23036         * resolv/res_init.c: Likewise.
23037         * resolv/res_mkquery.c: Likewise.
23038         * resolv/tst-aton.c: Likewise.
23039         * stdlib/cxa_atexit.c: Likewise.
23040         * stdlib/cxa_finalize.c: Likewise.
23041         * stdlib/gen-fpioconst.c: Likewise.
23042         * stdlib/strtol_l.c: Likewise.
23043         * string/tst-endian.c: Likewise.
23044         * sunrpc/auth_des.c: Likewise.
23045         * sunrpc/clnt_udp.c: Likewise.
23046         * sunrpc/rtime.c: Likewise.
23047         * sunrpc/svcauth_des.c: Likewise.
23048         * sunrpc/xdr.c: Likewise.
23049         * sunrpc/xdr_intXX_t.c: Likewise.
23050         * sunrpc/xdr_rec.c: Likewise.
23051         * sysdeps/generic/ldconfig.h: Likewise.
23052         * sysdeps/generic/ldsodefs.h: Likewise.
23053         * sysdeps/generic/memusage.h: Likewise.
23054         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23055         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23056         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23057         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23058         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23059         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23060         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23061         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23062         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23063         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23064         * sysdeps/posix/getaddrinfo.c: Likewise.
23065         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23066         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23067         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23068         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23069         * sysdeps/powerpc/test-gettimebase.c: Likewise.
23070         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23071         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23072         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23073         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23074         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23075         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23076         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23077         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23078         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23079         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23080         * sysdeps/x86_64/dl-tls.h: Likewise.
23081         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23082         * time/alt_digit.c: Likewise.
23083         * time/era.c: Likewise.
23084         * wcsmbs/tst-c16c32-1.c: Likewise.
23086 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23088         * math/libm-test.inc (struct test_sincos_data): New type.
23089         (RUN_TEST_LOOP_sincos): New macro.
23090         (sincos_test_data): New variable.
23091         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23093 2013-05-16  Richard Henderson  <rth@redhat.com>
23095         * math/atest-exp2.c (LIMB64): New macro.
23096         (CONSTSZ): New macro.
23097         (mp_exp1, mp_exp_m1, mp_log2): New variables.
23098         (hexdig): Move ...
23099         (print_mpn_fp): ... to function scope.
23100         (read_mpn_hex): Remove.
23101         (get_log2): Remove.
23102         (exp2_mpn): Use mp_log2.
23103         (main): Use mp_exp1.
23105 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23107         * math/libm-test.inc: Remove comment about not testing "inexact"
23108         exceptions.
23109         (INEXACT_EXCEPTION): New macro.
23110         (NO_INEXACT_EXCEPTION): Likewise.
23111         (INVALID_EXCEPTION_OK): Update value.
23112         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23113         (OVERFLOW_EXCEPTION_OK): Likewise.
23114         (UNDERFLOW_EXCEPTION_OK): Likewise.
23115         (IGNORE_ZERO_INF_SIGN): Likewise.
23116         (ERRNO_UNCHANGED): Likewise.
23117         (ERRNO_EDOM): Likewise.
23118         (ERRNO_ERANGE): Likewise.
23119         (test_exceptions): Handle testing "inexact" exceptions.
23120         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23121         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23122         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23123         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23124         INEXACT_EXCEPTION.
23125         (rint_towardzero_test_data): Likewise.
23126         (rint_downward_test_data): Likewise.
23127         (rint_upward_test_data): Likewise.
23129         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23130         with OVERFLOW_EXCEPTION.
23131         (exp10_test_data): Likewise.
23132         (exp2_test_data): Likewise.
23133         (expm1_test_data): Likewise.
23134         (lgamma_test_data): Likewise.
23135         (pow_test_data): Likewise.
23136         (tgamma_test_data): Likewise.
23137         (yn_test_data): Remove duplicate test of overflow.
23139         * math/libm-test.inc (struct test_cc_c_data): New type.
23140         (RUN_TEST_LOOP_cc_c): New macro.
23141         (cpow_test_data): New variable.
23142         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23144         * math/libm-test.inc (struct test_f_L_data): New type.
23145         (RUN_TEST_LOOP_f_L): New macro.
23146         (llrint_test_data): New variable.
23147         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23148         (llrint_tonearest_test_data): New variable.
23149         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23150         (llrint_towardzero_test_data): New variable.
23151         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23152         (llrint_downward_test_data): New variable.
23153         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23154         (llrint_upward_test_data): New variable.
23155         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23156         (llround_test_data): New variable.
23157         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23159 2013-05-13  Peter Collingbourne  <pcc@google.com>
23161         * math/atest-exp2.c (get_log2): Remove const attribute.
23163 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23165         * math/libm-test.inc (struct test_f_l_data): New type.
23166         (RUN_TEST_LOOP_f_l): New macro.
23167         (lrint_test_data): New variable.
23168         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23169         (lrint_tonearest_test_data): New variable.
23170         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23171         (lrint_towardzero_test_data): New variable.
23172         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23173         (lrint_downward_test_data): New variable.
23174         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23175         (lrint_upward_test_data): New variable.
23176         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23177         (lround_test_data): New variable.
23178         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23180 2013-05-15  Peter Collingbourne  <pcc@google.com>
23182         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23183         (EXTRACT_WORDS64) Use where appropriate.
23184         (INSERT_WORDS64) Likewise.
23186         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23187         constraints with x constraints.
23188         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23190         * malloc/obstack.c (_obstack_compat): Add initializer.
23192 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23194         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23195         si_trapno and add si_addr_lsb to _sifields.sigfault.
23196         (si_trapno): Remove macro.
23197         (si_addr_lsb): Define new macro.
23198         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23200 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23202         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23203         instead of TEST_f_l.
23204         (llrint_test_tonearest): Likewise.
23205         (llrint_test_towardzero): Likewise.
23206         (llrint_test_downward): Likewise.
23207         (llrint_test_upward): Likewise.
23208         (llround_test): Likewise.
23210         * math/libm-test.inc (struct test_f_i_data): Add comment.
23211         (RUN_TEST_LOOP_f_b): New macro.
23212         (RUN_TEST_LOOP_f_b_tg): Likewise.
23213         (finite_test_data): New variable.
23214         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23215         (isfinite_test_data): New variable.
23216         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23217         (isinf_test_data): New variable.
23218         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23219         (isnan_test_data): New variable.
23220         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23221         (isnormal_test_data): New variable.
23222         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23223         (issignaling_test_data): New variable.
23224         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23225         (signbit_test_data): New variable.
23226         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23228         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23229         with INVALID_EXCEPTION.
23230         (acosh_test_data): Likewise.
23231         (asin_test_data): Likewise.
23232         (atanh_test_data): Likewise.
23233         (fmod_test_data): Likewise.
23234         (log_test_data): Likewise.
23235         (log10_test_data): Likewise.
23236         (log2_test_data): Likewise.
23237         (pow_test_data): Likewise.
23238         (sqrt_test_data): Likewise.
23239         (y0_test_data): Likewise.
23240         (y1_test_data): Likewise.
23241         (yn_test_data): Likewise.
23243         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23244         function contents.
23246         * math/libm-test.inc (struct test_ff_i_data): New type.
23247         (RUN_TEST_LOOP_ff_i_tg): New macro.
23248         (isgreater_test_data): New variable.
23249         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23250         (isgreaterequal_test_data): New variable.
23251         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23252         (isless_test_data): New variable.
23253         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23254         (islessequal_test_data): New variable.
23255         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23256         (islessgreater_test_data): New variable.
23257         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23258         (isunordered_test_data): New variable.
23259         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23261 2013-05-14  David S. Miller  <davem@davemloft.net>
23263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23265 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
23267         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23269         * math/libm-test.inc (struct test_fF_f1_data): Change type of
23270         extra_test to int.
23271         (struct test_f_i_data): Change type of max_ulp to int.
23273         * math/libm-test.inc (test_ffI_f1_data): New type.
23274         (RUN_TEST_LOOP_ffI_f1): New macro.
23275         (remquo_test_data): New variable.
23276         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23278         * setjmp/tst-setjmp-fp.c: New file.
23279         * setjmp/Makefile (tests): Add tst-setjmp-fp.
23280         (link-libm): New variable.
23281         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23283         * math/libm-test.inc (struct test_f_i_data): New type.
23284         (RUN_TEST_LOOP_f_i): New macro.
23285         (RUN_TEST_LOOP_f_i_tg): Likewise.
23286         (fpclassify_test_data): New variable.
23287         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23288         (ilogb_test_data): New variable.
23289         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23291         * math/libm-test.inc (scalbln_test): Correct function name in END
23292         call.
23294         * math/libm-test.inc (struct test_f_f1_data): Add comment.
23295         (RUN_TEST_LOOP_fI_f1): New macro.
23296         (frexp_test_data): New variable.
23297         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23299         * math/libm-test.inc (struct test_fF_f1_data): New type.
23300         (RUN_TEST_LOOP_fF_f1): New macro.
23301         (modf_test_data): New variable.
23302         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23304         * math/libm-test.inc (struct test_f_f1_data): New type.
23305         (RUN_TEST_LOOP_f_f1): New macro.
23306         (gamma_test_data): New variable.
23307         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23308         (lgamma_test_data): New variable.
23309         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23311 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
23313         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23314         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23315         (main): Comment "tls" pseudo-hwcap.
23317 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
23319         * math/libm-test.inc (struct test_fl_f_data): New type.
23320         (RUN_TEST_LOOP_fl_f): New variable.
23321         (scalbln_test_data): New variable.
23322         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23324         * math/libm-test.inc (struct test_fi_f_data): New type.
23325         (RUN_TEST_LOOP_fi_f): New macro.
23326         (ldexp_test_data): New variable.
23327         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23328         (scalbn_test_data): New variable.
23329         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23331         * math/libm-test.inc (struct test_c_f_data): New type.
23332         (RUN_TEST_LOOP_c_f): New macro.
23333         (cabs_test_data): New variable.
23334         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23335         (carg_test_data): New variable.
23336         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23337         (cimag_test_data): New variable.
23338         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23339         (creal_test_data): New variable.
23340         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23342         * math/libm-test.inc (struct test_if_f_data): New type.
23343         (RUN_TEST_LOOP_if_f): New macro.
23344         (jn_test_data): New variable.
23345         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23346         (yn_test_data): New variable.
23347         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23349         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23351 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23353         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23354         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23356 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23358         * benchtests/Makefile (CPPFLAGS-nonlib): Add
23359         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23360         (bench-deps): Add bench-timing.h.
23361         * benchtests-bench-skeleton.c: Include bench-timing.h.
23362         (main): Use TIMING_* macros instead of clock_gettime.
23363         * benchtests/bench-timing.h: New file.
23365         [BZ #14582]
23366         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23367         Renamed from _LIB_VERSION.
23368         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23370 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
23372         * math/libm-test.inc (struct test_fff_f_data): New type.
23373         (RUN_TEST_LOOP_fff_f): New macro.
23374         (fma_test_data): New variable.
23375         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23376         (fma_towardzero_test_data): New variable.
23377         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23378         (fma_downward_test_data): New variable.
23379         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23380         (fma_upward_test_data): New variable.
23381         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23383         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23384         (struct test_c_c_data): New type.
23385         (RUN_TEST_LOOP_c_c): New macro.
23386         (cacos_test_data): New variable.
23387         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23388         (cacosh_test_data): New variable.
23389         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23390         (casin_test_data): New variable.
23391         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23392         (casinh_test_data): New variable.
23393         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23394         (catan_test_data): New variable.
23395         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23396         (catanh_test_data): New variable.
23397         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23398         (ccos_test_data): New variable.
23399         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23400         (ccosh_test_data): New variable.
23401         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23402         (cexp_test_data): New variable.
23403         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23404         (clog_test_data): New variable.
23405         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23406         (clog10_test_data): New variable.
23407         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23408         (conj_test_data): New variable.
23409         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23410         (cproj_test_data): New variable.
23411         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23412         (csin_test_data): New variable.
23413         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23414         (csinh_test_data): New variable.
23415         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23416         (csqrt_test_data): New variable.
23417         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23418         (ctan_test_data): New variable.
23419         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23420         (ctan_tonearest_test_data): New variable.
23421         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23422         (ctan_towardzero_test_data): New variable.
23423         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23424         (ctan_downward_test_data): New variable.
23425         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23426         (ctan_upward_test_data): New variable.
23427         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23428         (ctanh_test_data): New variable.
23429         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23430         (ctanh_tonearest_test_data): New variable.
23431         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23432         (ctanh_towardzero_test_data): New variable.
23433         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23434         (ctanh_downward_test_data): New variable.
23435         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23436         (ctanh_upward_test_data): New variable.
23437         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23438         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23439         of BUILD_COMPLEX.
23441         * math/libm-test.inc (struct test_ff_f_data): New type.
23442         (struct test_ff_f_data_nexttoward): Likewise.
23443         (RUN_TEST_LOOP_2_f): New macro.
23444         (RUN_TEST_LOOP_ff_f): Likewise.
23445         (atan2_test_data): New variable.
23446         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23447         (copysign_test_data): New variable.
23448         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23449         (fdim_test_data): New variable.
23450         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23451         (fmax_test_data): New variable.
23452         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23453         (fmin_test_data): New variable.
23454         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23455         (fmod_test_data): New variable.
23456         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23457         (hypot_test_data): New variable.
23458         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23459         (nextafter_test_data): New variable.
23460         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23461         (nexttoward_test_data): New variable.
23462         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23463         (pow_test_data): New variable.
23464         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23465         (pow_tonearest_test_data): New variable.
23466         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23467         (pow_towardzero_test_data): New variable.
23468         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23469         (pow_downward_test_data): New variable.
23470         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23471         (pow_upward_test_data): New variable.
23472         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23473         (remainder_test_data): New variable.
23474         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23475         (scalb_test_data): New variable.
23476         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23477         * sysdeps/i386/fpu/libm-test-ulps: Update.
23479 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23481         * math/libm-test.inc (fma_test): Use max_value instead of local
23482         variable fltmax.
23483         (nextafter_test): Likewise.
23485         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23486         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23487         (acos_downward_test_data): New variable.
23488         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23489         (acos_upward_test_data): New variable.
23490         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23491         (acosh_test_data): New variable.
23492         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23493         (asin_test_data): New variable.
23494         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23495         (asin_tonearest_test_data): New variable.
23496         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23497         (asin_towardzero_test_data): New variable.
23498         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23499         (asin_downward_test_data): New variable.
23500         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23501         (asin_upward_test_data): New variable.
23502         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23503         (asinh_test_data): New variable.
23504         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23505         (atan_test_data): New variable.
23506         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23507         (atanh_test_data): New variable.
23508         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23509         (cbrt_test_data): New variable.
23510         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23511         (ceil_test_data): New variable.
23512         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23513         (cos_test_data): New variable.
23514         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23515         (cos_tonearest_test_data): New variable.
23516         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23517         (cos_towardzero_test_data): New variable.
23518         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23519         (cos_downward_test_data): New variable.
23520         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23521         (cos_upward_test_data): New variable.
23522         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23523         (cosh_test_data): New variable.
23524         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23525         (cosh_tonearest_test_data): New variable.
23526         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23527         (cosh_towardzero_test_data): New variable.
23528         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23529         (cosh_downward_test_data): New variable.
23530         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23531         (cosh_upward_test_data): New variable.
23532         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23533         (erf_test_data): New variable.
23534         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23535         (erfc_test_data): New variable.
23536         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23537         (exp_test_data): New variable.
23538         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23539         (exp_tonearest_test_data): New variable.
23540         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23541         (exp_towardzero_test_data): New variable.
23542         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23543         (exp_downward_test_data): New variable.
23544         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23545         (exp_upward_test_data): New variable.
23546         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23547         (exp10_test_data): New variable.
23548         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23549         (exp2_test_data): New variable.
23550         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23551         (expm1_test_data): New variable.
23552         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23553         (fabs_test_data): New variable.
23554         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23555         (floor_test_data): New variable.
23556         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23557         (j0_test_data): New variable.
23558         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23559         (j1_test_data): New variable.
23560         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23561         (log_test_data): New variable.
23562         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23563         (log10_test_data): New variable.
23564         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23565         (log1p_test_data): New variable.
23566         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23567         (log2_test_data): New variable.
23568         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23569         (logb_test_data): New variable.
23570         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23571         (logb_downward_test_data): New variable.
23572         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23573         (nearbyint_test_data): New variable.
23574         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23575         (rint_test_data): New variable.
23576         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23577         (rint_tonearest_test_data): New variable.
23578         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23579         (rint_towardzero_test_data): New variable.
23580         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23581         (rint_downward_test_data): New variable.
23582         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23583         (rint_upward_test_data): New variable.
23584         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23585         (round_test_data): New variable.
23586         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23587         (sin_test_data): New variable.
23588         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23589         (sin_tonearest_test_data): New variable.
23590         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23591         (sin_towardzero_test_data): New variable.
23592         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23593         (sin_downward_test_data): New variable.
23594         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23595         (sin_upward_test_data): New variable.
23596         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23597         (sinh_test_data): New variable.
23598         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23599         (sinh_tonearest_test_data): New variable.
23600         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23601         (sinh_towardzero_test_data): New variable.
23602         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23603         (sinh_downward_test_data): New variable.
23604         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23605         (sinh_upward_test_data): New variable.
23606         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23607         (sqrt_test_data): New variable.
23608         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23609         (tan_test_data): New variable.
23610         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23611         (tan_tonearest_test_data): New variable.
23612         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23613         (tan_towardzero_test_data): New variable.
23614         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23615         (tan_downward_test_data): New variable.
23616         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23617         (tan_upward_test_data): New variable.
23618         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23619         (tanh_test_data): New variable.
23620         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23621         (tgamma_test_data): New variable.
23622         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23623         (trunc_test_data): New variable.
23624         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23625         (y0_test_data): New variable.
23626         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23627         (y1_test_data): New variable.
23628         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23629         (significand_test_data): New variable.
23630         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23632 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23634         [BZ #12387]
23635         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23637 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23639         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23641 2013-05-10  Andreas Jaeger  <aj@suse.de>
23643         [BZ #15448]
23644         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23645         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23647 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23649         * math/gen-libm-test.pl (adjust_arg): New function.
23650         (special_functions): Handle generating output in both functions
23651         and arrays.
23652         (parse_args): Likewise.
23653         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23654         $in_func argument to parse_args.
23655         * math/libm-test.inc (struct test_f_f_data): New type.
23656         (IF_ROUND_INIT_): New macro.
23657         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23658         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23659         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23660         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23661         (ROUND_RESTORE_): Likewise.
23662         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23663         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23664         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23665         (ROUND_RESTORE_FE_UPWARD): Likewise.
23666         (RUN_TEST_LOOP_f_f): New macro.
23667         (acos_test_data): New variable.
23668         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23669         (acos_tonearest_test_data): New variable.
23670         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23672 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23674         * benchtests/bench-skeleton.c (startup): Fix coding style.
23676 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23678         [BZ #6809]
23679         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23680         negative infinity argument.
23681         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23682         negative infinity argument.
23683         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23684         negative infinity argument.
23685         * math/libm-test.inc (tgamma_test): Expect errno to be set for
23686         domain errors.
23688 2013-05-10  Florian Weimer  <fweimer@redhat.com>
23690         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23691         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23692         * iconv/iconv_prog.c (main): Likewise.
23693         * locale/programs/charmap-dir.c (charmap_readdir)
23694         (fopen_uncompressed): Likewise.
23695         * locale/programs/locfile.c (siblings_uncached)
23696         (write_locale_data): Use lstat64 instead of lstat.
23697         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23698         stat.
23700 2013-05-10  Andreas Jaeger  <aj@suse.de>
23702         [BZ #15395]
23703         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23704         localization.
23705         Include <locale.h>.
23707 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
23709         * elf/dl-close.c (_dl_close_worker): Add comments.
23711 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
23713         [BZ #15359]
23714         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23715         high part of pi/2.
23716         (__ieee754_rem_pio2l): Update comments.
23718         [BZ #15429]
23719         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23720         high part of pi/2.
23721         (__ieee754_rem_pio2l): Update comments.
23723         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23724         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23726         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23727         M_PI_4l.
23729         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23730         (M_PI_34_LOG10El): Likewise.
23731         (M_PI2_LOG10El): Likewise.
23732         (M_PI4_LOG10El): Likewise.
23733         (M_PI_LOG10El): Likewise.
23735 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23739 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
23741         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23742         (MINUS_ZERO_INIT): Likewise.
23743         (PLUS_INFTY_INIT): Likewise.
23744         (MINUS_INFTY_INIT): Likewise.
23745         (QNAN_VALUE_INIT): Likewise.
23746         (MAX_VALUE_INIT): Likewise.
23747         (MIN_VALUE_INIT): Likewise.
23748         (MIN_SUBNORM_VALUE_INIT): Likewise.
23749         (plus_zero): Initialize with PLUS_ZERO_INIT.
23750         (minus_zero): Initialize with MINUS_ZERO_INIT.
23751         (plus_infty): Initialize with PLUS_INFTY_INIT.
23752         (minus_infty): Initialize with MINUS_INFTY_INIT.
23753         (qnan_value): Initialize with QNAN_VALUE_INIT.
23754         (max_value): Initialize with MAX_VALUE_INIT.
23755         (min_value): Initialize with MIN_VALUE_INIT.
23756         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23758         * math/libm-test.inc (RUN_TEST_if_f): New macro.
23759         (jn_test): Use TEST_if_f instead of TEST_ff_f.
23760         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23761         (yn_test): Use TEST_if_f instead of TEST_ff_f.
23763         * math/libm-test.inc (RUN_TEST_f_f): New macro.
23764         (RUN_TEST_2_f): Likewise.
23765         (RUN_TEST_ff_f): Likewise.
23766         (RUN_TEST_fi_f): Likewise.
23767         (RUN_TEST_fl_f): Likewise.
23768         (RUN_TEST_fff_f): Likewise.
23769         (RUN_TEST_c_f): Likewise.
23770         (RUN_TEST_f_f1): Likewise.
23771         (RUN_TEST_fF_f1): Likewise.
23772         (RUN_TEST_fI_f1): Likewise.
23773         (RUN_TEST_ffI_f1): Likewise.
23774         (RUN_TEST_c_c): Likewise.
23775         (RUN_TEST_cc_c): Likewise.
23776         (RUN_TEST_f_i): Likewise.
23777         (RUN_TEST_f_i_tg): Likewise.
23778         (RUN_TEST_ff_i_tg): Likewise.
23779         (RUN_TEST_f_b): Likewise.
23780         (RUN_TEST_f_b_tg): Likewise.
23781         (RUN_TEST_f_l): Likewise.
23782         (RUN_TEST_f_L): Likewise.
23783         (RUN_TEST_sincos): Likewise.
23784         * math/gen-libm-test.pl (new_test): Take new argument to indicate
23785         whether to show exceptions.  Do not include ");\n" in return
23786         value.
23787         (special_functions): Output call to RUN_TEST_sincos instead of
23788         check_float calls.  Update calls to new_test.
23789         (parse_args): Output call to single RUN_TEST_* macro instead of
23790         check_* calls and other assignments.  Update calls to new_test.
23792         [BZ #2546]
23793         [BZ #2560]
23794         [BZ #5159]
23795         [BZ #15426]
23796         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23797         input to result for tgamma overflow.
23798         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23799         (gamma_coeff): New variable.
23800         (NCOEFF): New macro.
23801         (gamma_positive): New function.
23802         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23803         underflow here.  Use gamma_positive instead of exp (lgamma) for
23804         other arguments.
23805         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23806         (gamma_coeff): New variable.
23807         (NCOEFF): New macro.
23808         (gammaf_positive): New function.
23809         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23810         underflow here.  Use gamma_positive instead of exp (lgamma) for
23811         other arguments.
23812         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23813         (gamma_coeff): New variable.
23814         (NCOEFF): New macro.
23815         (gammal_positive): New function.
23816         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23817         underflow here.  Use gamma_positive instead of exp (lgamma) for
23818         other arguments.
23819         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23820         (gamma_coeff): New variable.
23821         (NCOEFF): New macro.
23822         (gammal_positive): New function.
23823         (__ieee754_gammal_r): Handle positive infinity, overflow and
23824         underflow here.  Handle NaN the same as positive infinity.  Remove
23825         check x < 0xffffffff for negative integers.  Use gamma_positive
23826         instead of exp (lgamma) for other arguments.
23827         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23828         (gamma_coeff): New variable.
23829         (NCOEFF): New macro.
23830         (gammal_positive): New function.
23831         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23832         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23833         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23834         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23835         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23836         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23837         * sysdeps/generic/math_private.h (__gamma_productf): New
23838         prototype.
23839         (__gamma_product): Likewise.
23840         (__gamma_productl): Likewise.
23841         * math/Makefile (libm-calls): Add gamma_product.
23842         * math/libm-test.inc (tgamma_test): Add more tests.
23843         * sysdeps/i386/fpu/libm-test-ulps: Update.
23844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23846 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
23848         * benchtests/bench-skeleton.c (main): Preheat CPU.
23850 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
23852         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23854 2013-05-07  Roland McGrath  <roland@hack.frob.com>
23856         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23857         and _dl_skip_args_internal.
23859 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
23861         * manual/message.texi (Message Translation): Talk about users.
23862         Message to key mapping impacts design.
23864 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23866         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23868         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23870         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23871         * sysdeps/wordsize-64/glob64.c: ... here.
23873         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23874         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23875         New macros.
23877         * debug/getlogin_r_chk.c: Moved to ...
23878         * login/getlogin_r_chk.c: ... here.
23879         * debug/Makefile (routines): Move getlogin_r_chk to ...
23880         * login/Makefile (routines): ... here.
23881         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23882         * login/Versions (libc: GLIBC_2.4): ... here.
23884         * io/poll.c (__poll): Renamed from poll.
23885         Add libc_hidden_def.
23886         (poll): Define as weak alias.
23888         * debug/ptsname_r_chk.c: Moved to ...
23889         * login/ptsname_r_chk.c: ... here.
23890         * debug/Makefile (routines): Move ptsname_r_chk to ...
23891         * login/Makefile (routines): ... here.
23892         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23893         * login/Versions (libc: GLIBC_2.4): ... here.
23895         * posix/getlogin.c: Moved to ...
23896         * login/getlogin.c: ... here.
23897         * posix/getlogin_r.c: Moved to ...
23898         * login/getlogin_r.c: ... here.
23899         * posix/getlogin_r.c: Moved to ...
23900         * login/getlogin_r.c: ... here.
23901         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23902         * login/Makefile (routines): ... here.
23903         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23904         * login/Versions (libc: GLIBC_2.0): ... here.
23906         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23907         (setrlimit): Define as weak alias.
23909         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23910         Call __ names for open, ftruncate, and close.
23911         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23912         (truncate): Define as weak alias.
23914 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
23916         * math/gen-libm-test.pl (parse_args): Initialize x before each
23917         test of frexp, modf and remquo.
23919         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23920         test signgam value.
23922 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23924         [BZ #15418]
23925         [BZ #15419]
23926         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23927         internal tests.
23928         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23930 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23932         * elf/dl-writev.h: New file.
23933         * elf/dl-misc.c: Include it.
23934         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23935         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23937 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
23939         * math/libm-test.inc (noXFails): Remove variable.
23940         (noXPasses): Likewise.
23941         (BUILD_COMPLEX_INT): Remove macro.
23942         (print_screen): Remove xfail argument.
23943         (print_screen_max_error): Likewise.
23944         (update_stats): Likewise.
23945         (print_max_error): Likewise.  Update calls to other affected
23946         functions.
23947         (print_complex_max_error): Likewise.
23948         (test_single_exception): Update calls to print_screen.
23949         (test_single_errno): Likewise.
23950         (check_float_internal): Remove xfail argument.  Update calls to
23951         other affected functions.
23952         (check_float): Likewise.
23953         (check_complex): Likewise.
23954         (check_int): Likewise.
23955         (check_long): Likewise.
23956         (check_bool): Likewise.
23957         (check_longlong): Likewise.
23958         (main): Don't print noXFails and noXPasses.
23959         * math/gen-libm-test.pl (top level): Don't mention expected
23960         failure handling in comment.
23961         (new_test): Don't handle expected failures.
23962         (parse_args): Don't mention expected failure handling in comment.
23963         (generate_testfile): Don't handle expected failures.
23964         (parse_ulps): Likewise.
23965         (print_ulps_file): Likewise.
23966         (get_failure): Remove function.
23967         (output_test): Don't handle expected failures.
23968         * make/README.libm-test: Don't mention expected failure handling.
23970         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
23971         (minus_zero): Likewise.
23972         (plus_infty): Likewise.
23973         (minus_infty): Likewise.
23974         (qnan_value): Likewise.
23975         (max_value): Likewise.
23976         (min_value): Likewise.
23977         (min_subnorm_value): Likewise.
23978         (initialize): Do not initialize those variables dynamically.
23980 2013-05-03  Roland McGrath  <roland@hack.frob.com>
23982         * io/open.c (__open_2): Moved to ...
23983         * io/open_2.c: ... this new file.
23984         * io/open64.c (__open64_2): Moved to ...
23985         * io/open64_2.c: ... this new file.
23986         * io/openat.c (__openat_2): Moved to ...
23987         * io/openat_2.c: ... this new file.
23988         * io/openat64.c (__openat64_2): Moved to ...
23989         * io/openat64_2.c: ... this new file.
23990         * io/Makefile (routines): Add them.
23991         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23992         * sysdeps/unix/sysv/linux/open_2.c: File removed.
23993         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23994         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23995         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23996         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23997         (__openat64): Add hidden_ver.
23998         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23999         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24001         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24002         Separately conditionalize setting of GLRO(dl_sysinfo) so
24003         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24004         as well, but the actual setting is only under [NEED_DL_SYSINFO].
24006 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24008         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24009         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24010         definition.
24011         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24012         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24013         (_libc_vdso_platform_setup): Add __vdso_time initialization.
24014         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24015         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24017 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
24019         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24020         test signgam value.
24022         * math/libm-test.inc (hypot_test): Do not use
24023         IGNORE_ZERO_INF_SIGN.
24025 2013-05-03  Andreas Jaeger  <aj@suse.de>
24027         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24028         Linux 3.9.
24029         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24030         (PF_MAX): Adjust for VSOCK change.
24032 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24036 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
24038         [BZ #15264]
24039         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24040         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24041         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24043 2013-05-02  David S. Miller  <davem@davemloft.net>
24045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24047 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
24049         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24051 2013-05-01  Roland McGrath  <roland@hack.frob.com>
24053         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24055 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
24057         [BZ #14952]
24058         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24059         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24060         Use __attribute__ ((__gnu_inline__)).
24061         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24062         Don't use __attribute__ ((__gnu_inline__)).
24064 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
24066         [BZ #15423]
24067         * math/s_catan.c (__catan): Handle small real or imaginary part of
24068         input specially to avoid spurious underflow.
24069         * math/s_catanf.c (__catanf): Likewise.
24070         * math/s_catanh.c (__catanh): Likewise.
24071         * math/s_catanhf.c (__catanhf): Likewise.
24072         * math/s_catanhl.c (__catanhl): Likewise.
24073         * math/s_catanl.c (__catanl): Likewise.
24074         * math/libm-test.inc (catan_test): Add more tests.
24075         (catanh_test): Likewise.
24076         * sysdeps/i386/fpu/libm-test-ulps: Update.
24077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24079 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24083 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
24085         [BZ #15416]
24086         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24087         accurately for denominator in atan2.
24088         * math/s_catanf.c (__catanf): Likewise.
24089         * math/s_catanh.c (__catanh): Likewise.
24090         * math/s_catanhf.c (__catanhf): Likewise.
24091         * math/s_catanhl.c (__catanhl): Likewise.
24092         * math/s_catanl.c (__catanl): Likewise.
24093         * math/libm-test.inc (catan_test): Add more tests.
24094         (catanh_test): Likewise.
24095         * sysdeps/i386/fpu/libm-test-ulps: Update.
24096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24098 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24100         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24102         * benchtests/Makefile (bench): Remove slow benchmarks.
24103         * benchtests/atan-inputs: Add slow benchmark inputs.
24104         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24105         (BENCH_FUNC): Accept variant offset.
24106         (VARIANT): Define.
24107         * benchtests/bench-skeleton.c (main): Run benchmark for each
24108         variant.
24109         * benchtests/cos-inputs: Add slow benchmark inputs.
24110         * benchtests/exp-inputs: Likewise.
24111         * benchtests/pow-inputs: Likewise.
24112         * benchtests/sin-inputs: Likewise.
24113         * benchtests/slowatan-inputs: Remove.
24114         * benchtests/slowatan.c: Remove.
24115         * benchtests/slowcos-inputs: Remove.
24116         * benchtests/slowcos.c: Remove.
24117         * benchtests/slowexp-inputs: Remove.
24118         * benchtests/slowexp.c: Remove.
24119         * benchtests/slowpow-inputs: Remove.
24120         * benchtests/slowpow.c: Remove.
24121         * benchtests/slowsin-inputs: Remove.
24122         * benchtests/slowsin.c: Remove.
24123         * benchtests/slowtan-inputs: Remove.
24124         * benchtests/slowtan.c: Remove.
24125         * benchtests/tan-inputs: Add slow benchmark inputs.
24126         * scripts/bench.pl: Parse comments and directives.
24128         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
24129         in CPPFLAGS.
24130         ($(objpfx)bench-%.c): Remove *-ITER.
24131         * benchtests/bench-modf.c: Remove definition of ITER.
24132         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24133         (main): Loop for DURATION seconds instead of fixed number of
24134         iterations.
24135         * scripts/bench.pl: Don't expect iterations in parameters.
24137 2013-04-29  Roland McGrath  <roland@hack.frob.com>
24139         * io/fchdir.c (__fchdir): Renamed from fchdir.
24140         (fchdir): Define as weak alias.
24142 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24144         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24145         (ERRNO_EDOM): Likewise.
24146         (ERRNO_ERANGE): Likewise.
24147         (noErrnoTests): New variable.
24148         (init_max_error): Set errno to 0.
24149         (test_single_errno): New function.
24150         (test_errno): Likewise.
24151         (check_float_internal): Call test_errno.  Set errno to 0.
24152         (check_complex): Refer to errno tests in comment.
24153         (check_int): Call test_errno.  Set errno to 0.
24154         (check_long): Likewise.
24155         (check_bool): Likewise.
24156         (check_longlong): Likewise.
24157         (cos_test): Use ERRNO_* flags for errno tests instead of
24158         check_int.
24159         (expm1_test): Likewise.
24160         (fmod_test): Likewise.
24161         (ilogb_test): Likewise.
24162         (lgamma_test): Likewise.
24163         (pow_test): Likewise.
24164         (remainder_test): Likewise.
24165         (sin_test): Likewise.
24166         (tan_test): Likewise.
24167         (yn_test): Likewise.
24168         (initialize): Set errno to 0.
24169         (main): Print number of errno tests.
24170         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24172 2013-04-29  Andreas Jaeger  <aj@suse.de>
24174         [BZ #15084]
24175         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24176         and RES_USEVC.
24178         [BZ #15085]
24179         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24180         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24181         unimplemented.
24183         [BZ #15380]
24184         * stdlib/random.c (__initstate): Return NULL if
24185         __initstate fails.
24187         [BZ #15086]
24188         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24189         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24190         RES_SNGLKUPREOP.
24192 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24196 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24198         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24199         of individual tests.
24200         (casin_test): Likewise.
24201         (casinh_test): Likewise.
24203 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
24205         [BZ #15409]
24206         * math/s_catan.c (__catan): Handle arguments with large real or
24207         imaginary part separately without squaring.
24208         * math/s_catanf.c (__catanf): Likewise.
24209         * math/s_catanh.c (__catanh): Likewise.
24210         * math/s_catanhf.c (__catanhf): Likewise.
24211         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24212         and redefine.
24213         (__catanhl): Handle arguments with large real or imaginary part
24214         separately without squaring.
24215         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24216         and redefine.
24217         (__catanl): Handle arguments with large real or imaginary part
24218         separately without squaring.
24219         * math/libm-test.inc (catan_test): Add more tests.
24220         (catanh_test): Likewise.
24221         * sysdeps/i386/fpu/libm-test-ulps: Update.
24222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24224 2013-04-27  Andreas Jaeger  <aj@suse.de>
24226         [BZ #15007]
24227         * stdlib/stdlib.h: Update guards for qecvt.
24228         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24229         <stdlib.h>.
24231 2013-04-27  Allan McRae  <allan@archlinux.org>
24233         * sysdeps/i386/fpu/libm-test-ulps: Update.
24235 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
24237         [BZ #15406]
24238         * math/s_catan.c: Include <float.h>.
24239         (__catan): Ensure underflow exception occurs for underflowed
24240         result.
24241         * math/s_catanf.c: Include <float.h>.
24242         (__catanf): Ensure underflow exception occurs for underflowed
24243         result.
24244         * math/s_catanh.c: Include <float.h>.
24245         (__catanh): Ensure underflow exception occurs for underflowed
24246         result.
24247         * math/s_catanhf.c: Include <float.h>.
24248         (__catanhf): Ensure underflow exception occurs for underflowed
24249         result.
24250         * math/s_catanhl.c: Include <float.h>.
24251         (__catanhl): Ensure underflow exception occurs for underflowed
24252         result.
24253         * math/s_catanl.c: Include <float.h>.
24254         (__catanl): Ensure underflow exception occurs for underflowed
24255         result.
24256         * math/libm-test.inc (catan_test): Add more tests.
24257         (catanh_test): Likewise.
24259         [BZ #15405]
24260         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24261         underflowed result.
24262         * math/s_ccoshf.c (__ccoshf): Likewise.
24263         * math/s_ccoshl.c (__ccoshl): Likewise.
24264         * math/s_csin.c (__csin): Likewise.
24265         * math/s_csinf.c (__csinf): Likewise.
24266         * math/s_csinh.c (__csinh): Likewise.
24267         * math/s_csinhf.c (__csinhf): Likewise.
24268         * math/s_csinhl.c (__csinhl): Likewise.
24269         * math/s_csinl.c (__csinl): Likewise.
24270         * math/libm-test.inc (ccos_test): Add more tests.
24271         (ccosh_test): Likewise.
24272         (csin_test): Likewise.
24273         (csinh_test): Likewise.
24275 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24277         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24278         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24279         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24280         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24281         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24282         powerpc/power5+/fpu folders.
24283         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24286 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24290 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
24292         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24293         additions to variable.
24294         [$(config-machine) = x86_64] (modules-names): Likewise.
24295         ($(objpfx)tst-audit3): Remove dependency.
24296         ($(objpfx)tst-audit3.out): Likewise.
24297         ($(objpfx)tst-audit4): Likewise.
24298         ($(objpfx)tst-audit4.out): Likewise.
24299         ($(objpfx)tst-audit5): Likewise.
24300         ($(objpfx)tst-audit5.out): Likewise.
24301         ($(objpfx)tst-audit6): Likewise.
24302         ($(objpfx)tst-audit6.out): Likewise.
24303         ($(objpfx)tst-audit7): Likewise.
24304         ($(objpfx)tst-audit7.out): Likewise.
24305         (tst-audit3-ENV): Remove variable.
24306         (tst-audit4-ENV): Likewise.
24307         (tst-audit5-ENV): Likewise.
24308         (tst-audit6-ENV): Likewise.
24309         (tst-audit7-ENV): Likewise.
24310         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24311         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24312         addition to variable.
24313         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24314         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24315         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24316         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24317         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24318         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24319         tst-audit3, tst-audit4 and tst-audit5.
24320         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24321         tst-audit6 and tst-audit7.
24322         [$(subdir) = elf] (modules-names): Add audit modules for those
24323         tests.
24324         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24325         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24326         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24327         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24328         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24329         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24330         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24331         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24332         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24333         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24334         [$(subdir) = elf] (tst-audit3-ENV): New variable.
24335         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24336         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24337         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24338         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24339         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24340         Likewise.
24341         [$(subdir) = elf && $(config-cflags-avx) = yes]
24342         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24343         [$(subdir) = elf && $(config-cflags-avx) = yes]
24344         (CFLAGS-tst-auditmod4a.c): Likewise.
24345         [$(subdir) = elf && $(config-cflags-avx) = yes]
24346         (CFLAGS-tst-auditmod4b.c): Likewise.
24347         [$(subdir) = elf && $(config-cflags-avx) = yes]
24348         (CFLAGS-tst-auditmod6b.c): Likewise.
24349         [$(subdir) = elf && $(config-cflags-avx) = yes]
24350         (CFLAGS-tst-auditmod6c.c): Likewise.
24351         [$(subdir) = elf && $(config-cflags-avx) = yes]
24352         (CFLAGS-tst-auditmod7b.c): Likewise.
24353         * elf/tst-audit3.c: Move to ...
24354         * sysdeps/x86_64/tst-audit3.c: ... here.
24355         * elf/tst-audit4.c: Move to ...
24356         * sysdeps/x86_64/tst-audit4.c: ... here.
24357         * elf/tst-audit5.c: Move to ...
24358         * sysdeps/x86_64/tst-audit5.c: ... here.
24359         * elf/tst-audit6.c: Move to ...
24360         * sysdeps/x86_64/tst-audit6.c: ... here.
24361         * elf/tst-audit7.c: Move to ...
24362         * sysdeps/x86_64/tst-audit7.c: ... here.
24363         * elf/tst-auditmod3a.c: Move to ...
24364         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24365         * elf/tst-auditmod3b.c: Move to ...
24366         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24367         * elf/tst-auditmod4a.c: Move to ...
24368         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24369         * elf/tst-auditmod4b.c: Move to ...
24370         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24371         * elf/tst-auditmod5a.c: Move to ...
24372         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24373         * elf/tst-auditmod5b.c: Move to ...
24374         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24375         * elf/tst-auditmod6a.c: Move to ...
24376         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24377         * elf/tst-auditmod6b.c: Move to ...
24378         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24379         * elf/tst-auditmod6c.c: Move to ...
24380         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24381         * elf/tst-auditmod7a.c: Move to ...
24382         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24383         * elf/tst-auditmod7b.c: Move to ...
24384         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24386 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
24388         [BZ #15366]
24389         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24390         define unconditionally.
24391         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24392         define unconditionally.
24393         (INT8_C, INT16_C, etc.): Likewise.
24395 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
24397         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24398         __ehdr_start with hidden visibility.
24400         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24402 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
24404         * math/libm-test.inc (cos_test): Use accurate hex constants.
24405         (sincost_test): Likewise.
24407 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
24409         * math/libm-test.inc (catan_test): Add more tests.
24410         (catanh_test): Likewise.
24412         * math/s_catanf.c (__catanf): Use suffixed floating-point
24413         constants.
24414         * math/s_catanhf.c (__catanhf): Likewise.
24415         * math/s_catanhl.c (__catanhl): Likewise.
24416         * math/s_catanl.c (__catanl): Likewise.
24418         [BZ #15394]
24419         * math/s_catan.c (__catan): Calculate imaginary part of result
24420         with log1p not log unless computing log of number close to 0.
24421         * math/s_catanf.c (__catanf): Likewise.
24422         * math/s_catanl.c (__catanl): Likewise.
24423         * math/s_catanh.c (__catanh): Calculate real part of result with
24424         log1p not log unless computing log of number close to 0.
24425         * math/s_catanhf.c (__catanhf): Likewise.
24426         * math/s_catanhl.c (__catanhl): Likewise.
24427         * math/libm-test.inc (catan_test): Add more tests.
24428         (catanh_test): Likewise.
24429         * sysdeps/i386/fpu/libm-test-ulps: Update.
24430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24432 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24434         * benchtests/Makefile: Mention files in which fast and slow
24435         paths of math functions are implemented.
24437 2013-04-23  Roland McGrath  <roland@hack.frob.com>
24439         * sysdeps/posix/timespec_get.c: New file.
24441 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24443         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24444         POWER.
24445         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24446         for POWER.
24447         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24448         powerpc/power5/fpu folders.
24449         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24450         * benchtests/Makefile: Add modf testcase.
24451         * benchtests/bench-modf.c: New file: Benchmark test for mo
24453 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24455         [BZ #14888]
24456         * time/Makefile (tests): Add tst-strptime-whitespace.
24457         * time/strptime_l.c (get_number): Use ISSPACE.
24458         (__strptime_internal): Likewise.
24459         * time/tst-strptime-whitespace.c: New test case.
24461 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
24463         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24464         member.
24465         (_nss_files_init): Set it here.
24467 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
24469         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24470         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24471         unsigned.
24473 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
24475         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24477 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24479         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24480         size just once.
24482 2013-04-21  David S. Miller  <davem@davemloft.net>
24484         * po/ru.po: Update Russion translation from translation project.
24486 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24488         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24489         and setfsgid.
24491 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24493         * configure.in: Remove i386 configure warning. Remove i386 case.
24494         * configure: Regenerate.
24495         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24496         Add example to error message.
24497         * sysdeps/i386/configure: Regenerate.
24499 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24501         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24502         slowtan.
24503         * benchtests/cos-inputs: New file.
24504         * benchtests/slowcos-inputs: New file.
24505         * benchtests/slowcos.c: New file.
24506         * benchtests/slowtan-inputs: New file.
24507         * benchtests/slowtan.c: New file.
24508         * benchtests/tan-inputs: New file.
24510 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24512         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24513         considered kosher.
24515 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24517         * benchtests/Makefile: Include cppflags-iterator.mk to add
24518         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24520         * Makefile.in (bench-clean): New target.
24521         * benchtests/Makefile (bench-clean): Likewise.
24523 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24525         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24527 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24529         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24531 2013-04-15  Andreas Schwab  <schwab@suse.de>
24533         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24534         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24535         * nscd/pwdcache.c (cache_addpw): Likewise.
24536         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24537         more than recsize.
24539 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24541         * benchtests/Makefile (bench): Write all output to
24542         bench-out.tmp together.
24544 2013-04-15  Andreas Schwab  <schwab@suse.de>
24546         * nscd/nscd.c (main): Don't fork again after closing files.
24548 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24550         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24552         * benchtests/Rules (bench-deps): Collect dependencies into a
24553         single variable.  Add Makefile to dependencies.
24554         ($(objpfx)bench-%.c): Depend on bench-deps.
24556 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24557             Xavier Roche  <roche+kml2@exalead.com>
24559         [BZ #15361]
24560         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24561         just that it's a file descriptor.
24562         * manual/llio.texi (Synchronizing AIO Operations): Update description
24563         for EBADF error from aio_fsync.
24565 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24567         * Rules (bench): Move target definition...
24568         * benchtests/Makefile: ... here.
24570 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24572         * math/libm-test.inc (cos_test): Fix PI/2 test.
24573         (sincos_test): Likewise.
24574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24575         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24577 2013-04-11  Andreas Schwab  <schwab@suse.de>
24579         [BZ #13988]
24580         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24581         accept exponent character only when digits were seen.
24582         * stdio-common/Makefile (tests): Add bug26.
24583         * stdio-common/bug26.c: New file.
24585         [BZ #14293]
24586         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24587         non-freeable.
24589 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24591         * Makeconfig (rtld-prefix): Define built linker prefix.
24592         * Rules (run-bench): Use it.
24593         * math/Makefile (run-regen-ulps): Likewise.
24595         * Rules (bench): Remove eval.
24597 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24598             Roland McGrath  <roland@hack.frob.com>
24599             Ondrej Bilka  <neleai@seznam.cz>
24601         [BZ #15346]
24602         * time/getdate.c: Include ctype.h and alloca.h.
24603         (__getdate_r): Trim leading and trailing spaces of input.
24604         * time/tst-getdate.c (tests): Add tests with leading and
24605         trailing spaces.
24607 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24609         [BZ #14280]
24610         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24611         when computing value.
24613 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24615         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24616         Use testrun.sh to run libm tests.
24618         [BZ #15309]
24619         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24621 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24623         [BZ #15264]
24624         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24626 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24628         * Makefile.in (regen-ulps): New target.
24629         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24630         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24631         [ifneq (no,$(PERL)] (regen-ulps): New target.
24632         [ifeq (no,$(PERL)] (regen-ulps): New target.
24633         * math/libm-test.inc (ulps_file_name): Define.
24634         (output_dir): New variable.
24635         (options): Add "output-dir" option.
24636         (parse_opt): Handle 'o' case.
24637         (main): If output_dir is non-NULL use it as a prefix
24638         otherwise use "".
24639         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24641 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24643         [BZ #10060, #10062]
24644         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24645         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24646         fail configure if __sync_val_compare_and_swap is not inlined.
24647         * sysdeps/i386/configure: Regenerate.
24648         * configure.in: Build for i686 when configured for i386.
24649         * configure: Regenerate.
24650         * README: Remove i386 reference.
24652 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24654         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24655         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24657 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24659         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24660         (lmsnanval): New variables.
24661         (F): Add conversion tests.
24662         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24663         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24665         * stdio-common/tstdiomisc.c (F): Properly collect individual
24666         tests' results.
24668         [BZ #14686, #15336]
24669         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24670         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24671         Instead, use input NaN values or generate a qNaN by arithmetic
24672         operation.  Also fix bugs to comply with the standard.
24673         * math/libm-test.inc (remainder_test): Add more tests.
24675         [BZ #15335, #15342]
24676         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24677         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24678         input NaN values or generate a qNaN by arithmetic operation.
24680         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24681         unreachable code.
24683         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24684         definitions.
24686 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
24688         [BZ #14478]
24689         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24690         underflowed result.
24691         * math/s_cexpf.c (__cexpf): Likewise.
24692         * math/s_cexpl.c (__cexpl): Likewise.
24693         * math/libm-test.inc (cexp_test): Add more tests.
24695 2013-04-03  Andreas Schwab  <schwab@suse.de>
24697         [BZ #15330]
24698         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24699         order arrays from heap if bigger than alloca cutoff.
24701 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
24703         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24704         (SNAN_TESTS_double): Refer to GCC PR56831.
24705         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24706         GCC PR56828.
24708 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24710         * Rules (bench): Move bench.out after the run is complete.
24712         * Rules (bench): Echo currently running benchmark.
24714         * benchtests/Makefile (bench): Add atan and slowatan.
24715         * benchtests/atan-inputs: New file.
24716         * benchtests/slowatan-inputs: New file.
24717         * benchtests/slowatan.c: New file.
24719         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24720         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24721         its value.
24723         [BZ #15305]
24724         * sysdeps/unix/sysv/linux/kernel-features.h
24725         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24726         __ASSUME_XFS_RESTRICTED_CHOWN.
24727         * sysdeps/unix/sysv/linux/pathconf.c
24728         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24729         Save and restore errno.
24731 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
24733         [BZ #15327]
24734         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24735         arguments using __kernel_casinh.
24736         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24737         arguments using __kernel_casinhf.
24738         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24739         arguments using __kernel_casinhl.
24740         * math/libm-test.inc (cacosh_test): Add more tests.
24741         * sysdeps/i386/fpu/libm-test-ulps: Update.
24742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24744 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24746         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24749         * bench/Makefile (bench): Add sin and slowsin.
24750         * benchtests/sin-inputs: New file.
24751         * benchtests/slowsin-inputs: New file.
24752         * benchtests/slowsin.c: New file.
24754         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24755         (bench): Add slowexp and slowpow.
24756         (exp-ITER): Increase iterations.
24757         (pow-ITER): Likewise.
24758         * benchtests/exp-inputs: Change input.
24759         * benchtests/pow-inputs: Likewise.
24760         * benchtests/slowexp-inputs: New file.
24761         * benchtests/slowexp.c: New file.
24762         * benchtests/slowpow-inputs: New file.
24763         * benchtests/slowpow.c: New file.
24765 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24767         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24768         instructions.
24769         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24770         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24771         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24772         * benchtests/Makefile: Add rint benchtest.
24773         * benchtests/rint-inputs: Input for rint benchtest.
24775 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24777         * Versions.def (libm): Add GLIBC_2.18.
24778         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24779         hidden libm prototypes.
24780         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24781         * math/Makefile (libm-calls): Add s_issignaling.
24782         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24783         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
24784         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24785         declaration.
24786         * math/math.h [__USE_GNU] (issignaling): New macro.
24787         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24788         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24789         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24790         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24791         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24792         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24793         * manual/arith.texi (issignaling): New section.
24794         * manual/libm-err-tab.pl (@all_functions): Update comment.
24795         * math/gen-libm-test.pl (parse_args): Apply special handling for
24796         issignaling.
24797         * math/libm-test.inc (print_float, issignaling_test): New
24798         functions.
24799         (check_float_internal): Add issignaling checks.
24800         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24801         default definition.
24802         * sysdeps/powerpc/math-tests.h: New file.
24803         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24804         tests.
24805         * math/test-snan.c (TEST_FUNC): Likewise.
24807 2013-03-30  David S. Miller  <davem@davemloft.net>
24809         * po/de.po: Update from translation team.
24811 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
24813         [BZ #10357]
24814         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24815         imaginary part less than 1.0 and real part less than 0.5
24816         specially.
24817         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24818         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24819         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24820         (cacos_test): Add more tests.
24821         (casin_test): Likewise.
24822         (casinh_test): Likewise.
24823         * sysdeps/i386/fpu/libm-test-ulps: Update.
24824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24826 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24828         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24829         ONE with its value.
24831         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24832         (__pow_mp): Replace ONE and MONE with their values.
24833         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24834         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24835         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24836         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24837         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24838         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24840         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24842         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24843         (__pow_mp): Replace ZERO and MZERO with their values.
24844         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24845         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24846         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24847         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24848         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24849         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24850         (__sqr): Likewise.
24852         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24854         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24856 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24858         * include/stdlib.h [!SHARED] (__call_tls_dtors):
24859         Declare with __attribute__ ((weak)).
24860         * stdlib/exit.c (__libc_atexit) [!SHARED]:
24861         Call __call_tls_dtors only if it's not NULL.
24863 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24865         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24866         didn't do it already, then set _dl_phdr and _dl_phnum based on the
24867         magic __ehdr_start linker symbol if it's defined.
24868         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24869         them up here if it was already done.
24871         * elf/dl-support.c (_dl_phdr): Make pointer to const.
24872         (_dl_aux_init): Use const in cast when setting it.
24873         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24874         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24875         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24877         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24878         Declare them here.
24879         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24880         * csu/libc-tls.c: Nor here.
24881         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24883         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24884         (__libc_message): Never call vsyslog.
24886 2013-03-28  Alan Modra  <amodra@gmail.com>
24888         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24889         Define as empty.
24890         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24891         Likewise.
24893 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24895         [BZ #15214]
24896         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24897         underflow.
24898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24900 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24902         [BZ #15304]
24903         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24904         Don't add gid passed as argument.
24906         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24908 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
24910         [BZ #15307]
24911         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24912         imaginary part between 1.0 and 1.5 and real part less than 0.5
24913         specially.
24914         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24915         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24916         * math/libm-test.inc (cacos_test): Add more tests.
24917         (casin_test): Likewise.
24918         (casinh_test): Likewise.
24919         * sysdeps/i386/fpu/libm-test-ulps: Update.
24920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24922 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24924         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24925         constants.
24926         (norm): Likewise.
24927         (denorm): Likewise.
24928         (__dbl_mp): Likewise.
24929         (add_magnitudes): Likewise.
24930         (sub_magnitudes): Likewise.
24931         (__add): Likewise.
24932         (__sub): Likewise.
24933         (__mul): Likewise.
24934         (__sqr): Likewise.
24935         (__inv): Likewise.
24936         (__dvd): Likewise.
24938         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24939         commented code.
24940         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24941         (__dubcos): Likewise.
24942         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24943         (__ieee754_acos): Likewise.
24944         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24945         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24946         (__exp1): Likewise.
24947         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24948         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24949         (log1): Likewise.
24950         (my_log2): Likewise.
24951         (checkint): Likewise.
24952         * sysdeps/ieee754/dbl-64/e_remainder.c
24953         (__ieee754_remainder): Likewise.
24954         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24955         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24956         (bsloww): Likewise.
24957         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24959         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24960         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24961         MANTISSA_STORE_T to store computations on mantissa.  Use
24962         macros for rounding and division.
24963         (denorm): Likewise.
24964         (__dbl_mp): Likewise.
24965         (add_magnitudes): Likewise.
24966         (sub_magnitudes): Likewise.
24967         (__mul): Likewise.
24968         (__sqr): Likewise.
24969         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24970         powers of two in terms of TWOPOW macro.
24971         (mp_no): Make type of mantissa as MANTISSA_T.
24972         [!RADIXI]: Define RADIXI.
24973         [!TWO52]: Define TWO52.
24974         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24976 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24978         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24979         llroundl symbol when building for PPC32.
24981 2013-03-24  Mark H Weaver  <mhw@netris.org>
24983         * manual/arith.texi (Normalization Functions): Fix prototypes for
24984         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24986 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24988         [BZ #13889]
24989         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24990         high value to check if expl overflow.
24991         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24992         to check for underflow and overflow.
24993         * math/libm-test.inc: Add exp test.
24995 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
24997         [BZ #11120]
24998         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24999         with NOT_IN_libc.
25001 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25003         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25004         symbol.
25006 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25008         * math/gen-libm-test.pl (parse_args, special_functions): Properly
25009         wrap blocks consisting of several statements.
25011         * sysdeps/generic/math-tests.h: New file.
25012         * sysdeps/i386/fpu/math-tests.h: Likewise.
25013         * math/test-snan.c: Include it.
25014         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25016 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25018         [BZ #15285]
25019         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25020         (__ieee754_j0l): Do not improve calculations using cos of twice
25021         input for inputs above LDBL_MAX / 2.0L.
25022         (__ieee754_y0l): Likewise.
25023         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25024         (__ieee754_j1l): Do not improve calculations using cos of twice
25025         input for inputs above LDBL_MAX / 2.0L.
25026         (__ieee754_y1l): Likewise.
25027         * math/libm-test.inc (j0_test): Add another test.
25028         (j1_test): Likewise.
25029         (y0_test): Likewise.
25030         (y1_test): Likewise.
25031         * sysdeps/i386/fpu/libm-test-ulps: Update.
25033 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25035         * Rules ($(objpfx)bench-%.c): Include code from a C source
25036         file.
25038 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25040         [BZ #15287]
25041         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25042         imaginary part 1.0 and real part less than 0.5 specially.
25043         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25044         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25045         * math/libm-test.inc (cacos_test): Add more tests.
25046         (casin_test): Likewise.
25047         (casinh_test): Likewise.
25048         * sysdeps/i386/fpu/libm-test-ulps: Update.
25049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25051 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25053         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25054         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25056 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
25058         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25059         * config.make.in (config-cflags-sse4): Remove variable.
25060         (config-cflags-avx): Likewise.
25061         (config-cflags-sse2avx): Likewise.
25062         (config-cflags-novzeroupper): Likewise.
25063         (config-asflags-i686): Likewise.
25064         (have-mfma4): Likewise.
25065         (have-as-vis3): Likewise.
25066         (MIG): Likewise.
25067         * configure.in (MIG): Do not AC_SUBST.
25068         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25069         (libc_cv_cc_sse4): Do not AC_SUBST.
25070         (libc_cv_cc_avx): Likewise.
25071         (libc_cv_cc_sse2avx): Likewise.
25072         (libc_cv_cc_novzeroupper): Likewise.
25073         (libc_cv_cc_fma4): Likewise.
25074         (libc_cv_as_i686): Likewise.
25075         (libc_cv_sparc_as_vis3): Likewise.
25076         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25077         LIBC_CONFIG_VAR.
25078         (config-asflags-i686): Likewise.
25079         (config-cflags-avx): Likewise.
25080         (config-cflags-sse2avx): Likewise.
25081         (have-mfma4): Likewise.
25082         (config-cflags-novzeroupper): Likewise.
25083         * sysdeps/mach/configure.in (MIG): Likewise.
25084         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25085         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25086         LIBC_CONFIG_VAR.
25087         (config-cflags-avx): Likewise.
25088         (config-cflags-sse2avx): Likewise.
25089         (have-mfma4): Likewise.
25090         (config-cflags-novzeroupper): Likewise.
25091         * configure: Regenerated.
25092         * sysdeps/i386/configure: Likewise.
25093         * sysdeps/mach/configure: Likewise.
25094         * sysdeps/sparc/configure: Likewise.
25095         * sysdeps/x86_64/configure: Likewise.
25097 2013-03-20  Roland McGrath  <roland@hack.frob.com>
25099         [BZ #14812]
25100         * locale/programs/localedef.c (options): Put N_ translation marker
25101         on argument names, not just descriptions.
25103 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25105         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25107 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
25109         [BZ #14176]
25110         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25112 2013-03-19  Roland McGrath  <roland@hack.frob.com>
25114         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25115         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25116         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25117         [!BEFORE_ABORT] (before_abort): New function.
25118         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25119         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25120         (writev_for_fatal): New function.
25121         (WRITEV_FOR_FATAL): New macro; call that.
25122         (backtrace_and_maps): New function.
25123         (BEFORE_ABORT): New macro; call that.
25124         (struct str_list): Type removed.
25125         (__libc_message, __libc_fatal): Functions removed.
25126         Include <sysdeps/posix/libc_fatal.c> instead.
25128 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
25130         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25131         constants.
25132         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25133         double constants.
25135 2013-03-19  Andreas Schwab  <schwab@suse.de>
25137         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25138         * sysdeps/gnu/configure: Regenerate.
25140         * configure.in: Substitute libc_cv_rtlddir.
25141         * configure: Regenerate.
25142         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25143         * Makeconfig (rtlddir, inst_rtlddir): New variables.
25144         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25145         * elf/Makefile (install-others, CFLAGS-interp.c)
25146         (ldso_install, common-ldd-rewrite): Likewise.
25147         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25148         $(inst_slibdir)/$(rtld-installed-name).
25149         * scripts/rellns-sh: Add -p option.
25150         * Makerules (make-shlib-link): Use rellns-sh to get relative name
25151         for source.
25153 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25155         * manual/nptl.texi: Renamed to ...
25156         * manual/threads.texi: ... this.
25157         * manual/Makefile (chapters): Update.
25159 2013-03-18  Roland McGrath  <roland@hack.frob.com>
25161         [BZ #14812]
25162         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25163         on argument names, not just descriptions.
25164         * malloc/memusagestat.c (options): Likewise.
25165         * nss/getent.c (options): Likewise.
25167 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
25169         [BZ #14812]
25170         * iconv/iconv_prog.c (options): Put N_ translation marker
25171         on argument names, not just descriptions.
25172         * iconv/iconvconfig.c (options): Likewise.
25174 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
25176         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25177         implementation which is faster on all x86_64 architectures.
25178         Tested on AMD, Intel Nehalem, SNB, IVB.
25179         * sysdeps/x86_64/strnlen.S: Likewise.
25181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25182         Remove all multiarch strlen and strnlen versions.
25183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25184         Remove strlen and strnlen related parts.
25186         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25187         Inline strlen part.
25188         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25190         * sysdeps/x86_64/multiarch/strlen.S: Remove.
25191         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25192         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25193         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25194         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25195         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25197 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
25199         * manual/memory.texi (Malloc Tunable Parameters):
25200         Sort parameters alphabetically. Add comments for missing entries.
25202 2013-03-17  David S. Miller  <davem@davemloft.net>
25204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25206 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
25208         [BZ #15283]
25209         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25210         for arguments at most half maximum finite value.
25211         * math/libm-test.inc (j0_test): Add more tests.
25212         (j1_test): Likewise.
25213         (y0_test): Likewise.
25214         (y1_test): Likewise.
25215         * sysdeps/i386/fpu/libm-test-ulps: Update.
25216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25218         [BZ #14155]
25219         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25220         1 / x and functions P and Q for arguments above 0x1p256L.
25221         (__ieee754_y0l): Likewise.
25222         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25223         (__ieee754_y1l): Likewise.
25224         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25225         (j1_test): Likewise.
25226         (y0_test): Likewise.
25227         (y1_test): Likewise.
25229 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
25231         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25232         variable.
25234 2013-03-15  Roland McGrath  <roland@hack.frob.com>
25236         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25237         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25238         zero since it's initialized to EXEC_PAGESIZE.
25240         * sysdeps/unix/sysv/linux/ldsodefs.h
25241         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25242         * sysdeps/generic/ldsodefs.h: ... here.
25244 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
25246         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25248         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25249         math/test-snan.c.
25250         * math/test-snan.c: Renamed from
25251         sysdeps/powerpc/fpu/test-powerpc-snan.c.
25252         * math/Makefile (tests): Add test-snan.
25253         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25254         test-powerpc-snan.
25256         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25257         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
25258         functions.
25259         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
25260         __builtin_nan family of functions.
25261         * math/libm-test.inc (initialize): Initialize qnan_value with
25262         __builtin_nan family of functions.
25263         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25264         Remove variables.
25265         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25266         Remove functions.
25267         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
25268         storage class.  Initialize qNaN_var and sNaN_var with
25269         __builtin_nan and __builtin_nans families of functions,
25270         respectively.
25272         * math/libm-test.inc (acosh_test): Also test with qNaN input.
25273         (sqrt_test): Remove duplicate test with qNaN input.
25274         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25275         (round_test, signbit_test, significand_test): Note missing +/-Inf
25276         as well as qNaN tests.
25278         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25279         qNaN_var.  Fix a few strings, too.
25280         * math/libm-test.inc (nan_value): Rename to qnan_value.
25281         * math/gen-libm-test.pl (%beautify): Adjust to that.
25282         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25283         * math/test-misc.c (main): Likewise.
25284         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25285         to __qnan_bytes, and __qnan_union, respectively.
25286         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25287         Likewise.
25288         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25289         and lqnanval, respectively.
25290         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25291         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25292         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25293         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25295         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25296         * math/test-misc.c (main) [__x86_64__]: Enable test for long
25297         doubles.
25299         * math/test-misc.c (main): Fix copy'n'pastos.
25300         * misc/tst-efgcvt.c (special): Likewise.
25302         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25303         Remove declarations.
25305 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25307         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25308         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25309         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25310         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25312 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25314         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25315         macro to return vdso values correctly in IFUNC implementations.
25316         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25317         Optimization by using IFUNC.
25319 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25320             Richard Henderson  <rth@redhat.com>
25321             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25323         * Makefile.in (bench): New target.
25324         * NEWS: Mention the benchmark framework.
25325         * Rules (bench): Likewise.
25326         (binaries-bench): Generate binaries for functions to
25327         benchmark.
25328         * benchtests/Makefile: New makefile for benchmark tests.
25329         * benchtests/bench-skeleton.c: New skeleton file for benchmark
25330         programs.
25331         * benchtests/exp-inputs: New input file for EXP function.
25332         * benchtests/pow-inputs: New input file for POW function.
25333         * scripts/bench.pl: New script to generate source files for
25334         benchmark programs.
25336 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25338         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25339         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25340         computations on mantissa.  Use macros for rounding and
25341         division.
25342         (denorm): Likewise.
25343         (__dbl_mp): Likewise.
25344         (add_magnitudes): Likewise.
25345         (sub_magnitudes): Likewise.
25346         (__mul): Likewise.
25347         (__sqr): Likewise.
25348         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25349         powers of two in terms of TWOPOW macro.
25350         (mp_no): Make type of mantissa as MANTISSA_T.
25351         [!RADIXI]: Define RADIXI.
25352         [!TWO52]: Define TWO52.
25353         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25355         * manual/nptl.texi (cindex): Modify threads to pthreads.
25357 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
25359         * sysdeps/x86_64/preconfigure: Regenerated.
25361 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
25363         [BZ #14155]
25364         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25365         0x1p28 and above.
25366         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25367         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25368         0x1p28 and above.
25369         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25370         * math/libm-test.inc (j0_test): Do not allow one spurious
25371         underflow exception.
25372         (y1_test): Likewise.
25374 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25376         * manual/Makefile (chapters): Add nptl.
25377         * manual/debug.texi (Debugging Support): Add link to Threads
25378         chapter.
25379         * manual/nptl.texi: New file.
25381         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25383 2013-03-14  Petr Baudis  <pasky@ucw.cz>
25385         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25386         for non-NULL pointer before the memory validity test. Pointed
25387         out by Holger Brunck <holger.brunck@keymile.com>.
25389 2013-03-13  Andreas Schwab  <schwab@suse.de>
25391         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25392         instead of .os.
25394 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
25396         * timezone/zic.c: Update from tzcode 2013b.
25398 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
25400         * manual/install.texi (Configuring and compiling):
25401         Mention i686 and i586.
25402         * INSTALL: Regenerate.
25404 2013-03-12  Roland McGrath  <roland@hack.frob.com>
25406         * sysdeps/init_array/elf-init.c: New file.
25407         * csu/elf-init.c
25408         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25409         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25411         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25412         __gmon_start__ as global, but as static with a .preinit_array pointer.
25413         * sysdeps/init_array/gmon-start.c: New file.  Use that.
25414         * sysdeps/init_array/crti.S: New file, empty except for comments.
25415         * sysdeps/init_array/crtn.S: Likewise.
25417 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
25419         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25420         definining bcopy.
25421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25422         Remove Prefer_SSE_for_memop.
25423         * sysdeps/x86_64/multiarch/init-arch.h: Remove
25424         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25425         HAS_PREFER_SSE_FOR_MEMOP.
25426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25427         memset-x86-64.
25428         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25429         Remove bzero, memset ifunc support.
25430         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25431         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25432         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25433         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25435 2013-03-11  Andreas Schwab  <schwab@suse.de>
25437         [BZ #15234]
25438         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25439         by SHLIB_COMPAT.
25440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25441         (GLIBC_2.16): Remove pthread_atfork.
25443 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25445         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25446         (ptestcases.h): Likewise.
25448 2013-03-08  Roland McGrath  <roland@hack.frob.com>
25450         * Makeconfig ($(common-objpfx)config.status): Depend on
25451         sysdeps/*/preconfigure{,.in} too.
25453 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
25455         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25456         (__free_hook): Use void * instead of __malloc_ptr_t.
25457         (__malloc_hook): Likewise.
25458         (__realloc_hook): Likewise.
25459         (__memalign_hook): Likewise.
25460         (__after_morecore_hook): Likewise.
25461         * malloc/arena.c (save_malloc_hook): Likewise.
25462         (save_free_hook): Likewise.
25463         * malloc/hooks.c (malloc_hook_ini): Likewise.
25464         (realloc_hook_ini): Likewise.
25465         (memalign_hook_ini): Likewise.
25466         * malloc/malloc.c (malloc_hook_ini): Likewise.
25467         (realloc_hook_ini): Likewise.
25468         (memalign_hook_ini): Likewise.
25469         (__free_hook): Likewise.
25470         (__malloc_hook): Likewise.
25471         (__realloc_hook): Likewise.
25472         (__memalign_hook): Likewise.
25473         (__libc_malloc): Likewise.
25474         (__libc_free): Likewise.
25475         (__libc_realloc): Likewise.
25476         (__libc_memalign): Likewise.
25477         (__libc_valloc): Likewise.
25478         (__libc_pvalloc): Likewise.
25479         (__libc_calloc): Likewise.
25480         (__posix_memalign): Likewise.
25481         * malloc/morecore.c (__sbrk): Likewise.
25482         (__default_morecore): Likewise.
25484         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25486         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25487         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25488         __malloc_ptrdiff_t.
25490         * malloc/malloc.h (__malloc_size_t): Remove macro.
25491         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25492         __malloc_size_t.
25493         (old_memalign_hook): Likewise.
25494         (old_realloc_hook): Likewise.
25495         (struct hdr): Likewise.
25496         (flood): Likewise.
25497         (mallochook): Likewise.
25498         (memalignhook): Likewise.
25499         (reallochook): Likewise.
25500         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25501         (tr_old_realloc_hook): Likewise.
25502         (tr_old_memalign_hook): Likewise.
25503         (tr_mallochook): Likewise.
25504         (tr_reallochook): Likewise.
25505         (tr_memalignhook): Likewise.
25507 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25509         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25510         default_ldbl_pack and using as default implementation.
25511         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25512         implementation.
25513         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25514         redundant definition.
25515         (ldbl_insert_mantissa): Likewise.
25516         (ldbl_canonicalize): Likewise.
25517         (ldbl_nearbyint): Likewise.
25518         (ldbl_pack): Rename to ldbl_pack_ppc.
25519         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25520         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25521         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25523 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25525         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25526         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25527         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25528         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25530         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25531         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25532         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25534 2013-03-07  Andreas Jaeger  <aj@suse.de>
25536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25537         bits/mman-linux.h.
25539 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25541         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25542         Include mpa.h and declare __MPEXP.
25543         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25544         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25545         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25546         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25547         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25548         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25549         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25551         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25552         (__slowpow): Use long double EXPL and LOGL functions to
25553         compute POW.
25554         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25555         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25556         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25557         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25558         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25559         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25562         intermediate variable to calculate exponent.
25563         (__sqr): Likewise.
25564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25565         Likewise.
25566         (__sqr): Likewise.
25568         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25569         [!NO__SQR]: Define __sqr.
25570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25571         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25572         sysdeps/ieee754/dbl-64/mpa.c.
25573         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25575         [BZ #12723]
25576         * posix/Makefile (tests): Add tst-pathconf.
25577         * posix/tst-pathconf.c: New test case.
25578         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25579         _PC_PIPE_BUF.
25580         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25582 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25584         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25586 2013-03-06  Andreas Jaeger  <aj@suse.de>
25588         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25589         definition via __MAP_ANONYMOUS.
25591         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25592         it's not part of Linux headers.
25594         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25595         (MAP_HUGE_MASK): Define.
25597         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25598         Define.
25599         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25600         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25601         Define.
25602         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25603         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25604         Define.
25605         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25606         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25607         Define.
25608         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25610         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25611         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25612         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25613         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25614         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25615         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25617         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25618         Handle f2fs.
25620         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25621         Handle f2fs and efivarfs.
25623         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25624         f2fs.
25626         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25627         (EFIVARFS_MAGIC): Add.
25628         (F2FS_LINK_MAX): Add.
25630 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25632         * stdio-common/vfprintf.c: Replace __builtin_expect with
25633         __glibc_unlikely.
25635 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25637         [BZ #13550]
25638         * sysdeps/generic/bp-sym.h: Remove file.
25639         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25640         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25641         <bp-sym.h> and <bp-asm.h>.
25642         (__longjmp): Don't use BP_SYM.
25643         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25644         and <bp-asm.h>.
25645         (memcpy): Don't use BP_SYM.
25646         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25647         <bp-sym.h> and <bp-asm.h>.
25648         (memcpy): Don't use BP_SYM.
25649         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25650         <bp-asm.h>.
25651         (memcpy): Don't use BP_SYM.
25652         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25653         <bp-asm.h>.
25654         (memset): Don't use BP_SYM.
25655         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25656         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25657         (__bzero): Don't use BP_SYM.
25658         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25659         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25660         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25661         <bp-sym.h> and <bp-asm.h>.
25662         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25663         pointers.
25664         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25665         <bp-sym.h> and <bp-asm.h>.
25666         (memcpy): Don't use BP_SYM.
25667         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25668         <bp-sym.h> and <bp-asm.h>.
25669         (memset): Don't use BP_SYM.
25670         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25671         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25672         (__bzero): Don't use BP_SYM.
25673         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25674         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25675         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25676         <bp-sym.h> and <bp-asm.h>.
25677         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25678         pointers.
25679         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25680         <bp-sym.h> and <bp-asm.h>.
25681         (memcpy): Don't use BP_SYM.
25682         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25683         <bp-sym.h> and <bp-asm.h>.
25684         (memset): Don't use BP_SYM.
25685         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25686         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25687         (__bzero): Don't use BP_SYM.
25688         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25689         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25690         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25691         <bp-sym.h> and <bp-asm.h>.
25692         (__memchr): Don't use BP_SYM.
25693         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25694         <bp-sym.h> and <bp-asm.h>.
25695         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25696         pointers.
25697         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25698         <bp-sym.h> and <bp-asm.h>.
25699         (memcpy): Don't use BP_SYM.
25700         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25701         <bp-sym.h> and <bp-asm.h>.
25702         (__mempcpy): Don't use BP_SYM.
25703         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25704         <bp-sym.h> and <bp-asm.h>.
25705         (__memrchr): Don't use BP_SYM.
25706         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25707         <bp-sym.h> and <bp-asm.h>.
25708         (memset): Don't use BP_SYM.
25709         (__bzero): Likewise.
25710         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25711         <bp-sym.h> and <bp-asm.h>.
25712         (__rawmemchr): Don't use BP_SYM.
25713         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25714         <bp-sym.h> and <bp-asm.h>.
25715         (__STRCMP): Don't use BP_SYM.
25716         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25717         <bp-sym.h> and <bp-asm.h>.
25718         (strchr): Don't use BP_SYM.
25719         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25720         <bp-sym.h> and <bp-asm.h>.
25721         (__strchrnul): Don't use BP_SYM.
25722         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25723         <bp-sym.h> and <bp-asm.h>.
25724         (strlen): Don't use BP_SYM.
25725         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25726         <bp-sym.h> and <bp-asm.h>.
25727         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25728         pointers.
25729         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25730         <bp-sym.h> and <bp-asm.h>.
25731         (__strnlen): Don't use BP_SYM.
25732         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25733         <bp-sym.h> and <bp-asm.h>.
25734         (__GI__setjmp): Don't use BP_SYM.
25735         (_setjmp): Likewise.
25736         (__sigsetjmp): Likewise.
25737         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25738         (L(start_addresses)): Don't use BP_SYM.
25739         (_start): Likewise.
25740         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25741         <bp-asm.h>.
25742         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25743         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25744         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25745         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25746         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25747         <bp-asm.h>.
25748         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25749         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
25750         about bounded pointers.
25751         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25752         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25753         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25754         <bp-asm.h>.
25755         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25756         about bounded pointers.  Remove GKM FIXME comments.
25757         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25758         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25759         <bp-asm.h>.
25760         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25761         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
25762         Remove GKM FIXME comments.
25763         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25764         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25765         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25766         <bp-asm.h>.
25767         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25768         about bounded pointers.  Remove GKM FIXME comment.
25769         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25770         and <bp-asm.h>.
25771         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25772         pointers.
25773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25774         <bp-sym.h> and <bp-asm.h>.
25775         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25777         <bp-sym.h> and <bp-asm.h>.
25778         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25779         comment.
25781 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25783         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25784         call free(NULL).
25786 2013-03-05  David S. Miller  <davem@davemloft.net>
25788         * po/es.po: Update from translation team.
25790 2013-03-05  Andreas Jaeger  <aj@suse.de>
25792         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25793         <bits/mman-linux.h>.
25794         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25795         is fine.
25796         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25797         <bits/mman-linux.h> to end of file.
25798         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25799         is fine.
25800         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25801         <bits/mman-linux.h> to end of file.
25802         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25803         is fine.
25804         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25805         <bits/mman-linux.h> to end of file.
25807         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25808         (MCL_CURRENT, MCL_FUTURE): Define here.
25810 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25812         [BZ #15232]
25813         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25814         attribute_hidden.
25815         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25817 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25819         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25820         fourth parameter needed for rt_sigprocmask syscall.
25821         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25822         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25823         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25824         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25825         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25826         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25828 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
25830         [BZ #13550]
25831         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25832         comment about bounded pointers.
25833         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25834         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25836 2013-03-04  Andreas Jaeger  <aj@suse.de>
25838         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25839         common definitions.
25841         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25842         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25843         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25844         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25845         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25846         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25848 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25850         [BZ #15055]
25851         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25852         __ieee754_sqrl instead of __sqrl.
25854 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
25856         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25857         * sysdeps/powerpc/fpu_control.h: ... here.
25858         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25859         * sysdeps/powerpc/bits/fenvinline.h: ... here.
25860         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25861         * sysdeps/powerpc/bits/mathinline.h: ... here.
25863 2013-03-01  Roland McGrath  <roland@hack.frob.com>
25865         * elf/dl-hwcaps.c (_dl_important_hwcaps):
25866         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25867         to just [NEED_DL_SYSINFO_DSO].
25868         * elf/dl-support.c: Likewise.
25869         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25870         * elf/rtld.c (dl_main): Likewise.
25871         * elf/setup-vdso.h (setup_vdso): Likewise.
25872         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25873         * sysdeps/unix/sysv/linux/dl-sysdep.c
25874         (_dl_discover_osversion): Likewise.
25876 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
25878         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25879         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25881 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25883         * NEWS: Mention libm performance improvements and non-x86 PI
25884         futex support.
25886         * csu/libc-start.c (__pthread_initialize_minimal): Change
25887         function arguments.
25888         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25890 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
25892         [BZ #13550]
25893         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25894         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25895         <bp-sym.h> and <bp-asm.h>.
25896         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25897         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25898         and <bp-asm.h>.
25899         (memcpy): Don't use BP_SYM.
25900         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25901         <bp-asm.h>.
25902         (__mpn_add_n): Don't use BP_SYM.
25903         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25904         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25905         and <bp-asm.h>.
25906         (__mpn_addmul_1): Don't use BP_SYM.
25907         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25908         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25909         <bp-sym.h>.
25910         (_setjmp): Don't use BP_SYM.
25911         (__novmx_setjmp): Likewise.
25912         (__GI__setjmp): Likewise.
25913         (__vmx_setjmp): Likewise.
25914         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25915         <bp-sym.h>.
25916         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25917         (__bzero): Don't use BP_SYM.
25918         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25919         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25920         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25921         <bp-sym.h> and <bp-asm.h>.
25922         (memcpy): Don't use BP_SYM.
25923         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25924         <bp-sym.h> and <bp-asm.h>.
25925         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25926         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25927         <bp-sym.h> and <bp-asm.h>.
25928         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25929         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25930         <bp-asm.h>.
25931         (__mpn_lshift): Don't use BP_SYM.
25932         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25933         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25934         <bp-asm.h>.
25935         (memset): Don't use BP_SYM.
25936         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25937         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25938         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25939         <bp-asm.h>.
25940         (__mpn_mul_1): Don't use BP_SYM.
25941         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25942         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25943         <bp-sym.h> and <bp-asm.h>.
25944         (memcmp): Don't use BP_SYM.
25945         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25946         <bp-sym.h> and <bp-asm.h>.
25947         (memcpy): Don't use BP_SYM.
25948         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25949         <bp-sym.h> and <bp-asm.h>.
25950         (memset): Don't use BP_SYM.
25951         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25952         <bp-sym.h> and <bp-asm.h>.
25953         (strncmp): Don't use BP_SYM.
25954         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25955         <bp-sym.h> and <bp-asm.h>.
25956         (memcpy): Don't use BP_SYM.
25957         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25958         <bp-sym.h> and <bp-asm.h>.
25959         (memset): Don't use BP_SYM.
25960         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25961         <bp-sym.h> and <bp-asm.h>.
25962         (__memchr): Don't use BP_SYM.
25963         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25964         <bp-sym.h> and <bp-asm.h>.
25965         (memcmp): Don't use BP_SYM.
25966         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25967         <bp-sym.h> and <bp-asm.h>.
25968         (memcpy): Don't use BP_SYM.
25969         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25970         <bp-sym.h> and <bp-asm.h>.
25971         (__mempcpy): Don't use BP_SYM.
25972         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25973         <bp-sym.h> and <bp-asm.h>.
25974         (__memrchr): Don't use BP_SYM.
25975         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25976         <bp-sym.h> and <bp-asm.h>.
25977         (memset): Don't use BP_SYM.
25978         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25979         <bp-sym.h> and <bp-asm.h>.
25980         (__rawmemchr): Don't use BP_SYM.
25981         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25982         <bp-sym.h> and <bp-asm.h>.
25983         (__STRCMP): Don't use BP_SYM.
25984         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25985         <bp-sym.h> and <bp-asm.h>.
25986         (strchr): Don't use BP_SYM.
25987         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25988         <bp-sym.h> and <bp-asm.h>.
25989         (__strchrnul): Don't use BP_SYM.
25990         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25991         <bp-sym.h> and <bp-asm.h>.
25992         (strlen): Don't use BP_SYM.
25993         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25994         <bp-sym.h> and <bp-asm.h>.
25995         (strncmp): Don't use BP_SYM.
25996         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25997         <bp-sym.h> and <bp-asm.h>.
25998         (__strnlen): Don't use BP_SYM.
25999         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26000         <bp-asm.h>.
26001         (__mpn_rshift): Don't use BP_SYM.
26002         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26003         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26004         <bp-sym.h> and <bp-asm.h>.
26005         (__sigsetjmp): Don't use BP_SYM.
26006         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26007         (L(start_addresses)): Don't use BP_SYM.
26008         (_start): Likewise.
26009         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26010         <bp-asm.h>.
26011         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26012         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26013         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26014         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26015         <bp-asm.h>.
26016         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26017         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26018         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26019         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26020         <bp-asm.h>.
26021         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26022         comments.
26023         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26024         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26025         <bp-asm.h>.
26026         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
26027         FIXME comments.
26028         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26029         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26030         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26031         <bp-asm.h>.
26032         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26033         comment.
26034         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26035         and <bp-asm.h>.
26036         (strncmp): Don't use BP_SYM,
26037         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26038         <bp-asm.h>.
26039         (__mpn_sub_n): Don't use BP_SYM.
26040         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26041         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26042         and <bp-asm.h>.
26043         (__mpn_submul_1): Don't use BP_SYM.
26044         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26046         <bp-sym.h> and <bp-asm.h>.
26047         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26049         <bp-sym.h> and <bp-asm.h>.
26050         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26051         comment.
26053 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26056         Use ZK to minimize writes to Z.
26057         (sub_magnitudes): Simplify code a bit.
26058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26059         Use ZK to minimize writes to Z.
26060         (sub_magnitudes): Simplify code a bit.
26062 2013-02-27  Roland McGrath  <roland@hack.frob.com>
26064         * csu/gmon-start.c: Add special exception to license text.
26066 2013-02-27  Richard Henderson  <rth@redhat.com>
26068         * scripts/config.guess: Update from config.git.
26069         * scripts/config.sub: Likewise.
26071 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26073         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26075         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26077         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26079         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26081         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26083 2013-02-26  Roland McGrath  <roland@hack.frob.com>
26085         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26086         [$(build-shared = yes].
26088 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26090         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26091         (__mul): Reduce iterations for calculating mantissa.
26093         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26094         MPTWO.
26095         (__mpranred): Likewise.
26097         [BZ #15160]
26098         * malloc/memusagestat.c (main): Draw graphs for heap and stack
26099         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26101 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
26103         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26104         Define __attribute__.
26106 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26108         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26109         unused.
26110         * posix/regex_internal.h (__attribute): Remove.
26111         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26112         (re_string_context_at): Likewise.
26113         (bitset_not): Use __attribute__ and mark function as possibly
26114         unused.
26115         (bitset_merge): Likewise.
26116         (bitset_mask): Likewise.
26117         (re_string_char_size_at): Likewise.
26118         (re_string_wchar_at): Likewise.
26119         (re_string_elem_size_at): Likewise.
26121 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26123         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26124         code.
26125         (cc32): Likewise.
26127         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26128         (__acr): Likewise.
26129         (__cpy): Likewise.
26130         (norm): Likewise.
26131         (denorm): Likewise.
26132         (__dbl_mp): Likewise.
26133         (add_magnitudes): Likewise.
26134         (sub_magnitudes): Likewise.
26135         (__mul): Likewise.
26136         (__inv): Likewise.
26138         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26139         style.
26141         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26142         style.
26144         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26145         code.
26147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26148         up changes with default code.
26149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26150         Likewise.
26152 2013-02-24  Allan McRae  <allan@archlinux.org>
26154         * manual/socket.texi (The Internet Namespace): Order menu items
26155         to match that in the file.
26157         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26158         node listing of the info page menu.
26160 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
26162         [BZ #13550]
26163         * sysdeps/i386/bp-asm.h: Remove file.
26164         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26165         (PARMS): Do not use macros from bp-asm.h.
26166         (S1): Likewise.
26167         (S2): Likewise.
26168         (SIZE): Likewise.
26169         (__mpn_add_n): Do not use BP_SYM
26170         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26171         "bp-asm.h".
26172         (PARMS): Do not use macros from bp-asm.h.
26173         (S1): Likewise.
26174         (SIZE): Likewise.
26175         (__mpn_addmul_1): Do not use BP_SYM
26176         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26177         "bp-asm.h".
26178         (PARMS): Do not use macros from bp-asm.h.
26179         (SIGMSK): Likewise.
26180         (_setjmp): Likewise.  Do not use BP_SYM.
26181         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26182         "bp-asm.h".
26183         (PARMS): Do not use macros from bp-asm.h.
26184         (SIGMSK): Likewise.
26185         (setjmp): Likewise.  Do not use BP_SYM.
26186         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26187         "bp-asm.h".
26188         (PARMS): Do not use macros from bp-asm.h.
26189         (__frexp): Do not use BP_SYM.
26190         (frexp): Likewise.
26191         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26192         "bp-asm.h".
26193         (PARMS): Do not use macros from bp-asm.h.
26194         (__frexpf): Do not use BP_SYM.
26195         (frexpf): Likewise.
26196         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26197         "bp-asm.h".
26198         (PARMS): Do not use macros from bp-asm.h.
26199         (__frexpl): Do not use BP_SYM.
26200         (frexpl): Likewise.
26201         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26202         "bp-asm.h".
26203         (PARMS): Do not use macros from bp-asm.h.
26204         (__remquo): Do not use BP_SYM.
26205         (remquo): Likewise.
26206         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26207         "bp-asm.h".
26208         (PARMS): Do not use macros from bp-asm.h.
26209         (__remquof): Do not use BP_SYM.
26210         (remquof): Likewise.
26211         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26212         "bp-asm.h".
26213         (PARMS): Do not use macros from bp-asm.h.
26214         (__remquol): Do not use BP_SYM.
26215         (remquol): Likewise.
26216         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26217         "bp-asm.h".
26218         (PARMS): Do not use macros from bp-asm.h.
26219         (DEST): Likewise.
26220         (SRC): Likewise.
26221         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
26222         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26223         "bp-asm.h".
26224         (PARMS): Do not use macros from bp-asm.h.
26225         (strlen): Do not use BP_SYM.
26226         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26227         "bp-asm.h".
26228         (PARMS): Do not use macros from bp-asm.h.
26229         (S1): Likewise.
26230         (S2): Likewise.
26231         (SIZE): Likewise.
26232         (__mpn_add_n): Do not use BP_SYM.
26233         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26234         "bp-asm.h".
26235         (PARMS): Do not use macros from bp-asm.h.
26236         (S1): Likewise.
26237         (SIZE): Likewise.
26238         (__mpn_addmul_1): Do not use BP_SYM.
26239         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26240         weak_alias.
26241         (bzero): Likewise.
26242         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26243         "bp-asm.h".
26244         (PARMS): Do not use macros from bp-asm.h.
26245         (S): Likewise.
26246         (SIZE): Likewise.
26247         (__mpn_lshift): Do not use BP_SYM.
26248         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26249         "bp-asm.h".
26250         (PARMS): Do not use macros from bp-asm.h.
26251         (DEST): Likewise.
26252         (SRC): Likewise.
26253         (LEN): Likewise.
26254         (memcpy): Likewise.  Do not use BP_SYM.
26255         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26256         libc_hidden_def and weak_alias.
26257         (mempcpy): Do not use BP_SYM in weak_alias.
26258         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26259         "bp-asm.h".
26260         (PARMS): Do not use macros from bp-asm.h.
26261         (DEST): Likewise.
26262         (LEN): Likewise.
26263         [!BZERO_P] (CHR): Likewise.
26264         (memset): Likewise.  Do not use BP_SYM.
26265         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26266         "bp-asm.h".
26267         (PARMS): Do not use macros from bp-asm.h.
26268         (S1): Likewise.
26269         (SIZE): Likewise.
26270         (__mpn_mul_1): Do not use BP_SYM.
26271         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26272         "bp-asm.h".
26273         (PARMS): Do not use macros from bp-asm.h.
26274         (S): Likewise.
26275         (SIZE): Likewise.
26276         (__mpn_rshift): Do not use BP_SYM.
26277         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26278         "bp-asm.h".
26279         (PARMS): Do not use macros from bp-asm.h.
26280         (STR): Likewise.
26281         (CHR): Likewise.
26282         (strchr): Likewise.  Do not use BP_SYM.
26283         (index): Do not use BP_SYM in weak_alias.
26284         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26285         "bp-asm.h".
26286         (PARMS): Do not use macros from bp-asm.h.
26287         (DEST): Likewise.
26288         (SRC): Likewise.
26289         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
26290         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26291         "bp-asm.h".
26292         (PARMS): Do not use macros from bp-asm.h.
26293         (strlen): Do not use BP_SYM.
26294         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26295         "bp-asm.h".
26296         (PARMS): Do not use macros from bp-asm.h.
26297         (S1): Likewise.
26298         (S2): Likewise.
26299         (SIZE): Likewise.
26300         (__mpn_sub_n): Do not use BP_SYM.
26301         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26302         "bp-asm.h".
26303         (PARMS): Do not use macros from bp-asm.h.
26304         (S1): Likewise.
26305         (SIZE): Likewise.
26306         (__mpn_submul_1): Do not use BP_SYM.
26307         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26308         "bp-asm.h".
26309         (PARMS): Do not use macros from bp-asm.h.
26310         (S1): Likewise.
26311         (S2): Likewise.
26312         (SIZE): Likewise.
26313         (__mpn_add_n): Do not use BP_SYM.
26314         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26315         weak_alias.
26316         (bzero): Likewise.
26317         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26318         "bp-asm.h".
26319         (PARMS): Do not use macros from bp-asm.h.
26320         (BLK2): Likewise.
26321         (LEN): Likewise.
26322         (memcmp): Do not use BP_SYM.
26323         (bcmp): Do not use BP_SYM in weak_alias.
26324         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26325         "bp-asm.h".
26326         (PARMS): Do not use macros from bp-asm.h.
26327         (DEST): Likewise.
26328         (SRC): Likewise.
26329         (LEN): Likewise.
26330         (memcpy): Likewise.  Do not use BP_SYM.
26331         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26332         "bp-asm.h".
26333         (PARMS): Do not use macros from bp-asm.h.
26334         (DEST): Likewise.
26335         (SRC): Likewise.
26336         (LEN): Likewise.
26337         (memmove): Likewise.  Do not use BP_SYM.
26338         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26339         "bp-asm.h".
26340         (PARMS): Do not use macros from bp-asm.h.
26341         (DEST): Likewise.
26342         (SRC): Likewise.
26343         (LEN): Likewise.
26344         (__mempcpy): Likewise.  Do not use BP_SYM.
26345         (mempcpy): Do not use BP_SYM in weak_alias.
26346         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26347         "bp-asm.h".
26348         (PARMS): Do not use macros from bp-asm.h.
26349         (DEST): Likewise.
26350         (LEN): Likewise.
26351         [!BZERO_P] (CHR): Likewise.
26352         (memset): Likewise.  Do not use BP_SYM.
26353         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26354         "bp-asm.h".
26355         (PARMS): Do not use macros from bp-asm.h.
26356         (STR2): Likewise.
26357         (strcmp): Do not use BP_SYM.
26358         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26359         "bp-asm.h".
26360         (PARMS): Do not use macros from bp-asm.h.
26361         (STR): Likewise.
26362         (DELIM): Likewise.
26363         [USE_AS_STRTOK_R] (SAVE): Likewise.
26364         (FUNCTION): Likewise.  Do not use BP_SYM.
26365         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26366         aliases.
26367         (strtok_r): Likewise.
26368         (__GI___strtok_r): Likewise.
26369         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26370         (PARMS): Do not use macros from bp-asm.h.
26371         (S): Likewise.
26372         (SIZE): Likewise.
26373         (__mpn_lshift): Do not use BP_SYM.
26374         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26375         (PARMS): Do not use macros from bp-asm.h.
26376         (STR): Likewise.
26377         (CHR): Likewise.
26378         (__memchr): Do not use BP_SYM.
26379         (memchr): Do not use BP_SYM in weak_alias.
26380         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26381         (PARMS): Do not use macros from bp-asm.h.
26382         (BLK2): Likewise.
26383         (LEN): Likewise.
26384         (memcmp): Do not use BP_SYM.
26385         (bcmp): Do not use BP_SYM in weak_alias.
26386         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26387         (PARMS): Do not use macros from bp-asm.h.
26388         (S1): Likewise.
26389         (SIZE): Likewise.
26390         (__mpn_mul_1): Do not use BP_SYM.
26391         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26392         "bp-asm.h".
26393         (PARMS): Do not use macros from bp-asm.h.
26394         (STR): Likewise.
26395         (CHR): Likewise.
26396         (__rawmemchr): Do not use BP_SYM.
26397         (rawmemchr): Do not use BP_SYM in weak_alias.
26398         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26399         (PARMS): Do not use macros from bp-asm.h.
26400         (S): Likewise.
26401         (SIZE): Likewise.
26402         (__mpn_rshift): Do not use BP_SYM.
26403         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26404         (PARMS): Do not use macros from bp-asm.h.
26405         (SIGMSK): Likewise.
26406         (__sigsetjmp): Likewise.  Do not use BP_SYM.
26407         * sysdeps/i386/start.S: Do not include "bp-sym.h".
26408         (_start): Do not use BP_SYM.
26409         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26410         (PARMS): Do not use macros from bp-asm.h.
26411         (DEST): Likewise.
26412         (SRC): Likewise.
26413         (__stpcpy): Likewise.  Do not use BP_SYM.
26414         (stpcpy): Do not use BP_SYM in weak_alias.
26415         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26416         "bp-asm.h".
26417         (PARMS): Do not use macros from bp-asm.h.
26418         (DEST): Likewise.
26419         (SRC): Likewise.
26420         (LEN): Likewise.
26421         (__stpncpy): Likewise.  Do not use BP_SYM.
26422         (stpncpy): Do not use BP_SYM in weak_alias.
26423         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26424         (PARMS): Do not use macros from bp-asm.h.
26425         (STR): Likewise.
26426         (CHR): Likewise.
26427         (strchr): Likewise.  Do not use BP_SYM.
26428         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26429         "bp-asm.h".
26430         (PARMS): Do not use macros from bp-asm.h.
26431         (STR): Likewise.
26432         (CHR): Likewise.
26433         (__strchrnul): Likewise.  Do not use BP_SYM.
26434         (strchrnul): Do not use BP_SYM in weak_alias.
26435         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26436         "bp-asm.h".
26437         (PARMS): Do not use macros from bp-asm.h.
26438         (STOP): Likewise.
26439         (strcspn): Do not use BP_SYM.
26440         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26441         "bp-asm.h".
26442         (PARMS): Do not use macros from bp-asm.h.
26443         (STR): Likewise.
26444         (STOP): Likewise.
26445         (strpbrk): Likewise.  Do not use BP_SYM.
26446         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26447         "bp-asm.h".
26448         (PARMS): Do not use macros from bp-asm.h.
26449         (STR): Likewise.
26450         (CHR): Likewise.
26451         (strrchr): Likewise.  Do not use BP_SYM.
26452         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26453         (PARMS): Do not use macros from bp-asm.h.
26454         (SKIP): Likewise.
26455         (strspn): Do not use BP_SYM.
26456         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26457         (PARMS): Do not use macros from bp-asm.h.
26458         (STR): Likewise.
26459         (DELIM): Likewise.
26460         (SAVE): Likewise.
26461         (FUNCTION): Likewise.  Do not use BP_SYM.
26462         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26463         aliases.
26464         (strtok_r): Likewise.
26465         (__GI___strtok_r): Likewise.
26466         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26467         (PARMS): Do not use macros from bp-asm.h.
26468         (S1): Likewise.
26469         (S2): Likewise.
26470         (SIZE): Likewise.
26471         (__mpn_sub_n): Do not use BP_SYM.
26472         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26473         "bp-asm.h".
26474         (PARMS): Do not use macros from bp-asm.h.
26475         (S1): Likewise.
26476         (SIZE): Likewise.
26477         (__mpn_submul_1): Do not use BP_SYM.
26478         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26479         <bp-sym.h>.
26480         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26481         and <bp-asm.h>.
26482         (PARMS): Do not use macros from bp-asm.h.
26483         (FLAGS): Likewise.
26484         (PTID): Likewise.
26485         (TLS): Likewise.
26486         (CTID): Likewise.
26487         (__clone): Do not use BP_SYM.
26488         (clone): Do not use BP_SYM in weak_alias.
26489         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26490         and <bp-asm.h>.
26491         (PARMS): Do not use macros from bp-asm.h.
26492         (LEN): Likewise.
26493         (__mmap64): Do not use BP_SYM.
26494         (mmap64): Do not use BP_SYM in weak_alias.
26495         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26496         <bp-sym.h> and <bp-asm.h>.
26497         (PARMS): Do not use macros from bp-asm.h.
26498         (__posix_fadvise64_l64): Do not use BP_SYM.
26499         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26500         (PARMS): Do not use macros from bp-asm.h.
26501         (NSOPS): Likewise.
26502         (semtimedop): Do not use BP_SYM.
26503         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26504         and <bp-asm.h>.
26506 2013-02-21  Allan McRae  <allan@archlinux.org>
26508         * manual/message.texi (Charset conversion in gettext):
26509         Move @end statement to beginning of line.
26511 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26514         static.
26515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26516         Likewise.
26518         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26519         (denorm): Likewise.
26520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26523 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26525         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26526         tail-call to the resolved function if pltexit isn't needed.
26528 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26530         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26531         or Y being zero as being unlikely.
26532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26533         Likewise.
26535 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26537         * manual/nss.texi (System Databases and Name Service Switch):
26538         Remove frobnicate @pxref.
26540 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26542         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26543         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26545 2013-02-20  Petr Machata  <pmachata@redhat.com>
26547         * elf/elf.h (R_ARM_TARGET1): New macro.
26548         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26549         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26550         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26551         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26552         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26553         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26554         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26555         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26556         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26557         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26558         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26559         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26560         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26561         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26562         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26563         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26564         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26565         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26566         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26567         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26568         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26569         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26570         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26571         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26572         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26573         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26574         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26575         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26576         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26577         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26578         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26579         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26580         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26581         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26582         (R_ARM_THM_GOT_BREL12): Likewise.
26583         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26584         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26585         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26586         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26587         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26588         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26589         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26590         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26591         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26593 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26595         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26596         __attribute_used__ to __attribute__ ((unused)).
26598 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26600         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26601         powerpc mpa.c.
26602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26603         comment formatting.
26604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26606 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26608         [BZ #13550]
26609         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26610         Remove macro.
26611         (ENTER): Remove both macro definitions.
26612         (LEAVE): Likewise.
26613         (CHECK_BOUNDS_LOW): Likewise.
26614         (CHECK_BOUNDS_HIGH): Likewise.
26615         (CHECK_BOUNDS_BOTH): Likewise.
26616         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26617         (RETURN_BOUNDED_POINTER): Likewise.
26618         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26619         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26620         (POP_ERRNO_LOCATION_RETURN): Likewise.
26621         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26622         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26623         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26624         macros.
26625         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26626         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26627         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26628         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26629         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26630         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26631         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26632         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26633         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26634         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26635         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26636         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26637         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26638         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26639         removed macros.
26640         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26641         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26642         macros.
26643         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26644         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26645         * sysdeps/i386/i586/memset.S (memset): Likewise.
26646         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26647         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26648         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26649         macros.
26650         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26651         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26652         Change uses of L(2) to L(out).
26653         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26654         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26655         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26656         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26657         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26658         removed macros.
26659         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26660         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26661         macros.
26662         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26663         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26664         (RETURN): Do not use macro LEAVE.
26665         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26666         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26667         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26668         * sysdeps/i386/i686/memset.S (memset): Likewise.
26669         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26670         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26671         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26672         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26673         Likewise.
26674         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26675         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
26676         L(1_2) and L(1_3) into L(1).
26677         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26678         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26679         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26680         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26681         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26682         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26683         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26684         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26685         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26686         macros.
26687         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26688         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26689         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26690         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26691         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26692         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26693         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26694         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26695         * sysdeps/i386/strcspn.S (strcspn): Likewise.
26696         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26697         * sysdeps/i386/strrchr.S (strrchr): Likewise.
26698         * sysdeps/i386/strspn.S (strspn): Likewise.
26699         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26700         conditional code.
26701         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26702         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26703         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26704         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
26705         L(1_3) into L(1_1).
26706         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26707         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26708         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26709         macros.
26710         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26712 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
26714         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26715         macro.
26717 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26719         * math/atest-exp.c (exp_mpn): Remove ROUND.
26720         * math/atest-exp2.c (exp_mpn): Likewise.
26721         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26723         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26724         * stdlib/tst-tls-atexit-lib.c: Likewise.
26725         * stdlib/tst-tls-atexit.c: Likewise.
26727 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26729         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26730         and __attribute_alloc_size__.
26732 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26734         * include/programs/xmalloc.h: Change __attribute_alloc_size to
26735         __attribute_alloc_size__.
26736         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26737         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26739 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26741         * include/programs/xmalloc.h: New file.
26742         * catgets/gencat.c: Include it.
26743         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26744         * elf/pldd.c: Likewise.
26745         * iconv/iconv_charmap.c: Likewise.
26746         * iconv/iconvconfig.c: Likewise.
26747         * iconv/strtab.c: Likewise.
26748         * locale/programs/locale.c: Likewise.
26749         * locale/programs/localedef.h: Likewise.
26750         * locale/programs/simple-hash.c: Likewise.
26751         * nscd/nscd.h: Likewise.
26752         * nss/makedb.c: Likewise.
26753         * sysdeps/generic/ldconfig.h: Likewise.
26755 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26757         * Versions.def: Add GLIBC_2.18.
26758         * include/link.h (struct link_map): New member l_tls_dtor_count.
26759         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26760         (__call_tls_dtors): Likewise.
26761         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26762         __cxa_thread_atexit_impl.
26763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26764         Likewise.
26765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26766         Likewise.
26767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26768         Likewise.
26769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26770         Likewise.
26771         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26773         Likewise.
26774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26775         Likewise.
26776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26778         Likewise.
26779         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26780         (tests): Add test case tst-tls-atexit.
26781         (modules-names): Add shared library for tst-tls-atexit.
26782         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26783         (GLIBC_PRIVATE): Add __call_tls_dtors.
26784         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26785         for libstdc++.
26786         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26787         * stdlib/tst-tls-atexit.c: New test case.
26788         * stdlib/tst-tls-atexit-lib.c: New test case.
26790         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26792         * elf/Versions (ld): Add _dl_find_dso_for_object.
26793         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26794         * elf/dl-open.c (_dl_find_dso_for_object): New function.
26795         (dl_open_worker): Use _dl_find_dso_for_object.
26796         * elf/dl-sym.c (do_sym): Likewise.
26797         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26799 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26801         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26802         Syntactic changes only.
26803         (_dl_runtime_profile): Do a tail-call to the resolved function.
26805 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
26807         [BZ #13550]
26808         * sysdeps/x86_64/bp-asm.h: Remove file.
26809         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26810         <bp-sym.h> and <bp-asm.h>.
26811         (__clone): Do not use BP_SYM.
26812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26813         <bp-sym.h> and <bp-asm.h>.
26814         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26815         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26816         "bp-asm.h".
26817         (_setjmp): Do not use BP_SYM.
26818         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26819         "bp-asm.h".
26820         (setjmp): Do not use BP_SYM.
26821         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26822         libc_hidden_def.
26823         (mempcpy): Do not use BP_SYM in weak_alias.
26824         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26825         "bp-asm.h".
26826         (strchr): Do not use BP_SYM.
26827         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26828         "bp-asm.h".
26829         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26830         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26831         (_start): Do not use BP_SYM.
26832         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26833         "bp-asm.h".
26834         (strcat): Do not use BP_SYM.
26835         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26836         "bp-asm.h".
26837         (STRCMP): Do not use BP_SYM.
26838         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26839         "bp-asm.h".
26840         (STRCPY): Do not use BP_SYM.
26841         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26842         "bp-asm.h".
26843         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26844         "bp-asm.h".
26845         (FUNCTION): Do not use BP_SYM.
26846         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26847         weak_alias.
26848         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26850 2013-02-17  Andreas Jaeger  <aj@suse.de>
26852         * time/Versions: Sort entries.
26853         * string/Versions: Likewise.
26854         * resolv/Versions: Likewise.
26855         * posix/Versions: Likewise.
26856         * iconv/Versions: Likewise.
26857         * elf/Versions: Likewise.
26858         * wcsmbs/Versions: Likewise.
26860 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26862         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26863         loop termination condition.
26865         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26866         variable to calculate EZ.
26867         (__sqr): Likewise.
26869         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26870         the lower precision input.
26872 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
26874         [BZ #13550]
26875         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26876         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26877         (run-via-rtld-prefix): Do not handle %-bp tests.
26878         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26879         (all-object-suffixes): Remove .ob.
26880         (bppfx): Remove variable.
26881         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26882         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26883         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26884         [$(build-bounded) = yes] (libtype.ob): Likewise.
26885         * Makerules (elide-routines.ob): Remove variable.
26886         (do-tests-clean): Do not handle *-bp.out.
26887         (common-mostlyclean): Do not handle *-bp and *-bp.out.
26888         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26889         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26890         (tests): Do not include $(tests-bp.out).
26891         (xtests): Do not include $(xtests-bp.out).
26892         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26893         [$(build-bounded) = yes] ($(addprefix
26894         $(objpfx),$(binaries-bounded))): Remove rule.
26895         ($(objpfx)%-bp.out): Remove rule.
26896         * config.make.in (build-bounded): Remove variable.
26897         * crypt/Makefile [$(build-bounded) = yes]
26898         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26899         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26900         append to variable.
26901         [$(build-bounded) = yes] (install-lib): Likewise.
26902         [$(build-bounded) = yes] (generated): Likewise.
26903         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26904         Remove rule.
26905         * intl/Makefile [$(build-bounded) = yes]
26906         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26907         * math/Makefile [$(build-bounded) = yes]
26908         ($(tests:%=$(objpfx)%-bp): Likewise.
26909         * misc/Makefile [$(build-bounded) = yes]
26910         ($(objpfx)tst-tsearch-bp): Likewise.
26911         * nptl/Makeconfig (bounded-thread-library): Remove variable.
26912         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26913         Remove dependency.
26914         * string/Makefile (o-objects.ob): Remove variable.
26915         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26916         (CFLAGS-.ob): Remove variable.
26917         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26918         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26919         both definitions of variable.
26920         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26921         (ASFLAGS-.ob): Remove variable.
26923 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
26925         [BZ #13550]
26926         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26927         Remove __BOUNDED_POINTERS__ from condition.
26928         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26929         * string/bits/string2.h [!__NO_STRING_INLINES &&
26930         !__BOUNDED_POINTERS__]: Likewise.
26931         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26932         Likewise.
26933         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26934         Remove conditional code.
26935         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26936         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26937         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26938         condition.
26940         [BZ #13550]
26941         * csu/libc-start.c: Do not include <bp-sym.h>.
26942         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26943         * elf/dl-open.c: Do not include <bp-sym.h>.
26944         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26945         * math/fegetenv.c: Do not include <bp-sym.h>.
26946         (fegetenv): Do not use BP_SYM in versioned symbols.
26947         * nptl/sysdeps/pthread/bits/libc-lockP.h
26948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26949         <bp-sym.h>.
26950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26951         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26953         (__pthread_mutex_destroy): Likewise.
26954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26955         (__pthread_mutex_lock): Likewise.
26956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26957         (__pthread_mutex_trylock): Likewise.
26958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26959         (__pthread_mutex_unlock): Likewise.
26960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26961         (__pthread_mutexattr_init): Likewise.
26962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26963         (__pthread_mutexattr_destroy): Likewise.
26964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26965         (__pthread_mutexattr_settype): Likewise.
26966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26967         (__pthread_rwlock_init): Likewise.
26968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26969         (__pthread_rwlock_destroy): Likewise.
26970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26971         (__pthread_rwlock_rdlock): Likewise.
26972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26973         (__pthread_rwlock_tryrdlock): Likewise.
26974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26975         (__pthread_rwlock_wrlock): Likewise.
26976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26977         (__pthread_rwlock_trywrlock): Likewise.
26978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26979         (__pthread_rwlock_unlock): Likewise.
26980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26981         (__pthread_key_create): Likewise.
26982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26983         (__pthread_setspecific): Likewise.
26984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26985         (__pthread_getspecific): Likewise.
26986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26987         Likewise.
26988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26989         (_pthread_cleanup_push_defer): Likewise.
26990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26991         (_pthread_cleanup_pop_restore): Likewise.
26992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26993         (pthread_setcancelstate): Likewise.
26994         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26995         <bp-sym.h>.
26996         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26997         (memchr): Do not use BP_SYM in weak_alias.
26998         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26999         (fegetenv): Do not use BP_SYM in versioned symbols.
27000         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27001         (fesetenv): Do not use BP_SYM in versioned symbols.
27002         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27003         (feupdateenv): Do not use BP_SYM in versioned symbols.
27004         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27005         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27006         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27007         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27008         (open64): Do not use BP_SYM in weak_alias.
27009         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27010         (fegetenv): Do not use BP_SYM in versioned symbols.
27011         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27012         (fesetenv): Do not use BP_SYM in versioned symbols.
27013         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27014         (feupdateenv): Do not use BP_SYM in versioned symbols.
27015         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27016         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27017         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27018         (feraiseexcept): Do not use BP_SYM in versioned symbols.
27019         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27020         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27021         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27022         <bp-sym.h>.
27023         (__libc_start_main): Do not use BP_SYM.
27025 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27028         redundant return line.
27029         (norm): Likewise.
27030         (denorm): Likewise.
27031         (dbl_mp): Likewise.
27032         (sub_magnitudes): Likewise.
27033         (__add): Likewise.
27034         (__sub): Likewise.
27035         (__mul): Likewise.
27036         (__inv): Likewise.
27037         (__dvd): Likewise.
27038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27039         (norm): Likewise.
27040         (denorm): Likewise.
27041         (dbl_mp): Likewise.
27042         (sub_magnitudes): Likewise.
27043         (__add): Likewise.
27044         (__sub): Likewise.
27045         (__mul): Likewise.
27046         (__inv): Likewise.
27047         (__dvd): Likewise.
27049         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27050         instead of __mul.
27051         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27052         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27053         (cc32): Likewise.
27055         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27056         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27057         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27058         of __mul for squares.
27059         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27060         function
27061         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27062         Likewise.
27063         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27064         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27066 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
27068         [BZ #13550]
27069         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27070         code.
27071         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27072         prototype or function definition.  Rename ubp_* variables and
27073         parameters.  Remove argv definitions conditional on
27074         [__BOUNDED_POINTERS__].
27075         * debug/backtrace.c (__backtrace): Do not use __unbounded.
27076         * elf/dl-runtime.c (_dl_fixup): Likewise.
27077         * include/set-hooks.h (RUN_HOOK): Likewise.
27078         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27079         definition.
27080         * string/strcpy.c (strcpy): Do not use __unbounded.
27081         * sysdeps/generic/frame.h (struct layout): Likewise.
27082         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27083         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27084         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27085         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27086         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27087         (__backtrace): Likewise.
27088         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27089         use __ptrvalue.
27090         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27091         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27092         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27093         Likewise.
27094         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27095         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27096         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27097         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27098         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27099         Do not use __unbounded.
27100         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27101         Rename __unboundedrlimits parameter to rlimits in prototype.
27102         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27103         Do not use __unbounded.
27104         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27105         not use __ptrvalue.
27106         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27107         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27108         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27109         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27110         __ptrvalue or __unbounded.
27111         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27112         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27113         use __unbounded.
27114         (__new_msgctl): Do not use __ptrvalue.
27115         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27116         __unbounded.
27117         (__libc_msgrcv): Do not use __ptrvalue.
27118         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27119         startup_info): Do not use __unbounded.
27120         (__libc_start_main): Likewise.  Rename ubp_* variables and
27121         parameters.  Remove argv definitions conditional on
27122         [__BOUNDED_POINTERS__].
27123         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27124         __ptrvalue.
27125         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27126         use __unbounded.
27127         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27128         or __ptrvalue.
27129         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27130         use __unbounded.
27131         (__new_shmctl): Do not use __ptrvalue.
27132         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27133         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27134         Likewise.
27135         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27136         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27137         (__libc_sigaction): Likewise.
27138         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27139         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27140         Likewise.
27141         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27143 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
27145         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27147         * string/mempcpy.c: Implement by calling memcpy.
27149 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27154         evaluation.
27156         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27157         values in the mantissa.
27159         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27160         minimize writes to Z.
27161         (sub_magnitudes): Simplify code a bit.
27163 2013-02-12  Roland McGrath  <roland@hack.frob.com>
27165         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27166         from the message.  The linker prefixes all warnings with that already.
27168 2013-02-12  Andreas Schwab  <schwab@suse.de>
27170         [BZ #15078]
27171         * posix/regexec.c (extend_buffers): Add parameter min_len.
27172         (check_matching): Pass minimum needed length.
27173         (clean_state_log_if_needed): Likewise.
27174         (get_subexp): Likewise.
27175         * posix/Makefile (tests): Add bug-regex34.
27176         (bug-regex34-ENV): Define.
27177         * posix/bug-regex34.c: New file.
27179         [BZ #11561]
27180         * posix/regcomp.c (parse_bracket_exp): When looking up collating
27181         elements compare against the byte sequence of it, not its name.
27182         * posix/Makefile (tests): Add bug-regex35.
27183         (bug-regex35-ENV): Define.
27184         * posix/bug-regex35.c: New file.
27186 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27188         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
27189         comment.
27190         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27191         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27192         (CHECK_EOL): Add undef.
27194 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
27196         * bits/stdlib-bsearch.h: New file.
27197         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27198         * stdlib/stdlib.h: Likewise.
27200 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27202         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27203         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27204         declaration.
27205         * manual/search.texi (Array Search Function): Add missing const in
27206         lfind prototype.
27207         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27208         declaration to use rlim_t.
27209         (Basic Scheduling Functions): Remove erroneous const from
27210         sched_getparam prototype.  Remove erroneous * from
27211         sched_get_priority_max and sched_get_priority_min prototypes.
27212         (Resource Usage): Fix summary @comment on vtimes to refer to
27213         sys/vtimes.h rather than vtimes.h.
27214         Add missing *s in vtimes prototype.
27215         (Limits on Resources): Fix ulimit prototype to return long int.
27216         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27217         prototypes to use long int rather than double.
27218         (BSD Random): Fix initstate and setstate to use char *, not void *.
27219         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27220         prototype to make second argument 'struct aiocb64 *const[]'.
27221         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27222         (Status of AIO Operations): Remove erroneous const in aio_return and
27223         aio_return64 prototypes.
27224         (Synchronizing I/O): Fix sync prototype to return void.
27225         * manual/startup.texi (Suboptions): Remove an erroneous const in
27226         getsubopt prototype.
27227         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27228         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27229         use size_t rather than int.
27230         (Scanning All Users): Likewise for getpwent_r.
27231         (Setting Groups): Add missing const to setgroups prototype.
27232         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27233         * manual/socket.texi (Host Names): Fix gethostbyaddr and
27234         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27235         'const void *' rather than 'const char *'.
27236         (Host Address Functions): Likewise for inet_ntop.
27237         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27238         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27239         ssize_t for return value.
27240         (Sending Data): Likewise for send, sendto, sendmsg.
27241         (Socket Option Functions): Add a missing const in setsockopt prototype.
27242         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27243         use wchar_t for the argument.
27244         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27245         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27246         take no arguments.
27247         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27248         double/float/long double for second argument.
27249         Fix return types of significand, significandf, significandl.
27250         * manual/filesys.texi (Setting Permissions): Use mode_t for second
27251         argument in fchmod prototype.
27252         (File Owner): Use uid_t and gid_t in fchown prototype.
27253         (File Times): Add const to utimes, futimes, and lutimes prototypes.
27254         (Making Special Files): Use mode_t and dev_t in mknod prototype.
27255         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27256         use 'const struct dirent **' as argument types to CMP function pointer
27257         argument.
27258         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27259         (File Times): Fix summary magic @comment for struct utimbuf and utime
27260         to refer to utime.h, not time.h.
27261         * manual/string.texi (Argz Functions): Add missing const in
27262         argz_extract and argz_next prototypes.
27263         (Finding Tokens in a String): Likewise for basename.
27264         (String/Array Comparison): Fix typo in wcscasecmp prototype.
27265         (Copying and Concatenation): Fix typo in wmemmove prototype.
27266         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27267         (Signal Stack): Remove erroneous const in sigstack prototype.
27268         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27269         prototype.
27270         (Simple Calendar Time): Likewise for stime.
27271         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27272         prototype.
27273         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27274         say sys/sysctl.h instead.
27275         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27276         and vsyslog prototypes.
27278 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27280         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27281         Remove.
27283 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27285         * misc/sys/mman.h: Fix typo in mremap comment.
27287 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27289         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27290         the '\0' terminator.
27292 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27294         [BZ #13550]
27295         * debug/segfault.c: Don't include <bp-checks.h>.
27296         * sysdeps/generic/bp-checks.h: Remove file.
27297         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27298         (__GETDENTS): Don't use CHECK_N.
27299         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27300         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27301         (__getgroups): Don't use CHECK_N.
27302         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27303         (setgroups): Don't use CHECK_N.
27304         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27305         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27306         (__libc_msgrcv): Don't use CHECK_N.
27307         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27308         (__libc_msgsnd): Don't use CHECK_N.
27309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27310         <bp-checks.h>.
27311         (__libc_pread): Don't use CHECK_N.
27312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27313         include <bp-checks.h>.
27314         (__libc_pread64): Don't use CHECK_N.
27315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27316         include <bp-checks.h>.
27317         (__libc_pwrite): Don't use CHECK_N.
27318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27319         include <bp-checks.h>.
27320         (__libc_pwrite64): Don't use CHECK_N.
27321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27322         <bp-checks.h>.
27323         (__libc_pread): Don't use CHECK_N.
27324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27325         include <bp-checks.h>.
27326         (__libc_pread64): Don't use CHECK_N.
27327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27328         include <bp-checks.h>.
27329         (__libc_pwrite): Don't use CHECK_N.
27330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27331         include <bp-checks.h>.
27332         (__libc_pwrite64): Don't use CHECK_N.
27333         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27334         (do_pread): Don't use CHECK_N.
27335         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27336         (do_pread64): Don't use CHECK_N.
27337         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27338         (do_pwrite): Don't use CHECK_N.
27339         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27340         (do_pwrite64): Don't use CHECK_N.
27341         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27342         (__libc_readv): Don't use CHECK_N.
27343         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27344         (semop): Don't use CHECK_N.
27345         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27346         <bp-checks.h>.
27347         (semtimedop): Don't use CHECK_N.
27348         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27349         (__libc_pread): Don't use CHECK_N.
27350         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27351         <bp-checks.h>.
27352         (__libc_pread64): Don't use CHECK_N.
27353         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27354         <bp-checks.h>.
27355         (__libc_pwrite): Don't use CHECK_N.
27356         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27357         <bp-checks.h>.
27358         (__libc_pwrite64): Don't use CHECK_N.
27359         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27360         <bp-checks.h>.
27361         (__libc_msgrcv): Don't use CHECK_N.
27362         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27363         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
27364         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27365         (__libc_writev): Don't use CHECK_N.
27367 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27369         * string/strcpy.c: Removed unused variable.
27371         * Makeconfig (+sysdep-includes): Define with := rather than =.
27372         Use an existing include/ subdir of each sysdeps dir before it.
27374 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27376         * nscd/connection.c (register_traced_file): Comment function.
27377         [HAVE_INOTIFY] (union __inev): Define.
27378         [HAVE_INOTIFY] (inotify_check_files): New function.
27379         [HAVE_INOTIFY] (clear_db_cache): Likewise.
27380         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27381         clear_db_cache.
27382         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27384 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27386         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27387         loaded if not already and that a failure is permanent.
27389 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27391         [BZ #15006]
27392         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27393         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27395 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27397         [BZ #13550]
27398         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27399         (CHECK_1_NULL_OK): Likewise.
27400         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27401         (__fxstat): Do not use CHECK_1.
27402         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27403         <bp-checks.h>.
27404         (___fxstat64): Do not use CHECK_1.
27405         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27406         <bp-checks.h>.
27407         (__fxstatat): Do not use CHECK_1.
27408         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27409         <bp-checks.h>.
27410         (__fxstatat64): Do not use CHECK_1.
27411         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27412         <bp-checks.h>.
27413         (__fxstat): Do not use CHECK_1.
27414         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27415         <bp-checks.h>.
27416         (__fxstatat): Do not use CHECK_1.
27417         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27418         <bp-checks.h>.
27419         (__getresgid): Do not use CHECK_1.
27420         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27421         <bp-checks.h>.
27422         (__getresuid): Do not use CHECK_1.
27423         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27424         <bp-checks.h>.
27425         (__lxstat): Do not use CHECK_1.
27426         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27427         <bp-checks.h>.
27428         (__old_msgctl): Do not use CHECK_1.
27429         (__new_msgctl): Likewise.
27430         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27431         <bp-checks.h>.
27432         (__new_setrlimit): Do not use CHECK_1.
27433         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27434         <bp-checks.h>.
27435         (__old_shmctl): Do not use CHECK_1.
27436         (__new_shmctl): Likewise.
27437         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27438         <bp-checks.h>.
27439         (__xstat): Do not use CHECK_1.
27440         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27441         (__lxstat): Do not use CHECK_1.
27442         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27443         <bp-checks.h>.
27444         (___lxstat64): Do not use CHECK_1.
27445         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27446         (__old_msgctl): Do not use CHECK_1.
27447         (__new_msgctl): Likewise.
27448         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27449         <bp-checks.h>.
27450         (__gettimeofday): Do not use CHECK_1.
27451         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27452         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27453         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27454         <bp-checks.h>.
27455         (__gettimeofday): Do not use CHECK_1.
27456         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27457         (__old_shmctl): Do not use CHECK_1_NULL_OK.
27458         (__new_shmctl): Do not use CHECK_1.
27459         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27460         <bp-checks.h>.
27461         (do_sigtimedwait): Do not use CHECK_1.
27462         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27463         <bp-checks.h>.
27464         (do_sigwaitinfo): Do not use CHECK_1.
27465         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27466         <bp-checks.h>.
27467         (msgctl): Do not use CHECK_1.
27468         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27469         <bp-checks.h>.
27470         (shmctl): Do not use CHECK_1.
27471         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27472         (ustat): Do not use CHECK_1.
27473         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27474         <bp-checks.h>.
27475         (__fxstat): Do not use CHECK_1.
27476         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27477         <bp-checks.h>.
27478         (__fxstatat): Do not use CHECK_1.
27479         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27480         <bp-checks.h>.
27481         (__lxstat): Do not use CHECK_1.
27482         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27483         <bp-checks.h>.
27484         (__xstat): Do not use CHECK_1.
27485         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27486         (__xstat): Do not use CHECK_1.
27487         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27488         (___xstat64): Do not use CHECK_1.
27490         [BZ #13550]
27491         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27492         definitions.
27493         (CHECK_BOUNDS_HIGH): Likewise.
27494         * string/strcpy.c: Do not include <bp-checks.h>.
27495         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27497 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27499         * nscd/nscd-client.h (__nscd_drop_map_ref):
27500         Add __attribute__ ((unused)).
27501         * nis/nss-nisplus.h (niserr2nss): Likewise.
27503         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27504         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27506         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27507         Remove inline keyword.
27508         * include/rounding-mode.h (round_away): Likewise.
27509         * libio/wfileops.c (adjust_wide_data): Likewise.
27510         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27511         (__m128i_strloadu_tolower): Likewise.
27512         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27513         (__m128i_strloadu_tolower): Likewise.
27514         * time/mktime.c (ydhms_diff): Likewise.
27515         * locale/elem-hash.h (elem_hash): Likewise.
27516         * locale/setlocale.c (setdata): Likewise.
27517         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27518         (re_string_wchar_at): Likewise.
27519         (bitset_not, bitset_merge, bitset_mask): Likewise.
27520         [!(__GNUC__ > 3)] (inline): Remove macro.
27521         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27522         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27523         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27524         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27525         * string/memcmp.c (memcmp_bytes): Likewise.
27526         * locale/programs/locarchive.c (compute_hashval): Likewise.
27527         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27528         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27529         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27530         * nss/getent.c (print_rpc, print_protocols): Likewise.
27531         (print_passwd, print_group, print_aliases): Likewise.
27532         * nis/nss-nisplus.h (niserr2nss): Likewise.
27533         * nscd/connections.c (restart_p): Likewise.
27534         Change return type to bool.
27536 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27538         * Makeconfig (all-Depend-files): Add existing
27539         $(sorted-subdirs:=/Depend) files.
27540         (all-subdirs): Remove nss.
27541         * sysdeps/unix/inet/Subdirs: Add it here instead.
27542         * hesiod/Depend: New file.
27544         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27545         instead of calling alloca.
27547         * io/lseek.c (__lseek): Rename to __libc_lseek.
27548         Define __lseek as an alias.
27550         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27552 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27554         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27555         else clause and remove check for non-standard endianness.
27557 2013-02-04  David S. Miller  <davem@davemloft.net>
27559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27561 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27563         [BZ #13550]
27564         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27565         (__ubp_memchr): Remove prototype.
27566         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27567         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27568         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27569         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27570         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27571         Remove alias.
27572         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27573         (__ubp_memchr): Likewise.
27574         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27575         (__ubp_memchr): Likewise.
27576         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27577         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27578         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27579         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27580         CHECK_STRING.
27581         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27582         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27583         (__getcwd): Do not use CHECK_STRING.
27584         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27585         <bp-checks.h>.
27586         (__real_chown): Do not use CHECK_STRING.
27587         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27588         <bp-checks.h>.
27589         (fchownat): Do not use CHECK_STRING.
27590         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27591         CHECK_STRING.
27592         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27593         <bp-checks.h>.
27594         (__lchown): Do not use CHECK_STRING.
27595         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27596         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27597         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27598         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27600         include <bp-checks.h>.
27601         (truncate64): Do not use CHECK_STRING.
27602         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27603         <bp-checks.h>.
27604         (__real_chown): Do not use CHECK_STRING.
27605         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27606         <bp-checks.h>.
27607         (__lchown): Do not use CHECK_STRING.
27608         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27609         <bp-checks.h>.
27610         (__chown): Do not use CHECK_STRING.
27611         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27612         <bp-checks.h>.
27613         (truncate64): Do not use CHECK_STRING.
27614         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27615         Likewise.
27616         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27617         (__xmknod): Do not use CHECK_STRING.
27618         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27619         <bp-checks.h>.
27620         (__xmknodat): Do not use CHECK_STRING.
27621         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27622         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27624 2013-02-04  Andreas Schwab  <schwab@suse.de>
27626         [BZ #14142]
27627         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27628         * include/netdb.h: Likewise for h_errno.
27629         * elf/tst-stackguard1.c: Include <tls.h>.
27631 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27633         * elf/link.h (struct link_map): Extend the l_addr comment.
27634         * include/link.h (struct link_map): Likewise.
27636 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27638         [BZ #13550]
27639         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27640         (BOUNDED_1): Remove macro.
27641         * debug/backtrace.c: Don't include <bp-checks.h>.
27642         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27643         (__backtrace): Likewise.
27644         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27645         <bp-checks.h>.
27646         (__backtrace): Don't use BOUNDED_1.
27647         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27648         <bp-checks.h>.
27649         (__backtrace): Don't use BOUNDED_1.
27650         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27651         (__backtrace): Don't use BOUNDED_1.
27652         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27653         (shmat): Don't use BOUNDED_N.
27655 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27657         [BZ #13550]
27658         * sysdeps/generic/bp-start.h: Remove file.
27659         * csu/libc-start.c: Don't include <bp-start.h>.
27660         (LIBC_START_MAIN): Set up __environ directly instead of using
27661         INIT_ARGV_and_ENVIRON.
27662         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27663         <bp-start.h>.
27665         [BZ #13550]
27666         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27667         definitions.
27668         (CHECK_FCNTL): Likewise.
27669         (CHECK_N_PAGES): Likewise.
27671         [BZ #13550]
27672         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27673         definitions.
27674         (CHECK_SIGSET_NULL_OK): Likewise.
27675         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27676         <bp-checks.h>.
27677         (sigpending): Don't use CHECK_SIGSET.
27678         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27679         <bp-checks.h>.
27680         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27681         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27682         <bp-checks.h>.
27683         (do_sigsuspend): Don't use CHECK_SIGSET.
27684         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27685         use CHECK_SIGSET.
27686         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27687         (do_sigwait): Don't use CHECK_SIGSET.
27688         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27689         use CHECK_SIGSET.
27690         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27691         include <bp-checks.h>.
27692         (sigpending): Don't use CHECK_SIGSET.
27693         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27694         include <bp-checks.h>.
27695         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27696         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27697         <bp-checks.h>.
27698         (sigpending): Don't use CHECK_SIGSET.
27699         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27700         <bp-checks.h>.
27701         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27703         [BZ #13550]
27704         * sysdeps/generic/bp-semctl.h: Remove file.
27705         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27706         <bp-checks.h> and <bp-semctl.h>.
27707         (__old_semctl): Don't use CHECK_SEMCTL.
27708         (__new_semctl): Likewise.
27709         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27710         and <bp-semctl.h>.
27711         (__old_semctl): Don't use CHECK_SEMCTL.
27712         (__new_semctl): Likewise.
27713         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27714         <bp-checks.h> and <bp-semctl.h>.
27715         (__old_semctl): Don't use CHECK_SEMCTL.
27716         (__new_semctl): Likewise.
27717         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27718         <bp-checks.h> and <bp-semctl.h>.
27719         (semctl): Don't use CHECK_SEMCTL.
27721         [BZ #13550]
27722         * Makerules (elide-bp-thunks): Remove variable.
27723         (elide-routines.oS): Don't use $(elide-bp-thunks).
27724         (elide-routines.os): Likewise.
27725         (elide-routines.o): Likewise.
27726         (elide-routines.op): Likewise.
27727         (elide-routines.og): Likewise.
27728         (objects): Don't use $(bp-thunks).
27729         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27730         include.
27731         (common-generated): Do not add s-proto-bp.d.
27732         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27733         (int): Likewise.
27734         (typ): Likewise.
27735         Do not generate makefile rules for bounded-pointer thunks.
27736         * sysdeps/generic/bp-thunks.h: Remove file.
27737         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27738         * sysdeps/unix/s-proto-bp.S: Likewise.
27740         [BZ #15062]
27741         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27742         parts of result separately when argument is not close to line from
27743         -i to i and one part of argument is small.
27744         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27745         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27746         * math/libm-test.inc (cacos_test): Add more tests.
27747         (casin_test): Likewise.
27748         (casinh_test): Likewise.
27749         * sysdeps/i386/fpu/libm-test-ulps: Update.
27750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27752 2013-01-31  David S. Miller  <davem@davemloft.net>
27754         * po/de.po: Update from translation team.
27756 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
27758         * time/tzfile.c: Include stdint.h for SIZE_MAX.
27760 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
27762         * configure.in (_AC_PROG_CC_C89): New definition.
27763         * configure: Regenerate.
27765         * configure.in (AC_PROG_CPP): New definition.
27766         * configure: Regenerate.
27768 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27770         * debug/tst-backtrace.h: New file.
27771         * debug/tst-backtrace2.c: Include tst-backtrace.h.
27772         (ret): Remove variable.
27773         (x): Likewise.
27774         (FAIL): Remove macro.
27775         (NO_INLINE): Likewise.
27776         (fn1): Use match function instead of strstr.
27777         * debug/tst-backtrace3.c: Include tst-backtrace.h.
27778         (ret): Remove variable.
27779         (x): Likewise.
27780         (FAIL): Remove macro.
27781         (NO_INLINE): Likewise.
27782         (fn): Use match function instead of strstr.
27783         * debug/tst-backtrace4.c: Include tst-backtrace.h.
27784         (ret): Remove variable.
27785         (x): Likewise.
27786         (FAIL): Remove macro.
27787         (NO_INLINE): Likewise.
27788         (handle_signal): Use match function instead of strstr.
27789         * debug/tst-backtrace5.c: Include tst-backtrace.h.
27790         (ret): Remove variable.
27791         (x): Likewise.
27792         (FAIL): Remove macro.
27793         (NO_INLINE): Likewise.
27794         (handle_signal): Use match function instead of strstr.
27796 2013-01-23  Roland McGrath  <roland@hack.frob.com>
27798         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27800 2013-01-23  David S. Miller  <davem@davemloft.net>
27802         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27803         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27804         argument of CAS if possible.
27805         * sysdeps/sparc/sparc64/bits/atomic.h
27806         (__arch_compare_and_exchange_val_32_acq): Likewise.
27807         (__arch_compare_and_exchange_val_64_acq): Likewise.
27809 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
27811         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27812         * sysdeps/posix/ulimit.c: ... this.
27813         Include <limits.h>.
27814         * sysdeps/unix/bsd/ulimit.c: Remove file.
27816 2013-01-23  Adam Conrad  <adconrad@0c3.net>
27818         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27819         (LDFLAGS-tst-array5): Likewise.
27821 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27823         [BZ #15036]
27824         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27825         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27826         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27827         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27829 2013-01-21  David S. Miller  <davem@davemloft.net>
27831         * sysdeps/sparc/backtrace.c: New file.
27832         * sysdeps/sparc/sparc32/backtrace.h: New file.
27833         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27834         * sysdeps/sparc/sparc64/backtrace.h: New file.
27835         * sysdeps/sparc/sparc64/backtrace.c: Delete.
27836         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27837         -funwind-tables.
27839 2013-01-21  Andreas Schwab  <schwab@suse.de>
27841         [BZ #15020]
27842         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27843         closed its stdout.
27845 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
27847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27848         "mpa2.h".
27849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27851 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
27852             Mark Mitchell  <mark@codesourcery.com>
27853             Tom de Vries  <tom@codesourcery.com>
27854             Paul Pluzhnikov  <ppluzhnikov@google.com>
27856         * debug/tst-backtrace2.c: New file.
27857         * debug/tst-backtrace3.c: Likewise.
27858         * debug/tst-backtrace4.c: Likewise.
27859         * debug/tst-backtrace5.c: Likewise.
27860         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27861         (CFLAGS-tst-backtrace3.c): Likewise.
27862         (CFLAGS-tst-backtrace4.c): Likewise.
27863         (CFLAGS-tst-backtrace5.c): Likewise.
27864         (LDFLAGS-tst-backtrace2): Likewise.
27865         (LDFLAGS-tst-backtrace3): Likewise.
27866         (LDFLAGS-tst-backtrace4): Likewise.
27867         (LDFLAGS-tst-backtrace5): Likewise.
27868         (tests): Add new tests tst-backtrace2, tst-backtrace3,
27869         tst-backtrace4 and tst-backtrace5.
27871 2013-01-18  Anton Blanchard  <anton@samba.org>
27872             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27874         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27875         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27876         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27877         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27879         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27880         "+r" and remove output regs list as redundant.  Add explicit inline
27881         asm to specify register of return val to work around compiler codegen
27882         bug.  Remove (int) cast on return value.  Add return type parameter to
27883         use in macro so that this macro does not truncate return value for
27884         64-bit values.
27885         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27886         pass to INTERNAL_VSYSCALL_NCS.
27887         (INLINE_VSYSCALL): Add 'long int' as return type to
27888         INTERNAL_VSYSCALL_NCS macro invocation.
27889         (INTERNAL_VSYSCALL): Add 'long int' as return type to
27890         INTERNAL_VSYSCALL_NCS macro invocation.
27891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27893 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27895         [BZ #14496]
27896         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27897         Fix application of SIMD FP exception mask.
27899         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27900         mp_no from a power of two.
27901         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27902         __mpexp_twomm1.  Use __pow_mp.
27904         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27905         multiplication.
27907 2013-01-17  David S. Miller  <davem@davemloft.net>
27909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27911 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27913         [BZ #15023]
27914         * include/complex.h: Condition contents on [!_COMPLEX_H].
27915         (__kernel_casinhf): New prototype.
27916         (__kernel_casinh): Likewise.
27917         (__kernel_casinhl): Likewise.
27918         * math/Makefile (libm_calls): Add k_casinh.
27919         * math/k_casinh.c: New file.
27920         * math/k_casinhf.c: Likewise.
27921         * math/k_casinhl.c: Likewise.
27922         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27923         finite nonzero arguments.
27924         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27925         finite nonzero arguments.
27926         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27927         finite nonzero arguments.
27928         * math/s_casinh.c: Do not include <float.h>.
27929         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27930         * math/s_casinhf.c: Do not include <float.h>.
27931         (__casinhf): Move code for finite nonzero arguments to
27932         k_casinhf.c.
27933         * math/s_casinhl.c: Do not include <float.h>.
27934         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27935         redefine.
27936         (__casinhl): Move code for finite nonzero arguments to
27937         k_casinhl.c.
27938         * math/libm-test.inc (cacos_test): Add more tests.
27939         * sysdeps/i386/fpu/libm-test-ulps: Update.
27940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27942 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
27944         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27945         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27946         [!HAVE_MREMAP]: Remove [defined linux] case.
27947         * malloc/arena.c: Do not include <malloc-sysdep.h>.
27949 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27951         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27953 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
27955         * elf/elf.h (R_386_SIZE32): New relocation.
27956         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27957         R_386_SIZE32.
27958         (elf_machine_rela): Likewise.
27959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27960         R_X86_64_SIZE64 and R_X86_64_SIZE32.
27962 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27964         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27965         (FP_FAST_FMA): Do not define.
27966         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27967         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27968         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27969         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27970         !_SOFT_FLOAT]: Likewise.
27971         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27972         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27973         value.
27974         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27975         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27976         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27977         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27978         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27979         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27980         file.
27982 2013-01-16  Andreas Schwab  <schwab@suse.de>
27984         [BZ #14327]
27985         * include/stdlib.h (__mktemp): Add declaration.
27986         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27987         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27989 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27991         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27992         definitions.
27993         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27994         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27995         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27996         definitions here.
27997         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27998         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27999         definitions.
28000         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28001         and ONE.
28002         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28003         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28004         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28005         definitions.
28006         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28007         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28008         definitions.
28009         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28011         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28013 2013-01-15  David S. Miller  <davem@davemloft.net>
28015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28016         trunc{,f} to libm-sysdep_routes.
28017         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28019         file.
28020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28022         file.
28023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28024         file.
28025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28027         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28028         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28029         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28030         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28031         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28032         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28035         nearbyint{,f} to libm-sysdep_routes.
28036         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28038         New file.
28039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28040         file.
28041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28042         New file.
28043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28044         file.
28045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28047         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28048         file.
28049         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28050         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28051         file.
28052         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28053         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28054         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28056         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28057         libc_feholdexcept and libc_fesetenv.
28059 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
28061         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28063 2013-01-14  David S. Miller  <davem@davemloft.net>
28065         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28066         (SPARC_ASM_VIS2_IFUNC): Likewise.
28067         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28069         use of 'siam' instruction.
28070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28071         Likewise.
28072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28073         Likewise.
28074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28075         Likewise.
28076         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28081         file.
28082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28083         file.
28084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28085         file.
28086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28087         file.
28088         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28089         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28090         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28091         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28093         new VIS2 routines.
28094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28097         Likewise.
28098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28100         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28103         routines to libm-sysdep_routines.
28104         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28107         fdim/fdimf to libm-sysdep_routines.
28108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28109         file.
28110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28112         file.
28113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28116         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28117         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28118         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28119         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28121 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28123         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28124         to optimize copies.
28126         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28131         local variable MPTWO.
28132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28133         Likewise.
28135 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28137         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28138         GLOB_NOESCAPE.
28140 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28142         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28144 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28146         * manual/pattern.texi (glob_t): Document gl_flags.
28147         (glob64_t): Likewise.
28149 2013-01-11  David S. Miller  <davem@davemloft.net>
28151         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28152         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28153         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
28154         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28155         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28156         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28157         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28158         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28159         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28160         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28161         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28162         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28163         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28165         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28166         sparc V9 rather than using V8 code.
28167         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28168         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28170         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28171         Move to...
28172         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28173         Here.
28175 2013-01-11  Roland McGrath  <roland@hack.frob.com>
28177         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28178         not in the main loop.
28179         * configure: Regenerated.
28181 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
28183         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28184         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28185         to just #else.
28186         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
28187         [!__GLIBC_HAVE_LONG_LONG] case.
28188         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28189         condition to just #else.
28190         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28191         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28192         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28193         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28194         unconditional.
28195         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28196         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28197         #elif condition to just #else.
28198         * sysdeps/unix/sysv/linux/sys/sysmacros.h
28199         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28200         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28201         #elif condition to just #else.
28203 2013-01-11  Steve Ellcey  <sellcey@mips.com>
28205         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28206         (EF_MIPS_ARCH_64): Fix value.
28207         (EF_MIPS_ARCH_32R2): New.
28208         (EF_MIPS_ARCH_64R2): New.
28210 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
28212         * Makeconfig (+link-pie-before-libc): New.
28213         (+link-pie-after-libc): Likewise.
28214         (+link-pie-tests): Likewise.
28215         (+link-pie): Rewritten.
28216         (link-before-libc): Remove $(config-LDFLAGS).
28217         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28218         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28219         (config-LDFLAGS): Renamed to ...
28220         (rtld-LDFLAGS): This.
28221         (rtld-tests-LDFLAGS): New macro.
28222         (link-libc-rpath-link): Likewise.
28223         (link-libc-tests-rpath-link): Likewise.
28224         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28225         (link-libc): Prepand $(link-libc-rpath-link).
28226         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28227         (test-program-prefix): New macro.
28228         (test-via-rtld-prefix): Likewise.
28229         (test-program-cmd): Likewise.
28230         (host-test-program-cmd): Likewise.
28231         * Makefile ($(common-objpfx)testrun.sh): Replace
28232         $(run-program-prefix) with $(test-program-prefix).
28233         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28234         $(rtld-LDFLAGS).
28235         ($(common-objpfx)shlib.lds): Likewise.
28236         (build-module-helper): Likewise.
28237         ($(common-objpfx)format.lds): Likewise.
28238         * Rules (binaries-pie-tests): New.
28239         (binaries-pie-notests): Likewise.
28240         (binaries-pie): Rewritten.
28241         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28242         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28243         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28244         (make-test-out): Replace $(host-built-program-cmd) with
28245         $(host-test-program-cmd).
28246         * config.make.in (build-hardcoded-path-in-tests): New variable.
28247         * configure.in (--enable-hardcoded-path-in-tests): New configure
28248         option.
28249         (hardcoded_path_in_tests): New AC_SUBST.
28250         * configure: Regenerated.
28251         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28252         $(built-program-cmd) with $(test-program-cmd).
28253         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28254         (test_program_cmd): This.
28255         * elf/Makefile ($(objpfx)order.out): Run test with
28256         $(test-program-prefix).
28257         ($(objpfx)order2.out): Likewise.
28258         ($(objpfx)tst-initorder.out): Likewise.
28259         ($(objpfx)tst-initorder2.out): Likewise.
28260         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28261         $(test-program-cmd).
28262         ($(objpfx)tst-array1-static.out): Likewise.
28263         ($(objpfx)tst-array2.out): Likewise.
28264         ($(objpfx)tst-array3.out): Likewise.
28265         ($(objpfx)tst-array4.out): Likewise.
28266         ($(objpfx)tst-array5.out): Likewise.
28267         ($(objpfx)tst-array5-static.out): Likewise.
28268         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28269         $(test-program-cmd).
28270         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28271         $(run-program-prefix) with $(test-program-prefix).
28272         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28273         (test_program_prefix): This.
28274         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28275         $(run-program-prefix) with $(test-program-prefix).
28276         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28277         (test_program_prefix): This.
28278         * iconvdata/tst-tables.sh: Likewise.
28279         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28280         $(run-program-prefix) with $(test-program-prefix).
28281         ($(objpfx)tst-translit.out): Likewise.
28282         ($(objpfx)tst-gettext2.out): Likewise.
28283         ($(objpfx)tst-gettext4.out): Likewise.
28284         ($(objpfx)tst-gettext6.out): Likewise.
28285         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28286         (test_program_prefix): This.
28287         * intl/tst-gettext2.sh: Likewise.
28288         * intl/tst-gettext4.sh  Likewise.
28289         * intl/tst-gettext6.sh: Likewise.
28290         * intl/tst-translit.sh: Likewise.
28291         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28292         with $(test-program-cmd).
28293         * libio/Makefile ($(objpfx)test-freopen.out): Replace
28294         $(run-program-prefix) with $(test-program-prefix).
28295         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28296         (test_program_prefix): This.
28297         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28298         $(run-program-prefix) with $(test-program-prefix).
28299         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28300         (test_program_prefix): This.
28301         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28302         * posix/Makefile ($(objpfx)globtest.out): Replace
28303         $(run-via-rtld-prefix) and $(test-wrapper) with
28304         $(test-program-prefix) and $(test-via-rtld-prefix).
28305         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28306         $(test-program-prefix).
28307         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28308         $(host-test-program-cmd).
28309         (tst-spawn-ARGS): Likewise.
28310         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28311         $(test-program-prefix).
28312         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28313         (test_via_rtld_prefix): This.
28314         (test_wrapper): Renamed to ...
28315         (test_program_prefix): This.
28316         (run_program_prefix): Replaced by test_program_prefix.
28317         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28318         (test_program_prefix): This.
28319         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28320         with $(host-test-program-cmd).
28321         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28322         $(run-program-prefix) with $(test-program-prefix).
28323         ($(objpfx)tst-printf.out): Likewise.
28324         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28325         $(test-program-cmd).
28326         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28327         (test_program_prefix): This.
28328         * stdio-common/tst-unbputc.sh: Likewise.
28329         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28330         $(run-program-prefix) with $(test-program-prefix).
28331         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28332         (test_program_prefix): This.
28333         * string/Makefile ($(objpfx)tst-svc.out):  Replace
28334         $(built-program-cmd) with $(test-program-cmd).
28336 2013-01-11  Andreas Jaeger  <aj@suse.de>
28338         [BZ #15003]
28339         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28340         value. Sync with Linux 3.7.
28342 2013-01-10  David S. Miller  <davem@davemloft.net>
28344         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28345         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28346         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28348 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28350         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28351         never set.
28352         * configure: Regenerated.
28354 2013-01-10  David S. Miller  <davem@davemloft.net>
28356         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28357         sparc V9 rather than using V8 code.
28358         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28359         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28361 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28363         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28364         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28365         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28366         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28367         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28368         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28369         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28370         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28371         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28372         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28373         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28374         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28375         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28376         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28377         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28378         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28379         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28380         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28381         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28382         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28383         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28384         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28385         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28386         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28387         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28388         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28389         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28391 2013-01-10  David S. Miller  <davem@davemloft.net>
28393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28395 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28397         * posix/Makefile (tests-static): New variable.
28398         (tests): Add $(tests-static).
28399         (tst-exec-static-ARGS): New variable.
28400         (tst-spawn-static-ARGS): Likewise.
28401         * posix/tst-exec-static.c: New file.
28402         * posix/tst-spawn-static.c: Likewise.
28403         * posix/tst-exec.c: Support run directly.
28404         * posix/tst-spawn.c: Likewise.
28406 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
28408         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28409         long.
28410         * math/bits/mathcalls.h (llrint): Likewise.
28411         (llround): Likewise.
28412         * stdlib/stdlib.h (struct drand48_data): Likewise.
28413         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28414         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28415         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28416         Likewise.
28417         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28418         Likewise.
28419         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28420         (elf_greg_t): Likewise.
28421         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28422         (__jmp_buf): Likewise.
28423         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28424         definitions.
28425         (llrint): Likewise, for all definitions.
28426         (llrintl): Likewise.
28428         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28429         Remove [__GNUC__] condition.
28430         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28431         condition to just [__USE_ISOC99].
28432         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28434 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28436         [BZ #14200]
28437         * sysdeps/unix/sysv/linux/x86/bits/environments.h
28438         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28439         defined.
28440         (_POSIX_V6_ILP32_OFF32): Likewise.
28441         (_XBS5_ILP32_OFF32): Likewise.
28442         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28443         (__ILP32_OFFBIG_LDFLAGS): Likewise.
28445 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28447         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28449         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28450         doubles __mpexp_twomm1.  Adjust usage.
28451         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28452         Remove.
28454 2013-01-10  Andreas Schwab  <schwab@suse.de>
28456         [BZ #14964]
28457         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28458         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28460 2013-01-09  David S. Miller  <davem@davemloft.net>
28462         [BZ #15003]
28463         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28464         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28465         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28466         (TCP_FASTOPEN): Define.
28467         (tcp_repair_opt): New structure.
28468         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28469         enum values.
28470         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28471         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28472         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28473         (tcp_cookie_transactions): New structure.
28475 2013-01-09  Anton Blanchard  <anton@samba.org>
28477         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28478         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28479         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28480         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28482 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28484         * include/features.h (__USE_ANSI): Remove.
28486 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28488         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28490         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28492 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28494         * sysdeps/s390/fpu/libm-test-ulps: Update.
28496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28498         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28499         (__acr): Likewise.
28500         (__cpy): Likewise.
28501         (norm): Likewise.
28502         (denorm): Likewise.
28503         (__mp_dbl): Likewise.
28504         (__dbl_mp): Likewise.
28505         (add_magnitudes): Likewise.
28506         (sub_magnitudes): Likewise.
28507         (__add): Likewise.
28508         (__sub): Likewise.
28509         (__mul): Likewise.
28510         (__inv): Likewise.
28511         (__dvd): Likewise.
28512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28513         (__acr): Likewise.
28514         (__cpy): Likewise.
28515         (norm): Likewise.
28516         (denorm): Likewise.
28517         (__mp_dbl): Likewise.
28518         (__dbl_mp): Likewise.
28519         (add_magnitudes): Likewise.
28520         (sub_magnitudes): Likewise.
28521         (__add): Likewise.
28522         (__sub): Likewise.
28523         (__mul): Likewise.
28524         (__inv): Likewise.
28525         (__dvd): Likewise.
28526         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28527         (__acr): Likewise.
28528         (__cpy): Likewise.
28529         (norm): Likewise.
28530         (denorm): Likewise.
28531         (__mp_dbl): Likewise.
28532         (__dbl_mp): Likewise.
28533         (add_magnitudes): Likewise.
28534         (sub_magnitudes): Likewise.
28535         (__add): Likewise.
28536         (__sub): Likewise.
28537         (__mul): Likewise.
28538         (__inv): Likewise.
28539         (__dvd): Likewise.
28541 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28543         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28544         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28545         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28546         2 && __USE_EXTERN_INLINES]: Likewise.
28548 2013-01-08  Andreas Jaeger  <aj@suse.de>
28550         [BZ# 14985]
28551         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28552         Remove.
28553         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28554         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28556 2013-01-07  Anton Blanchard  <anton@samba.org>
28558         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28559         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28560         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28561         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28562         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28563         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28564         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28565         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28566         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28567         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28568         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28569         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28570         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28571         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28572         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28573         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28574         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28575         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28576         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28577         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28578         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28579         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28580         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28581         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28582         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28583         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28584         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28585         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28587         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28588         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28590         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28591         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28592         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28593         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28594         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28595         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28596         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28597         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28598         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28599         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28600         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28602 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28604         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28605         (__MALLOC_PMT): Likewise.
28606         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28607         [__GNUC__], only on [_LIBC].
28608         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28609         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28610         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28611         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28612         forward declaration.
28613         (realloc_hook_ini): Likewise.
28614         (memalign_hook_ini): Likewise.
28615         (__libc_memalign): Do not use __MALLOC_PMT in variable
28616         declaration.
28617         (__libc_valloc): Likewise.
28618         (__libc_pvalloc): Likewise.
28619         (__libc_calloc): Likewise.
28620         (__posix_memalign): Likewise.
28622         [BZ #14996]
28623         * math/s_casinh.c: Include <float.h>.
28624         (__casinh): Do not do computation with squaring and square root
28625         for large arguments.
28626         * math/s_casinhf.c: Include <float.h>.
28627         (__casinhf): Do not do computation with squaring and square root
28628         for large arguments.
28629         * math/s_casinhl.c: Include <float.h>.
28630         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28631         (__casinhl): Do not do computation with squaring and square root
28632         for large arguments.
28633         * math/libm-test.inc (casin_test): Add more tests.
28634         (casinh_test): Likewise.
28635         * sysdeps/i386/fpu/libm-test-ulps: Update.
28636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28638 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28640         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28641         (__x86_64_raw_data_cache_size): Likewise.
28642         (__x86_64_data_cache_size_half): Likewise.
28643         (__x86_64_raw_data_cache_size_half): Likewise.
28644         (__x86_64_shared_cache_size): Likewise.
28645         (__x86_64_raw_shared_cache_size): Likewise.
28646         (__x86_64_shared_cache_size_half): Likewise.
28647         (__x86_64_raw_shared_cache_size_half): Likewise.
28648         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28649         to ...
28650         (__x86_data_cache_size): This.
28651         (__x86_64_raw_data_cache_size): Renamed to ...
28652         (__x86_raw_data_cache_size): This.
28653         (__x86_64_data_cache_size_half): Renamed to ...
28654         (__x86_data_cache_size_half): This.
28655         (__x86_64_raw_data_cache_size_half): Renamed to ...
28656         (__x86_raw_data_cache_size_half): This.
28657         (__x86_64_shared_cache_size): Renamed to ...
28658         (__x86_shared_cache_size): This.
28659         (__x86_64_raw_shared_cache_size): Renamed to ...
28660         (__x86_raw_shared_cache_size): This.
28661         (__x86_64_shared_cache_size_half): Renamed to ...
28662         (__x86_shared_cache_size_half): This.
28663         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28664         (__x86_raw_shared_cache_size_half): This.
28665         * sysdeps/x86_64/memcpy.S: Updated.
28666         * sysdeps/x86_64/memset.S: Likewise.
28667         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28668         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28669         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28671 2013-01-04  David S. Miller  <davem@davemloft.net>
28673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28675 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
28677         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28678         1 to avoid redefinition warning.
28679         (__USE_GNU): Don't define.
28680         (init_signaling_nan): Protoize.
28682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28684 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28686         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28688         (__cpymn): Likewise.
28689         (norm): Remove commented code.
28690         (denorm): Likewise.
28691         (__mp_dbl): Likewise.
28692         (__inv): Likewise.
28693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28694         (__cpymn): Likewise.
28695         (norm): Remove commented code.
28696         (denorm): Likewise.
28697         (__mp_dbl): Likewise.
28698         (__inv): Likewise.
28700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28701         mp_no value for 1.0 and 2.0.
28702         (norm): Use RADIXI instead of radixi.d.
28703         (denorm): Likewise.
28704         (__mul): Use 0.0 instead of zero.d.
28705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28706         mp_no value for 1.0 and 2.0.
28707         (norm): Use RADIXI instead of radixi.d.
28708         (denorm): Likewise.
28709         (__mul): Use 0.0 instead of zero.d.
28711 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
28713         [BZ #14994]
28714         * math/s_casinh.c (__casinh): Reduce finite argument to first
28715         quadrant then set signs of results at the end.
28716         * math/s_casinhf.c (__casinhf): Likewise.
28717         * math/s_casinhl.c (__casinhl): Likewise.
28718         * math/libm-test.inc (casin_test): Add more tests.
28719         (casinh_test): Likewise.
28720         * sysdeps/i386/fpu/libm-test-ulps: Update.
28721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28723 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28725         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28727         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28729         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28730         declarations.
28731         (denorm): Likewise.
28732         (__mp_dbl): Likewise.
28733         (__inv): Likewise.
28735         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28736         and adjust the header comment.
28738         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28739         variable name from declaration.
28741 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
28743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28744         Initialize COMMON_CPUID_INDEX_7 element.
28745         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28746         (CPUID_RTM): Likewise.
28747         (HAS_RTM): Likewise.
28748         (COMMON_CPUID_INDEX_7): New enum.
28750 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
28752         [BZ #14981]
28753         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28754         size is zero, record memory as freed.
28756 2013-01-03  Andreas Jaeger  <aj@suse.de>
28758         * po/ia.po: Add new Interlingua translation.
28760 2012-01-03  Allan McRae  <allan@archlinux.org>
28762         * locale/programs/localedef.c: Fix description of '--posix' flag.
28764 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
28766         * NEWS: Update dates in second copyright notice.
28767         * README: Update copyright dates in example.
28768         * manual/libc.texinfo: Update copyright dates.
28769         * scripts/test-installation.pl: Update copyright date in --version
28770         output.
28772         * hurd/ctty-input.c: Fix copyright notice formatting.
28773         * hurd/ctty-output.c: Likewise.
28774         * hurd/dtable.c: Likewise.
28775         * hurd/hurd-raise.c: Likewise.
28776         * hurd/hurdprio.c: Likewise.
28777         * hurd/msgportdemux.c: Likewise.
28778         * misc/sys/file.h: Likewise.
28779         * misc/sys/ioctl.h: Likewise.
28780         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28781         * sysdeps/mach/hurd/chdir.c: Likewise.
28782         * sysdeps/mach/hurd/fchdir.c: Likewise.
28783         * sysdeps/mach/hurd/rename.c: Likewise.
28784         * sysdeps/mach/hurd/rmdir.c: Likewise.
28785         * sysdeps/mach/hurd/seekdir.c: Likewise.
28786         * sysdeps/mach/hurd/setsid.c: Likewise.
28787         * sysdeps/posix/wait3.c: Likewise.
28789         * All files with FSF copyright notices: Update copyright dates
28790         using scripts/update-copyrights.
28791         * intl/plural.c: Regenerated.
28792         * locale/programs/charmap-kw.h: Likewise.
28793         * locale/programs/locfile-kw.h: Likewise.
28795 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28797         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28798         four values.
28800         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28801         calculation loop and add branch prediction.
28803         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28804         check access beyond bounds of m1np.
28806         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28807         MPTWO.
28808         (__inv): Remove local variable MPTWO to use the global
28809         constant.
28810         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28811         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28812         variable MPTWO.
28813         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28814         MP3HALFS static const.
28816 2013-01-01  David S. Miller  <davem@davemloft.net>
28818         * po/ca.po: Update from translation team.
28820 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
28822         * scripts/update-copyrights: New file.
28823         * Makeconfig: Reformat copyright notice.
28824         * ctype/ctype.h: Likewise.
28825         * debug/swprintf_chk.c: Likewise.
28826         * elf/dl-cache.c: Likewise.
28827         * elf/dl-debug.c: Likewise.
28828         * elf/dl-object.c: Likewise.
28829         * grp/initgroups.c: Likewise.
28830         * hurd/Makefile: Likewise.
28831         * hurd/hurd/signal.h: Likewise.
28832         * hurd/hurdfault.c: Likewise.
28833         * hurd/hurdioctl.c: Likewise.
28834         * hurd/hurdlookup.c: Likewise.
28835         * hurd/intr-msg.c: Likewise.
28836         * iconv/gconv_open.c: Likewise.
28837         * libio/swprintf.c: Likewise.
28838         * locale/lc-ctype.c: Likewise.
28839         * locale/nl_langinfo.c: Likewise.
28840         * mach/Machrules: Likewise.
28841         * mach/Makefile: Likewise.
28842         * malloc/obstack.h: Likewise.
28843         * manual/Makefile: Likewise.
28844         * manual/tsort.awk: Likewise.
28845         * misc/bits/stab.def: Likewise.
28846         * nis/nis_print_group_entry.c: Likewise.
28847         * nis/nis_table.c: Likewise.
28848         * nis/nss_compat/compat-pwd.c: Likewise.
28849         * nis/nss_compat/compat-spwd.c: Likewise.
28850         * po/Makefile: Likewise.
28851         * posix/fnmatch.c: Likewise.
28852         * posix/regex.h: Likewise.
28853         * resolv/Makefile: Likewise.
28854         * resolv/nss_dns/dns-network.c: Likewise.
28855         * resolv/res_hconf.c: Likewise.
28856         * scripts/gen-sorted.awk: Likewise.
28857         * soft-fp/soft-fp.h: Likewise.
28858         * stdio-common/printf.h: Likewise.
28859         * stdlib/monetary.h: Likewise.
28860         * stdlib/random.c: Likewise.
28861         * stdlib/random_r.c: Likewise.
28862         * sysdeps/generic/Makefile: Likewise.
28863         * sysdeps/gnu/Makefile: Likewise.
28864         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28865         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28866         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28867         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28868         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28871         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28872         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28873         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28874         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28875         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28876         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28877         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28878         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28879         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28880         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28881         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28882         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28883         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28884         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28885         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28886         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28887         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28888         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28889         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28890         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28891         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28892         * sysdeps/mach/hurd/errnos.awk: Likewise.
28893         * sysdeps/mach/hurd/fork.c: Likewise.
28894         * sysdeps/mach/hurd/getcwd.c: Likewise.
28895         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28896         * sysdeps/mach/hurd/mmap.c: Likewise.
28897         * sysdeps/mach/hurd/utimes.c: Likewise.
28898         * sysdeps/mach/hurd/xmknod.c: Likewise.
28899         * sysdeps/posix/profil.c: Likewise.
28900         * sysdeps/posix/readdir_r.c: Likewise.
28901         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28902         * sysdeps/powerpc/bits/setjmp.h: Likewise.
28903         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28904         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28906         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28907         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28908         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28910         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28911         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28912         * sysdeps/pthread/lio_listio.c: Likewise.
28913         * sysdeps/sparc/dl-procinfo.h: Likewise.
28914         * sysdeps/unix/i386/sysdep.S: Likewise.
28915         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28916         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28917         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28918         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28920         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28921         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28922         * sysdeps/unix/sysv/linux/speed.c: Likewise.
28923         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28924         * sysdeps/wordsize-32/divdi3.c: Likewise.
28925         * time/sys/time.h: Likewise.
28926         * wcsmbs/Makefile: Likewise.
28928 2013-01-01  David S. Miller  <davem@davemloft.net>
28930         * po/fr.po: Update from translation team.
28932         * catgets/gencat.c: Update copyright year.
28933         * csu/version.c: Likewise.
28934         * debug/catchsegv.sh: Likewise.
28935         * debug/pcprofiledump.c: Likewise.
28936         * debug/xtrace.sh: Likewise.
28937         * elf/ldconfig.c: Likewise.
28938         * elf/ldd.bash.in: Likewise.
28939         * elf/pldd.c: Likewise.
28940         * elf/sotruss.ksh: Likewise.
28941         * elf/sprof.c: Likewise.
28942         * iconv/iconv_prog.c: Likewise.
28943         * iconv/iconvconfig.c: Likewise.
28944         * locale/programs/locale.c: Likewise.
28945         * locale/programs/localedef.c: Likewise.
28946         * login/programs/pt_chown.c: Likewise.
28947         * malloc/memusage.sh: Likewise.
28948         * malloc/memusagestat.c: Likewise.
28949         * malloc/mtrace.pl: Likewise.
28950         * nscd/nscd.c: Likewise.
28951         * nss/getent.c: Likewise.
28952         * nss/makedb.c: Likewise.
28953         * posix/getconf.c: Likewise.
28955 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28957         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28958         numbers.
28960 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
28962         * math/bits/mathcalls.h (modf): Use __nonnull.
28964 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28966         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28967         (split): Use macro CN instead of the bare value.
28968         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28969         could be used.
28970         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28971         instead of the bare value.
28972         (power1): Likewise.
28974 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28976         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28977         __ATAN_TWOM.
28978         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28980         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28981         their values.
28982         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28983         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28984         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28985         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28987 2012-12-28  Andreas Jaeger  <aj@suse.de>
28989         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
28990         values are from Linux 3.7.
28992         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28993         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
28995 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28997         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28998         TRUE case.
29000         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29001         (norm): Likewise.
29002         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29003         variables with preprocessor constants.
29004         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29005         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29006         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29008 2012-12-27  Bruno Haible  <bruno@clisp.org>
29010         [BZ #14317]
29011         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29012         only if needed.
29014 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29016         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29017         and use variable directly.
29018         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29020         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29021         MPONE.
29022         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29023         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29024         variable MPONE.
29025         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29027         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29028         include directive.  Remove local variable MPONE.
29029         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29030         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29031         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29033 2012-12-25  David S. Miller  <davem@davemloft.net>
29035         * version.h (RELEASE): Set to "development".
29036         (VERSION): Set to "2.17.90".
29037         * NEWS: Add 2.18 section.
29039 2012-12-21  David S. Miller  <davem@davemloft.net>
29041         * po/hr.po: Update from translation team.
29043 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29045         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29047 2012-12-19  Steve Ellcey  <sellcey@mips.com>
29049         * NEWS:  Mention new memcpy for MIPS.
29051 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29053         * manual/contrib.texi (Contributors): Spelling correction.
29055 2012-12-15  David S. Miller  <davem@davemloft.net>
29057         * po/ru.po: Update from translation team.
29059 2012-12-13  David S. Miller  <davem@davemloft.net>
29061         * NEWS: Mention IFUNC testsuite enhancements.
29063         * po/pl.po: Update from translation team.
29064         * po/bg.po: Likewise.
29066         * manual/contrib.texi (Contributors): Update entries for Hongjiu
29067         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
29069 2012-12-11  David S. Miller  <davem@davemloft.net>
29071         * po/sv.po: Update from translation team.
29073         * po/vi.po: Update from translation team.
29075         * po/cs.po: Update from translation team.
29077         * po/de.po: Update from translation team.
29078         * po/eo.po: Likewise.
29079         * po/nl.po: Likewise.
29081 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29083         [BZ #14246]
29084         * manual/argp.texi (Argp Helper Functions): Move node to follow
29085         Argp Parsing State.
29087         [BZ #14872]
29088         * manual/conf.texi (Limits on File System Capacity): Mention if
29089         terminating null is included in the max size.
29091 2012-12-10  Andreas Jaeger  <aj@suse.de>
29093         * po/cs.po: Update from translation team.
29095 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29097         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29098         void pointer and cast to uintptr_t.
29099         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29100         path.
29101         * sysdeps/s390/s390-64/memcpy.S: Likewise.
29102         * sysdeps/s390/s390-64/memset.S: Likewise.
29104 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
29106         [BZ #14833]
29107         * menual/message.texi (Message Translation): Fix typos.
29108         (Helper programs for gettext): Likewise.
29110 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
29112         [BZ #14898]
29113         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29114         Change to -1.
29116 2012-12-07  David S. Miller  <davem@davemloft.net>
29118         * po/libc.pot: Update.
29120 2012-12-07  Richard Henderson  <rth@redhat.com>
29122         [BZ #10114]
29123         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29124         normal/normal case to before the switch.
29125         (_FP_DIV): Likewise.
29127 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
29128             Mike Frysinger  <vapier@gentoo.org>
29130         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29131         check for __NR_fadvise64_64.
29133 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
29135         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29136         0, not just to plain "0" as a statement.
29137         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29138         with cw.
29140 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
29142         * NEWS: Use sourceware.org in Bugzilla URL.
29144 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29147         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29149         * stdio-common/tst-put-error.c (do_test): Add newline to the
29150         padded test to ensure flush.
29152 2012-12-05  Jeff Law  <law@redhat.com>
29154         * sunrpc/etc.rpc (fedfs_admin): Add entry.
29156 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
29158         * README: Don't refer to ports add-on as distributed separately.
29159         Mention AArch64 in list of systems supported in the ports add-on.
29161         * LICENSES: Add more non-FSF copyright and license notices.
29163         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29164         ((unused)).
29166         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29168         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29169         10000 as width of padded output.
29171 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29173         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29175         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29176         variable LX with __attribute__ ((unused)).
29177         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29178         Likewise.
29179         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29180         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29181         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29182         with __attribute__ ((unused)).
29184 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
29186         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29188 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29190         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29191         (CFLAGS-nldbl-acos.c): New variable.
29192         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29193         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29194         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29195         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29196         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29197         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29198         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29199         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29200         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29201         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29202         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29203         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29204         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29205         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29206         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29207         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29208         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29209         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29210         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29211         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29212         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29213         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29214         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29215         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29216         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29217         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29218         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29219         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29220         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29221         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29222         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29223         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29224         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29225         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29226         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29227         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29228         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29229         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29230         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29231         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29232         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29233         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29234         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29235         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29236         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29237         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29238         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29239         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29240         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29241         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29242         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29243         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29244         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29245         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29246         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29247         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29248         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29249         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29250         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29251         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29252         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29253         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29254         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29255         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29256         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29257         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29258         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29259         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29260         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29261         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29262         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29263         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29264         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29265         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29266         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29267         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29268         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29269         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29270         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29271         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29272         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29273         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29274         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29275         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29276         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29277         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29278         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29279         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29280         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29281         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29282         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29283         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29284         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29285         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29286         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29287         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29288         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29291         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29293         [BZ #14914]
29294         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29295         whole low double instead of just low 47 bits when splitting values
29296         into two parts.
29298 2012-12-03  Allan McRae  <allan@archlinux.org>
29300         * manual/stdio.texi (Predefined Printf Handlers): Remove
29301         @hsep and @vsep usage.
29303 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
29305         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29306         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29308 2012-12-03  Jeff Law  <law@redhat.com>
29310         * time/sys/time.h (settimeofday): Do not mark TV argument
29311         as __nonnull.
29313 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
29315         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29316         when currently writing and seek to current position when not.
29317         * libio/Makefile (tests): Remove bug-fclose1.
29318         * libio/bug-fclose1.c: Delete.
29320 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
29322         * manual/arith.texi (feenableexcept): Fix typo.
29323         (fedisableexcept): Likewise.
29325 2012-11-30  Roland McGrath  <roland@hack.frob.com>
29327         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29328         second, differently-typed declaration, rather than a cast.
29330 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29332         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29333         * include/rpc/svc.h: ... here.
29335 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
29337         [BZ #13013]
29338         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29339         depending n and resplen2 to catch cases where answer
29340         equals answerp2.
29342 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
29344         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29345         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29347 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
29349         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29351 2012-11-29  Roland McGrath  <roland@hack.frob.com>
29353         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29355 2012-11-28  Jeff Law  <law@redhat.com>
29357         [BZ #13761]
29358         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29359         dataset_temporary.  Track alloca usage into alloca_used.
29360         If dataset is large allocate and release it via malloc/free.
29362 2012-06-04  Florian Weimer  <fweimer@redhat.com>
29364         [BZ #14197]
29365         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29367 2012-11-28  David S. Miller  <davem@davemloft.net>
29369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29371 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29373         [BZ #14803]
29374         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29375         of pi/2 rounded to nearest to 64 bits.
29376         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29377         nearest to 64 bits.
29378         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29379         bits.
29381 2012-11-28  Jeff Law <law@redhat.com>
29382             Martin Osvald <mosvald@redhat.com>
29384         [BZ #14889]
29385         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29386         * sunrpc/svc.c: Include time.h.
29387         (__svc_accept_failed): New function.
29388         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29389         any reason other than EINTR, call __svc_accept_failed.
29390         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29391         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29393 2012-11-28  Andreas Schwab  <schwab@suse.de>
29395         * scripts/abilist.awk: Also handle indirect functions in .opd
29396         section.
29398 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29400         [BZ #13881]
29401         * sysdeps/x86/fpu/powl_helper.c: New file.
29402         * sysdeps/x86/fpu/Makefile: Likewise.
29403         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29404         (p3): New object.
29405         (__ieee754_powl): Use __powl_helper for finite arguments except
29406         integer exponents below 8.
29407         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29408         (p3): New object.
29409         (__ieee754_powl): Use __powl_helper for finite arguments except
29410         integer exponents below 8.
29411         * math/libm-test.inc (pow_test): Add more tests and enable some
29412         previously disabled tests.
29413         * sysdeps/i386/fpu/libm-test-ulps: Update.
29414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29416 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29417             Carlos O'Donell  <carlos_odonell@mentor.com>
29419         * nss/makedb.c (is_prime): Assert that input is odd and greater
29420         than 4.  Note that fact in a comment too.
29421         (next_prime): Add 4 to input.
29423 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29425         [BZ #11741]
29426         * libio/Makefile (tests): Add test case tst-fwrite-error.
29427         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29428         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29429         * libio/tst-fwrite-error.c: New test case.
29431 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
29433         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29434         before casting to void *.
29435         * include/libc-internal.h (__pointer_type): New macro.
29436         (__integer_if_pointer_type_sub): Likewise.
29437         (__integer_if_pointer_type): Likewise.
29438         (cast_to_integer): Likewise.
29439         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29440         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29441         before casting to atomic64_t.
29442         (atomic_exchange_acq): Likewise.
29443         (__arch_exchange_and_add_body): Likewise.
29444         (__arch_add_body): Likewise.
29445         (atomic_add_negative): Likewise.
29446         (atomic_add_zero): Likewise.
29448 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
29450         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29451         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29452         (add_fdes): Likewise.
29453         (linear_search_fdes): Likewise.
29454         (binary_search_unencoded_fdes): Likewise.
29456 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
29458         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29460 2012-11-24  Adam Conrad  <adconrad@0c3.net>
29462         * configure.in: Autodetect C++ header directories.
29463         * configure: Regenerated.
29465 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
29467         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29469 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
29471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29473 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
29475         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29476         LDBL_MANT_DIG == 106]: Disable some tests.
29477         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29478         Likewise.
29479         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29480         Likewise.
29482         [BZ #14871]
29483         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29484         input for small inputs.  Return +/- pi/2 for large inputs.
29485         * math/libm-test.inc (atan_test): Add more tests.
29487         * sysdeps/generic/unwind-dw2-fde-glibc.c
29488         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29489         __attribute__ ((unused)).
29491         [BZ #14645]
29492         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29493         x * y if x and y are nonzero and z is zero.
29495         [BZ #14811]
29496         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29497         nonzero exponents with absolute value below 0x1p-117 to +/-
29498         0x1p-117.
29500         [BZ #14869]
29501         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29502         up arguments below 2**-450, not just those below 2**-500.
29503         * math/libm-test.inc (hypot_test): Add another test.
29505         [BZ #14868]
29506         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29507         Return a+b for ratio over 2**120, not 2**60.
29508         * math/libm-test.inc (hypot_test): Add another test.
29510         * math/libm-test.inc (clog_test): Use
29511         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29512         (clog10_test): Likewise.
29514         [BZ #6778]
29515         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29517 2012-11-22  Andreas Schwab  <schwab@suse.de>
29519         * sysdeps/i386/fpu/libm-test-ulps: Update.
29521 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29523         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29524         printf output with newline.
29526 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29528         [BZ #14865]
29529         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29530         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29531         -z nodlopen, -z initfirst and -z execstack support.
29532         * configure: Regenerated.
29534         * elf/elf.h (DF_1_NODIRECT): New macro.
29535         (DF_1_IGNMULDEF): Likewise.
29536         (DF_1_NOKSYMS): Likewise.
29537         (DF_1_NOHDR): Likewise.
29538         (DF_1_EDITED): Likewise.
29539         (DF_1_NORELOC): Likewise.
29540         (DF_1_SYMINTPOSE): Likewise.
29541         (DF_1_GLOBAUDIT): Likewise.
29542         (DF_1_SINGLETON): Likewise.
29543         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29544         DT_1_SUPPORTED_MASK bits.
29545         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29547 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29549         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29551 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29553         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29554         macro.
29556         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29557         (sendmmsg): Move declarations...
29558         * socket/sys/socket.h: ... here.
29559         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29560         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29561         include it from...
29562         * socket/recvmmsg.c: ... this new file.
29563         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29564         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29565         definition of __sendmmsg hidden.
29566         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29567         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29568         Move ENOSYS stub into and include it from...
29569         * socket/sendmmsg.c: ... this new file.
29570         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29571         (sysdep_routines): Move recvmmsg and sendmmsg...
29572         * socket/Makefile (routines): ... here.
29573         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29574         (GLIBC_PRIVATE): Add __sendmmsg.
29575         * include/sys/socket.h (__sendmmsg): Add declarations.
29576         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29577         sendmmsg.
29579 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29581         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29582         variable I1 with __attribute__ ((unused)).
29583         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29585 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29587         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29588         DUMMY variables with __attribute__ ((unused)).
29590         * bits/byteswap.h: Include <bits/types.h>.
29591         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29593 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29595         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29596         string_t.  Do not manually set errno.
29597         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29598         length with __strnlen.  Make sure to both set errno and return it on
29599         failure.
29601 2012-11-19  David S. Miller  <davem@davemloft.net>
29603         With help from Joseph Myers.
29604         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29605         very large arguments properly.
29606         * math/libm-test.inc (atan_test): New tests.
29607         (atan2_test): New tests.
29608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29611 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29613         [BZ #14856]
29614         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29615         Define to 3.
29617         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29618         [POSIX] (EADDRNOTAVAIL): Likewise.
29619         [POSIX] (EAFNOSUPPORT): Likewise.
29620         [POSIX] (EALREADY): Likewise.
29621         [POSIX] (ECONNABORTED): Likewise.
29622         [POSIX] (ECONNREFUSED): Likewise.
29623         [POSIX] (ECONNRESET): Likewise.
29624         [POSIX] (EDESTADDRREQ): Likewise.
29625         [POSIX] (EDQUOT): Likewise.
29626         [POSIX] (EHOSTUNREACH): Likewise.
29627         [POSIX] (EIDRM): Likewise.
29628         [POSIX] (EISCONN): Likewise.
29629         [POSIX] (ELOOP): Likewise.
29630         [POSIX] (EMULTIHOP): Likewise.
29631         [POSIX] (ENETDOWN): Likewise.
29632         [POSIX] (ENETUNREACH): Likewise.
29633         [POSIX] (ENOBUFS): Likewise.
29634         [POSIX] (ENODATA): Likewise.
29635         [POSIX] (ENOLINK): Likewise.
29636         [POSIX] (ENOMSG): Likewise.
29637         [POSIX] (ENOPROTOOPT): Likewise.
29638         [POSIX] (ENOSR): Likewise.
29639         [POSIX] (ENOSTR): Likewise.
29640         [POSIX] (ENOTCONN): Likewise.
29641         [POSIX] (ENOTSOCK): Likewise.
29642         [POSIX] (EOPNOTSUPP): Likewise.
29643         [POSIX] (EOVERFLOW): Likewise.
29644         [POSIX] (EPROTO): Likewise.
29645         [POSIX] (EPROTONOSUPPORT): Likewise.
29646         [POSIX] (EPROTOTYPE): Likewise.
29647         [POSIX] (ESTALE): Likewise.
29648         [POSIX] (ETIME): Likewise.
29649         [POSIX] (ETXTBSY): Likewise.
29650         [POSIX] (EWOULDBLOCK): Likewise.
29651         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29652         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29653         [POSIX] (SEEK_CUR): Likewise.
29654         [POSIX] (SEEK_END): Likewise.
29655         [POSIX || UNIX98] (mode_t): Do not require.
29656         [POSIX] (off_t): Likewise.
29657         [POSIX] (pid_t): Likewise.
29658         [POSIX] (sys/stat.h): Do not allow header.
29659         [POSIX] (unistd.h): Likewise.
29660         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29661         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29662         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29663         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29664         require.
29665         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29666         sigevent): Specify elements.
29667         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29668         entry.
29669         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29670         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29672         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29673         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29674         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29675         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29676         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29677         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29678         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29679         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29680         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29681         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29682         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29683         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29684         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29685         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29686         Likewise.
29687         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29688         Likewise.
29689         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29690         Likewise.
29691         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29692         Likewise.
29693         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29694         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29695         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29696         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29697         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29698         Specify lower bound on value.
29699         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29700         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29701         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29702         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29703         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29704         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29705         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29706         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29707         value.
29708         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29709         as optional.
29710         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29711         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29712         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29713         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29714         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29715         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29716         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29717         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29718         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29719         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29720         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29721         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29722         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29723         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29724         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29725         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29726         entry.
29727         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29728         optional.
29729         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29730         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29731         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29732         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29733         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29734         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29735         Likewise.
29736         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29737         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29738         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29739         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29740         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
29741         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29742         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29743         as optional.
29744         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29745         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29746         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29747         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29748         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29749         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29750         specify as optional.
29751         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29752         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29753         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29754         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29755         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29756         [XPG3] (NL_LANGMAX): Likewise.
29757         [POSIX || XPG3] (NL_MSGMAX): Likewise.
29758         [POSIX || XPG3] (NL_NMAX): Likewise.
29759         [POSIX || XPG3] (NL_SETMAX): Likewise.
29760         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29761         [XPG3] (NZERO): Likewise.
29762         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29763         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29764         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29765         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29766         (REG_ERANGE): Expect.
29767         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29768         optional-constant.
29769         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29770         Use (void) in prototype.
29771         [POSIX] (*_t): Allow.
29772         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29773         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29774         (WRDE_BADVAL): Expect.
29776         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29777         expect.
29778         [XPG3 || XPG4] (O_RSYNC): Likewise.
29779         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29780         Likewise.
29781         [XPG3 || XPG4] (pthread_sigmask): Likewise.
29782         [XPG3 || XPG4] (sigqueue): Likewise.
29783         [XPG3 || XPG4] (sigtimedwait): Likewise.
29784         [XPG3 || XPG4] (sigwaitinfo): Likewise.
29785         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29786         [XPG3 || XPG4] (vsnprintf): Likewise.
29787         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29788         Likewise.
29789         [XPG3 || XPG4] (blksize_t): Likewise.
29790         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29791         Likewise.
29792         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29793         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29794         [XPG3 || XPG4] (struct itimerspec): Likewise.
29795         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29796         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29797         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29798         [XPG3 || XPG4] (clockid_t): Likewise.
29799         [XPG3 || XPG4] (timer_t): Likewise.
29800         [XPG3 || XPG4] (clock_getres): Likewise.
29801         [XPG3 || XPG4] (clock_gettime): Likewise.
29802         [XPG3 || XPG4] (clock_settime): Likewise.
29803         [XPG3 || XPG4] (nanosleep): Likewise.
29804         [XPG3 || XPG4] (timer_create): Likewise.
29805         [XPG3 || XPG4] (timer_delete): Likewise.
29806         [XPG3 || XPG4] (timer_gettime): Likewise.
29807         [XPG3 || XPG4] (timer_getoverrun): Likewise.
29808         [XPG3 || XPG4] (timer_settime): Likewise.
29809         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29810         [XPG3 || XPG4] (getlogin_r): Likewise.
29811         [XPG3 || XPG4] (pread): Likewise.
29812         [XPG3 || XPG4] (pthread_atfork): Likewise.
29813         [XPG3 || XPG4] (pwrite): Likewise.
29815         [BZ #14835]
29816         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29817         <bits/siginfo.h>.
29819 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29821         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29822         finalizing MALLSTREAM.
29824         * sysdeps/mach/hurd/syncfs.c: New file.
29826 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29828         [BZ #14719]
29829         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29830         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29831         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29832         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29833         (_nss_dns_gethostbyname4_r): Likewise.
29834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29835         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29837 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
29839         [BZ #13763]
29840         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29842 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
29844         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29845         * elf/cache.c (print_entry): Print ",AArch64" for
29846         FLAG_AARCH64_LIB64
29848         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29849         * elf/cache.c (print_entry): Print ",hard-float" for
29850         FLAG_ARM_LIBHF.
29852 2012-11-18  David S. Miller  <davem@davemloft.net>
29854         With help from Joseph Myers.
29855         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29856         cutoff to 2**-13.
29857         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29858         cutoff to 2**-25.
29859         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29860         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29861         small.
29862         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29863         * math/libm-test.inc (y0_test): New tests.
29864         (y1_test): New tests.
29865         * sysdeps/i386/fpu/libm-test-ulps: Update.
29866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29869 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
29871         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29872         64-bit targets.
29873         * configure: Regenerated.
29875 2012-11-17  David S. Miller  <davem@davemloft.net>
29877         [BZ #14811]
29878         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29879         nonzero exponents with absolute value below 0x1p-128 to +/-
29880         0x1p-128.
29882 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
29884         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29886         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29888         * posix/getconf-speclist.c: New file.
29889         * posix/posix-envs.def: Likewise.
29890         * posix/confstr.c (START_ENV_GROUP): New macro.
29891         (END_ENV_GROUP): Likewise.
29892         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29893         (KNOWN_PRESENT_ENV_STRING): Likewise.
29894         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29895         (UNKNOWN_ENVIRONMENT): Likewise.
29896         (confstr): Include posix-envs.def instead of handling
29897         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29898         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29899         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29900         (END_ENV_GROUP): Likewise.
29901         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29902         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29903         (UNKNOWN_ENVIRONMENT): Likewise.
29904         (__sysconf): Include posix-envs.def instead of handling associated
29905         cases directly here.
29906         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29907         preprocessing getconf-speclist.c rather than running getconf or
29908         generating empty file.
29910 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
29912         * scripts/check-local-headers.sh: Ignore 'mach' headers.
29914 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
29916         [BZ #14672]
29917         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29919 2012-11-16  David S. Miller  <davem@davemloft.net>
29921         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29922         smaller than LDBL_EPSILON/2.0L, just return xm1.
29924 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
29926         * elf/tst-array1.c (init): Set constructor priority to 1000.
29927         (fini): Set destructor priority to 1000.
29928         * elf/tst-array2dep.c: Likewise.
29930 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29932         [BZ #11741]
29933         * libio/fileops.c (_IO_new_file_write): Correctly return error.
29934         (_IO_new_file_xsputn): Also return EOF if none of the input
29935         data was written when overflow failed.
29936         * libio/iopadn.c (_IO_padn): Likewise.
29937         * libio/iowpadn.c (_IO_wpadn): Likewise.
29938         * stdio-common/tst-put-error.c: Add copyright notice.
29939         (do_test): Add case for printing padded string.
29940         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29941         _IO_padn returned error.
29942         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29943         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29944         return EOF.
29946 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29948         * libio/libioP.h: Add comment note that the references to C++
29949         bits are now obsolete.
29951 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29953         * math/libm-test.inc (check_complex): Use asprintf.
29955 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
29957         * debug/pcprofiledump.c (print_version): Update copyright year.
29958         * malloc/memusagestat.c (print_version): Likewise.
29960 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
29962         [BZ #14831]
29963         * elf/Makefile (tests): Add tst-audit8.
29964         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29965         ($(objpfx)tst-audit8.out): New target.
29966         (tst-audit8-ENV): New variable.
29967         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29968         audit if l_reloc_result is NULL.
29969         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29970         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29971         * elf/tst-audit8.c: New file.
29973 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29975         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29976         * misc/Makefile (CFLAGS-select.c): Define.
29977         * posix/Makefile (CFLAGS-pause.c): Define.
29979 2012-11-13  David S. Miller  <davem@davemloft.net>
29981         * crypt/Makefile: Move test targets after toplevel Rules
29982         inclusion.  Grab any necessary sysdep routines when linking.
29983         * crypt/md5.c (md5_process_block): Remove define, we will always
29984         name it __md5_process_block.
29985         (md5_finish_ctx): Update md5_process_block call.
29986         (md5_stream): Likewise.
29987         (md5_process_bytes): Likewise.
29988         (md5_process_block): Rename to __md5_process_block and move to ...
29989         * crypt/md5-block.c: ... here.
29990         * crypt/sha256.c (sha256_process_block): Move to ...
29991         * crypt/sha256-block.c: ... here.
29992         * crypt/sha512.c (sha512_process_block): Move to ...
29993         * crypt/sha512-block.c: ... here.
29994         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29995         path.
29996         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29997         * sysdeps/sparc/sparc64/multiarch/Makefile
29998         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29999         crypt subdir.
30000         (localedef-aux): Add md5 crypto assembler when in locale subdir.
30001         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30002         multiarch changes.
30003         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30004         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30005         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30006         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30007         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30008         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30009         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30010         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30011         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30012         file.
30013         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30014         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30015         file.
30016         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30018 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
30020         * timezone/tzselect.ksh: Update from tzcode git revision
30021         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30022         * timezone/zdump.c: Likewise.
30023         * timezone/zic.c: Likewise.
30024         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30025         in TZVERSION setting, not $(PKGVERSION).
30026         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
30027         REPORT_BUGS_TO settings.
30029         [BZ #14838]
30030         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30031         macro.
30033 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30035         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30036         detection to immediately after _FP_ROUND().
30037         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30038         bits are 0.
30040 2012-11-11  David S. Miller  <davem@davemloft.net>
30042         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30043         inttypes.h
30044         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30045         __close rather than their public counterparts.
30047 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
30049         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30050         file.
30051         [UNIX98] (sem_timedwait): Do not expect.
30052         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30053         [XPG4 || UNIX98] (sockatmark): Do not expect.
30054         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30055         (clock_getcpuclockid): Do not expect.
30056         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30057         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30058         Do not expect.
30059         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30060         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30061         [UNIX98] (vwscanf): Likewise.
30062         [UNIX98] (vswscanf): Likewise.
30064 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
30066         * timezone/version.h: Remove file.
30067         * timezone/README: Do not refer to version.h.
30068         * timezone/Makefile ($(objpfx)zic.o): New dependency on
30069         $(objpfx)version.h.
30070         ($(objpfx)zdump.o): Likewise.
30071         ($(objpfx)version.h): New target.
30073         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30074         2012i.
30075         * timezone/README: Don't mention modification to tzselect.ksh.
30076         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30077         work on unmodified tzselect.ksh.  Substitute version numbers in
30078         tzselect.ksh.
30080         * Makefile (format-me): Remove.
30081         (INSTALL): Adjust indentation.  Use commands directly instead of
30082         using $(format-me).
30084         * aclocal.m4 (ACX_PKGVERSION): New macro.
30085         (ACX_BUGURL): Likewise.
30086         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30087         (PKGVERSION): New AC_DEFINE_UNQUOTED.
30088         (REPORT_BUGS_TO): Likewise.
30089         * configure: Regenerated.
30090         * config.h.in (PKGVERSION): New macro.
30091         (REPORT_BUGS_TO): Likewise.
30092         * config.make.in (PKGVERSION): New variable.
30093         (PKGVERSION_TEXI): Likewise.
30094         (REPORT_BUGS_TO): Likewise.
30095         (REPORT_BUGS_TEXI): Likewise.
30096         * Makefile (format-me): Use -I$(common-objpfx)manual.
30097         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30098         ($(common-objpfx)manual/%): New target.
30099         (manual/%): Remove target.
30100         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30101         (print_version): Use PKGVERSION.
30102         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30103         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30104         and REPORT_BUGS_TO.
30105         ($(objpfx)xtrace): Likewise.
30106         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30107         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30108         (print_version): Use PKGVERSION.
30109         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30110         (do_version): Use PKGVERSION.
30111         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30112         REPORT_BUGS_TO.
30113         (common-ldd-rewrite): Likewise.
30114         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30115         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30116         (print_version): Use PKGVERSION.
30117         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30118         * elf/pldd.c (argp_program_bug_address): Remove variable.
30119         (more_help): New function.
30120         (argp): Use more_help.
30121         (print_version): Use PKGVERSION.
30122         * elf/sln.c (main): Use PKGVERSION.
30123         (usage): Use REPORT_BUGS_TO.
30124         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30125         (top level): Use PKGVERSION.
30126         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30127         (print_version): Use PKGVERSION.
30128         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30129         (print_version): Use PKGVERSION.
30130         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30131         (print_version): Use PKGVERSION.
30132         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30133         (print_version): Use PKGVERSION.
30134         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30135         (print_version): Use PKGVERSION.
30136         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30137         (print_version): Use PKGVERSION.
30138         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30139         and BUGURL.
30140         ($(objpfx)memusage): Likewise.
30141         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30142         (do_version): Use PKGVERSION.
30143         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30144         (print_version): Use PKGVERSION.
30145         * malloc/mtrace.pl ($PACKAGE): Remove variable.
30146         ($PKGVERSION): New variable.
30147         ($REPORT_BUGS_TO): Likewise.
30148         (usage): Use $REPORT_BUGS_TO.
30149         (top level): Use $PKGVERSION.
30150         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30151         ($(objpfx)pkgvers.texi): New rule.
30152         ($(objpfx)stamp-pkgvers): Likewise.
30153         * manual/install.texi: Include pkgvers.texi.
30154         (--with-pkgversion): Document new configure option.
30155         (--with-bugurl): Likewise.
30156         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30157         than necessarily for this particular distribution.  Use
30158         REPORT_BUGS_TO for where to report bugs.
30159         * INSTALL: Regenerated.
30160         * manual/libc.texinfo: Include pkgvers.texi.
30161         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30162         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30163         (print_version): Use PKGVERSION.
30164         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30165         (print_version): Use PKGVERSION.
30166         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30167         (print_version): Use PKGVERSION.
30168         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30169         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30170         macro.
30171         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30172         (print_version): Use PKGVERSION.
30173         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30174         (print_version): Use PKGVERSION.
30175         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30176         and PKGVERSION.
30178         * timezone/checktab.awk: Update from tzcode 2012i.
30179         * timezone/ialloc.c: Likewise.
30180         * timezone/private.h: Likewise.
30181         * timezone/scheck.c: Likewise.
30182         * timezone/tzfile.h: Likewise.
30183         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30184         (TZVERSION): Hardcode tzcode version number.
30185         * timezone/zdump.c: Update from tzcode 2012i.
30186         * timezone/zic.c: Likewise.
30187         * timezone/version.h: New file.
30188         * timezone/README: Describe version.h.  Update upstream location.
30190         [BZ #14824]
30191         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30192         (mktemp): Enable declaration.
30193         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30194         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30195         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30196         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30197         Likewise.
30198         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30199         Likewise.
30200         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30201         Likewise.
30202         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30203         Likewise.
30204         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30205         Likewise.
30206         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30207         Likewise.
30209         [BZ #14821]
30210         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30211         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
30212         for copies of such integer values.
30213         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30214         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30216 2012-11-09  Andreas Jaeger  <aj@suse.de>
30218         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30219         definitions and declarations that are provided by
30220         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30222 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30224         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30225         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30226         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30227         definition.
30229 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30231         * elf/elf.h: Update comment before AArch64 relocations.
30233 2012-11-07  David S. Miller  <davem@davemloft.net>
30235         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30236         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30237         (__start_context): Declare.
30238         (__makecontext_ret): Delete.
30239         (__makecontext): Hook up __start_context instead of
30240         __makecontext_ret.
30241         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30242         (sysdep_routines): Add __start_context when in stdlib.
30244 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30246         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30247         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30248         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
30249         hardcoded "nm".
30250         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
30251         (READELF): New variable.  Use it instead of hardcoded "readelf".
30253 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30255         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30256         * sysdeps/x86/Makefile: Here.
30257         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30258         * sysdeps/x86/tst-xmmymm.sh: This.
30260 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30262         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30263         expectations.
30264         [UNIX98] (pthread_barrier_t): Do not expect.
30265         [UNIX98] (pthread_barrierattr_t): Likewise.
30266         [UNIX98] (pthread_spinlock_t): Likewise.
30267         [UNIX98] (pthread_barrier_destroy): Likewise.
30268         [UNIX98] (pthread_barrier_init): Likewise.
30269         [UNIX98] (pthread_barrier_wait): Likewise.
30270         [UNIX98] (pthread_barrierattr_destroy): Likewise.
30271         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30272         [UNIX98] (pthread_barrierattr_init): Likewise.
30273         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30274         [UNIX98] (pthread_getcpuclockid): Likewise.
30275         [UNIX98] (pthread_mutex_timedlock): Likewise.
30276         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30277         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30278         [UNIX98] (pthread_sigmask): Likewise.
30279         [UNIX98] (pthread_spin_destroy): Likewise.
30280         [UNIX98] (pthread_spin_init): Likewise.
30281         [UNIX98] (pthread_spin_lock): Likewise.
30282         [UNIX98] (pthread_spin_trylock): Likewise.
30283         [UNIX98] (pthread_spin_unlock): Likewise.
30284         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30285         Do not expect.
30286         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30287         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30288         [XPG3 || XPG4] (pthread_cond_t): Likewise.
30289         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30290         [XPG3 || XPG4] (pthread_key_t): Likewise.
30291         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30292         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30293         [XPG3 || XPG4] (pthread_once_t): Likewise.
30294         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30295         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30296         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30297         [XPG3 || XPG4] (pthread_t): Likewise.
30299         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30300         not expect.
30301         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30303         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30304         Change function return type to int.
30306         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30307         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30308         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30309         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30310         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30311         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30312         [!POSIX] (posix_madvise): Likewise.
30313         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30314         && !UNIX98].
30315         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30316         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30317         (mode_t): Likewise.
30318         (posix_mem_offset): Likewise.
30319         (posix_typed_mem_get_info): Likewise.
30320         (posix_typed_mem_open): Likewise.
30322         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30323         Change condition to [XOPEN2K8].
30325         * conform/conformtest.pl: Preprocess allow-header data with -x c
30326         instead of from stdin.
30327         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30328         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30329         [C99-based standards] (cerfc): Likewise.
30330         [C99-based standards] (cexp2): Likewise.
30331         [C99-based standards] (cexpm1): Likewise.
30332         [C99-based standards] (clog10): Likewise.
30333         [C99-based standards] (clog1p): Likewise.
30334         [C99-based standards] (clog2): Likewise.
30335         [C99-based standards] (clgamma): Likewise.
30336         [C99-based standards] (ctgamma): Likewise.
30337         [C99-based standards] (cerff): Likewise.
30338         [C99-based standards] (cerfcf): Likewise.
30339         [C99-based standards] (cexp2f): Likewise.
30340         [C99-based standards] (cexpm1f): Likewise.
30341         [C99-based standards] (clog10f): Likewise.
30342         [C99-based standards] (clog1pf): Likewise.
30343         [C99-based standards] (clog2f): Likewise.
30344         [C99-based standards] (clgammaf): Likewise.
30345         [C99-based standards] (ctgammaf): Likewise.
30346         [C99-based standards] (cerfl): Likewise.
30347         [C99-based standards] (cerfcl): Likewise.
30348         [C99-based standards] (cexp2l): Likewise.
30349         [C99-based standards] (cexpm1l): Likewise.
30350         [C99-based standards] (clog10l): Likewise.
30351         [C99-based standards] (clog1pl): Likewise.
30352         [C99-based standards] (clog2l): Likewise.
30353         [C99-based standards] (clgammal): Likewise.
30354         [C99-based standards] (ctgammal): Likewise.
30355         * conform/data/inttypes.h-data [C99-based standards]: Include
30356         stdint.h-data.  Remove all expectations for stdint.h contents.
30357         [C99-based standards] (PRI*): Do not allow.
30358         [C99-based standards] (SCN*): Likewise.
30359         [C99-based standards] (*_t): Likewise.
30360         [C99-based-standards] (PRId8): Expect macro.
30361         [C99-based-standards] (PRIi8): Likewise.
30362         [C99-based-standards] (PRIo8): Likewise.
30363         [C99-based-standards] (PRIu8): Likewise.
30364         [C99-based-standards] (PRIx8): Likewise.
30365         [C99-based-standards] (PRIX8): Likewise.
30366         [C99-based-standards] (SCNd8): Likewise.
30367         [C99-based-standards] (SCNi8): Likewise.
30368         [C99-based-standards] (SCNo8): Likewise.
30369         [C99-based-standards] (SCNu8): Likewise.
30370         [C99-based-standards] (SCNx8): Likewise.
30371         [C99-based-standards] (PRIdLEAST8): Likewise.
30372         [C99-based-standards] (PRIiLEAST8): Likewise.
30373         [C99-based-standards] (PRIoLEAST8): Likewise.
30374         [C99-based-standards] (PRIuLEAST8): Likewise.
30375         [C99-based-standards] (PRIxLEAST8): Likewise.
30376         [C99-based-standards] (PRIXLEAST8): Likewise.
30377         [C99-based-standards] (SCNdLEAST8): Likewise.
30378         [C99-based-standards] (SCNiLEAST8): Likewise.
30379         [C99-based-standards] (SCNoLEAST8): Likewise.
30380         [C99-based-standards] (SCNuLEAST8): Likewise.
30381         [C99-based-standards] (SCNxLEAST8): Likewise.
30382         [C99-based-standards] (PRIdFAST8): Likewise.
30383         [C99-based-standards] (PRIiFAST8): Likewise.
30384         [C99-based-standards] (PRIoFAST8): Likewise.
30385         [C99-based-standards] (PRIuFAST8): Likewise.
30386         [C99-based-standards] (PRIxFAST8): Likewise.
30387         [C99-based-standards] (PRIXFAST8): Likewise.
30388         [C99-based-standards] (SCNdFAST8): Likewise.
30389         [C99-based-standards] (SCNiFAST8): Likewise.
30390         [C99-based-standards] (SCNoFAST8): Likewise.
30391         [C99-based-standards] (SCNuFAST8): Likewise.
30392         [C99-based-standards] (SCNxFAST8): Likewise.
30393         [C99-based-standards] (PRId16): Likewise.
30394         [C99-based-standards] (PRIi16): Likewise.
30395         [C99-based-standards] (PRIo16): Likewise.
30396         [C99-based-standards] (PRIu16): Likewise.
30397         [C99-based-standards] (PRIx16): Likewise.
30398         [C99-based-standards] (PRIX16): Likewise.
30399         [C99-based-standards] (SCNd16): Likewise.
30400         [C99-based-standards] (SCNi16): Likewise.
30401         [C99-based-standards] (SCNo16): Likewise.
30402         [C99-based-standards] (SCNu16): Likewise.
30403         [C99-based-standards] (SCNx16): Likewise.
30404         [C99-based-standards] (PRIdLEAST16): Likewise.
30405         [C99-based-standards] (PRIiLEAST16): Likewise.
30406         [C99-based-standards] (PRIoLEAST16): Likewise.
30407         [C99-based-standards] (PRIuLEAST16): Likewise.
30408         [C99-based-standards] (PRIxLEAST16): Likewise.
30409         [C99-based-standards] (PRIXLEAST16): Likewise.
30410         [C99-based-standards] (SCNdLEAST16): Likewise.
30411         [C99-based-standards] (SCNiLEAST16): Likewise.
30412         [C99-based-standards] (SCNoLEAST16): Likewise.
30413         [C99-based-standards] (SCNuLEAST16): Likewise.
30414         [C99-based-standards] (SCNxLEAST16): Likewise.
30415         [C99-based-standards] (PRIdFAST16): Likewise.
30416         [C99-based-standards] (PRIiFAST16): Likewise.
30417         [C99-based-standards] (PRIoFAST16): Likewise.
30418         [C99-based-standards] (PRIuFAST16): Likewise.
30419         [C99-based-standards] (PRIxFAST16): Likewise.
30420         [C99-based-standards] (PRIXFAST16): Likewise.
30421         [C99-based-standards] (SCNdFAST16): Likewise.
30422         [C99-based-standards] (SCNiFAST16): Likewise.
30423         [C99-based-standards] (SCNoFAST16): Likewise.
30424         [C99-based-standards] (SCNuFAST16): Likewise.
30425         [C99-based-standards] (SCNxFAST16): Likewise.
30426         [C99-based-standards] (PRId32): Likewise.
30427         [C99-based-standards] (PRIi32): Likewise.
30428         [C99-based-standards] (PRIo32): Likewise.
30429         [C99-based-standards] (PRIu32): Likewise.
30430         [C99-based-standards] (PRIx32): Likewise.
30431         [C99-based-standards] (PRIX32): Likewise.
30432         [C99-based-standards] (SCNd32): Likewise.
30433         [C99-based-standards] (SCNi32): Likewise.
30434         [C99-based-standards] (SCNo32): Likewise.
30435         [C99-based-standards] (SCNu32): Likewise.
30436         [C99-based-standards] (SCNx32): Likewise.
30437         [C99-based-standards] (PRIdLEAST32): Likewise.
30438         [C99-based-standards] (PRIiLEAST32): Likewise.
30439         [C99-based-standards] (PRIoLEAST32): Likewise.
30440         [C99-based-standards] (PRIuLEAST32): Likewise.
30441         [C99-based-standards] (PRIxLEAST32): Likewise.
30442         [C99-based-standards] (PRIXLEAST32): Likewise.
30443         [C99-based-standards] (SCNdLEAST32): Likewise.
30444         [C99-based-standards] (SCNiLEAST32): Likewise.
30445         [C99-based-standards] (SCNoLEAST32): Likewise.
30446         [C99-based-standards] (SCNuLEAST32): Likewise.
30447         [C99-based-standards] (SCNxLEAST32): Likewise.
30448         [C99-based-standards] (PRIdFAST32): Likewise.
30449         [C99-based-standards] (PRIiFAST32): Likewise.
30450         [C99-based-standards] (PRIoFAST32): Likewise.
30451         [C99-based-standards] (PRIuFAST32): Likewise.
30452         [C99-based-standards] (PRIxFAST32): Likewise.
30453         [C99-based-standards] (PRIXFAST32): Likewise.
30454         [C99-based-standards] (SCNdFAST32): Likewise.
30455         [C99-based-standards] (SCNiFAST32): Likewise.
30456         [C99-based-standards] (SCNoFAST32): Likewise.
30457         [C99-based-standards] (SCNuFAST32): Likewise.
30458         [C99-based-standards] (SCNxFAST32): Likewise.
30459         [C99-based-standards] (PRId64): Likewise.
30460         [C99-based-standards] (PRIi64): Likewise.
30461         [C99-based-standards] (PRIo64): Likewise.
30462         [C99-based-standards] (PRIu64): Likewise.
30463         [C99-based-standards] (PRIx64): Likewise.
30464         [C99-based-standards] (PRIX64): Likewise.
30465         [C99-based-standards] (SCNd64): Likewise.
30466         [C99-based-standards] (SCNi64): Likewise.
30467         [C99-based-standards] (SCNo64): Likewise.
30468         [C99-based-standards] (SCNu64): Likewise.
30469         [C99-based-standards] (SCNx64): Likewise.
30470         [C99-based-standards] (PRIdLEAST64): Likewise.
30471         [C99-based-standards] (PRIiLEAST64): Likewise.
30472         [C99-based-standards] (PRIoLEAST64): Likewise.
30473         [C99-based-standards] (PRIuLEAST64): Likewise.
30474         [C99-based-standards] (PRIxLEAST64): Likewise.
30475         [C99-based-standards] (PRIXLEAST64): Likewise.
30476         [C99-based-standards] (SCNdLEAST64): Likewise.
30477         [C99-based-standards] (SCNiLEAST64): Likewise.
30478         [C99-based-standards] (SCNoLEAST64): Likewise.
30479         [C99-based-standards] (SCNuLEAST64): Likewise.
30480         [C99-based-standards] (SCNxLEAST64): Likewise.
30481         [C99-based-standards] (PRIdFAST64): Likewise.
30482         [C99-based-standards] (PRIiFAST64): Likewise.
30483         [C99-based-standards] (PRIoFAST64): Likewise.
30484         [C99-based-standards] (PRIuFAST64): Likewise.
30485         [C99-based-standards] (PRIxFAST64): Likewise.
30486         [C99-based-standards] (PRIXFAST64): Likewise.
30487         [C99-based-standards] (SCNdFAST64): Likewise.
30488         [C99-based-standards] (SCNiFAST64): Likewise.
30489         [C99-based-standards] (SCNoFAST64): Likewise.
30490         [C99-based-standards] (SCNuFAST64): Likewise.
30491         [C99-based-standards] (SCNxFAST64): Likewise.
30492         [C99-based-standards] (PRIdMAX): Likewise.
30493         [C99-based-standards] (PRIiMAX): Likewise.
30494         [C99-based-standards] (PRIoMAX): Likewise.
30495         [C99-based-standards] (PRIuMAX): Likewise.
30496         [C99-based-standards] (PRIxMAX): Likewise.
30497         [C99-based-standards] (PRIXMAX): Likewise.
30498         [C99-based-standards] (SCNdMAX): Likewise.
30499         [C99-based-standards] (SCNiMAX): Likewise.
30500         [C99-based-standards] (SCNoMAX): Likewise.
30501         [C99-based-standards] (SCNuMAX): Likewise.
30502         [C99-based-standards] (SCNxMAX): Likewise.
30503         [C99-based-standards] (PRIdPTR): Likewise.
30504         [C99-based-standards] (PRIiPTR): Likewise.
30505         [C99-based-standards] (PRIoPTR): Likewise.
30506         [C99-based-standards] (PRIuPTR): Likewise.
30507         [C99-based-standards] (PRIxPTR): Likewise.
30508         [C99-based-standards] (PRIXPTR): Likewise.
30509         [C99-based-standards] (SCNdPTR): Likewise.
30510         [C99-based-standards] (SCNiPTR): Likewise.
30511         [C99-based-standards] (SCNoPTR): Likewise.
30512         [C99-based-standards] (SCNuPTR): Likewise.
30513         [C99-based-standards] (SCNxPTR): Likewise.
30514         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30515         allow.
30516         * conform/data/stdint.h-data: Update comments to clarify
30517         requirements.
30518         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30519         type.
30520         [C99-based standards] (INT8_MAX): Likewise.
30521         [C99-based standards] (INT16_MIN): Likewise.
30522         [C99-based standards] (INT16_MAX): Likewise.
30523         [C99-based standards] (INT32_MIN): Likewise.
30524         [C99-based standards] (INT32_MAX): Likewise.
30525         [C99-based standards] (INT64_MIN): Likewise.
30526         [C99-based standards] (INT64_MAX): Likewise.
30527         [C99-based standards] (UINT8_MAX): Likewise.
30528         [C99-based standards] (UINT16_MAX): Likewise.
30529         [C99-based standards] (UINT32_MAX): Likewise.
30530         [C99-based standards] (UINT64_MAX): Likewise.
30531         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30532         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30533         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30534         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30535         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30536         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30537         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30538         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30539         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30540         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30541         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30542         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30543         [C99-based standards] (INT_FAST8_MIN): Likewise.
30544         [C99-based standards] (INT_FAST8_MAX): Likewise.
30545         [C99-based standards] (INT_FAST16_MIN): Likewise.
30546         [C99-based standards] (INT_FAST16_MAX): Likewise.
30547         [C99-based standards] (INT_FAST32_MIN): Likewise.
30548         [C99-based standards] (INT_FAST32_MAX): Likewise.
30549         [C99-based standards] (INT_FAST64_MIN): Likewise.
30550         [C99-based standards] (INT_FAST64_MAX): Likewise.
30551         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30552         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30553         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30554         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30555         [C99-based standards] (INTPTR_MIN): Likewise.
30556         [C99-based standards] (INTPTR_MAX): Likewise.
30557         [C99-based standards] (UINTPTR_MAX): Likewise.
30558         [C99-based standards] (INTMAX_MIN): Likewise.
30559         [C99-based standards] (INTMAX_MAX): Likewise.
30560         [C99-based standards] (UINTMAX_MAX): Likewise.
30561         [C99-based standards] (PTRDIFF_MIN): Likewise.
30562         [C99-based standards] (PTRDIFF_MAX): Likewise.
30563         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30564         [C99-based standards] (SIZE_MAX): Likewise.
30565         [C99-based standards] (WCHAR_MAX): Likewise.
30566         [C99-based standards] (WINT_MAX): Likewise.
30567         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30568         constraint on value.
30569         [C99-based standards] (WCHAR_MIN): Likewise.
30570         [C99-based standards] (WINT_MIN): Likewise.
30571         [C99-based standards] (*_t): Allow.
30572         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30573         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30574         Include math.h-data and complex.h-data.  Remove all expectations
30575         of math.h and complex.h contents.
30576         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30577         at end of line.
30578         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30579         (struct tm): Expect tag.
30580         [C99-based-standards] (wcstof): Expect function.
30581         [C99-based-standards] (wcstold): Likewise.
30582         [C99-based-standards] (wcstoll): Likewise.
30583         [C99-based-standards] (wcstoull): Likewise.
30584         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30585         macro-int-constant.  Specify type.
30586         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30587         constraint on value.
30588         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30589         Specify type.
30590         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30591         Specify value.
30592         [ISO C standards]: Do not allow headers.
30593         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30594         wcs[abcdefghijklmnopqrstuvwxyz]*.
30595         [ISO C standards] (*_t): Do not allow.
30596         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30597         Expect function.
30598         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30599         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30600         Specify type.
30601         [ISO C standards]: Do not allow headers.
30602         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30603         is[abcdefghijklmnopqrstuvwxyz]*.
30604         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30605         to[abcdefghijklmnopqrstuvwxyz]*.
30606         [ISO C standards] (*_t): Do not allow.
30607         * conform/data/stdalign.h-data: New file.
30608         * conform/data/stdbool.h-data: Likewise.
30609         * conform/data/stdnoreturn.h-data: Likewise.
30611 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30613         [BZ #14815]
30614         * manual/filesys.texi (Directory Entries): Typo fix.
30615         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30617 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30619         * elf/elf.h (EM_AARCH64): New macro.
30620         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30621         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30622         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30623         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30624         (R_AARCH64_TLSDESC): Likewise.
30625         (NT_ARM_TLS): Likewise.
30626         (NT_ARM_HW_BREAK): Likewise.
30627         (NT_ARM_HW_WATCH): Likewise.
30629 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30631         [BZ #14811]
30632         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30633         (__ieee754_powl): Saturate nonzero exponents with absolute value
30634         below 0x1p-79 to +/- 0x1p-79.
30635         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30636         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30637         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30638         nonzero exponents with absolute value below 0x1p-32 to +/-
30639         0x1p-32.
30640         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30641         (__ieee754_powl): Saturate nonzero exponents with absolute value
30642         below 0x1p-79 to +/- 0x1p-79.
30643         * math/libm-test.inc (pow_test): Add more tests.
30645 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30647         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30648         _dl_s390_cap_flags with kernel. Increase string length.
30649         (_dl_s390_platforms): Add z196 and zEC12.
30651 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30653         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30654         Change XOPEN21K to XOPEN2K.
30656 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30658         * string/memmove.c: Use memcpy when possible.
30660 2012-11-06  Andreas Jaeger  <aj@suse.de>
30662         * po/eo.po: Update from translation team.
30664 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30666         [BZ #14793]
30667         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30668         exponent and small x and y exponents, scale x or y up.  Increase
30669         by 2 the exponent used in scaling up.
30670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30672         * math/libm-test.inc (fma_test): Add more tests.
30673         (fma_test_towardzero): Likewise.
30674         (fma_test_downward): Likewise.
30675         (fma_test_upward): Likewise.
30677 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
30679         [BZ #14805]
30680         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30681         fenv_t *.
30683         [BZ #14801]
30684         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30685         namespace for names of struct fields.
30686         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30687         fenv_t fields.
30688         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30689         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30691 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30693         [BZ #3665]
30694         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30696 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30698         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30699         PTR_DEMANGLE.
30701         [BZ #5246]
30702         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30703         PTR_DEMANGLE.
30705 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
30707         [BZ #14797]
30708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30709         definitely overflow as x * y not x * y + z.
30710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30712         * math/libm-test.inc (fma_test): Add more tests.
30713         (fma_test_towardzero): Likewise.
30714         (fma_test_downward): Likewise.
30715         (fma_test_upward): Likewise.
30717 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30719         [BZ #157]
30721         * include/stub-tag.h: Remove file.
30722         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30723         '#include' of it.
30724         * manual/maint.texi (Porting): Don't reference it.
30725         * Makerules ($(objpfx)stubs): Likewise.
30726         * dirent/closedir.c: Don't include <stub-tag.h>.
30727         * dirent/dirfd.c: Likewise.
30728         * dirent/fdopendir.c: Likewise.
30729         * dirent/getdents.c: Likewise.
30730         * dirent/getdents64.c: Likewise.
30731         * dirent/opendir.c: Likewise.
30732         * dirent/readdir.c: Likewise.
30733         * dirent/readdir64.c: Likewise.
30734         * dirent/readdir64_r.c: Likewise.
30735         * dirent/readdir_r.c: Likewise.
30736         * dirent/rewinddir.c: Likewise.
30737         * dirent/seekdir.c: Likewise.
30738         * dirent/telldir.c: Likewise.
30739         * gmon/profil.c: Likewise.
30740         * grp/setgroups.c: Likewise.
30741         * inet/if_index.c: Likewise.
30742         * io/access.c: Likewise.
30743         * io/chdir.c: Likewise.
30744         * io/chmod.c: Likewise.
30745         * io/chown.c: Likewise.
30746         * io/close.c: Likewise.
30747         * io/dup.c: Likewise.
30748         * io/dup2.c: Likewise.
30749         * io/dup3.c: Likewise.
30750         * io/euidaccess.c: Likewise.
30751         * io/faccessat.c: Likewise.
30752         * io/fchdir.c: Likewise.
30753         * io/fchmod.c: Likewise.
30754         * io/fchmodat.c: Likewise.
30755         * io/fchown.c: Likewise.
30756         * io/fchownat.c: Likewise.
30757         * io/fcntl.c: Likewise.
30758         * io/flock.c: Likewise.
30759         * io/fstatfs.c: Likewise.
30760         * io/fstatfs64.c: Likewise.
30761         * io/fstatvfs.c: Likewise.
30762         * io/fstatvfs64.c: Likewise.
30763         * io/futimens.c: Likewise.
30764         * io/fxstat.c: Likewise.
30765         * io/fxstat64.c: Likewise.
30766         * io/fxstatat.c: Likewise.
30767         * io/fxstatat64.c: Likewise.
30768         * io/getcwd.c: Likewise.
30769         * io/isatty.c: Likewise.
30770         * io/lchmod.c: Likewise.
30771         * io/lchown.c: Likewise.
30772         * io/link.c: Likewise.
30773         * io/linkat.c: Likewise.
30774         * io/lseek.c: Likewise.
30775         * io/lseek64.c: Likewise.
30776         * io/lxstat64.c: Likewise.
30777         * io/mkdir.c: Likewise.
30778         * io/mkdirat.c: Likewise.
30779         * io/mkfifo.c: Likewise.
30780         * io/mkfifoat.c: Likewise.
30781         * io/open.c: Likewise.
30782         * io/open64.c: Likewise.
30783         * io/openat.c: Likewise.
30784         * io/openat64.c: Likewise.
30785         * io/pipe.c: Likewise.
30786         * io/pipe2.c: Likewise.
30787         * io/poll.c: Likewise.
30788         * io/posix_fadvise.c: Likewise.
30789         * io/posix_fadvise64.c: Likewise.
30790         * io/posix_fallocate.c: Likewise.
30791         * io/posix_fallocate64.c: Likewise.
30792         * io/read.c: Likewise.
30793         * io/readlink.c: Likewise.
30794         * io/readlinkat.c: Likewise.
30795         * io/rmdir.c: Likewise.
30796         * io/sendfile.c: Likewise.
30797         * io/sendfile64.c: Likewise.
30798         * io/statfs.c: Likewise.
30799         * io/statfs64.c: Likewise.
30800         * io/statvfs.c: Likewise.
30801         * io/statvfs64.c: Likewise.
30802         * io/symlink.c: Likewise.
30803         * io/symlinkat.c: Likewise.
30804         * io/ttyname.c: Likewise.
30805         * io/ttyname_r.c: Likewise.
30806         * io/umask.c: Likewise.
30807         * io/unlink.c: Likewise.
30808         * io/unlinkat.c: Likewise.
30809         * io/utime.c: Likewise.
30810         * io/utimensat.c: Likewise.
30811         * io/write.c: Likewise.
30812         * io/xmknod.c: Likewise.
30813         * io/xmknodat.c: Likewise.
30814         * io/xstat.c: Likewise.
30815         * io/xstat64.c: Likewise.
30816         * login/getpt.c: Likewise.
30817         * login/grantpt.c: Likewise.
30818         * login/unlockpt.c: Likewise.
30819         * math/e_acoshl.c: Likewise.
30820         * math/e_acosl.c: Likewise.
30821         * math/e_asinl.c: Likewise.
30822         * math/e_atan2l.c: Likewise.
30823         * math/e_atanhl.c: Likewise.
30824         * math/e_coshl.c: Likewise.
30825         * math/e_expl.c: Likewise.
30826         * math/e_fmodl.c: Likewise.
30827         * math/e_gammal_r.c: Likewise.
30828         * math/e_hypotl.c: Likewise.
30829         * math/e_j0l.c: Likewise.
30830         * math/e_j1l.c: Likewise.
30831         * math/e_jnl.c: Likewise.
30832         * math/e_lgammal_r.c: Likewise.
30833         * math/e_log10l.c: Likewise.
30834         * math/e_log2l.c: Likewise.
30835         * math/e_logl.c: Likewise.
30836         * math/e_powl.c: Likewise.
30837         * math/e_rem_pio2l.c: Likewise.
30838         * math/e_sinhl.c: Likewise.
30839         * math/e_sqrtl.c: Likewise.
30840         * math/fclrexcpt.c: Likewise.
30841         * math/fedisblxcpt.c: Likewise.
30842         * math/feenablxcpt.c: Likewise.
30843         * math/fegetenv.c: Likewise.
30844         * math/fegetexcept.c: Likewise.
30845         * math/fegetround.c: Likewise.
30846         * math/feholdexcpt.c: Likewise.
30847         * math/fesetenv.c: Likewise.
30848         * math/fesetround.c: Likewise.
30849         * math/feupdateenv.c: Likewise.
30850         * math/fgetexcptflg.c: Likewise.
30851         * math/fraiseexcpt.c: Likewise.
30852         * math/fsetexcptflg.c: Likewise.
30853         * math/ftestexcept.c: Likewise.
30854         * math/k_cosl.c: Likewise.
30855         * math/k_rem_pio2l.c: Likewise.
30856         * math/k_sinl.c: Likewise.
30857         * math/k_tanl.c: Likewise.
30858         * math/s_asinhl.c: Likewise.
30859         * math/s_atanl.c: Likewise.
30860         * math/s_cbrtl.c: Likewise.
30861         * math/s_erfl.c: Likewise.
30862         * math/s_expm1l.c: Likewise.
30863         * math/s_log1pl.c: Likewise.
30864         * math/s_tanhl.c: Likewise.
30865         * misc/acct.c: Likewise.
30866         * misc/brk.c: Likewise.
30867         * misc/chflags.c: Likewise.
30868         * misc/chroot.c: Likewise.
30869         * misc/fchflags.c: Likewise.
30870         * misc/fgetxattr.c: Likewise.
30871         * misc/flistxattr.c: Likewise.
30872         * misc/fremovexattr.c: Likewise.
30873         * misc/fsetxattr.c: Likewise.
30874         * misc/fsync.c: Likewise.
30875         * misc/ftruncate.c: Likewise.
30876         * misc/futimes.c: Likewise.
30877         * misc/futimesat.c: Likewise.
30878         * misc/getdomain.c: Likewise.
30879         * misc/getdtsz.c: Likewise.
30880         * misc/gethostid.c: Likewise.
30881         * misc/gethostname.c: Likewise.
30882         * misc/getloadavg.c: Likewise.
30883         * misc/getpagesize.c: Likewise.
30884         * misc/getsysstats.c: Likewise.
30885         * misc/getxattr.c: Likewise.
30886         * misc/gtty.c: Likewise.
30887         * misc/ioctl.c: Likewise.
30888         * misc/lgetxattr.c: Likewise.
30889         * misc/listxattr.c: Likewise.
30890         * misc/llistxattr.c: Likewise.
30891         * misc/lremovexattr.c: Likewise.
30892         * misc/lsetxattr.c: Likewise.
30893         * misc/lutimes.c: Likewise.
30894         * misc/madvise.c: Likewise.
30895         * misc/mincore.c: Likewise.
30896         * misc/mlock.c: Likewise.
30897         * misc/mlockall.c: Likewise.
30898         * misc/mmap.c: Likewise.
30899         * misc/mprotect.c: Likewise.
30900         * misc/msync.c: Likewise.
30901         * misc/munlock.c: Likewise.
30902         * misc/munlockall.c: Likewise.
30903         * misc/munmap.c: Likewise.
30904         * misc/preadv.c: Likewise.
30905         * misc/preadv64.c: Likewise.
30906         * misc/ptrace.c: Likewise.
30907         * misc/pwritev.c: Likewise.
30908         * misc/pwritev64.c: Likewise.
30909         * misc/readv.c: Likewise.
30910         * misc/reboot.c: Likewise.
30911         * misc/remap_file_pages.c: Likewise.
30912         * misc/removexattr.c: Likewise.
30913         * misc/revoke.c: Likewise.
30914         * misc/select.c: Likewise.
30915         * misc/setdomain.c: Likewise.
30916         * misc/setegid.c: Likewise.
30917         * misc/seteuid.c: Likewise.
30918         * misc/sethostid.c: Likewise.
30919         * misc/sethostname.c: Likewise.
30920         * misc/setregid.c: Likewise.
30921         * misc/setreuid.c: Likewise.
30922         * misc/setxattr.c: Likewise.
30923         * misc/sstk.c: Likewise.
30924         * misc/stty.c: Likewise.
30925         * misc/swapoff.c: Likewise.
30926         * misc/swapon.c: Likewise.
30927         * misc/sync.c: Likewise.
30928         * misc/syncfs.c: Likewise.
30929         * misc/syscall.c: Likewise.
30930         * misc/truncate.c: Likewise.
30931         * misc/ualarm.c: Likewise.
30932         * misc/usleep.c: Likewise.
30933         * misc/ustat.c: Likewise.
30934         * misc/utimes.c: Likewise.
30935         * misc/vhangup.c: Likewise.
30936         * misc/writev.c: Likewise.
30937         * posix/_exit.c: Likewise.
30938         * posix/alarm.c: Likewise.
30939         * posix/execve.c: Likewise.
30940         * posix/fexecve.c: Likewise.
30941         * posix/fork.c: Likewise.
30942         * posix/fpathconf.c: Likewise.
30943         * posix/getaddrinfo.c: Likewise.
30944         * posix/getegid.c: Likewise.
30945         * posix/geteuid.c: Likewise.
30946         * posix/getgid.c: Likewise.
30947         * posix/getgroups.c: Likewise.
30948         * posix/getlogin.c: Likewise.
30949         * posix/getlogin_r.c: Likewise.
30950         * posix/getpgid.c: Likewise.
30951         * posix/getpid.c: Likewise.
30952         * posix/getppid.c: Likewise.
30953         * posix/getresgid.c: Likewise.
30954         * posix/getresuid.c: Likewise.
30955         * posix/getsid.c: Likewise.
30956         * posix/getuid.c: Likewise.
30957         * posix/glob64.c: Likewise.
30958         * posix/nanosleep.c: Likewise.
30959         * posix/pathconf.c: Likewise.
30960         * posix/pause.c: Likewise.
30961         * posix/posix_madvise.c: Likewise.
30962         * posix/pread.c: Likewise.
30963         * posix/pread64.c: Likewise.
30964         * posix/pwrite.c: Likewise.
30965         * posix/pwrite64.c: Likewise.
30966         * posix/sched_getaffinity.c: Likewise.
30967         * posix/sched_getp.c: Likewise.
30968         * posix/sched_gets.c: Likewise.
30969         * posix/sched_primax.c: Likewise.
30970         * posix/sched_primin.c: Likewise.
30971         * posix/sched_rr_gi.c: Likewise.
30972         * posix/sched_setaffinity.c: Likewise.
30973         * posix/sched_setp.c: Likewise.
30974         * posix/sched_sets.c: Likewise.
30975         * posix/sched_yield.c: Likewise.
30976         * posix/setgid.c: Likewise.
30977         * posix/setlogin.c: Likewise.
30978         * posix/setpgid.c: Likewise.
30979         * posix/setresgid.c: Likewise.
30980         * posix/setresuid.c: Likewise.
30981         * posix/setsid.c: Likewise.
30982         * posix/setuid.c: Likewise.
30983         * posix/sleep.c: Likewise.
30984         * posix/spawni.c: Likewise.
30985         * posix/sysconf.c: Likewise.
30986         * posix/times.c: Likewise.
30987         * posix/wait.c: Likewise.
30988         * posix/wait3.c: Likewise.
30989         * posix/wait4.c: Likewise.
30990         * posix/waitpid.c: Likewise.
30991         * resolv/gai_sigqueue.c: Likewise.
30992         * resource/getpriority.c: Likewise.
30993         * resource/getrlimit.c: Likewise.
30994         * resource/getrusage.c: Likewise.
30995         * resource/nice.c: Likewise.
30996         * resource/setpriority.c: Likewise.
30997         * resource/setrlimit.c: Likewise.
30998         * resource/ulimit.c: Likewise.
30999         * rt/aio_cancel.c: Likewise.
31000         * rt/aio_fsync.c: Likewise.
31001         * rt/aio_read.c: Likewise.
31002         * rt/aio_sigqueue.c: Likewise.
31003         * rt/aio_suspend.c: Likewise.
31004         * rt/aio_write.c: Likewise.
31005         * rt/clock_getres.c: Likewise.
31006         * rt/clock_gettime.c: Likewise.
31007         * rt/clock_nanosleep.c: Likewise.
31008         * rt/clock_settime.c: Likewise.
31009         * rt/lio_listio.c: Likewise.
31010         * rt/mq_close.c: Likewise.
31011         * rt/mq_getattr.c: Likewise.
31012         * rt/mq_notify.c: Likewise.
31013         * rt/mq_open.c: Likewise.
31014         * rt/mq_receive.c: Likewise.
31015         * rt/mq_send.c: Likewise.
31016         * rt/mq_setattr.c: Likewise.
31017         * rt/mq_timedreceive.c: Likewise.
31018         * rt/mq_timedsend.c: Likewise.
31019         * rt/mq_unlink.c: Likewise.
31020         * rt/shm_open.c: Likewise.
31021         * rt/shm_unlink.c: Likewise.
31022         * rt/timer_create.c: Likewise.
31023         * rt/timer_delete.c: Likewise.
31024         * rt/timer_getoverr.c: Likewise.
31025         * rt/timer_gettime.c: Likewise.
31026         * rt/timer_settime.c: Likewise.
31027         * setjmp/__longjmp.c: Likewise.
31028         * setjmp/setjmp.c: Likewise.
31029         * signal/kill.c: Likewise.
31030         * signal/killpg.c: Likewise.
31031         * signal/raise.c: Likewise.
31032         * signal/sigaction.c: Likewise.
31033         * signal/sigaltstack.c: Likewise.
31034         * signal/sigblock.c: Likewise.
31035         * signal/sigignore.c: Likewise.
31036         * signal/sigintr.c: Likewise.
31037         * signal/signal.c: Likewise.
31038         * signal/sigpause.c: Likewise.
31039         * signal/sigpending.c: Likewise.
31040         * signal/sigqueue.c: Likewise.
31041         * signal/sigreturn.c: Likewise.
31042         * signal/sigset.c: Likewise.
31043         * signal/sigsetmask.c: Likewise.
31044         * signal/sigstack.c: Likewise.
31045         * signal/sigsuspend.c: Likewise.
31046         * signal/sigtimedwait.c: Likewise.
31047         * signal/sigvec.c: Likewise.
31048         * signal/sigwait.c: Likewise.
31049         * signal/sigwaitinfo.c: Likewise.
31050         * signal/sysv_signal.c: Likewise.
31051         * socket/accept.c: Likewise.
31052         * socket/accept4.c: Likewise.
31053         * socket/bind.c: Likewise.
31054         * socket/connect.c: Likewise.
31055         * socket/getpeername.c: Likewise.
31056         * socket/getsockname.c: Likewise.
31057         * socket/getsockopt.c: Likewise.
31058         * socket/isfdtype.c: Likewise.
31059         * socket/listen.c: Likewise.
31060         * socket/recv.c: Likewise.
31061         * socket/recvfrom.c: Likewise.
31062         * socket/recvmsg.c: Likewise.
31063         * socket/send.c: Likewise.
31064         * socket/sendmsg.c: Likewise.
31065         * socket/sendto.c: Likewise.
31066         * socket/setsockopt.c: Likewise.
31067         * socket/shutdown.c: Likewise.
31068         * socket/sockatmark.c: Likewise.
31069         * socket/socket.c: Likewise.
31070         * socket/socketpair.c: Likewise.
31071         * stdio-common/ctermid.c: Likewise.
31072         * stdio-common/cuserid.c: Likewise.
31073         * stdio-common/remove.c: Likewise.
31074         * stdio-common/rename.c: Likewise.
31075         * stdio-common/renameat.c: Likewise.
31076         * stdio-common/tempname.c: Likewise.
31077         * stdlib/getcontext.c: Likewise.
31078         * stdlib/makecontext.c: Likewise.
31079         * stdlib/setcontext.c: Likewise.
31080         * stdlib/swapcontext.c: Likewise.
31081         * stdlib/system.c: Likewise.
31082         * streams/fattach.c: Likewise.
31083         * streams/fdetach.c: Likewise.
31084         * streams/getmsg.c: Likewise.
31085         * streams/getpmsg.c: Likewise.
31086         * streams/putmsg.c: Likewise.
31087         * streams/putpmsg.c: Likewise.
31088         * sysdeps/unix/bsd/getpt.c: Likewise.
31089         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31090         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31091         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31093         Likewise.
31094         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31095         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31096         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31097         * sysvipc/msgctl.c: Likewise.
31098         * sysvipc/msgget.c: Likewise.
31099         * sysvipc/msgrcv.c: Likewise.
31100         * sysvipc/msgsnd.c: Likewise.
31101         * sysvipc/semctl.c: Likewise.
31102         * sysvipc/semget.c: Likewise.
31103         * sysvipc/semop.c: Likewise.
31104         * sysvipc/semtimedop.c: Likewise.
31105         * sysvipc/shmat.c: Likewise.
31106         * sysvipc/shmctl.c: Likewise.
31107         * sysvipc/shmdt.c: Likewise.
31108         * sysvipc/shmget.c: Likewise.
31109         * termios/tcdrain.c: Likewise.
31110         * termios/tcflow.c: Likewise.
31111         * termios/tcflush.c: Likewise.
31112         * termios/tcgetattr.c: Likewise.
31113         * termios/tcgetpgrp.c: Likewise.
31114         * termios/tcsendbrk.c: Likewise.
31115         * termios/tcsetattr.c: Likewise.
31116         * termios/tcsetpgrp.c: Likewise.
31117         * time/adjtime.c: Likewise.
31118         * time/clock.c: Likewise.
31119         * time/getitimer.c: Likewise.
31120         * time/gettimeofday.c: Likewise.
31121         * time/setitimer.c: Likewise.
31122         * time/settimeofday.c: Likewise.
31123         * time/stime.c: Likewise.
31124         * time/time.c: Likewise.
31126 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
31128         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31129         /usr/old/bin.
31131         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31132         instead of spaces.
31133         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31135 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
31137         [BZ #14796]
31138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31139         FE_TONEAREST before applying Dekker multiplication and Knuth
31140         addition.  Clear inexact exceptions and check for exact zero
31141         results afterwards.
31142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31143         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31145         * math/libm-test.inc (fma_test): Add more tests.
31146         (fma_test_towardzero): Likewise.
31147         (fma_test_downward): Likewise.
31148         (fma_test_upward): Likewise.
31149         * sysdeps/generic/math_private.h (default_libc_fesetround): New
31150         function.
31151         (libc_fesetround): New macro.
31152         (libc_fesetroundf): Likewise.
31153         (libc_fesetroundl): Likewise.
31154         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31155         function.
31156         (libc_fesetround_387): Likewise.
31157         (libc_fesetroundf): New macro.
31158         (libc_fesetround): Likewise.
31159         (libc_fesetroundl): Likewise.
31160         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31161         function.
31162         (libc_fesetroundf): New macro.
31163         (libc_fesetround): Likewise.
31164         (libc_fesetroundl): Likewise.
31165         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31166         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31167         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31168         libm_hidden_ver.
31169         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31170         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31171         libm_hidden_def.
31172         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31173         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31174         libm_hidden_ver.
31175         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31176         libm_hidden_def.
31178         [BZ #3439]
31179         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31180         integer constant usable in #if and use that to give value to enum
31181         constant.
31182         (FE_DIVBYZERO): Likewise.
31183         (FE_UNDERFLOW): Likewise.
31184         (FE_OVERFLOW): Likewise.
31185         (FE_INVALID): Likewise.
31186         (FE_INVALID_SNAN): Likewise.
31187         (FE_INVALID_ISI): Likewise.
31188         (FE_INVALID_IDI): Likewise.
31189         (FE_INVALID_ZDZ): Likewise.
31190         (FE_INVALID_IMZ): Likewise.
31191         (FE_INVALID_COMPARE): Likewise.
31192         (FE_INVALID_SOFTWARE): Likewise.
31193         (FE_INVALID_SQRT): Likewise.
31194         (FE_INVALID_INTEGER_CONVERSION): Likewise.
31195         (FE_TONEAREST): Likewise.
31196         (FE_TOWARDZERO): Likewise.
31197         (FE_UPWARD): Likewise.
31198         (FE_DOWNWARD): Likewise.
31199         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31200         (FE_DIVBYZERO): Likewise.
31201         (FE_OVERFLOW): Likewise.
31202         (FE_UNDERFLOW): Likewise.
31203         (FE_INEXACT): Likewise.
31204         (FE_TONEAREST): Likewise.
31205         (FE_DOWNWARD): Likewise.
31206         (FE_UPWARD): Likewise.
31207         (FE_TOWARDZERO): Likewise.
31208         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31209         (FE_UNDERFLOW): Likewise.
31210         (FE_OVERFLOW): Likewise.
31211         (FE_DIVBYZERO): Likewise.
31212         (FE_INVALID): Likewise.
31213         (FE_TONEAREST): Likewise.
31214         (FE_TOWARDZERO): Likewise.
31215         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31216         (FE_OVERFLOW): Likewise.
31217         (FE_UNDERFLOW): Likewise.
31218         (FE_DIVBYZERO): Likewise.
31219         (FE_INEXACT): Likewise.
31220         (FE_TONEAREST): Likewise.
31221         (FE_TOWARDZERO): Likewise.
31222         (FE_UPWARD): Likewise.
31223         (FE_DOWNWARD): Likewise.
31224         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31225         (FE_DIVBYZERO): Likewise.
31226         (FE_OVERFLOW): Likewise.
31227         (FE_UNDERFLOW): Likewise.
31228         (FE_INEXACT): Likewise.
31229         (FE_TONEAREST): Likewise.
31230         (FE_DOWNWARD): Likewise.
31231         (FE_UPWARD): Likewise.
31232         (FE_TOWARDZERO): Likewise.
31234 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
31236         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31238 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
31240         * scripts/cross-test-ssh.sh (command): Use newlines to separate
31241         commands.  Quote $PWD.
31242         (blacklist_exports): Don't use remove_newlines.  Replace "declare
31243         -x" by "export".
31244         (remove_newlines): Remove.
31246 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
31248         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31249         * stdlib/stdlib.h (atof): Moved to ...
31250         * include/bits/stdlib-float.h: Here.  New file.
31251         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31252         * stdlib/bits/stdlib-float.h: New file.
31253         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31254         -mno-sse -mno-mmx.
31255         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31256         <xmmintrin.h>.
31258 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31260         * conform/conformtest.pl (@headers): Add fenv.h.
31261         * conform/data/fenv.h-data: New file.
31262         * include/fenv.h [_ISOMAC]: Disable all contents of file except
31263         include of <math/fenv.h>.
31265         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31266         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31267         && !UNIX98].  Enables tests for XOPEN2K8.
31268         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31269         POSIX2008]: Likewise.
31271         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31272         (struct rusage): Do not expect type or its members.
31274         [BZ #3439]
31275         * math/math.h (FP_NAN): Define macro to integer constant usable in
31276         #if and use that to give value to enum constant.
31277         (FP_INFINITE): Likewise.
31278         (FP_ZERO): Likewise.
31279         (FP_SUBNORMAL): Likewise.
31280         (FP_NORMAL): Likewise.
31282 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
31284         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31285         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31286         arguments.
31288 2012-11-02  Roland McGrath  <roland@hack.frob.com>
31290         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31291         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31292         autoconf-time if not.
31293         * configure.in: Remove AC_PREREQ.
31295 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31297         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31298         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31299         of the internal implementation.
31301 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31303         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31304         except include of <misc/sys/syslog.h>.
31306 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31309         function returns with a NULL context exit with zero.
31311 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31313         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31315 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
31317         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31318         (run_program_cmd): This.
31319         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31320         (tst_langinfo): New variable.  Use it.
31322 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
31324         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31325         floating point opcodes.
31327 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31329         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31330         variable.
31332         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31334         * sysdeps/mach/hurd/powerpc: Remove directory.
31335         * sysdeps/mach/powerpc: Likewise.
31337 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31339         * scripts/check-local-headers.sh: Ignore c++ headers.
31341 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31343         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31344         __libc_cleanup_region_start argument.
31346 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
31348         [BZ #14784]
31349         [BZ #14785]
31350         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31351         x * y using scaling, not as x * y + z.
31352         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31353         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31354         * math/libm-test.inc (fma_test): Add more tests.
31355         (fma_test_towardzero): Likewise.
31356         (fma_test_downward): Likewise.
31357         (fma_test_upward): Likewise.
31359 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31361         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31363 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31365         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31366         New variable.
31368 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
31370         * rt/tst-shm.c (worker): Correct checking for mmap failure.
31372 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31375         Fix sort order.
31376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31377         Likewise.
31379 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31382         Fix the order of the list for glibc 2.17.
31383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31384         Likewise.
31386 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31390 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31392         [BZ #14610]
31393         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31394         for low part of x being zero before using __atanl (y).
31395         * math/libm-test.inc (atan2_test): Add another test.
31397         * manual/install.texi (Configuring and compiling): Document
31398         general use of test-wrapper and test-wrapper-env.
31399         * INSTALL: Regenerated.
31401         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31402         (__fma): Do not extract and scale down low bits on after-rounding
31403         systems when result rounded to normal precision would have normal
31404         exponent.
31405         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31406         (__fmal): Do not extract and scale down low bits on after-rounding
31407         systems when result rounded to normal precision would have normal
31408         exponent.
31409         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31410         (__fmal): Do not extract and scale down low bits on after-rounding
31411         systems when result rounded to normal precision would have normal
31412         exponent.
31413         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31414         macro.
31415         (fma_test): Add more tests.
31416         (fma_test_towardzero): Likewise.
31417         (fma_test_downward): Likewise.
31418         (fma_test_upward): Likewise.
31420 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
31422         * sysdeps/i386/tininess.h: Renamed to ...
31423         * sysdeps/x86/tininess.h: This.
31424         * sysdeps/x86_64/tininess.h: Removed.
31426 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31428         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31429         input.  Use $(build-program-cmd).
31430         ($(objpfx)tst-array1-static.out): Likewise.
31431         ($(objpfx)tst-array2.out): Likewise.
31432         ($(objpfx)tst-array3.out): Likewise.
31433         ($(objpfx)tst-array4.out): Likewise.
31434         ($(objpfx)tst-array5.out): Likewise.
31435         ($(objpfx)tst-array5-static.out): Likewise.
31437 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
31439         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31440         if defined.
31442         * nss/nsswitch.h (nss_interface_function): Provide new
31443         macro for use with NSS functions.
31444         * grp/initgroups.c: Use new macro.
31445         * nss/getXXbyYY.c: Likewise.
31446         * nss/getXXbyYY_r.c: Likewise.
31447         * nss/getXXent.c: Likewise.
31448         * nss/getXXent_r.c: Likewise.
31449         * sysdeps/posix/getaddrinfo.c: Likewise.
31451 2012-10-30  Andreas Jaeger  <aj@suse.de>
31453         * po/ru.po: Update Russion translation from translation project.
31455 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31457         [BZ #14152]
31458         [BZ #14783]
31459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31460         result and shift together with sticky bit instead of replicating
31461         round-to-nearest rounding.
31462         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31463         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31464         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
31465         missing underflow exceptions.
31466         (fma_test_towardzero): Add more tests.
31467         (fma_test_downward): Likewise.
31468         (fma_test_upward): Likewise.
31470         [BZ #14047]
31471         * sysdeps/generic/tininess.h: New file.
31472         * sysdeps/i386/tininess.h: Likewise.
31473         * sysdeps/sh/tininess.h: Likewise.
31474         * sysdeps/x86_64/tininess.h: Likewise.
31475         * stdlib/tst-strtod-underflow.c: Likewise.
31476         * stdlib/tst-tininess.c: Likewise.
31477         * stdlib/strtod_l.c: Include <tininess.h>.
31478         (round_and_return): Do not set errno for exact underflow cases.
31479         Force an underflow exception when setting errno for underflow.
31480         Determine underflow based on rounding to normal precision if
31481         TININESS_AFTER_ROUNDING.
31482         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31483         ERANGE for exact underflow cases.
31484         * stdlib/Makefile (tests): Add tst-tininess and
31485         tst-strtod-underflow.
31486         ($(objpfx)tst-tininess): Use $(link-libm).
31487         ($(objpfx)tst-strtod-underflow): Likewise.
31489 2012-10-30  Andreas Jaeger  <aj@suse.de>
31491         [BZ#14767]
31492         * elf/Makefile (tests): Remove conditional for have-initfini-array
31493         since this is now always required and the variable does not exist
31494         anymore.
31495         (tests-static): Likewise.
31496         (modules-names): Likewise.
31498         * po/eo.po: Add Esperanto translation from translation project.
31500         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31501         merged with constructor/destructor.
31502         (init_array): Likewise.
31503         * elf/tst-array2dep.c (fini_array): Likewise.
31504         (init_array): Likewise.
31506 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31508         * manual/message.texi: Delete @cartouche tags.
31510 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31512         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31513         EOPNOTSUPP.
31514         * sysdeps/mach/hurd/fsync.c: Likewise.
31516         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31517         [_POSIX_REALTIME_SIGNALS]: Change condition to
31518         [_POSIX_REALTIME_SIGNALS > 0].
31520 2012-10-27  Andreas Jaeger  <aj@suse.de>
31522         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31523         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31525         [__WORDSIZE != 64]: Likewise.
31527 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31529         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31530         *  iconvdata/tst-tables.sh: Likewise.
31532 2012-10-25  David S. Miller  <davem@davemloft.net>
31534         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31535         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31536         of strtoull.
31538         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31539         ifunc-impl-list.c
31540         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31541         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31542         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31543         file.
31545 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31547         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31548         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31549         __getdirentries.
31551 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31552             Jim Blandy  <jimb@codesourcery.com>
31554         * scripts/cross-test-ssh.sh: New file.
31555         * manual/install.texi (Configuring and compiling): Document use of
31556         cross-test-ssh.sh.
31557         * INSTALL: Regenerated.
31559 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31561         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31562         EOPNOTSUPP.
31564 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31566         * Makeconfig (run-program-prefix): Fix comment.
31568 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31569             Jim Blandy  <jimb@codesourcery.com>
31571         * Makeconfig (test-wrapper): New variable,
31572         (test-wrapper-env): Likewise.
31573         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31574         (run-built-tests): Define to yes.
31575         (run-program-prefix): Use $(test-wrapper).
31576         (built-program-cmd): Likewise.
31577         * Rules (make-test-out): Use $(test-wrapper-env) and
31578         $(host-built-program-cmd).
31579         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31580         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31581         tst-pathopt.sh.
31582         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31583         $(test-wrapper-env) to tst-rtld-load-self.sh.
31584         ($(objpfx)order2.out): Use $(test-wrapper).
31585         ($(objpfx)tst-initorder.out): Likewise.
31586         ($(objpfx)tst-initorder2.out): Likewise.
31587         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31588         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31589         (test_wrapper_env): New variable.  Use it to run ld.so.
31590         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31591         Use it to run ld.so.
31592         (test_wrapper_env): Likewise.
31593         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31594         $(test-wrapper) to run-iconv-test.sh.
31595         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31596         (ICONV): Use $test_wrapper.
31597         * posix/Makefile ($(objpfx)globtest.out): Pass
31598         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31599         globtest.sh, not $(run-program-prefix).
31600         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31601         (test_wrapper): Likewise.
31602         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31603         set together with run_via_rtld_prefix.
31604         (run_program_prefix): Define in terms of test_wrapper and
31605         run_via_rtld_prefix.
31607 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31609         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31610         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31611         Targets removed.
31613         [BZ #14743]
31614         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31615         Declare __clock_getres, __clock_gettime, __clock_settime,
31616         __clock_nanosleep, and __clock_getcpuclockid.
31617         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31618         Remove librt_hidden_def (clock_gettime).
31619         * sysdeps/unix/clock_gettime.c: Likewise.
31620         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31621         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31622         * rt/clock_getres.c: Define __clock_getres as an alias.
31623         * sysdeps/posix/clock_getres.c: Likewise.
31624         * rt/clock_settime.c: Define __clock_settime as an alias.
31625         * sysdeps/unix/clock_settime.c: Likewise.
31626         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31627         * sysdeps/unix/clock_nanosleep.c: Likewise.
31628         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31629         * rt/clock-compat.c: New file.
31630         * rt/Makefile (librt-routines): Add clock-compat and move
31631         $(clock-routines) to ...
31632         (routines): ... here, new variable.
31633         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31634         Don't add get_clockfreq here.
31635         * rt/Versions (libc: GLIBC_2.17): New version set.
31636         Add clock_* symbols here.
31637         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31638         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31639         (GLIBC_2.17): Add clock_* symbols.
31640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31642         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31644         Likewise.
31645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31646         Likewise.
31647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31651         * NEWS: Mention the move.
31653         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31654         Use __open, __read, __close rather than their public counterparts.
31655         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31656         (__get_clockfreq_via_cpuinfo): Likewise.
31657         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31658         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31660         * config.h.in (HAVE_IFUNC): New #undef.
31661         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31662         was successful.
31663         * configure: Regenerated.
31665 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31667         * configure.in: Move READELF check to start of file.
31668         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31669         libc_cv_asm_gnu_indirect_function in the process.
31670         * configure: Regenerated.
31672 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31674         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31675         send the output to /dev/null.
31676         (libc_cv_cc_with_libunwind): Likewise.
31677         (libc_cv_as_noexecstack): Likewise.
31678         * configure: Regenerate.
31680 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31682         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31684         * posix/globtest.sh (TMPDIR): Do not set.
31685         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31686         (testout): Likewise.
31688 2012-10-24  Andreas Jaeger  <aj@suse.de>
31690         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31691         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31692         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31693         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31694         posix_fadvise64, posix_fallocate64.
31696         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31697         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31698         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31699         Likewise.
31700         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31701         Likewise.
31702         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31704         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31705         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31706         <bits/fcntl-linux.h>.
31707         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31709         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31710         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31711         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31712         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31713         [__WORDSIZE != 64]: Likewise.
31715 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31717         * Makeconfig (run-built-tests): New variable.
31718         * Rules [$(cross-compiling) = yes]: Change condition to
31719         [$(run-built-tests) = no].
31720         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31721         to [$(run-built-tests) = yes].
31722         * elf/Makefile [$(cross-compiling) = no]: Likewise
31723         * grp/Makefile [$(cross-compiling) = no]: Likewise.
31724         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31725         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31726         * intl/Makefile [$(cross-compiling) = no]: Likewise.
31727         * io/Makefile [$(cross-compiling) = no]: Likewise.
31728         * libio/Makefile [$(cross-compiling) = no]: Likewise.
31729         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31730         * misc/Makefile [$(cross-compiling) = no]: Likewise.
31731         * posix/Makefile [$(cross-compiling) = no]: Likewise.
31732         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31733         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31734         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31735         * string/Makefile [$(cross-compiling) = no]: Likewise.
31737         * posix/Makefile ($(objpfx)globtest.out): Pass
31738         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31739         $(rtld-installed-name).
31740         * posix/globtest.sh (elf_objpfx): Remove variable.
31741         (rtld_installed_name): Likewise.
31742         (library_path): Likewise.
31743         (run_program_prefix): New variable.  Use for running globtest
31744         binary.
31746 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
31747             Joseph Myers  <joseph@codesourcery.com>
31749         * Makeconfig (host-built-program-cmd): New variable.
31750         * elf/Makefile (tst-stackguard1-ARGS): Use
31751         $(host-built-program-cmd).
31752         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31753         (tst-spawn-ARGS): Likewise.
31754         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31756 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31757             Jim Blandy  <jimb@codesourcery.com>
31759         * Makeconfig (run-via-rtld-prefix): New variable.
31760         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31761         (built-program-cmd): Likewise.
31763 2012-10-22  Andreas Jaeger  <aj@suse.de>
31765         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31766         __O_RSYNC if it exists, otherwise to O_SYNC.
31768 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
31769             Joseph Myers  <joseph@codesourcery.com>
31771         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31772         /dev/null.
31773         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31774         from /dev/null
31775         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31776         /dev/null.
31778 2012-10-22  Andreas Jaeger  <aj@suse.de>
31780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31781         Define always.
31782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31784         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31785         bits/fcntl-linux.h.
31787         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31788         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31790         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31791         to __O_LARGEFILE.
31792         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31793         to __O_LARGEFILE.
31795 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
31796             Joseph Myers  <joseph@codesourcery.com>
31798         * config.make.in (NM): New variable.
31800 2012-10-21  Andreas Jaeger  <aj@suse.de>
31802         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31803         definitions and declarations that are provided by
31804         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31806 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31808         [BZ #14683]
31809         * elf/Makefile (tests-static): Add tst-leaks1-static.
31810         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31811         ($(objpfx)tst-leaks1-static): New rule.
31812         ($(objpfx)tst-leaks1-static-mem): Likewise.
31813         (tst-leaks1-static-ENV): New macro.
31814         * elf/dl-open.c (dl_open_worker): Check the main application
31815         only if SHARED is defined.
31816         * elf/tst-leaks1-static.c: New file.
31818 2012-10-20  Andreas Jaeger  <aj@suse.de>
31820         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31821         generic values for Linux.
31822         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31823         and declarations that are provided by <bits/fcntl-linux.h> and
31824         include <bits/fcntl-linux.h>.
31825         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31826         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31828 2012-10-20  Roland McGrath  <roland@hack.frob.com>
31830         * io/fcntl.h: Move include of <bits/types.h> to the top and
31831         include it unconditionally.
31833 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31835         * wcsmbs/Makefile (tests-ifunc): New variable.
31836         (tests): Add $(tests-ifunc).
31837         * wcsmbs/test-wcschr-ifunc.c: New file.
31838         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31839         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31840         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31841         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31842         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31844         * string/Makefile (tests-ifunc): New variable.
31845         (tests): Add $(tests-ifunc).
31846         * string/test-memccpy.c (TEST_NAME): New macro.
31847         * string/test-memchr.c (TEST_NAME): Likewise.
31848         * string/test-memcmp.c (TEST_NAME): Likewise.
31849         * string/test-memcpy.c (TEST_NAME): Likewise.
31850         * string/test-memmem.c (TEST_NAME): Likewise.
31851         * string/test-memmove.c (TEST_NAME): Likewise.
31852         * string/test-memset.c (TEST_NAME): Likewise.
31853         * string/test-rawmemchr.c (TEST_NAME): Likewise.
31854         * string/test-stpcpy.c (TEST_NAME): Likewise.
31855         * string/test-stpncpy.c (TEST_NAME): Likewise.
31856         * string/test-strcasecmp.c (TEST_NAME): Likewise.
31857         * string/test-strcasestr.c (TEST_NAME): Likewise.
31858         * string/test-strcat.c (TEST_NAME): Likewise.
31859         * string/test-strchr.c (TEST_NAME): Likewise.
31860         * string/test-strcmp.c(TEST_NAME): Likewise.
31861         * string/test-strcpy.c (TEST_NAME): Likewise.
31862         * string/test-strcspn.c (TEST_NAME): Likewise.
31863         * string/test-strlen.c (TEST_NAME): Likewise.
31864         * string/test-strncasecmp.c (TEST_NAME): Likewise.
31865         * string/test-strncmp.c (TEST_NAME): Likewise.
31866         * string/test-strncpy.c (TEST_NAME): Likewise.
31867         * string/test-strnlen.c (TEST_NAME): Likewise.
31868         * string/test-strpbrk.c (TEST_NAME): Likewise.
31869         * string/test-strrchr.c (TEST_NAME): Likewise.
31870         * string/test-strspn.c (TEST_NAME): Likewise.
31871         * string/test-strstr.c (TEST_NAME): Likewise.
31872         * string/test-bcopy-ifunc.c: New file.
31873         * string/test-bzero-ifunc.c: Likewise.
31874         * string/test-memccpy-ifunc.c: Likewise.
31875         * string/test-memchr-ifunc.c: Likewise.
31876         * string/test-memcmp-ifunc.c: Likewise.
31877         * string/test-memcpy-ifunc.c: Likewise.
31878         * string/test-memmem-ifunc.c: Likewise.
31879         * string/test-memmove-ifunc.c: Likewise.
31880         * string/test-mempcpy-ifunc.c: Likewise.
31881         * string/test-memset-ifunc.c: Likewise.
31882         * string/test-rawmemchr-ifunc.c: Likewise.
31883         * string/test-stpcpy-ifunc.c: Likewise.
31884         * string/test-stpncpy-ifunc.c: Likewise.
31885         * string/test-strcasecmp-ifunc.c: Likewise.
31886         * string/test-strcasestr-ifunc.c: Likewise.
31887         * string/test-strcat-ifunc.c: Likewise.
31888         * string/test-strchr-ifunc.c: Likewise.
31889         * string/test-strchrnul-ifunc.c: Likewise.
31890         * string/test-strcmp-ifunc.c: Likewise.
31891         * string/test-strcpy-ifunc.c: Likewise.
31892         * string/test-strcspn-ifunc.c: Likewise.
31893         * string/test-strlen-ifunc.c: Likewise.
31894         * string/test-strncasecmp-ifunc.c: Likewise.
31895         * string/test-strncat-ifunc.c: Likewise.
31896         * string/test-strncmp-ifunc.c: Likewise.
31897         * string/test-strncpy-ifunc.c: Likewise.
31898         * string/test-strnlen-ifunc.c: Likewise.
31899         * string/test-strpbrk-ifunc.c: Likewise.
31900         * string/test-strrchr-ifunc.c: Likewise.
31901         * string/test-strspn-ifunc.c: Likewise.
31902         * string/test-strstr-ifunc.c: Likewise.
31904         * debug/Makefile (tests-ifunc): New variable.
31905         (tests): Add $(tests-ifunc).
31906         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31907         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31908         * debug/test-stpcpy_chk-ifunc.c: New file.
31909         * debug/test-strcpy_chk-ifunc.c: Likewise.
31911 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31913         [BZ #13601]
31914         * elf/dl-load.c (open_verify): Retry read if the entire ELF
31915         header is not read in.
31917 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
31919         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
31920         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
31921         directly.  Pass built executable to script as
31922         $(built-program-cmd).
31923         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
31924         $testprogram without using LD_LIBRARY_PATH and $ldso.
31926         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31927         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31928         $(rtld-installed-name).
31929         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31930         (rtld_installed_name): Likewise.
31931         (library_path): Likewise.
31932         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
31933         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31934         $(run-program-prefix) to tst-tables.sh.
31935         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
31936         it to run tst-table-from and tst-table-to.
31937         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31938         Pass it to tst-table.sh.
31939         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31940         $(run-program-prefix) to tst-gettext.sh.
31941         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31942         tst-translit.sh.
31943         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31944         tst-gettext2.sh.
31945         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
31946         to run tst-gettext.
31947         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
31948         to run tst-gettext2.
31949         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
31950         to run tst-translit.
31951         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31952         $(run-program-prefix) to tst-mtrace.sh.
31953         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
31954         to run tst-mtrace.
31955         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31956         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31957         $(rtld-installed-name).
31958         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31959         (rtld_installed_name): Likewise.
31960         (run_program_prefix): New variable.  Use it to run wordexp-test.
31962         * Makeconfig (ARCH): Remove all definitions.
31963         (machine): Likewise.
31964         [ARCH]: Remove conditional code.
31965         [!objdir]: Give error.
31966         [!objdir] (objpfx): Remove.
31967         [!objdir] (common-objpfx): Likewise.
31968         [!objdir] (common-objdir): Likewise.
31969         * configure.in (config_makefile): Remove.  Hardcode Makefile in
31970         AC_CONFIG_FILES call.
31971         * configure: Regenerated.
31973         [BZ #13888]
31974         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31975         or TMPDIR.
31976         (testout): Likewise.
31978         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31979         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31980         $(rtld-installed-name).
31981         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31982         (rtld_installed_name): Likwise.
31983         (runit): Remove function.
31984         (run_getconf): New variable,  Use it for running getconf binary.
31986 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
31988         [BZ #14716]
31989         * string/test-memmem.c (check_result): New function.
31990         (do_one_test): Use it.
31991         (check1): New function.
31992         (test_main): Use it.
31994 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
31996         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31998 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
32000         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32001         (_G_LSEEK64): Likewise.
32002         (_G_MMAP64): Likewise.
32003         (_G_FSTAT64): Likewise.
32004         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32005         (_G_LSEEK64): Likewise.
32006         (_G_MMAP64): Likewise.
32007         (_G_FSTAT64): Likewise.
32008         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32009         unconditional.  Call __mmap64 directly.
32010         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32011         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
32012         __lseek64 directly.
32013         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32014         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
32015         __mmap64 directly.
32016         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32017         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32018         __lseek64 directly.
32019         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32020         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32021         __lseek64 directly.
32022         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32023         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
32024         __lseek64 directly.
32025         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32026         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
32027         __fxstat64 directly.
32028         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32029         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32030         unconditional.
32031         (freopen64) [!_G_OPEN64]: Remove conditional code.
32032         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32033         unconditional.
32034         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32035         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32036         unconditional.
32037         (ftello64) [!_G_LSEEK64]: Remove conditional code.
32038         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32039         unconditional.
32040         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32041         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32042         unconditional.
32043         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32044         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32045         unconditional.
32046         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32047         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32048         unconditional.
32049         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32050         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32051         unconditional.
32052         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32054 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32056         [BZ #12140]
32057         * manual/memory.texi (Malloc Tunable Parameters): Add note
32058         about free list pointers overwriting some perturb bytes.
32059         Wording suggested by Roland McGrath.
32061 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
32063         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32064         (lgamma_test): Likewise.
32065         (tgamma_test): Likewise.
32067 2012-10-16  Florian Weimer  <fweimer@redhat.com>
32069         [BZ #14700]
32070         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32071         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32073 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
32075         * NEWS: Mention BZ #14716.
32076         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32077         when removing AVAILABLE1_USES_J macro.
32079 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
32081         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32082         (__bswap_64): __uint64_t for unsigned 64-bit int.
32084 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
32086         * include/string.h (memmem): Declare libc hidden alias.
32087         * string/memmem.c (memmem): Define libc hidden alias.
32088         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32089         __read, __close instead of open, read, close.
32091 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
32093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32094         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32095         global and hidden.
32096         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32097         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32098         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32099         Likewise.
32100         (__rawmemchr_sse2): Likewise.
32101         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32102         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32103         (__strchr_sse2): Likewise.
32104         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32105         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32106         (__strcasecmp_sse2): Likewise.
32107         (__strncasecmp_sse2): Likewise.
32108         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32109         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32110         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32111         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32112         (__strrchr_sse2): Likewise.
32113         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32114         ifunc-impl-list.c.
32115         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32116         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32117         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32118         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32119         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32120         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32121         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32122         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32123         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32124         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32125         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32126         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32127         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32128         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32129         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32130         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32131         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32132         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32133         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32134         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32135         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32136         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32137         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32138         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32139         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32140         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32141         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32142         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32143         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32144         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32146         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32147         global and hidden.
32148         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32149         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32150         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32151         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32152         Likewise.
32153         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32154         Likewise.
32155         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32156         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32157         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32158         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32159         ifunc-impl-list.c.
32160         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32161         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32162         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32163         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32164         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32165         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32166         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32167         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32168         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32169         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32170         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32171         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32172         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32173         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32174         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32175         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32176         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32177         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32178         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32179         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32180         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32181         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32182         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32183         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32184         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32185         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32186         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32187         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32188         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32189         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32190         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32191         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32192         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32193         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32194         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32195         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32196         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32197         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32198         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32199         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32200         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32202         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32203         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32204         * include/ifunc-impl-list.h: New file.
32205         * misc/ifunc-impl-list.c: Likewise.
32206         * misc/Makefile (routines): Add ifunc-impl-list.
32207         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32208         * string/test-string.h: Include <ifunc-impl-list.h>.
32209         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32210         TEST_NAME]: New variables.
32211         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32212         are defined.
32213         (test_init): Call __libc_ifunc_impl_list to initialize
32214         func_list if TEST_IFUNC and TEST_NAME are defined.
32216         * string/Makefile (strop-tests): Add bcopy and bzero.
32217         * string/test-bcopy.c: New file.
32218         * string/test-bzero.c: Likewise.
32219         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32220         defined.
32221         * string/test-memset.c: Support bzero test if TEST_BZERO is
32222         defined.
32223         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32224         __libc_memmove.
32225         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32226         __libc_memset.
32227         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32228         of memset.
32230 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
32232         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32233         * configure: Regenerated.
32235         * Makeconfig (+link-static-before-libc): Don't include
32236         $(link-static-libc).
32238         * libio/libio.h (_IO_pos_t): Remove.
32240 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32242         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
32243         McGrath.
32245 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32247         * crypt/crypt-entry.c: Include fips-private.h.
32248         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32249         * crypt/md5c-test.c (main): Tolerate disabled MD5.
32250         * sysdeps/unix/sysv/linux/fips-private.h: New file.
32251         * sysdeps/generic/fips-private.h: New file, dummy fallback.
32253 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32255         * crypt/crypt-private.h: Include stdbool.h.
32256         (_ufc_setup_salt_r): Return bool.
32257         * crypt/crypt-entry.c: Include errno.h.
32258         (__crypt_r): Return NULL with EINVAL for bad salt.
32259         * crypt/crypt_util.c (bad_for_salt): New.
32260         (_ufc_setup_salt_r): Check that salt is long enough and within
32261         the specified alphabet.
32262         * crypt/badsalttest.c: New file.
32263         * crypt/Makefile (tests): Add it.
32264         ($(objpfx)badsalttest): New.
32266 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
32268         * NEWS: Add entry for BZ #14602.
32270 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32272         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32273         type-generic.
32274         * math/libm-test.inc: Update comment listing what functions and
32275         macros are tested.
32276         (isgreater_test): New function.
32277         (isgreaterequal_test): Likewise.
32278         (isless_test): Likewise.
32279         (islessequal_test): Likewise.
32280         (islessgreater_test): Likewise.
32281         (isunordered_test): Likewise.
32282         (main): Call the new functions.
32284 2012-10-09  Roland McGrath  <roland@hack.frob.com>
32286         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32287         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32288         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32289         * sysdeps/i386/configure: Regenerated.
32290         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32291         * sysdeps/mach/configure: Regenerated.
32292         * sysdeps/mach/hurd/configure: Regenerated.
32293         * sysdeps/powerpc/configure: Regenerated.
32294         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32295         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32296         * sysdeps/s390/s390-32/configure: Regenerated.
32297         * sysdeps/s390/s390-64/configure: Regenerated.
32298         * sysdeps/sh/configure: Regenerated.
32299         * sysdeps/sparc/configure: Regenerated.
32300         * sysdeps/unix/sysv/linux/configure: Regenerated.
32301         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32302         * sysdeps/x86_64/configure: Regenerated.
32304         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32305         defined.  Don't check if MAP is NULL.
32307 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32309         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32310         (_G_stat64): Likewise.
32311         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32312         (_G_stat64): Likewise.
32313         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32314         instead of struct _G_stat64.
32315         * libio/fileops.c (mmap_remap_check): Likewise.
32316         (decide_maybe_mmap): Likewise.
32317         (_IO_new_file_seekoff): Likewise.
32318         (_IO_file_stat): Likewise.
32319         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32320         _G_off64_t.
32321         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32322         instead of struct _G_stat64.
32323         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32325 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
32327         [BZ #14602]
32328         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32329         Replace with ...
32330         (CHECK_EOL): New macro.
32331         (two_way_short_needle): Check beginning of haystack for EOL.  Use
32332         CHECK_EOL.
32333         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32334         Replace with CHECK_EOL.
32335         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32336         Replace with CHECK_EOL.
32338 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
32340         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32341         type-generic.
32342         * math/libm-test.inc: Update comment listing what functions and
32343         macros are tested.
32344         (finite_test): New function.
32345         (isinf_test): Likewise.
32346         (isnan_test): Likewise.
32347         (fpclassify_test): Test subnormal input.
32348         (isfinite_test): Likewise.
32349         (isnormal_test): Likewise.
32350         (main): Call the new functions.
32352 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
32354         [BZ #14660]
32355         * Makerules (%.dynsym): Force C locale when running
32356         $(OBJDUMP) --dynamic-syms.
32358 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
32360         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32361         <stdint.h>.
32363 2012-10-06  David S. Miller  <davem@davemloft.net>
32365         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32366         upper 32-bits of the length value in %o2 since we use branch-on-register
32367         tests which consider the entire 64-bit register.
32369 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
32371         * string/test-strstr.c (check2): Add a test for page boundary.
32373 2012-10-05  David S. Miller  <davem@davemloft.net>
32375         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32376         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32377         file.
32378         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32379         sysdep_routines.
32380         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32381         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32382         and bzero when HWCAP_SPARC_CRYPTO is present.
32384 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
32386         [BZ #14602]
32387         * string/test-strstr.c (check2): New function.
32388         (test_main): Call check2.
32390         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32391         and bug-strchr1.
32392         * string/bug-strcasestr1.c (do_test): Moved to ...
32393         * string/test-strcasestr.c (check1): Here.  New function.
32394         (do_one_test): Break out result checking code into ...
32395         (check_result): This.  New function.
32396         (do_one_test): Call check_result.
32397         (test_main): Call check1.
32398         * string/bug-strchr1.c (do_test): Moved to ...
32399         * string/test-strchr.c (check1): Here.  New function.
32400         (do_one_test): Break out result checking code into ...
32401         (check_result): This.  New function.
32402         (do_one_test): Call check_result.
32403         (test_main): Call check1.
32404         * string/bug-strstr1.c (main): Moved to ...
32405         * string/test-strstr.c (check1): Here.  New function.
32406         (do_one_test): Break out result checking code into ...
32407         (check_result): This.  New function.
32408         (do_one_test): Call check_result.
32409         (test_main): Call check1.
32410         * string/bug-strcasestr1.c: Removed.
32411         * string/bug-strchr1.c: Likewise.
32412         * string/bug-strstr1.c: Likewise.
32414         * elf/Makefile (dl-routines): Add hwcaps.
32415         * elf/dl-support.c (_dl_important_hwcaps): Removed.
32416         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32417         (_dl_important_hwcaps): Moved to ...
32418         * elf/dl-hwcaps.c: Here.  New file.
32419         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32421         [BZ #14557]
32422         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32423         if IS_IN_rtld isn't defined.
32425         * elf/dl-support.c (_dl_sysinfo_map): New.
32426         Include "get-dynamic-info.h" and "setup-vdso.h".
32427         (_dl_non_dynamic_init): Call setup_vdso.
32428         * elf/dynamic-link.h: Don't include <assert.h>.
32429         (elf_get_dynamic_info): Moved to ...
32430         * elf/get-dynamic-info.h: Here.  New file.
32431         * elf/dynamic-link.h: Include "get-dynamic-info.h".
32432         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32433         * elf/setup-vdso.h: Here.  New file.
32434         * elf/rtld.c: Include "setup-vdso.h".
32435         (dl_main): Call setup_vdso.
32437 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
32439         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32440         creal in comment listing functions tested.  List finite, isinf,
32441         isnan, isless, islessequal, isgreater, isgreaterequal,
32442         islessgreater, isunordered, lgamma_r and pow10 as functions and
32443         macros not tested.  Mention which functions not tested are aliases
32444         for other functions.  Fix typo.  Note that signs of NaNs are not
32445         tested.
32447         * scripts/config.guess: Update from config.git.
32448         * scripts/config.sub: Likewise.
32450 2012-10-04  Roland McGrath  <roland@hack.frob.com>
32452         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32453         * misc/madvise.c (madvise): Renamed to __madvise.
32454         Make madvise a weak alias.
32455         * include/sys/mman.h: Declare __madvise.
32456         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32457         * sysdeps/unix/syscalls.list
32458         (madvise): Make __madvise the strong name, and madvise a weak alias.
32459         * sysdeps/unix/sysv/linux/syscalls.list
32460         (madvise, mmap): Remove redundant entries.
32461         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32462         * malloc/malloc.c (mtrim): Likewise.
32463         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32465 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32467         * sysdeps/mach/hurd/dl-cache.c: File removed.
32468         * config.h.in (USE_LDCONFIG): New #undef.
32469         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32470         * configure: Regenerated.
32471         * elf/Makefile (dl-routines): Add dl-cache only under
32472         [$(use-ldconfig) = yes].
32473         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32474         cache on [USE_LDCONFIG].
32475         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32476         [USE_LDCONFIG].
32477         * elf/rtld.c (dl_main): Likewise.
32479 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32481         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32482         _SC_LEVEL4_CACHE_LINESIZE.
32484 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32486         * sysdeps/unix/bsd/confstr.h: File removed.
32488 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32490         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32491         sys/sdt-config.h.
32493 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32495         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32496         Make 'mapoff' field ElfW(Off) rather than off_t.
32498 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32500         * nscd/Makefile: Remove nscd-cflags and all its users.
32501         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32502         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32504         [BZ #10631]
32505         * malloc.c (malloc_printerr): Clarify error message.
32507 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32509         [BZ #14648]
32510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32511         Set bit_FMA_Usable if FMA is supported.
32512         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32513         macro.
32514         (bit_FMA4_Usable): Updated.
32515         (index_FMA_Usable): New macro.
32516         (CPUID_FMA): Likewise
32517         (HAS_FMA): Defined with bit_FMA_Usable.
32519 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32521         * bits/types.h (__swblk_t): Type removed.
32522         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32523         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32525         (__SWBLK_T_TYPE): Likewise.
32526         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32527         (__SWBLK_T_TYPE): Likewise.
32528         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32529         (__SWBLK_T_TYPE): Likewise.
32530         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32531         (__SWBLK_T_TYPE): Likewise.
32533 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32534             Honza Horak <hhorak@redhat.com>
32536         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32537         (xdr_mapname): Use YPMAXMAP as maxsize.
32538         (xdr_peername): Use YPMAXPEER as maxsize.
32539         (xdr_keydat): Use YPAXRECORD as maxsize.
32540         (xdr_valdat): Use YPMAXRECORD as maxsize.
32542 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32544         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32546         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32547         * csu/init-first.c: ... here.
32548         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32549         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32550         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32551         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32552         * sysdeps/i386/init-first.c: File removed.
32553         * sysdeps/sh/init-first.c: File removed.
32555 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32557         [BZ #14645]
32558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32559         if x * y might underflow to zero and z is zero.
32560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32561         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32562         * math/libm-test.inc (min_subnorm_value): New variable.
32563         (fma_test): Add more tests.
32564         (fma_test_towardzero): Likewise.
32565         (fma_test_downward): Likewise
32566         (fma_test_upward): Likewise.
32567         (initialize): Set min_subnorm_value.
32569 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32571         [BZ #14638]
32572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32573         0 + 0.
32574         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32575         mode for addition resulting in exact zero.
32576         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32577         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32578         exact 0 + 0.
32579         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32580         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32581         * math/libm-test.inc (fma_test): Add more tests.
32582         (fma_test_towardzero): New function.
32583         (fma_test_downward): Likewise.
32584         (fma_test_upward): Likewise.
32585         (main): Call the new functions.
32587 2012-09-28  David S. Miller  <davem@davemloft.net>
32589         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32591 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32593         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32594         instead of SIGALRM.
32596         * sysdeps/gnu/_G_config.h: Moved to ...
32597         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32598         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32599         * sysdeps/generic/_G_config.h: ... here.
32601         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32603         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32605         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32606         Conditionalize target on [libnss_test1.so-version].
32608         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32610         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32611         (elfobjdir): Move out of conditionals.
32613         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32614         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32615         (__nss_lookup_function): Conditionalize label remove_from_tree on
32616         [!DO_STATIC_NSS || SHARED], matching its only use.
32618 2012-09-28  David S. Miller  <davem@davemloft.net>
32620         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32621         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32622         file.
32623         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32624         sysdep_routines.
32625         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32626         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32627         when HWCAP_SPARC_CRYPTO is present.
32629 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32631         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32633 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32635         [BZ #6530]
32636         * stdio-common/vfprintf.c (process_string_arg): Revert
32637         2000-07-22 change.
32639 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32641         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32642         for testcase.
32643         * stdio-common/tst-sprintf.c: Include <locale.h>
32644         (main): Test sprintf's handling of incomplete multibyte
32645         characters.
32647 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32649         * elf/dl-runtime.c (VERSYMIDX): Removed.
32650         * elf/dl-version.c (VERSYMIDX): Likewise.
32651         * elf/do-rel.h (VERSYMIDX): Likewise.
32652         (VALIDX): Likewise.
32653         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32654         * elf/rtld.c (VALIDX): Likewise.
32655         (ADDRIDX): Likewise.
32656         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32657         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32658         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32659         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32660         (VALIDX): Likewise.
32661         (ADDRIDX): Likewise.
32663 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32665         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32667 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32669         [BZ #11438]
32670         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32671         to global scope.
32672         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32673         addresses are in the same scope as 192.0.2/24.
32674         * posix/gai.conf: Document new scope table defaults.
32676 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32678         [BZ #5298]
32679         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32680         for ftell.  Compute offsets from write pointers instead.
32681         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32683 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32685         [BZ #14543]
32686         * libio/Makefile (tests): New test case tst-fseek.
32687         * libio/tst-fseek.c: New test case to verify that fseek/ftell
32688         combination works in wide mode.
32689         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32690         state when the external buffer state changes.
32692 2012-09-27  David S. Miller  <davem@davemloft.net>
32694         [BZ #14376]
32695         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32696         pass reloc->r_addend in as the 'high' argument to
32697         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32701 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32703         * rt/tst-aio2.c: Include <pthread.h>.
32704         * rt/tst-aio3.c: Likewise.
32706 2012-09-27  Steve Ellcey  <sellcey@mips.com>
32708         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32710 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
32712         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32713         contents on [SHARED].
32715 2012-09-26  Marek Polacek  <polacek@redhat.com>
32717         [BZ #14530]
32718         [BZ #13741]
32719         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32720         for C++ and GCC <4.3 as well as for non GCC compilers.
32722 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32726 2012-09-25  Roland McGrath  <roland@hack.frob.com>
32728         * Makefile.in (all, install): Declare with .PHONY.
32729         Reported by Michael Hope <michael.hope@linaro.org>.
32731 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32733         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32734         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32735         system header.
32736         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32737         Likewise.
32738         (sydep_routines): Add the new and the internal functions.
32739         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32740         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32742         (GLIBC_2.17): Add the new function.
32743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32744         (GLIBC_2.17): Likewise.
32745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32746         (GLIBC_2.17): Likewise.
32747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32748         (GLIBC_2.17): Likewise.
32749         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32751 2012-09-25  Alan Modra  <amodra@gmail.com>
32753         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32754         Add release barrier before setting once_control to say
32755         initialisation is done.  Add hints on lwarx.  Use macro in
32756         place of isync.
32757         (clear_once_control): Add release barrier.
32759 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32761         [BZ #13629]
32762         * math/s_clog.c (__clog): Handle more values close to |z| = 1
32763         specially.
32764         * math/s_clog10.c (__clog10): Likewise.
32765         * math/s_clog10f.c (__clog10f): Likewise.
32766         * math/s_clog10l.c (__clog10l): Likewise.
32767         * math/s_clogf.c (__clogf): Likewise.
32768         * math/s_clogl.c (__clogl): Likewise.
32769         * math/Makefile (libm-calls): Add x2y2m1.
32770         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32771         (__x2y2m1): Likewise.
32772         (__x2y2m1l): Likewise.
32773         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32774         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32775         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32776         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32777         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32778         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32779         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32780         * sysdeps/i386/fpu/libm-test-ulps: Update.
32781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32783         [BZ #14621]
32784         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32785         int as type of variable DEPTH.
32786         (glob): Use size_t instead of int as type of variables NEWCOUNT
32787         and OLD_PATHC.
32789 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32791         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32792         Add s_sincosf-sse2.
32793         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32794         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32795         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32796         macros for using routine as __sincosf_ia32.
32797         Use macro for function declaration and weak_alias.
32798         * sysdeps/i386/fpu/libm-test-ulps: Update.
32800         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32803         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32804         subnormal argument.
32805         * math/s_cexpf.c (__cexpf): Likewise.
32806         * math/s_csinf.c (__csinf): Likewise.
32807         * math/s_csinhf.c (__csinhf): Likewise.
32808         * math/s_ctanf.c (__ctanf): Likewise.
32809         * math/s_ctanhf.c (__ctanhf): Likewise.
32810         * math/s_ccosh.c (__ccoshf): Likewise.
32811         * math/s_cexp.c (__cexpl): Likewise.
32812         * math/s_csin.c (__csin): Likewise.
32813         * math/s_csinh.c (__csinh): Likewise.
32814         * math/s_ctan.c (__ctan): Likewise.
32815         * math/s_ctanh.c (ctanh): Likewise.
32816         * math/s_ccoshl.c (__ccoshl): Likewise.
32817         * math/s_cexpl.c (__cexpl): Likewise.
32818         * math/s_csinl.c (__csinl): Likewise.
32819         * math/s_csinhl.c (__csinhl): Likewise.
32820         * math/s_ctanl.c (__ctanl): Likewise.
32821         * math/s_ctanhl.c (__ctanhl): Likewise.
32823 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32825         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32826         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32827         (_IO_off_t): Define to __off_t, not _G_off_t.
32828         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32829         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32830         (_IO_wint_t): Define to wint_t, not _G_wint_t.
32831         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32832         type of __dummy and __dummy2 fields.
32833         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32834         (_G_ssize_t): Likewise.
32835         (_G_off_t): Likewise.
32836         (_G_pid_t): Likewise.
32837         (_G_uid_t): Likewise.
32838         (_G_wchar_t): Likewise.
32839         (_G_wint_t): Likewise.
32840         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32841         (_G_ssize_t): Likewise.
32842         (_G_off_t): Likewise.
32843         (_G_pid_t): Likewise.
32844         (_G_uid_t): Likewise.
32845         (_G_wchar_t): Likewise.
32846         (_G_wint_t): Likewise.
32847         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32848         (_G_ssize_t): Likewise.
32849         (_G_off_t): Likewise.
32850         (_G_pid_t): Likewise.
32851         (_G_uid_t): Likewise.
32852         (_G_wchar_t): Likewise.
32853         (_G_wint_t): Likewise.
32855 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32857         * malloc/arena.c: Include malloc-sysdep.h.
32858         (shrink_heap): Use check_may_shrink_heap to decide if madvise
32859         is sufficient to shrink the heap or an unmap is needed.
32860         * sysdeps/generic/malloc-sysdep.h: New file.  Define
32861         new function check_may_shrink_heap.
32862         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
32863         new function check_may_shrink_heap.
32865 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32867         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32868         comments.
32870 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
32872         * catgets/test-gencat.sh: Add "set -e".
32873         * elf/tst-pathopt.sh: Likewise.
32874         * grp/tst_fgetgrent.sh: Likewise.
32875         * iconvdata/run-iconv-test.sh: Likewise.
32876         * intl/tst-gettext.sh: Likewise.
32877         * intl/tst-gettext2.sh: Likewise.
32878         * intl/tst-gettext4.sh: Likewise.
32879         * intl/tst-gettext6.sh: Likewise.
32880         * intl/tst-translit.sh: Likewise.
32881         * io/ftwtest-sh: Likewise.
32882         * libio/test-freopen.sh: Likewise.
32883         * malloc/tst-mtrace.sh: Likewise.
32884         * posix/globtest.sh: Likewise.
32885         * posix/tst-getconf.sh: Likewise.
32886         * posix/wordexp-tst.sh: Likewise.
32887         * stdio-common/tst-printf.sh: Likewise.
32888         * stdio-common/tst-unbputc.sh: Likewise.
32889         * stdlib/tst-fmtmsg.sh: Likewise.
32890         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32891         * catgets/Makefile: Do not specify -e option when running
32892         testsuite shell scripts.
32893         * elf/Makefile: Likewise.
32894         * grp/Makefile: Likewise.
32895         * iconvdata/Makefile: Likewise.
32896         * intl/Makefile: Likewise.
32897         * io/Makefile: Likewise.
32898         * libio/Makefile: Likewise.
32899         * malloc/Makefile: Likewise.
32900         * posix/Makefile: Likewise.
32901         * stdio-common/Makefile: Likewise.
32902         * stdlib/Makefile: Likewise.
32903         * sysdeps/x86_64/Makefile: Likewise.
32905         * io/ftwtest-sh: Add copyright header.
32906         * posix/globtest.sh: Likewise.
32907         * posix/tst-getconf.sh: Likewise.
32908         * posix/wordexp-tst.sh: Likewise.
32909         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32911 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
32913         [BZ #13679]
32914         * Makeconfig (+link): Defined as $(+link-static) if
32915         $(build-shared) isn't yes.
32916         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32917         isn't yes.
32918         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32920         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32922         [BZ #14562]
32923         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32924         new chunk size with MALLOC_ALIGN_MASK.
32926 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
32928         [BZ #5044]
32929         * stdio-common/printf_fphex.c: Include <stdbool.h> and
32930         <rounding-mode.h>.
32931         (__printf_fphex): Determine rounding using get_rounding_mode and
32932         round_away.
32933         * stdio-common/tst-printf-round.c (struct hex_test): New
32934         structure.
32935         (hex_tests): New variable.
32936         (test_hex_in_one_mode): New function.
32937         (do_test): Also run tests for hex float output.
32939 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
32941         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32942         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32943         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32944         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32945         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32946         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32947         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32948         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32950 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
32952         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32953         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32954         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32955         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32957 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
32959         [BZ #14579]
32960         * elf/rtld.c (dl_main): Limit the check for self loading to normal
32961         mode only.
32962         * elf/tst-rtld-load-self.sh: New test.
32963         * elf/Makefile: Run it.
32965 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
32967         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32968         (tst-writev-ENV): Remove.
32969         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32971 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
32973         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32975 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
32977         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32978         unconditional.
32979         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32980         Likewise.
32981         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32982         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32983         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32984         Likewise.
32986 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
32988         [BZ #14587]
32989         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32990         * config.make.in (have-cpp-asm-debuginfo): Removed.
32991         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32992         * configure: Regenerated.
32994 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
32996         [BZ #5044]
32997         * stdio-common/printf_fp.c: Include <stdbool.h> and
32998         <rounding-mode.h>.
32999         (___printf_fp): Determine rounding using get_rounding_mode and
33000         round_away.
33001         * stdio-common/tst-printf-round.c: New file.
33002         * stdio-common/Makefile (tests): Add tst-printf-round.
33003         (link-libm): New variable.
33004         ($(objpfx)tst-printf-round): Depend in $(link-libm).
33006 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
33008         [BZ #14576]
33009         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33010         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33011         Likewise.
33012         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33013         Likewise.
33015 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
33017         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33018         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33019         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33020         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33022 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
33024         [BZ #14518]
33025         * include/rounding-mode.h: New file.
33026         * sysdeps/generic/get-rounding-mode.h: Likewise.
33027         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33028         * stdlib/strtod_l.c: Include <rounding-mode.h>.
33029         (MAX_VALUE): New macro.
33030         (MIN_VALUE): Likewise.
33031         (overflow_value): New function.
33032         (underflow_value): Likewise.
33033         (round_and_return): Use overflow_value and underflow_value to
33034         determine return values in overflow and underflow cases.  Use
33035         round_away to determine rounding depending on rounding mode.
33036         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33037         determine return values in overflow and underflow cases.
33038         * stdlib/tst-strtod-round.c: Include <fenv.h>.
33039         (struct test_results): New structure.
33040         (struct test): Use struct test_results to store expected results
33041         for all rounding modes.
33042         (TEST): Include expected results for all rounding modes.
33043         (test_in_one_mode): New function.
33044         (do_test): Use test_in_one_mode to compute and check results.
33045         Check results for all rounding modes.
33046         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33047         $(link-libm).
33049 2012-12-09  Allan McRae  <allan@archlinux.org>
33051         * sysdeps/i386/fpu/libm-test-ulps: Update
33053 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
33055         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33056         (_G_int32_t): Likewise.
33057         (_G_uint16_t): Likewise.
33058         (_G_uint32_t): Likewise.
33059         (_G_HAVE_BOOL): Likewise.
33060         (_G_HAVE_ATEXIT): Likewise.
33061         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33062         (_G_HAVE_IO_FILE_OPEN): Likewise.
33063         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33064         (_G_int32_t): Likewise.
33065         (_G_uint16_t): Likewise.
33066         (_G_uint32_t): Likewise.
33067         (_G_HAVE_BOOL): Likewise.
33068         (_G_HAVE_ATEXIT): Likewise.
33069         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33070         (_G_HAVE_IO_FILE_OPEN): Likewise.
33071         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33072         (_G_int32_t): Likewise.
33073         (_G_uint16_t): Likewise.
33074         (_G_uint32_t): Likewise.
33075         (_G_HAVE_BOOL): Likewise.
33076         (_G_HAVE_ATEXIT): Likewise.
33077         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33078         (_G_HAVE_IO_FILE_OPEN): Likewise.
33080 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
33082         * csu/libc-tls.c: Update copyright years.
33084 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
33086         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33087         [!_G_USING_THUNKS]: Remove conditional code.
33088         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33089         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33091         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33092         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33093         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33094         (_G_VTABLE_LABEL_PREFIX): Likewise.
33095         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33096         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33097         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33098         (_G_VTABLE_LABEL_PREFIX): Likewise.
33099         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33100         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33101         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33102         (_G_VTABLE_LABEL_PREFIX): Likewise.
33103         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33105 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
33107         * libio/Makefile: Include ../Makeconfig before tests.
33108         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33109         only if $(build-shared) is yes.
33111         * iconv/gconv_db.c: Update copyright years.
33113 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33115         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33116         unwind info if defined PIC. Fix special cases description.
33117         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33119         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33120         DP_HI_MASK entry.
33121         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33123 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
33125         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33127         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33128         is NULL.
33130         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33131         (LDLIBS-tst-chk4): This.
33132         (LDFLAGS-tst-chk5): Renamed to ...
33133         (LDLIBS-tst-chk5): This.
33134         (LDFLAGS-tst-chk6): Renamed to ...
33135         (LDLIBS-tst-chk6): This.
33136         (LDFLAGS-tst-lfschk4): Renamed to ...
33137         (LDLIBS-tst-lfschk4): This.
33138         (LDFLAGS-tst-lfschk5): Renamed to ...
33139         (LDLIBS-tst-lfschk5): This.
33140         (LDFLAGS-tst-lfschk6): Renamed to ...
33141         (LDLIBS-tst-lfschk6): This.
33143         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33144         on $(common-objpfx)soversions.mk.
33146 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
33148         [BZ #10014]
33149         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33150         example host name.
33152 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33154         * malloc/arena.c (arena_get_retry): New function that gets
33155         another arena for the caller to try its request on.
33156         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33157         current arena cannot fulfill the request.
33158         (__libc_memalign): Likewise.
33159         (__libc_memalign): Likewise.
33160         (__libc_pvalloc): Likewise.
33161         (__libc_calloc): Likewise.
33163 2012-09-05  John Tobey  <john.tobey@gmail.com>
33165         [BZ #13542]
33166         * manual/arith.texi (Operations on Complex): Fix description
33167         of carg branch cut.
33169 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33171         [BZ #10014]
33172         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33173         host name.
33175         [BZ #10038]
33176         * manual/memory.texi (Memory): Make order of menu items match
33177         order of sections.
33179 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33181         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33182         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
33183         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33185 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33187         * csu/libc-tls.c (static_dtv): Renamed to ...
33188         (_dl_static_dtv): This.  Make it global.
33189         (_dl_initial_dtv): Removed.
33190         (__libc_setup_tls): Updated.
33191         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33192         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33193         DL_INITIAL_DTV.
33195 2012-09-06  Petr Machata  <pmachata@redhat.com>
33197         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33198         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33199         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33200         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33202 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33204         [BZ #14545]
33205         * csu/libc-tls.c (_dl_initial_dtv): New variable.
33206         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33207         freeing dtv[-1].
33209 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33211         [BZ #14544]
33212         * Makeconfig (link-static-before-libc): Replace $(+prector)
33213         with $(+prectorT).
33214         (link-static-after-libc): Replace $(+postctor) with
33215         $(+postctorT).
33216         (link-bounded): Replace $(+prector)/$(+postctor) with
33217         $(+prectorT)/$(+postctorT).
33218         (+prectorT): New macro.
33219         (+postctorT): Likewise.
33221 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33223         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33224         (round_str): Handle values above the maximum for IBM long double
33225         as inexact.
33226         * stdlib/tst-strtod-round.c (tests): Regenerated.
33228 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33230         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33231         assembler flag.
33232         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33233         zarch_nohighgprs around the zarch optimized routines.
33234         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33235         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33236         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33237         for zarch.
33239 2012-09-05  David S. Miller  <davem@davemloft.net>
33241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33243         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33244         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33245         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33246         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33247         entries.
33249 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33251         * malloc/arena.c: Fold copyright years.
33252         * malloc/mcheck.c, malloc/memusage.c: Likewise.
33254 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33256         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33258 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33260         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
33262 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33264         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33265         change internal state upon failure.
33267 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33269         * malloc/mcheck.c (mcheck_check_all): Fix typo.
33270         * malloc/memusage.c (mmap): Likewise.
33271         (mmap64, mremap): Likewise.  Adjust name in comment.
33273 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33275         * libio/fileops.c: Fix typos in comments.
33276         * libio/oldfileops.c: Likewise.
33277         * libio/wfileops.c: Likewise.
33279 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33281         [BZ #1349]
33282         * malloc/Makefile (tests): Add tst-malloc-usable test case.
33283         (tst-malloc-usable-ENV): Set environment for test case.
33284         * malloc/hooks.c (malloc_check_get_size): New function to get
33285         requested size.
33286         * malloc/malloc.c (musable): Use malloc_check_get_size.
33287         * malloc/tst-malloc-usable.c: New test case.
33289 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33291         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33293 2012-09-05  Allan McRae  <allan@archlinux.org>
33295         [BZ #13966]
33296         * configure.in (CXX_SYSINCLUDES): Use compiler output to
33297         determine header location.
33298         * configure: Regenerated.
33300 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33302         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33303         float format.
33304         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33305         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33306         format.
33307         (test): Regenerate.
33309 2012-09-04  David S. Miller  <davem@davemloft.net>
33311         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33312         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33313         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33315 2012-09-04  Florian Weimer  <fweimer@redhat.com>
33317         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33318         failures.
33320         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33322 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
33324         [BZ #9914]
33325         * libio/iogetdelim.c: Include <limits.h>.
33326         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33327         + len + 1 would overflow.
33329 2012-09-03  Andreas Jaeger  <aj@suse.de>
33331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33332         * sysdeps/i386/fpu/libm-test-ulps: Update.
33334 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33336         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33337         Add s_sinf-sse2, s_conf-sse2.
33339         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33340         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33341         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33342         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33344         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33345         for using routine as __sinf_ia32.
33346         Use macro for function declaration and weak_alias.
33347         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33348         for using routine as __cosf_ia32.
33349         Use macro for function declaration and weak_alias.
33351         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33352         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33354         * sysdeps/x86_64/fpu/s_sinf.S: New file.
33355         * sysdeps/x86_64/fpu/s_cosf.S: New file.
33356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33358         * math/libm-test.inc (cos_test): Add more test cases.
33359         (sin_test): Likewise.
33360         (sincos_test): Likewise.
33362 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33364         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33365         (IFUNC_RESOLVE): Make pointers to the specialized implementations
33366         hidden.
33367         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33369 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
33371         [BZ #14538]
33372         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33373         first element of the GOT.
33374         (elf_machine_load_address): Return the difference between
33375         the runtime address of _DYNAMIC and elf_machine_dynamic ().
33377 2012-09-01  Allan McRae  <allan@archlinux.org>
33379         [BZ #13412]
33380         * configure.in (AWK): Require gawk version 3.0 or later.
33381         * configure: Regenerated.
33383 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
33385         * sysdeps/unix/sysv/linux/kernel-features.h
33386         (__ASSUME_POSIX_CPU_TIMERS): Remove.
33387         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33388         [__NR_clock_getres]: Make code unconditional.
33389         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33390         (clock_getcpuclockid): Remove code left unreachable by removal of
33391         conditionals.
33392         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33393         code unconditional.
33394         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33395         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33396         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33397         Make code unconditional.
33398         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33399         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33400         * sysdeps/unix/sysv/linux/clock_settime.c
33401         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33402         conditional code.
33403         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33404         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33406 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
33408         [BZ #14476]
33409         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33410         scripts/test-installation.pl.
33412         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33413         and $ld_so_version if it is set.
33415 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33417         [BZ #14516]
33418         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33419         failure if reading from procfs failed.
33420         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33422 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33424         * sysdeps/unix/sysv/linux/kernel-features.h
33425         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33426         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33427         Remove conditional code.
33428         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33429         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33430         Remove conditional code.
33431         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33432         * sysdeps/unix/sysv/linux/i386/fxstat.c
33433         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33434         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33435         * sysdeps/unix/sysv/linux/i386/fxstatat.c
33436         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33437         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33438         * sysdeps/unix/sysv/linux/i386/lxstat.c
33439         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33440         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33441         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33442         Remove conditional code.
33443         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33444         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33445         Remove conditional code.
33446         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33447         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33448         <kernel-features.h>.
33449         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33450         Remove.
33451         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33452         Remove conditional code.
33453         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33454         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33455         Remove conditional.
33457 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
33459         [BZ #5400]
33460         * NEWS: Add fixed bug number.
33462 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33464         [BZ #14519]
33465         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33466         underflowing exponent in case of negative sign.
33467         * stdlib/tst-strtod-round-data: Add more tests.
33468         * stdlib/tst-strtod-round.c (tests): Regenerated.
33470         [BZ #3479]
33471         * stdlib/strtod_l.c (NDIG): Remove.
33472         (HEXNDIG): Likewise.
33473         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33474         smallest representable value.
33475         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33476         lie within an exact representation of 1/2 ulp of the result.
33477         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33478         unconditionally.
33479         (TENS_P9_IDX): Define unconditionally.
33480         (TENS_P9_SIZE): Likewise.
33481         (TENS_P10_IDX): Likewise.
33482         (TENS_P10_SIZE): Likewise.
33483         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33484         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33485         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33486         entries for 10^2^13 and 10^2^14.
33487         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33488         (TENS_P13_IDX): Define.
33489         (TENS_P13_SIZE): Likewise.
33490         (TENS_P14_IDX): Likewise.
33491         (TENS_P14_SIZE): Likewise.
33492         (_fpioconst_pow10): Change array size to
33493         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33494         unconditional.
33495         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33496         1024]: Add entries for 10^2^13 and 10^2^14.
33497         [LAST_POW10 > _LAST_POW10]: Remove #error.
33498         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33499         (_fpioconst_pow10): Change array size to
33500         FPIOCONST_POW10_ARRAY_SIZE.
33501         * stdlib/gen-fpioconst.c: New file.
33502         * stdlib/gen-tst-strtod-round.c: Likewise.
33503         * stdlib/tst-strtod-round-data: Likewise.
33504         * stdlib/tst-strtod-round.c: Likewise.
33505         * stdlib/Makefile (tests): Add tst-strtod-round.
33507         [BZ #14459]
33508         * stdlib/strtod_l.c: Include <stdint.h>.
33509         (NDEBUG): Do not define.
33510         (round_and_return): Change EXPONENT parameter to type intmax_t.
33511         Rearrange calculations to avoid internal overflow possibilities.
33512         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33513         Rearrange calculations to avoid internal overflow possibilities.
33514         Assert that number fits inside MPNSIZE limbs.
33515         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33516         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33517         calculations and add assertions to avoid internal overflow
33518         possibilities.  Add casts to avoid signed/unsigned operations.
33519         * stdlib/tst-strtod-overflow.c: New file.
33520         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33522 2012-08-25  Marek Polacek  <polacek@redhat.com>
33524         * time/time.h: Fix some typos in comments.
33526 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33528         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33529         * posix/tst-rfc3484-2.c: Likewise.
33530         * posix/tst-rfc3484-3.c: Likewise.
33532 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33534         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33535         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33537 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33539         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33540         #include of fxstatat64.c.
33542 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33544         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33545         * shadow/getspent_r.c: Likewise.
33546         * shadow/getspnam.c: Likewise.
33547         * shadow/getspnam_r.c: Likewise.
33548         * gshadow/getsgent.c: Likewise.
33549         * gshadow/getsgent_r.c: Likewise.
33550         * gshadow/getsgnam.c: Likewise.
33551         * gshadow/getsgnam_r.c: Likewise.
33552         * inet/getnetbyad.c: Likewise.
33553         * inet/getnetbyad_r.c: Likewise.
33554         * inet/getnetbynm.c: Likewise.
33555         * inet/getnetbynm_r.c: Likewise.
33556         * inet/getnetent.c: Likewise.
33557         * inet/getnetent_r.c: Likewise.
33558         * inet/getproto.c: Likewise.
33559         * inet/getproto_r.c: Likewise.
33560         * inet/getprtent.c: Likewise.
33561         * inet/getprtent_r.c: Likewise.
33562         * inet/getprtname.c: Likewise.
33563         * inet/getprtname_r.c: Likewise.
33564         * inet/getrpcbyname.c: Likewise.
33565         * inet/getrpcbyname_r.c: Likewise.
33566         * inet/getrpcbynumber.c: Likewise.
33567         * inet/getrpcbynumber_r.c: Likewise.
33568         * inet/getrpcent.c: Likewise.
33569         * inet/getrpcent_r.c: Likewise.
33570         * inet/getaliasent.c: Likewise.
33571         * inet/getaliasent_r.c: Likewise.
33572         * inet/getaliasname.c: Likewise.
33573         * inet/getaliasname_r.c: Likewise.
33574         * nscd/getgrgid_r.c: Likewise.
33575         * nscd/getgrnam_r.c: Likewise.
33576         * nscd/gethstbyad_r.c: Likewise.
33577         * nscd/gethstbynm3_r.c: Likewise.
33578         * nscd/getpwnam_r.c: Likewise.
33579         * nscd/getpwuid_r.c: Likewise.
33580         * nscd/getsrvbynm_r.c: Likewise.
33581         * nscd/getsrvbypt_r.c: Likewise.
33582         * nscd/gai.c: Likewise.
33584         * configure.in (build_nscd): New substituted variable, set
33585         by --disable-build-nscd and defaults to $use_nscd.
33586         * configure: Regenerated.
33587         * config.make.in (build-nscd): New substituted variable.
33588         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33589         Change conditional to require [$(build-nscd) = yes] as well.
33590         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33592         [BZ# 13696]
33593         * configure.in (use_nscd): New substituted variable, set by
33594         --disable-nscd.  If enabled, define USE_NSCD.
33595         * configure: Regenerated.
33596         * config.h.in: Add USE_NSCD.
33597         * config.make.in (use-nscd): New substituted variable.
33598         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33599         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33600         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33601         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33602         (CFLAGS-getgrnam_r.c): Likewise.
33603         (CFLAGS-initgroups.c): Likewise.
33604         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33605         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33606         Variables removed.
33607         * inet/getnetgrent_r.c
33608         (nscd_setnetgrent): New function, broken out of ...
33609         (setnetgrent): ... here.  Call it.
33610         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33611         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33612         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33613         * nscd/Makefile (routines, aux): Move definitions after include of
33614         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33615         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33616         Conditionalize on [USE_NSCD].
33617         (is_nscd, nscd_init_cb): Likewise.
33618         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33619         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33620         * nss/nss_db/db-init.c: Likewise.
33621         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33622         [USE_NSCD].
33623         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33624         (make_request): Use it.
33625         (cache_valid_p): New function.
33626         (__check_pf): Use it.
33627         * NEWS: Add item for --disable-nscd.
33629 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33631         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33632         to support sed >= 4.2.1-20-ga9bf076.
33633         * configure: Regenerated.
33635 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33637         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33638         Conditionalize whole body on [IREL].
33640 2012-08-22  Jeff Law <law@redhat.com>
33642         [BZ #14505]
33643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33644         if the family is PF_UNSPEC.
33646 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33648         * Makerules (lib-version): Rename from V.
33649         (install-lib-nosubdir): Change V to lib-version.
33651 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33653         [BZ #14252]
33654         * powerpc32/power6/wcschr.c: New file.
33655         * powerpc32/power6/wcscpy.c: New file.
33656         * powerpc32/power6/wcsrchr.c: New file.
33657         * powerpc64/power6/wcschr.c: New file.
33658         * powerpc64/power6/wcscpy.c: New file.
33659         * powerpc64/power6/wcsrchr.c: New file.
33661 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33663         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33664         (two_way_short_needle): Use it.
33665         * string/strstr.c (AVAILABLE1_USES_J): Define.
33666         * string/strcasestr.c: Likewise.
33668         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33669         array references.
33670         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33672         [BZ #11607]
33673         * NEWS: Add an entry.
33674         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33675         define their defaults.
33676         (two_way_short_needle): Detect end-of-string on-the-fly.
33677         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33678         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33679         * string/bug-strcasestr1.c: New test.
33680         * string/Makefile: Run it.
33682 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33684         [BZ #11607]
33685         * string/str-two-way.h (two_way_short_needle): Optimize matching of
33686         the first character.
33688 2012-08-21  Roland McGrath  <roland@hack.frob.com>
33690         * csu/elf-init.c (__libc_csu_irel): Function removed.
33691         * csu/libc-start.c (apply_irel): New function.
33692         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33694 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
33696         * sysdeps/unix/sysv/linux/kernel-features.h
33697         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33698         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33699         <kernel-features.h>.
33700         [__NR_fadvise64_64]: Make code unconditional.
33701         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33702         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33703         !__NR_fadvise64_64)]: Likewise.
33704         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33705         !__NR_fadvise64_64))]: Likewise.
33706         [__NR_fadvise64]: Make code unconditional.
33707         [!__NR_fadvise64]: Remove conditional code.
33708         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33709         <kernel-features.h>.
33710         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33711         unconditional.
33712         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33713         conditional code.
33714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33715         not include <kernel-features.h>.
33716         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33717         unconditional.
33718         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33719         conditional code.
33720         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33721         include <kernel-features.h>.
33722         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33723         unconditional.
33724         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33725         conditional code.
33727 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33729         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33730         slight instruction rearrangements per scrollpipe analysis.
33731         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33733 2012-08-20  Roland McGrath  <roland@hack.frob.com>
33735         * manual/syslog.texi (syslog; vsyslog, closelog):
33736         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33737         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33739         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33740         DSOCAPS to match condition on defining it.
33742 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
33744         * sysdeps/unix/sysv/linux/kernel-features.h
33745         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33747         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33748         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33750         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33751         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33753         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33754         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33756         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33757         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33759         * sysdeps/unix/sysv/linux/kernel-features.h
33760         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33761         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33762         unconditional.
33763         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33764         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33765         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33766         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33767         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33768         Make code unconditional.
33769         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33770         (__mmap64) [!__NR_mmap2]: Likewise.
33771         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33772         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33773         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33774         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33775         [__NR_mmap2]: Make code unconditional.
33776         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33777         (__mmap64) [!__NR_mmap2]: Likewise.
33779 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33781         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33783 2012-08-18  Andreas Jaeger  <aj@suse.de>
33785         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33787 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33789         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33790         * include/unistd.h (__have_sock_cloexec): Likewise.
33791         (__have_pipe2): Likewise.
33792         (__have_dup3): Likewise.
33794 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33796         [BZ #9685]
33797         * include/unistd.h (__have_pipe2): Change define into an extern int.
33798         (__have_dup3): Likewise.
33799         * socket/have_sock_cloexec.c: Include fcntl.h.
33800         (__have_pipe2): New variable.
33801         (__have_dup3): Likewise.
33803 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
33805         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33807 2012-08-17  Marek Polacek  <polacek@redhat.com>
33809         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33810         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33812 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33814         * configure.in: Add AC_SUBST for sysheaders.
33815         * configure: Regenerated.
33816         * config.make.in (sysheaders): New substituted variable.
33818         * sysdeps/unix/mkfifo.c: Moved ...
33819         * sysdeps/posix/mkfifo.c: ... here.
33820         * sysdeps/unix/mkfifoat.c: Moved ...
33821         * sysdeps/posix/mkfifoat.c: ... here.
33823         * sysdeps/unix/utime.c: Moved ...
33824         * sysdeps/posix/utime.c: ... here.
33826         * sysdeps/unix/time.c: Moved ...
33827         * sysdeps/posix/time.c: ... here.
33828         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33829         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33831         * sysdeps/unix/nice.c: Moved ...
33832         * sysdeps/posix/nice.c: ... here.
33834         * sysdeps/unix/alarm.c: Moved ...
33835         * sysdeps/posix/alarm.c: ... here.
33837         * intl/Makefile ($(codeset_mo)): Depend on the input file.
33839 2012-08-17  Jeff Law <law@redhat.com>
33841         * intl/Makefile (codeset_mo): New variable.
33842         ($(codeset_mo)): New target.
33843         (tst-codeset.out): Depend on that.  Remove explicit rule.
33844         (tst-gettext3.out, tst-gettext5.out): Likewise.
33845         (LOCPATH-ENV, tst-codeset-ENV): New variables.
33846         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33847         * intl/tst-codeset.sh: Remove.
33848         * intl/tst-gettext3.sh: Likewise.
33849         * intl/tst-gettext5.sh: Likewise.
33851 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33853         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
33854         * sysdeps/unix/syscalls.list: ... here.
33856         * sysdeps/posix/getaddrinfo.c
33857         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33858         (gaiconf_init, gaiconf_reload): Use them.
33859         [!_STATBUF_ST_NSEC]
33860         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33861         Define using time_t rather than struct timespec.
33863         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33864         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33865         Macros removed.
33866         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33867         [!NO_THREADS].
33868         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33869         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33870         Likewise.
33872         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33873         __libc_cleanup_push argument.
33875         * bits/param.h: New file.
33876         * misc/sys/param.h: New file.
33877         * include/sys/param.h: New file.
33878         * misc/Makefile (headers): Add bits/param.h.
33879         * sysdeps/generic/sys/param.h: File removed.
33880         * sysdeps/unix/sysv/linux/bits/param.h: New file.
33881         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33882         * sysdeps/mach/hurd/bits/param.h: New file.
33883         * sysdeps/mach/hurd/sys/param.h: File removed.
33885         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33886         last change.
33888         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33889         [_IO_MTSAFE_IO].
33890         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33891         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33892         New macros.
33894         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33895         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33896         rather than -D_IO_MTSAFE_IO conditionally.
33897         * stdio-common/Makefile (CPPFLAGS): Likewise.
33898         * wcsmbs/Makefile (CPPFLAGS): Likewise.
33899         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33900         Use $(libio-mtsafe).
33901         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33902         of -D_IO_MTSAFE_IO.
33903         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33904         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33905         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33906         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33907         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33908         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33909         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33910         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33911         (CFLAGS-fread_u_chk.c): Likewise.
33912         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33913         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33914         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33915         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33916         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33917         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33918         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33919         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33920         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33922         * libio/Makefile: Test [$(libc-reentrant) = yes]
33923         instead of [$(filter %REENTRANT, $(defines)) nonempty].
33925         * Makeconfig
33926         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33927         * sysdeps/pthread/configure: File removed.
33928         * sysdeps/pthread/Makeconfig: New file.
33929         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33930         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33932 2012-08-16  Gary Benson  <gbenson@redhat.com>
33934         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33935         unmapping the first object in a namespace.
33937 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33939         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33940         (__internal_setnetgrent): ... this.  Add internal_function to
33941         definition.  Add libc_hidden_def.
33942         (setnetgrent): Update caller.
33943         (internal_endnetgrent): Renamed to ...
33944         (__internal_endnetgrent): ... this.  Add internal_function to
33945         definition.  Add libc_hidden_def.
33946         (endnetgrent): Update caller.
33947         (internal_getnetgrent_r): Renamed to ...
33948         (__internal_getnetgrent_r): ... this.  Add internal_function to
33949         definition.  Add libc_hidden_def.
33950         (__getnetgrent_r): Update caller.
33951         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
33953 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33955         * stdlib/longlong.h: Update from GCC.
33957 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33959         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33960         on _QL, which is set by umul_ppmm but never used.
33961         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33962         variables, which are set by GMP macros but never used.
33963         * stdio-common/_itowa.c (_itowa): Likewise.
33964         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33965         * stdlib/mod_1.c (mpn_mod_1): Likewise.
33967 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
33969         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33970         struct La_sh_regs is not constant.
33971         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33972         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33973         and struct La_sparc64_regs are not constant.
33975 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33977         * sysdeps/unix/sysv/linux/kernel-features.h
33978         (__ASSUME_POSIX_TIMERS): Remove.
33979         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33980         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33981         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33982         Make code unconditional.
33983         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33984         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33985         Make code unconditional.
33986         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33987         * sysdeps/unix/sysv/linux/clock_nanosleep.c
33988         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33989         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33990         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33991         Make code unconditional.
33992         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33993         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33994         (__libc_missing_posix_timers): Remove.
33996 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33998         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33999         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34001         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34003         * elf/dl-sym.c: Include <stdlib.h>.
34005         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34006         constants, which avoids warnings in 32-bit builds.
34008         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34009         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34011         * misc/lseek.c: File moved to ...
34012         * io/lseek.c: ... here.
34014         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34016         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34017         shifting LEN more than 31 bits at once.
34019 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34021         [BZ #14195]
34022         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34023         segmentation fault for a case of two empty input strings.
34024         * string/test-strncasecmp.c (check1): Renamed to...
34025         (bz12205): ...this.
34026         (bz14195): Add new testcase for two empty input strings and N > 0.
34027         (test_main): Call new testcase, adapt for renamed function.
34029 2012-08-15  Andreas Jaeger  <aj@suse.de>
34031         [BZ #14090]
34032         * crypt/md5test2.c: New test, based on test supplied by Serge
34033         Belyshev <belyshev@depni.sinp.msu.ru>.
34034         * crypt/Makefile (xtests): Add md5test-giant..
34035         * crypt/Makefile ($(objpfx)md5test-giant): Add.
34037 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
34039         [BZ #14090]
34040         * crypt/md5.c (md5_process_block): Don't assume the buffer
34041         length is less than 2**32.
34042         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34043         length is less than 2**64.
34045 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34047         * string/str-two-way.h: Include <sys/param.h>.
34048         (MAX): Macro removed.
34050         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34051         Move #define and #undef of memmove to just before and after
34052         including <string.h>.
34054         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34055         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34056         and after including <string.h>.  Move declarations of
34057         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34058         to before #include "string/memmove.c".
34060         * include/dirent.h: Declare __getdirentries.
34062         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34063         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34065 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
34067         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34068         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34069         * sysdeps/i386/configure: Regenerated.
34070         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34071         STABS_CURRENT_FILE, and STABS_FUN.
34072         (END): Remove call to STABS_FUN_END.
34073         (STABS_CURRENT_FILE1): Delete.
34074         (STABS_CURRENT_FILE): Likewise.
34075         (STABS_FUN): Likewise.
34076         (STABS_FUN_END): Likewise.
34077         (STABS_FUN2): Likewise.
34078         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34079         * sysdeps/x86_64/configure: Regenerated.
34081 2012-08-14  Roland McGrath  <roland@hack.frob.com>
34083         * elf/dl-open.c: Include <atomic.h>.
34084         * elf/dl-lookup.c: Likewise.
34086 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
34088         * sysdeps/unix/sysv/linux/kernel-features.h
34089         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34090         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34091         unconditionally.
34092         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34093         unconditionally.
34094         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34095         condition on __ASSUME_CLONE_THREAD_FLAGS.
34097 2012-08-14  Andreas Jaeger  <aj@suse.de>
34099         * sysdeps/i386/fpu/libm-test-ulps: Update.
34101 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
34103         * include/atomic.h (atomic_exchange_and_add): Split into ...
34104         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34105         New atomic macros.
34107 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
34109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34111 2012-08-13  Jeff Law <law@redhat.com>
34113         * manual/stdio.texi (snprintf): Clarify handling of the trailing
34114         null byte in the output string.
34116 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
34118         * sysdeps/unix/sysv/linux/kernel-features.h
34119         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34120         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34121         (__ASSUME_ARG_MAX_STACK_BASED): Define.
34122         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34123         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34124         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
34125         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34127 2012-08-09  Jeff Law <law@redhat.com>
34129         [BZ #13939]
34130         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34131         When avoid_arena is set, don't retry in the that arena.  Pick the
34132         next one, whatever it might be.
34133         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34134         (arena_lock): Pass in new parameter to arena_get2.
34135         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34136         arena_get2.
34137         (__libc_malloc): Unify retrying after main arena failure with
34138         __libc_memalign version.
34139         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34141 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
34143         [BZ #14166]
34144         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34145         to __redirect_strstr.
34146         (__strstr_sse42): Use typeof __redirect_strstr.
34147         (__strstr_ia32): Likewise.
34148         (__libc_strstr): New prototype.
34149         (strstr): Renamed to ...
34150         (__libc_strstr): This.
34151         (strstr): New strong alias of __libc_strstr.
34152         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34153         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34154         __redirect_time.
34155         Include <time.h>.
34156         (__libc_time): New prototype.
34157         (time_ifunc): Replace time with __libc_time.
34158         (time): New strong alias and hidden definition of __libc_time.
34159         (__GI_time): Remove strong alias.
34160         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34161         Include <stddef.h>.
34162         (memmove): Redefined to __redirect_memmove.
34163         (__memmove_sse2): Use typeof __redirect_memmove.
34164         (__memmove_ssse3): Likewise.
34165         (__memmove_ssse3_back): Likewise.
34166         (__libc_memmove): New prototype.
34167         (memmove): Renamed to ...
34168         (__libc_memmove): This.
34169         (memmove): New strong alias of __libc_memmove.
34171 2012-08-08  Mark Salter  <msalter@redhat.com>
34173         * elf/elf.h
34174         (R_MN10300_TLS_GD): Define.
34175         (R_MN10300_TLS_LD): Likewise.
34176         (R_MN10300_TLS_LDO): Likewise.
34177         (R_MN10300_TLS_GOTIE): Likewise.
34178         (R_MN10300_TLS_IE): Likewise.
34179         (R_MN10300_TLS_LE): Likewise.
34180         (R_MN10300_TLS_DTPMOD): Likewise.
34181         (R_MN10300_TLS_DTPOFF): Likewise.
34182         (R_MN10300_TLS_TPOFF): Likewise.
34183         (R_MN10300_SYM_DIFF): Likewise.
34184         (R_MN10300_ALIGN): Likewise.
34185         (R_MN10300_NUM): Update.
34187 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
34189         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34190         Remove.
34192 2012-08-08  Roland McGrath  <roland@hack.frob.com>
34194         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34196         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34197         sysdeps/unix -> sysdeps/posix move.
34198         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34200 2012-08-07      Allan McRae     <allan@archlinux.org>
34202         [BZ #14303]
34203         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34204         (SUNOS_CPP): Likewise.
34205         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34206         not found.
34207         (open_input): Call CPP using execvp.
34209 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34211         * sysdeps/unix/sysv/linux/kernel-features.h
34212         (__ASSUME_PROT_GROWSUPDOWN): Remove.
34213         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34214         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34215         (__ASSUME_WAITID_SYSCALL): Likewise.
34216         * sysdeps/unix/sysv/linux/dl-execstack.c
34217         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34218         code unconditional.
34219         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34220         conditional code.
34221         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34222         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34223         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34224         code.
34225         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34226         unconditional.
34227         [__ASSUME_WAITID_SYSCALL]: Likewise.
34228         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34230 2012-08-07  Roland McGrath  <roland@hack.frob.com>
34232         * sysdeps/unix/closedir.c: Renamed to ...
34233         * sysdeps/posix/closedir.c: ... here.
34234         * sysdeps/unix/dirfd.c: Renamed to ...
34235         * sysdeps/posix/dirfd.c: ... here.
34236         * sysdeps/unix/dirstream.h: Renamed to ...
34237         * sysdeps/posix/dirstream.h: ... here.
34238         * sysdeps/unix/fdopendir.c: Renamed to ...
34239         * sysdeps/posix/fdopendir.c: ... here.
34240         * sysdeps/unix/opendir.c: Renamed to ...
34241         * sysdeps/posix/opendir.c: ... here.
34242         * sysdeps/unix/readdir.c: Renamed to ...
34243         * sysdeps/posix/readdir.c: ... here.
34244         * sysdeps/unix/readdir_r.c: Renamed to ...
34245         * sysdeps/posix/readdir_r.c: ... here.
34246         * sysdeps/unix/rewinddir.c: Renamed to ...
34247         * sysdeps/posix/rewinddir.c: ... here.
34248         * sysdeps/unix/seekdir.c: Renamed to ...
34249         * sysdeps/posix/seekdir.c: ... here.
34250         * sysdeps/unix/telldir.c: Renamed to ...
34251         * sysdeps/posix/telldir.c: ... here.
34252         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34253         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34254         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34255         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34257         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34258         * bits/fcntl.h: ... here.
34260         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34261         not 0.
34262         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34263         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34264         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34265         (struct flock): Move l_start, l_len to the beginning.
34266         Use __pid_t for l_pid.
34267         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34268         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34269         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34270         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34271         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34272         [__USE_LARGEFILE64] (struct flock64): New type.
34273         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34275         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34276         * bits/dirent.h: ... here.
34278         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34279         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34281 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34283         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34284         Change from 2.6.0 to 2.6.16.
34285         * sysdeps/unix/sysv/linux/configure: Regenerated.
34286         * sysdeps/unix/sysv/linux/kernel-features.h
34287         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34288         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34289         version.
34290         (__ASSUME_UTIMES): Likewise.
34291         (__ASSUME_CLONE_STOPPED): Remove.
34292         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34293         architectures, not kernel version.
34294         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34295         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34296         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34297         (__ASSUME_WAITID_SYSCALL): Likewise.
34298         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34299         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34300         * README: State 2.6.16 as minimum Linux kernel version.  Do not
34301         refer to older versions.
34303 2012-08-06  Roland McGrath  <roland@hack.frob.com>
34305         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34306         Define alphasort64 as an alias.
34307         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34308         Define versionsort64 as an alias.
34309         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34310         Define scandir64 as an alias.
34311         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34312         Define scandirat64 as an alias.
34313         * dirent/alphasort64.c (alphasort64):
34314         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34315         * dirent/versionsort64.c: Likewise.
34316         * dirent/scandir64.c: Likewise.
34317         * dirent/scandirat64.c: Likewise.
34318         * sysdeps/wordsize-64/alphasort.c: File removed.
34319         * sysdeps/wordsize-64/alphasort64.c: File removed.
34320         * sysdeps/wordsize-64/scandir.c: File removed.
34321         * sysdeps/wordsize-64/scandir64.c: File removed.
34322         * sysdeps/wordsize-64/scandirat.c: File removed.
34323         * sysdeps/wordsize-64/scandirat64.c: File removed.
34324         * sysdeps/wordsize-64/versionsort.c: File removed.
34325         * sysdeps/wordsize-64/versionsort64.c: File removed.
34326         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34327         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34328         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34329         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34330         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34331         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34332         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34333         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34335         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34337         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34339         [defined __arch64__ || defined __sparcv9]
34340         (__INO_T_MATCHES_INO64_T): New macro.
34341         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34342         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34343         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34344         * sysdeps/unix/sysv/linux/bits/dirent.h
34345         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34346         (_DIRENT_MATCHES_DIRENT64): New macro.
34348         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34349         Define lockf64 as an alias.
34350         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34351         Define fseeko64 as an alias.
34352         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34353         Define ftello64 as an alias.
34354         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34355         Define _IO_fgetpos64 and fgetpos64 as aliases.
34356         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34357         Define _IO_fsetpos64 and fsetpos64 as aliases.
34358         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34359         Conditionalize body on this.
34360         * libio/fseeko64.c: Likewise.
34361         * libio/ftello64.c: Likewise.
34362         * libio/iofgetpos64.c: Likewise.
34363         * libio/iofsetpos64.c: Likewise.
34364         * sysdeps/wordsize-64/lockf.c: File removed.
34365         * sysdeps/wordsize-64/lockf64.c: File removed.
34366         * sysdeps/wordsize-64/fseeko.c: File removed.
34367         * sysdeps/wordsize-64/fseeko64.c: File removed.
34368         * sysdeps/wordsize-64/ftello.c: File removed.
34369         * sysdeps/wordsize-64/ftello64.c: File removed.
34370         * sysdeps/wordsize-64/iofgetpos.c: File removed.
34371         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34372         * sysdeps/wordsize-64/iofsetpos.c: File removed.
34373         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34374         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34375         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34376         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34377         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34378         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34379         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34380         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34381         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34382         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34383         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34385         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34386         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34387         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34388         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34389         [defined __arch64__ || defined __sparcv9]
34390         (__OFF_T_MATCHES_OFF64_T): New macro.
34391         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34392         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34393         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34394         (__OFF_T_MATCHES_OFF64_T): New macro.
34396 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34398         * stdlib/secure-getenv.c (__secure_getenv): Replace
34399         GLIBC_2_16 with GLIBC_2_17.
34401 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34403         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34404         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34406 2012-08-03  David S. Miller  <davem@davemloft.net>
34408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34410 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34412         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34413         Remove.
34414         (__ASSUME_CORRECT_SI_PID): Likewise.
34415         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34416         (__ASSUME_TMPFS_NAME): Likewise.
34417         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34418         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34419         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34420         (HAVE_AUX_SECURE): Make definition unconditional.
34421         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34422         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34424 2012-08-03  Roland McGrath  <roland@hack.frob.com>
34426         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34427         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34428         * sysdeps/mach/hurd/eloop-threshold.h: New file.
34429         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34430         __eloop_threshold instead of SYMLOOP_MAX.
34432         * sysdeps/generic/eloop-threshold.h: New file.
34433         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34434         of MAXSYMLINKS.
34435         * elf/chroot_canon.c (chroot_canon): Likewise.
34437 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34439         [BZ #13717]
34440         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34441         Change to 2.6.0 everywhere.
34442         * sysdeps/unix/sysv/linux/configure: Regenerated.
34443         * sysdeps/unix/sysv/linux/kernel-features.h
34444         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34445         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34446         kernel versions.
34447         (__ASSUME_POSIX_TIMERS): Define unconditionally.
34448         (__ASSUME_FUTEX_REQUEUE): Remove.
34449         (__ASSUME_STATFS64): Define unconditionally.
34450         (__ASSUME_AT_SECURE): Likewise.
34451         (__ASSUME_CORRECT_SI_PID): Likewise.
34452         (__ASSUME_TGKILL): Define without depending on kernel version for
34453         i386.
34454         (__ASSUME_UTIMES): Likewise.
34455         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34456         kernel version.
34457         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34458         (__ASSUME_TMPFS_NAME): Likewise.
34459         * README: Update reference to Linux kernel versions.
34461 2012-08-02  Marek Polacek  <polacek@redhat.com>
34463         [BZ# 14150]
34464         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
34465         libc_cv_asm_type_prefix with %.
34466         * configure: Regenerated.
34467         * include/libc-symbols.h: Remove comment about
34468         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34469         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34470         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34471         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34472         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34473         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34474         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34475         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34476         * elf/tst-unique2mod1.c: Likewise.
34477         * elf/tst-unique1mod2.c: Likewise.
34478         * elf/tst-unique1mod1.c: Likewise.
34479         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34480         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34481         Replace ASM_TYPE_DIRECTIVE with .type.
34482         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34483         * sysdeps/i386/sysdep.h: Likewise.
34484         * sysdeps/x86_64/sysdep.h: Likewise.
34485         * sysdeps/sh/sysdep.h: Likewise.
34486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34487         Do not define ASM_TYPE_DIRECTIVE.
34488         * sysdeps/powerpc/sysdep.h: Likewise.
34489         * sysdeps/powerpc/powerpc32/sysdep.h:
34490         Replace ASM_TYPE_DIRECTIVE with .type.
34491         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34492         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34493         * sysdeps/i386/fpu/e_powf.S: Likewise.
34494         * sysdeps/i386/fpu/e_expl.S: Likewise.
34495         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34496         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34497         * sysdeps/i386/fpu/e_pow.S: Likewise.
34498         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34499         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34500         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34501         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34502         * sysdeps/i386/fpu/e_log2.S: Likewise.
34503         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34504         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34505         * sysdeps/i386/fpu/e_powl.S: Likewise.
34506         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34507         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34508         * sysdeps/i386/fpu/e_logl.S: Likewise.
34509         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34510         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34511         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34512         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34513         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34514         * sysdeps/i386/fpu/e_log.S: Likewise.
34515         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34516         * sysdeps/i386/fpu/e_logf.S: Likewise.
34517         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34518         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34519         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34520         * sysdeps/i386/fpu/e_log10.S: Likewise.
34521         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34522         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34523         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34524         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34525         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34526         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34527         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34528         * sysdeps/i386/i686/strtok.S: Likewise.
34529         * sysdeps/i386/i386-mcount.S: Likewise.
34530         * sysdeps/i386/strtok.S: Likewise.
34531         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34532         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34533         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34534         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34535         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34536         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34537         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34538         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34539         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34540         * sysdeps/x86_64/_mcount.S: Likewise.
34541         * sysdeps/x86_64/strtok.S: Likewise.
34542         * sysdeps/sh/_mcount.S: Likewise.
34544 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34546         * libio/iofopen.c: Include <fcntl.h>.
34547         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34548         (_IO_fopen64, fopen64): Define as aliases.
34549         * libio/iofopen64.c: Include <fcntl.h>.
34550         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34551         Conditionalize body on this.
34552         * sysdeps/wordsize-64/iofopen.c: File removed.
34553         * sysdeps/wordsize-64/iofopen64.c: File removed.
34555 2012-08-01  Marek Polacek  <polacek@redhat.com>
34557         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34558         Use dlfcn directly instead of a variable.
34559         (binfmt-subdir): Do not define.
34560         (dlfcn): Likewise.
34562 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34564         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34565         Remove all definitions.
34566         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34567         <kernel-features.h>.
34568         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34569         (miss_F_GETOWN_EX): Remove all definitions.
34570         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34571         macro definition.
34572         [!__ASSUME_FCNTL64]: Remove conditional code.
34573         [__ASSUME_FCNTL64]: Make code unconditional.
34574         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34575         <kernel-features.h>.
34576         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34577         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34578         (lockf64) [__NR_fcntl64]: Make code unconditional.
34579         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34581         * sysdeps/unix/sysv/linux/kernel-features.h
34582         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34583         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34584         Make code unconditional.
34585         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34586         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34588         [__NR_vfork]: Make code unconditional.
34589         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34590         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34592         [__NR_vfork]: Make code unconditional.
34593         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34594         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34596 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34598         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34599         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34601         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34602         Define mkstemp64 as an alias.
34603         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34604         Define mkstemps64 as an alias.
34605         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34606         Define mkostemp64 as an alias.
34607         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34608         Define mkostemps64 as an alias.
34609         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34610         Conditionalize body on this.
34611         * misc/mkostemp64.c: Likewise.
34612         * misc/mkostemps64.c: Likewise.
34613         * misc/mkstemps64.c: Likewise.
34614         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34615         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34616         * sysdeps/wordsize-64/mkostemp.c: File removed.
34617         * sysdeps/wordsize-64/mkstemp.c: File removed.
34618         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34619         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34620         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34621         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34623         [BZ #14138]
34624         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34625         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34626         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34627         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34629         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34630         compat_symbol macros from <shlib-compat.h> rather than the underlying
34631         default_symbol_version and symbol_version macros, so that DEFAULT
34632         lines in shlib-versions are respected.
34633         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34635 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34637         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34638         Declare with warn_unused_result.
34639         (setgid, setregid, setegid, setresgid): Likewise.
34640         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34641         Likewise.
34642         * WUR-REPORT: Remove set*id functions.
34644 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34646         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34648 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34650         [BZ #10191]
34651         * include/sys/socket.h (__libc_accept, __libc_accept4):
34652         Add attribute_hidden.
34653         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34655         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34656         use of PTR_MANGLE.
34657         * inet/getnetgrent_r.c (setup): Likewise.
34659         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34661 2012-07-31  David S. Miller  <davem@davemloft.net>
34663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34665 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34667         [BZ #13629]
34668         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34669         value between 1.0 and 2.0 and smaller part has absolute value less
34670         than 1.0.
34671         * math/s_clog10.c (__clog10): Likewise.
34672         * math/s_clog10f.c (__clog10f): Likewise.
34673         * math/s_clog10l.c (__clog10l): Likewise.
34674         * math/s_clogf.c (__clogf): Likewise.
34675         * math/s_clogl.c (__clogl): Likewise.
34676         * math/libm-test.inc (clog_test): Add more tests.
34677         (clog10_test): Likewise.
34678         * sysdeps/i386/fpu/libm-test-ulps: Update.
34679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34681 2012-07-31  Florian Weimer  <fweimer@redhat.com>
34683         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34684         Exit with zero in case no suitable GID is found, and write a
34685         message to standard error.
34687 2012-07-30  Roland McGrath  <roland@hack.frob.com>
34689         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34690         rather than to 1.
34691         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34692         (MAXPATHLEN): Removed.
34693         (NOGROUP, NODEV): New macros.
34694         (setbit, clrbit, isset, isclr): New macros.
34695         (howmany, roundup, powerof2): New macros.
34696         (DEV_BSIZE): New macro.
34698         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34699         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34701         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34702         definition on [!__NO_LONG_DOUBLE_MATH].
34704         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34705         PTR_MANGLE and PTR_DEMANGLE.
34707         * socket/accept4.c (accept4): Rename to __libc_accept4.
34708         Define accept4 as a weak alias.
34710         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34711         on [_DIRENT_HAVE_D_TYPE].
34712         * io/ftw.c (ftw_dir): Likewise.
34714         * io/xmknod.c (__xmknod): Don't check PATH for being null.
34716         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34718         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34719         Use the BSD numbers rather than the arbitrary ones we had.
34720         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34721         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34722         (SIGXCPU, SIGXFSZ): New macros.
34723         (_NSIG): Now 32.
34725         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34726         initializer on [_LIBC_REENTRANT].
34728         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34729         definitions inside [_POSIX_MAPPED_FILES].
34731         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34733         * dirent/opendir.c: Include <fcntl.h>.
34735         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34736         (__libc_getspecific): Likewise.
34737         (__libc_key_create): Likewise.
34739         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34740         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34741         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34742         (tmpfile64): Define as alias.
34743         * sysdeps/wordsize-64/tmpfile.c: File removed.
34744         * sysdeps/wordsize-64/tmpfile64.c: File removed.
34745         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34746         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34748         * stdio-common/vfscanf.c: Include <stdbool.h>.
34749         * nss/makedb.c: Likewise.
34750         * stdio-common/_i18n_number.h: Likewise.
34751         * argp/argp-help.c: Likewise.
34752         * posix/wordexp.c: Likewise.
34753         * sysdeps/posix/spawni.c: Likewise.
34754         * nss/nss_files/files-initgroups.c: Likewise.
34755         * stdio-common/reg-modifier.c: Include <stdlib.h>.
34756         * nss/nss_files/files-initgroups.c: Likewise.
34757         * nss/nss_db/db-netgrp.c: Likewise.
34758         * nss/nss_db/db-initgroups.c: Likewise.
34759         * io/fchmodat.c: Include <sys/stat.h>.
34761         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34762         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34764         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34765         [HAVE_MMAP].
34767         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34768         Add multiple inclusion protection.
34770 2012-07-27  David S. Miller  <davem@davemloft.net>
34772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34774 2012-07-27  Gary Benson  <gbenson@redhat.com>
34776         [BZ #14298]
34777         * elf/rtld.c: Include <stap-probe.h>.
34778         (dl_main): Added static probes "init_start" and "init_complete".
34779         * elf/dl-load.c: Include <stap-probe.h>.
34780         (lose): Take new parameter "nsid".
34781         Added static probe "map_failed".
34782         (_dl_map_object_from_fd): Pass namespace id to lose.
34783         Added static probe "map_start".
34784         (open_verify): Pass namespace id to lose.
34785         * elf/dl-open.c: Include <stap-probe.h>.
34786         (dl_open_worker) Added static probes "map_complete", "reloc_start"
34787         and "reloc_complete".
34788         * elf/dl-close.c: Include <stap-probe.h>.
34789         (_dl_close_worker): Added static probes "unmap_start" and
34790         "unmap_complete".
34791         * elf/rtld-debugger-interface.txt: New file documenting the above.
34793 2012-07-26  Roland McGrath  <roland@hack.frob.com>
34795         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34796         rather than a string variable.
34797         * sunrpc/rpc_main.c (h_output): Likewise.
34798         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34800 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
34802         * inet/check_native.c: New file.
34804 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
34806         [BZ #13629]
34807         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34808         if larger part has absolute value 1.0.
34809         * math/s_clog10.c (__clog10): Likewise.
34810         * math/s_clog10f.c (__clog10f): Likewise.
34811         * math/s_clog10l.c (__clog10l): Likewise.
34812         * math/s_clogf.c (__clogf): Likewise.
34813         * math/s_clogl.c (__clogl): Likewise.
34814         * math/libm-test.inc (clog_test): Add more tests.
34815         (clog10_test): Likewise.
34816         * sysdeps/i386/fpu/libm-test-ulps: Update.
34817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34819         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34820         (pltexit): Likewise.
34821         (La_regs): Likewise.
34822         (La_retval): Likewise.
34823         (int_retval): Likewise.
34824         Update #error for removed macros to refer only to definitions in
34825         tst-audit.h.
34826         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34827         macro.
34828         (pltexit): Likewise.
34829         (La_regs): Likewise.
34830         (La_retval): Likewise.
34831         (int_retval): Likewise.
34832         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34833         macro.
34834         (pltexit): Likewise.
34835         (La_regs): Likewise.
34836         (La_retval): Likewise.
34837         (int_retval): Likewise.
34838         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34839         macro.
34840         (pltexit): Likewise.
34841         (La_regs): Likewise.
34842         (La_retval): Likewise.
34843         (int_retval): Likewise.
34844         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34845         macro.
34846         (pltexit): Likewise.
34847         (La_regs): Likewise.
34848         (La_retval): Likewise.
34849         (int_retval): Likewise.
34850         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34851         macro.
34852         (pltexit): Likewise.
34853         (La_regs): Likewise.
34854         (La_retval): Likewise.
34855         (int_retval): Likewise.
34856         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34857         macro.
34858         (pltexit): Likewise.
34859         (La_regs): Likewise.
34860         (La_retval): Likewise.
34861         (int_retval): Likewise.
34862         * sysdeps/generic/tst-audit.h: Update comment to refer only to
34863         macro definitions in tst-audit.h.
34864         * sysdeps/i386/tst-audit.h: New file.
34865         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34866         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34867         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34868         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34869         * sysdeps/sh/tst-audit.h: Likewise.
34870         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34871         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34872         * sysdeps/x86_64/tst-audit.h: Likewise.
34874 2012-07-26  Andreas Jaeger  <aj@suse.de>
34876         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34877         ptrace.
34879         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34880         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34881         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34882         PTRACE_O_MASK.
34883         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34884         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34885         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34887         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34888         value.
34890         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34891         _sigsys.
34892         (si_call_addr, si_syscall, si_arch): Define new macro.
34893         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34894         _sigsys.
34895         (si_call_addr, si_syscall, si_arch): Define new marcro.
34896         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34897         _sigsys.
34898         (si_call_addr, si_syscall, si_arch): Define new macro.
34899         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34900         _sigsys.
34901         (si_call_addr, si_syscall, si_arch): Define new macro.
34903 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34905         [BZ #13717]
34906         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34907         Change to 2.4.21 where previously 2.4.1.
34908         * sysdeps/unix/sysv/linux/configure: Regenerated.
34909         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34910         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34911         Linux kernel version.
34912         (__ASSUME_STD_AUXV): Remove.
34913         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34914         kernel version.
34915         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34916         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34917         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34918         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34919         (__ASSUME_NETLINK_SUPPORT): Likewise.
34920         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34921         (__no_netlink_support): Remove conditional definition.
34922         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34923         Remove.
34924         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34925         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34926         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34927         (if_nameindex_ioctl): Remove.
34928         (if_nameindex_netlink): Do not handle __no_netlink_support.
34929         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34930         code.
34931         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34932         Remove conditional code.
34933         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34934         code.
34935         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34936         unconditional.
34937         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34938         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34939         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34940         Remove.
34941         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34942         [!__ASSUME_STD_AUXV]: Remove conditional code.
34943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34944         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34945         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34947         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34948         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34949         code.
34950         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34952         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34953         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34954         conditional code.
34955         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34957         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34958         code.
34959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34960         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34961         conditional code.
34962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34963         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34964         code unconditional.
34965         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34966         conditional code.
34967         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34968         unconditional.
34969         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34970         conditional code.
34971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34972         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34973         unconditional.
34974         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34975         conditional code.
34976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34977         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34978         code unconditional.
34979         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34980         conditional code.
34981         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34982         unconditional.
34983         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34984         conditional code.
34985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34986         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34987         code unconditional.
34988         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34989         conditional code.
34990         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34991         unconditional.
34992         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34993         conditional code.
34995 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
34997         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34998         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34999         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35000         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35001         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35002         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35003         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35004         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35005         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35006         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35007         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35008         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35009         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35010         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35011         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35012         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35013         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35014         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35015         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35017         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35018         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35019         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35021 2012-07-25  Florian Weimer  <fweimer@redhat.com>
35023         * Versions.def: Add GLIBC_2.17.
35024         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35025         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35026         Introduce __libc_secure_getenv.
35027         * stdlib/Versions (2.17): Add secure_getenv
35028         (GLIBC_PRIVATE): Add __libc_secure_getenv.
35029         * stdlib/secure-getenv.c: Rename __secure_getenv to
35030         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
35031         symbol __secure_getenv for GLIBC_2.0.
35032         * stdlib/tst-secure-getenv.c: New.
35033         * stdlib/Makefile (tests): Add testcase.
35034         * manual/startup.texi (Environment Access): Document
35035         secure_getenv.
35036         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35037         __libc_secure_getenv.
35038         * inet/ruserpass.c (ruserpass): Likewise.
35039         * malloc/mtrace.c (mtrace): Likewise.
35040         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35041         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35042         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35043         * sysdeps/posix/tempname.c: Likewise.  Evaluate
35044         HAVE_SECURE_GETENV.
35045         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35046         __secure_getenv to __libc_secure_getenv.
35047         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35049         Likewise.
35050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35051         Likewise.
35052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35054         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35060 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35062         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35063         (struct La_i86_retval): Likewise.
35064         (struct La_x86_64_regs): Likewise.
35065         (struct La_x86_64_retval): Likewise.
35066         (struct La_x32_regs): Likewise.
35067         (struct La_x32_retval): Likewise.
35068         (struct La_ppc32_regs): Likewise.
35069         (struct La_ppc32_retval): Likewise.
35070         (struct La_ppc64_regs): Likewise.
35071         (struct La_ppc64_retval): Likewise.
35072         (struct La_sh_regs): Likewise.
35073         (struct La_sh_retval): Likewise.
35074         (struct La_s390_32_regs): Likewise.
35075         (struct La_s390_32_retval): Likewise.
35076         (struct La_s390_64_regs): Likewise.
35077         (struct La_s390_64_retval): Likewise.
35078         (struct La_sparc32_regs): Likewise.
35079         (struct La_sparc32_retval): Likewise.
35080         (struct La_sparc64_regs): Likewise.
35081         (struct La_sparc64_retval): Likewise.
35082         (struct audit_ifaces): Remove architecture-specific pltenter and
35083         pltexit members.
35084         * sysdeps/i386/ldsodefs.h: New file.
35085         * sysdeps/powerpc/ldsodefs.h: Likewise.
35086         * sysdeps/s390/ldsodefs.h: Likewise.
35087         * sysdeps/sh/ldsodefs.h: Likewise.
35088         * sysdeps/sparc/ldsodefs.h: Likewise.
35089         * sysdeps/x86_64/ldsodefs.h: Likewise.
35091 2012-07-25  Marek Polacek  <polacek@redhat.com>
35093         [BZ #6808]
35094         * math/libm-test.inc (yn_test): Add another test.
35095         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35096         to ERANGE when the result is +-Inf.
35097         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35098         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35099         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35100         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35102 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
35104         * conform/data/time.h-data (NULL): Use macro-constant.  Require
35105         equal to 0.
35106         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
35107         clock_t.
35108         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
35110 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
35112         * configure.in <sysdeps resolving>: Correct printing
35113         Implies_before.
35114         * configure: Regenerate.
35116 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
35118         * math/w_ilogb.c: Include <limits.h>.
35119         * math/w_ilogbl.c: Likewise.
35121 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35123         * manual/lang.texi (__va_copy): Document primarily as ISO C99
35124         va_copy.  Document allowing for unavailable va_copy only as
35125         pre-C99 compatibility.
35126         * manual/string.texi (Copying and Concatenation): Use va_copy
35127         instead of __va_copy in concat example.
35129 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
35131         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35132         (__sendto): Use create_address_port.  Initialize APORT and deallocate
35133         it if not null.
35135         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35136         with O_NOLINK passed to __file_name_lookup.
35138         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35139         with O_NOLINK passed to __file_name_lookup.
35141         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35142         negative N or less than NGIDS.
35144         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35145         type to string_t.  Set ERANGE as errno and return it if NAME is not big
35146         enough.  Use memcpy instead of strncpy.
35148 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35150         * elf/Makefile (check-data): Remove.
35151         (localplt.data): New vpath directive.
35152         ($(objpfx)check-localplt.out): Use localplt.data from vpath
35153         instead of $(check-data).
35154         * scripts/data/localplt-generic.data: Move to ...
35155         * sysdeps/generic/localplt.data: ... here.
35156         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35157         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35158         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35160         ... here.
35161         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35163         ... here.
35164         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35166         ... here.
35167         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35169         ... here.
35170         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35172         ... here.
35173         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35175         ... here.
35177 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35179         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35180         PPC32 and PPC64 files.
35181         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35182         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35184 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35186         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35187         __makecontext_ret to ...
35188         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35189         ... here and call exit if uc_link is NULL.  New file.
35190         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35191         __makecontext_ret.S.
35192         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35193         __makecontext_ret to ...
35194         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35195         ... here and call exit if uc_link is NULL.  New file.
35196         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35197         __makecontext_ret.S.
35199 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35201         * elf/elf.h (R_390_IRELATIVE): New definition.
35202         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35203         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
35204         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35205         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35206         (elf_machine_lazy_rel): Likewise.
35207         * sysdeps/s390/dl-irel.h: New file.
35208         * sysdeps/s390/s390-64/memcpy.S: New asm code.
35209         * sysdeps/s390/s390-64/memset.S: New asm code.
35210         * sysdeps/s390/s390-64/memcmp.S: New asm code.
35211         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35212         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35213         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35214         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35215         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35216         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35217         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35218         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35219         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35220         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35221         * sysdeps/s390/s390-32/memcpy.S: New asm code.
35222         * sysdeps/s390/s390-32/memset.S: New asm code.
35223         * sysdeps/s390/s390-32/memcmp.S: New asm code.
35225 2012-07-17  Marek Polacek  <polacek@redhat.com>
35227         [BZ #14349]
35228         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35229         * sysdeps/s390/s390-64/configure.in: Likewise.
35230         * sysdeps/sparc/configure.in: Likewise.
35231         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35232         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35233         * sysdeps/i386/configure.in: Likewise.
35234         * sysdeps/x86_64/configure.in: Likewise.
35235         * sysdeps/sh/configure.in: Likewise.
35236         * sysdeps/s390/s390-32/configure: Regenerated.
35237         * sysdeps/s390/s390-64/configure: Likewise.
35238         * sysdeps/x86_64/configure: Likewise.
35239         * sysdeps/sh/configure: Likewise.
35240         * sysdeps/powerpc/powerpc64/configure: Likewise.
35241         * sysdeps/powerpc/powerpc32/configure: Likewise.
35242         * sysdeps/sparc/configure: Likwise.
35243         * sysdeps/i386/configure: Likewise.
35245         * elf/dl-open.c: Comment fixes.
35247 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
35249         * Makefile [CXX] (check-data): Remove.
35250         [CXX] (c++-types.data): New vpath directive.
35251         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35252         vpath.  Do not allow for C++ type data being missing.
35253         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35254         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35255         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35256         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35257         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35258         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35259         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35261         ... here.
35262         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35264         ... here.
35265         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35267         ... here.
35268         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35270         ... here.
35271         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35273         ... here.
35274         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35276         ... here.
35277         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35279         ... here.
35280         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35283         * elf/tls-macros.h (TLS_LE): Move architecture-specific
35284         definitions to architecture-specific files.
35285         (TLS_IE): Likewise.
35286         (TLS_LD): Likewise.
35287         (TLS_GD): Likewise.
35288         * sysdeps/i386/tls-macros.h: New file.
35289         * sysdeps/powerpc/tls-macros.h: Likewise.
35290         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35291         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35292         * sysdeps/sh/tls-macros.h: Likewise.
35293         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35294         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35295         * sysdeps/x86_64/tls-macros.h: Likewise.
35297 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35299         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35300         zero value for regular exit case.
35302         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35303         (__start_context): Preserve zero value for regular exit case.
35305 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35306             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35308         * manual/setjmp.texi (setcontext): Clarify normal process
35309         termination when uc_link is the null pointer.
35310         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35311         exit call.
35313 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
35315         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35316         preprocessor.  Test for each exception mask separately.
35318 2012-07-16  Andreas Jaeger  <aj@suse.de>
35320         * po/ru.po: Update from translation team.
35322 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
35324         * conform/data/string.h-data (NULL): Use macro-constant.  Require
35325         equal to 0.
35326         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35327         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35328         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35329         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35330         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35332 2012-07-13  Andreas Jaeger  <aj@suse.de>
35334         * po/fr.po: Update from translation team.
35336 2012-07-12  Marek Polacek  <polacek@redhat.com>
35338         [BZ #14173]
35339         * math/libm-test.inc (yn_test): Add test for BZ #14173.
35340         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35341         loop condition.
35343 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
35345         [BZ #13717]
35346         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35347         Change to 2.4.1 where previously 2.4.0.
35348         * sysdeps/unix/sysv/linux/configure: Regenerated.
35349         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35350         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35351         version.
35352         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35353         (__ASSUME_AT_CLKTCK): Remove.
35354         (__ASSUME_AT_PAGESIZE): Likewise.
35355         (__ASSUME_AT_XID): Likewise.
35356         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35357         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35358         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35359         unconditionally.
35360         (HAVE_AUX_PAGESIZE): Likewise.
35361         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35362         [__ASSUME_AT_CLKTCK]: Make code unconditional.
35363         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35365 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
35367         [BZ #14307]
35368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35369         the temporary buffer used to invoke __gethostbyname2_r,
35370         __gethostbyaddr_r and gethostbyname4_r to make room for struct
35371         host_data / struct gaih_addrtuple.
35372         * resolv/nss_dns/dns-host.c (global scope): Move definition of
35373         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35374         header file nss/nsswitch.h.
35375         * nss/nsswitch.h (global scope): Add definition of implementation
35376         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35377         resolv/nss_dns/dns-host.c).
35379 2012-07-11  Andreas Jaeger  <aj@suse.de>
35381         * po/fr.po: Update from translation team.
35383         * po/sv.po: Update from translation team
35384         * po/fr.po: Another update from translation team.
35386 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35388         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35389         for subnormals or multiply small sinh result by itself.
35390         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35393 2012-07-11  David S. Miller  <davem@davemloft.net>
35395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35397 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
35399         [BZ #14347]
35400         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35401         (INTERNAL_MARK): Shift it here.
35403 2012-07-10  Marek Polacek  <polacek@redhat.com>
35405         [BZ #14151]
35406         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
35407         libc_cv_asm_global_directive with .globl.
35408         * configure: Regenerated.
35409         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35410         with .globl.
35411         * sysdeps/i386/configure: Regenerated.
35412         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35413         with .globl.
35414         * sysdeps/x86_64/configure: Regenerated.
35415         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35416         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35417         * elf/tst-unique2mod2.c: Likewise.
35418         * elf/tst-unique2mod1.c: Likewise.
35419         * elf/tst-unique1mod2.c: Likewise.
35420         * elf/tst-unique1mod1.c: Likewise.
35421         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35422         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35423         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35424         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35425         * sysdeps/mach/sysdep.h: Likewise.
35426         * sysdeps/i386/sysdep.h: Likewise.
35427         * sysdeps/i386/i386-mcount.S: Likewise.
35428         * sysdeps/x86_64/_mcount.S: Likewise.
35429         * sysdeps/x86_64/sysdep.h: Likewise.
35430         * sysdeps/sh/_mcount.S: Likewise.
35431         * sysdeps/sh/sysdep.h: Likewise.
35432         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35433         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35434         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35435         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35436         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35437         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35438         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35439         * locale/localeinfo.h: Likewise.
35440         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35441         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35443 2012-07-09  Roland McGrath  <roland@hack.frob.com>
35445         [BZ #14336]
35446         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35447         system".
35448         * manual/message.texi (The Uniforum approach): Likewise.
35449         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35450         (glibc iconv Implementation): Likewise.
35452 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
35454         [BZ #14337]
35455         * math/s_clog.c (__clog): Avoid scaling a value down where that
35456         could result in underflow.
35457         * math/s_clog10.c (__clog10): Likewise.
35458         * math/s_clog10f.c (__clog10f): Likewise.
35459         * math/s_clog10l.c (__clog10l): Likewise.
35460         * math/s_clogf.c (__clogf): Likewise.
35461         * math/s_clogl.c (__clogl): Likewise.
35462         * math/libm-test.inc (clog_test): Add more tests.
35463         (clog10_test): Likewise.
35464         * sysdeps/i386/fpu/libm-test-ulps: Update.
35465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35467 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
35469         [BZ #14283]
35470         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35471         by 7 not 8 to examine high bit of fractional part.
35473         [BZ #14042]
35474         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35475         for call to __mcount_internal.
35476         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35477         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35478         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35480 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35482         [BZ #14154]
35483         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35484         approximation for values within 0x1p-13f of an odd multiple of
35485         pi/4.
35486         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35487         exception.  Add more tests.
35488         * sysdeps/i386/fpu/libm-test-ulps: Update.
35490         [BZ #6778]
35491         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35492         inputs and return -1 for them.  Do not check for +Inf in case not
35493         reachable for +Inf.
35494         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35495         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35496         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35497         and return -1 for them.  Do not check for +Inf in case not
35498         reachable for +Inf.
35499         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35500         define.
35501         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35502         and return -1 for them.  Do not check for +Inf in case not
35503         reachable for +Inf.
35504         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
35505         spurious underflow.
35506         * sysdeps/i386/fpu/libm-test-ulps: Update.
35507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35509 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
35511         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35513 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35515         [BZ #14157]
35516         [BZ #14331]
35517         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35518         could result in spurious underflow.  Scale down values above
35519         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35520         * math/s_csqrtf.c (__csqrtf): Likewise.
35521         * math/s_csqrtl.c (__csqrtl): Likewise.
35522         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35523         spurious underflow.
35524         * sysdeps/i386/fpu/libm-test-ulps: Update.
35525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35527 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35529         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35530         xopen-msg.sed.
35531         * catgets/xopen-msg.awk: New file.
35532         * catgets/xopen-msg.sed: Removed.
35534         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35535         po2text.sed.
35536         * intl/po2test.awk: New file.
35537         * intl/po2test.sed: Removed.
35539 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35541         [BZ #14328]
35542         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35543         or multiply small sinh result by itself.
35544         * math/s_ctanf.c (__ctanf): Likewise.
35545         * math/s_ctanh.c (__ctanh): Likewise.
35546         * math/s_ctanhf.c (__ctanhf): Likewise.
35547         * math/s_ctanhl.c (__ctanhl): Likewise.
35548         * math/s_ctanl.c (__ctanl): Likewise.
35549         * math/libm-test.inc (ctan_test_tonearest): New function.
35550         (ctan_test_towardzero): Likewise.
35551         (ctan_test_downward): Likewise.
35552         (ctan_test_upward): Likewise.
35553         (ctanh_test_tonearest): Likewise.
35554         (ctanh_test_towardzero): Likewise.
35555         (ctanh_test_downward): Likewise.
35556         (ctanh_test_upward): Likewise.
35557         (main): Call these new functions.
35558         * sysdeps/i386/fpu/libm-test-ulps: Update.
35559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35561 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35563         * .gitignore: Delete /ports entry.
35565 2012-07-03  Andreas Jaeger  <aj@suse.de>
35567         * po/bg.po: Update from translation team.
35568         * po/cs.po: Likewise.
35569         * po/de.po: Likewise.
35570         * po/hr.po: Likewise.
35571         * po/nl.pl: Likewise.
35572         * po/pl.po: Likewise.
35573         * po/vi.po: Likewise.
35575 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35577         * Makeconfig [!+link] (+link-before-libc): New variable.
35578         [!+link] (+link-after-libc): Likewise.
35579         [!+link] (+link-tests): Likewise.
35580         [!+link] (+link): Define in terms of $(+link-before-libc) and
35581         $(+link-after-libc).
35582         [!+link-static] (+link-static-before-libc): New variable.
35583         [!+link-static] (+link-static-after-libc): Likewise.
35584         [!+link-static] (+link-static-tests): Likewise.
35585         [!+link-static] (+link-static): Define in terms of
35586         $(+link-static-before-libc) and $(+link-static-after-libc).
35587         [build-shared] (link-libc-before-gnulib): New variable.
35588         [build-shared] (link-libc-tests): Likewise.
35589         [build-shared] (link-libc): Define in terms of
35590         $(link-libc-before-gnulib).
35591         [!build-shared] (link-libc-tests): New variable.
35592         (link-libc-static-tests): New variable.
35593         [!gnulib] (gnulib-arch): New variable.
35594         [!gnulib] (gnulib-tests): Likewise.
35595         [!gnulib] (static-gnulib-arch): Likewise.
35596         [!gnulib] (static-gnulib-tests): Likewise.
35597         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35598         Define with "=" instead of ":=".
35599         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35600         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35601         * Rules (binaries-all-notests): New variable.
35602         (binaries-all-tests): Likewise.
35603         (binaries-static-notests): Likewise.
35604         (binaries-static-tests): Likewise.
35605         (binaries-all): Define using $(binaries-all-notests) and
35606         $(binaries-all-tests).
35607         (binaries-static): Define using $(binaries-static-notests) and
35608         $(binaries-static-tests).
35609         (binaries-shared-tests): New variable.
35610         (binaries-shared-notests): Likewise.
35611         (binaries-shared): Remove variable.
35612         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35613         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35614         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35615         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35616         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35617         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35618         * elf/Makefile (sln-modules): New variable.
35619         (extra-objs): Add $(sln-modules:=.o).
35620         (ldconfig-modules): Add static-stubs.
35621         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35622         * elf/static-stubs.c: New file.
35624         [BZ #14283]
35625         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35626         by 7 not 8 to examine high bit of fractional part.  Use volatile
35627         variables when splitting into final array of floats if
35628         __FLT_EVAL_METHOD__ != 0.
35629         * math/libm-test.inc (cos_test): Add another test.
35630         (sin_test): Likewise.
35631         * sysdeps/i386/fpu/libm-test-ulps: Update.
35633         [BZ #14273]
35634         * math/libm-test.inc (cosh_test): Add more tests.
35636         * version.h (RELEASE): Set to "development".
35637         (VERSION): Set to "2.16.90".
35639 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35641         * NEWS: Update copyright. Remove last-updated date.
35642         Mention math library bug fixes and timezone data changes.
35643         * README: Mention GNU/Hurd, x32, and HPPA support status.
35645 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35647         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35649 2012-06-27  Andreas Jaeger  <aj@suse.de>
35651         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35653 2012-06-25  Andreas Jaeger  <aj@suse.de>
35655         * sysdeps/s390/fpu/libm-test-ulps: Update.
35657 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35658             Thomas Schwinge  <thomas@codesourcery.com>
35660         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35661         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35662         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35663         fanotify_mark.
35665 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35667         * sysdeps/mach/start.c: Remove file.
35668         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35669         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35670         * sysdeps/sh/init-first.c: Likewise.
35672         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35673         registers for frame unwinding purposes, add CFI directives.
35674         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35675         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35676         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35677         Likewise.
35679         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35680         __fortify_fail returning.
35681         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35683         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35684         sysdeps/sh/____longjmp_chk.S.
35685         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35686         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35687         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35688         (gen-as-const-headers): Append sigaltstack-offsets.sym.
35690         * sysdeps/sh/abort-instr.h: New file.
35691         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35692         process in case exit returns.
35694         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35695         initialize the GOT register before use.
35697         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35698         calculation of ARGC > 4.
35700         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35701         meaningful names to some local labels.
35703 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35704             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35706         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35707         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35708         (__arch_compare_and_exchange_val_16_acq): Likewise.
35709         (__arch_compare_and_exchange_val_32_acq): Likewise.
35710         (atomic_exchange_and_add): Fix gUSA sequence.
35711         (atomic_add): Likewise.
35712         (atomic_add_negative): Likewise.
35713         (atomic_add_zero): Likewise.
35714         (atomic_bit_test_set): Likewise.
35716 2012-06-22  Andreas Schwab  <schwab@redhat.com>
35718         [BZ #13579]
35719         * include/link.h (struct link_map): Add l_free_initfini.
35720         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35721         l_initfini.
35722         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35723         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35724         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35725         set.
35727 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
35729         * configure.in: Use AC_LANG_SOURCE.
35730         * configure: Regenerate.
35732 2012-06-22  Roland McGrath  <roland@hack.frob.com>
35734         * configure.in (libc_cv_localstatedir): New substituted variable.
35735         * configure: Regenerated.
35736         * config.make.in (localstatedir): New variable, substituted from
35737         libc_cv_localstatedir.
35738         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35739         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35740         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35741         * sysdeps/gnu/configure: Regenerated.
35743 2012-06-21  Jeff Law  <law@redhat.com>
35745         [BZ #14277]
35746         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35747         free.  Simplify list management for _LIBC case.
35749 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
35751         [BZ #14273]
35752         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35753         Clear sign bit of 64-bit integer value before comparing against
35754         overflow value.
35756         * sysdeps/mach/configure: Regenerated.
35758 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
35760         [BZ #14278]
35761         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35763 2012-06-21  Jeff Law  <law@redhat.com>
35765         [BZ #13882]
35766         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
35767         uint16_t for elements in the "seen" array to avoid char overflows.
35768         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35769         * elf/dl-open.c (dl_open_worker): Likewise.
35771 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
35773         * scripts/list-sources.sh: Scan PORTS for translations.
35774         * po/libc.pot: Regenerated.
35776 2012-06-21  Andreas Jaeger  <aj@suse.de>
35778         [BZ #12194]
35779         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35780         warning.
35781         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35782         * bits/byteswap-16.h (__bswap_16): Likewise.
35783         * bits/byteswap.h (__bswap_constant_16): Likewise.
35785 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
35787         [BZ #14117]
35788         * sysdeps/i386/fpu_control.h: Removed.
35789         * sysdeps/x86_64/fpu_control.h: Moved to ...
35790         * sysdeps/x86/fpu_control.h: Here.
35792         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35793         (_FPU_SETCW): Likewise.
35795 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
35797         [BZ #14117]
35798         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35799         * sysdeps/x86/fpu/bits/mathinline.h: This.
35800         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35802         [BZ #14050]
35803         [BZ #14117]
35804         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35805         functions if __x86_64__ is defined.
35807 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
35809         * string/endian.h: Add !__ASSEMBLER__ condition for including
35810         conversion interfaces.
35812 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
35814         [BZ #14241]
35815         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35816         of ABS(x) in calculating zero to negative powers other than odd
35817         integers.
35818         * math/libm-test.inc (pow_test): Add more tests.
35820 2012-06-15  Andreas Jaeger  <aj@suse.de>
35822         * manual/contrib.texi (Contributors): Update entry of Liubov
35823         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35824         Machado Filho.
35826 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
35828         * string/string.h: Add __wur to GNU version of strerror_r.
35830 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
35832         [BZ #14229]
35833         * string/Makefile (tests): Add tst-strtok_r.
35834         * string/tst-strtok_r.c: New file.
35835         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35836         RAX_LP/RDX_LP on SAVE_PTR.
35838 2012-06-14  Roland McGrath  <roland@hack.frob.com>
35840         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35842 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
35844         * libm_test.inc (csqrt_test): Allow more spurious underflow
35845         exceptions.
35846         (j0_test): Likewise.
35847         (j1_test): Likewise.
35848         (y0_test): Likewise.
35849         (y1_test): Likewise.
35851 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
35853         * po/Makefile (libc.pot): Use UTF-8 charset.
35855 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
35857         [BZ #14210]
35858         Suppress sign-conversion warning from FD_SET.
35859         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35860         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35861         not unsigned long int.
35862         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35864 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
35866         [BZ #14050]
35867         [BZ #14117]
35868         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35869         __extern_always_inline instead of __extern_inline.
35870         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35871         (__signbit): Likewise.
35872         (__signbitl): Support C++ namespace.
35873         (lrintf): New inline function.
35874         (lrint): Likewise.
35875         (llrintf): Likewise.
35876         (llrint): Likewise.
35877         (fmaxf): Likewise.
35878         (fmax): Likewise.
35879         (fminf): Likewise.
35880         (fmin): Likewise.
35881         (rint): Likewise.
35882         (rintf): Likewise.
35883         (ceil): Likewise.
35884         (ceilf): Likewise.
35885         (floor): Likewise.
35886         (floorf): Likewise.
35887         (nearbyint): Likewise.
35888         (nearbyintf): Likewise.
35890 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
35892         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35893         non-default versions.
35895 2012-06-11  Roland McGrath  <roland@hack.frob.com>
35897         [BZ #14218]
35898         * manual/argp.texi (Argp): Reword argp_parse description slightly.
35900 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
35902         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35903         (FE_UPWARD, FE_DOWNWARD): Don't define.
35904         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35905         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35907         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35908         reading it.
35909         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35910         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35912 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35914         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35915         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35916         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35917         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35919 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
35921         [BZ #14117]
35922         * sysdeps/i386/fpu/bits/fenv.h: Removed.
35923         * sysdeps/i386/fpu/Implies: New file.
35924         * sysdeps/x86_64/fpu/Implies: Likewise.
35925         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35926         * sysdeps/x86/fpu/bits/fenv.h: This.
35928         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35929         __SSE_MATH__.
35931 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35933         [BZ #14134]
35934         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35935         character 0xffff that matches the last element of the
35936         conversion table.
35938 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35940         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35941         fmodl commit.
35943 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35945         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35946         values higher than 25.6283.
35948 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35950         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35951         subnormal exponent extraction and add some __builtin_expect.
35952         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35953         Fix for subnormal mantissa calculation.
35955 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
35957         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35958         cpu2 is -1 and errno is not ENOSYS.
35960 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
35962         [BZ #14117]
35963         * sysdeps/i386/i486/bits/string.h: Renamed to ...
35964         * sysdeps/x86/bits/string.h: This.
35965         * sysdeps/x86_64/bits/string.h: Removed.
35967         * sysdeps/i386/i486/bits/string.h: Define inline functions only
35968         if not compiling for x86-64, but compiling for >= i486.
35970         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35971         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35973         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35974         New macro from Linux kernel 3.4.0.
35975         (FP_XSTATE_MAGIC2): Likewise.
35976         (FP_XSTATE_MAGIC2_SIZE): Likewise.
35977         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35978         (struct _fpx_sw_bytes): New struct.
35979         (struct _xsave_hdr): Likewise.
35980         (struct _ymmh_state): Likewise.
35981         (struct _xstate): Likewise.
35983         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35984         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35985         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35986         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35987         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35988         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35990         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35991         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35992         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35993         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35994         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35995         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35997 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35999         [BZ #13743]
36000         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36001         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36002         (sysdep_headers): Include sys/platform/ppc.h.
36003         * sysdeps/powerpc/test-gettimebase.c: Test for
36004         __ppc_get_timebase() to catch future ISA opcode/insn changes.
36005         * manual/Makefile (appendices): Include platform.texi.
36006         * manual/contrib.texi (Contributors): Update @node pointers.
36007         * manual/maint.texi (Maintenance): Likewise.
36008         (Platform): New node.
36009         * manual/platform.texi: New file.  Document the new features.
36011 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36012             Jakub Jelinek  <jakub@redhat.com>
36014         [BZ #14188]
36015         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36016         where __builtin_expect is unavailable.
36018 2012-06-03  David S. Miller  <davem@davemloft.net>
36020         * stdlib/longlong.h: Updated from GCC.
36022 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
36024         [BZ #14042]
36025         * sysdeps/powerpc/powerpc32/mcount.c: New file.
36026         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36027         __mcount_internal.
36028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36029         (GLIBC_2.16): Likewise.
36031 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36033         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36035 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36038         (default-abi): New variable.
36039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36040         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36041         variable.
36042         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36043         Likewise.
36044         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36045         Likewise.
36046         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36047         Likewise.
36049         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36050         definition.  Document in comment.
36052 2012-06-01  David S. Miller  <davem@davemloft.net>
36054         * stdlib/longlong.h: Updated from GCC.
36056 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36058         [BZ #14117]
36059         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36060         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36061         sys/debugreg.h sys/io.h here.
36062         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36063         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36064         sys/io.h.
36065         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36066         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36067         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36068         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36069         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36070         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36072         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36073         Define only if __x86_64__ is defined.
36075 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36077         [BZ #14048]
36078         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36079         Use int64_t for variable i.
36080         * math/libm-test.inc (fmod_test): Add more tests.
36082         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36083         z computation is not scheduled after fetestexcept.
36084         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36085         Use math_force_eval instead of asm to ensure calculation scheduled
36086         before exception test.
36087         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36088         Ensure a1 + u.d computation is not scheduled after fetestexcept.
36090 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
36092         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36093         computation is not scheduled after fetestexcept.
36095 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36097         [BZ #14117]
36098         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36099         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36101 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36103         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36104         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36106 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36108         [BZ #14117]
36109         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36110         <bits/wordsize.h>.
36111         (__WCHAR_MIN): Support __WORDSIZE == 64.
36112         (__WCHAR_MAX): Likewise.
36114         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36115         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36117         [BZ #14183]
36118         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36119         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36121         [BZ #14117]
36122         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36123         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36125         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36126         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36128         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36129         Defined to 1 if __x86_64__ isn't defined.
36130         (_STAT_VER_LINUX_OLD): New.
36131         (st_atime): Remove duplicate.
36132         (st_mtime): Likewise.
36133         (st_ctime): Likewise.
36135 2012-05-31  David S. Miller  <davem@davemloft.net>
36137         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36138         entries.
36140 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
36142         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36143         gen-libm-test.pl.
36145         [BZ #14132]
36146         * elf/dl-reloc.c: Include <_itoa.h>.
36147         (_dl_reloc_bad_type): Remove use of INTUSE.
36148         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36149         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36150         * stdio-common/psiginfo.c (psiginfo): Likewise.
36151         * stdio-common/psignal.c (psignal): Likewise.
36152         * string/strsignal.c (strsignal): Likewise.
36153         * include/signal.h (_sys_siglist): Declare hidden proto.
36154         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
36155         INTVARDEF with libc_hidden_data_def.
36156         * stdio-common/itoa-udigits.c: Likewise.
36157         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36158         (_itoa_lower_digits_internal): Remove declaration.
36159         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36160         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36161         (_sys_sigabbrev_internal): Remove aliases.
36162         (_sys_siglist): Define hidden alias.
36164 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
36166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36167         bits/sysctl.h.
36169 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36171         [BZ #14117]
36172         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36173         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36175         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36176         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36177         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36178         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36179         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36180         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36182         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36183         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36184         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36186         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36187         with __addr.
36188         (insw): Likewise.
36189         (insl): Likewise.
36190         (outsb): Likewise.
36191         (outsw): Likewise.
36192         (outsl): Likewise.
36194         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36195         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36196         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36198         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36199         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36200         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36201         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36202         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36203         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36205         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36206         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36208         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36209         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36211         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36212         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36213         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36215         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36216         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36217         to ...
36218         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36220         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36221         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36222         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36224         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36225         for x86-64.
36226         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36228 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
36230         * math/math.h (M_El): Use two more decimal places.
36231         (M_LOG2El): Likewise.
36232         (M_LOG10El): Likewise.
36233         (M_LN2l): Likewise.
36234         (M_LN10l): Likewise.
36235         (M_PIl): Likewise.
36236         (M_PI_2l): Likewise.
36237         (M_PI_4l): Likewise.
36238         (M_1_PIl): Likewise.
36239         (M_2_PIl): Likewise.
36240         (M_2_SQRTPIl): Likewise.
36241         (M_SQRT2l): Likewise.
36242         (M_SQRT1_2l): Likewise.
36244 2012-05-31  David S. Miller  <davem@davemloft.net>
36246         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36247         values between float registers.
36248         * sysdeps/sparc/sparc64/memset.S: Likewise.
36249         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36251 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
36253         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36254         -D_FORTIFY_SOURCE=1.
36255         (CPPFLAGS-tst-longjmp_chk.c): Define.
36256         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36257         (CPPFLAGS-tst-longjmp_chk2.c): Define.
36258         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36259         CFLAGS-tst-wchar-h.c.
36261 2012-05-31  Marek Polacek  <polacek@redhat.com>
36263         [BZ #14132]
36264         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36265         __endmntent_internal): Remove declaration.
36266         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36267         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36268         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36270 2012-05-30  David S. Miller  <davem@davemloft.net>
36272         * sysdeps/sparc/sparc32/soft-fp/q_util.c
36273         (___Q_simulate_exceptions): Use real FP ops rather than writing
36274         into the %fsr.
36275         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36276         Likewise.
36278 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36280         [BZ #14117]
36281         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36282         * sysdeps/x86/bits/xtitypes.h: This.
36284         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36285         * sysdeps/x86/bits/wordsize.h: This.
36287         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36288         * sysdeps/x86/bits/huge_vall.h: This.
36290         * sysdeps/i386/bits/select.h: Removed.
36291         * sysdeps/x86_64/bits/select.h: Renamed to ...
36292         * sysdeps/x86/bits/select.h: This.
36294         * sysdeps/i386/bits/setjmp.h: Removed.
36295         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36296         * sysdeps/x86/bits/setjmp.h: This.
36298         * sysdeps/i386/bits/mathdef.h: Removed.
36299         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36300         * sysdeps/x86/bits/mathdef.h: This.
36302 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
36304         [BZ #14132]
36305         * include/sys/socket.h (__connect_internal)
36306         (__libc_sa_len_internal): Remove declaration.
36307         (__connect, __libc_sa_len): Declare hidden_proto.
36308         (SA_LEN): Remove use of INTUSE.
36309         * socket/connect.c: Add libc_hidden_def.
36310         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36311         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36312         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36313         alias.
36314         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36315         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36316         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36317         of adding _internal alias.
36319 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36321         [BZ #14117]
36322         * sysdeps/i386/bits/link.h: Removed.
36323         * sysdeps/i386/bits/linkmap.h: Likewise.
36324         * sysdeps/x86_64/bits/link.h: Renamed to ...
36325         * sysdeps/x86/bits/link.h: This.
36326         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36327         * sysdeps/x86/bits/linkmap.h: This.
36329         * sysdeps/i386/bits/endian.h: Removed.
36330         * sysdeps/x86_64/bits/endian.h: Renamed to ...
36331         * sysdeps/x86/bits/endian.h: This.
36333         * sysdeps/i386/bits/byteswap.h: Removed.
36334         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36335         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36336         * sysdeps/x86/bits/byteswap.h: This.
36337         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36338         * sysdeps/x86/bits/byteswap-16.h: This.
36339         * sysdeps/i386/Implies: Add x86.
36340         * sysdeps/x86_64/Implies: Likewise.
36342 2012-05-30  David S. Miller  <davem@davemloft.net>
36344         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36345         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36346         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36347         (FP_TRAPPING_EXCEPTIONS): Define.
36348         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36349         (FP_TRAPPING_EXCEPTIONS): Define.
36350         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36351         subnormals only when inexact has been signalled or underflow
36352         exceptions are enabled.
36353         (_FP_PACK_CANONICAL): Likewise.
36355 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36357         [BZ #14183]
36358         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36359         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36361 2012-05-30  Richard Henderson  <rth@twiddle.net>
36363         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36364         with #ifndef NOT_IN_libc.
36366         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
36367         marked to avoid plt entry.
36369 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36371         [BZ #14112]
36372         * Makeconfig (default-abi): New macro.
36373         (abi-includes): Likewise.
36374         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
36375         $(abi-$(default-abi)-lib-soname) for soname if defined.
36376         ($(common-objpfx)gnu/lib-names.stmp): Generate from
36377         abi-variants.
36378         * Makefile (installed-stubs): Likewise.
36379         * include/stubs-biarch.h: Removed.
36380         * scripts/lib-names.awk: Only handle one library at a time.
36381         * scripts/soversions.awk: Remove WORDSIZE support.
36382         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36383         entries.
36384         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36385         Removed.
36386         (syscall-list-default-condition): Likewise.
36387         (syscall-list-default-condition): Likewise.
36388         (syscall-list-includes): Likewise.
36389         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36390         syscall-list-* with abi-*.  Handle undefined abi-variants.
36391         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36392         * sysdeps/unix/sysv/linux/i386/Implies: New file.
36393         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36394         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36395         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36396         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36397         Removed.
36398         (syscall-list-32-options): Likewise.
36399         (syscall-list-32-condition): Likewise.
36400         (syscall-list-64-options): Likewise.
36401         (syscall-list-64-condition): Likewise.
36402         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36403         macro.
36404         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36405         Renamed to ...
36406         (abi-*): This.
36407         (abi-64-ld-soname): New macro.
36408         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36409         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36410         Renamed to ...
36411         (abi-*): This.
36412         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36413         * sysdeps/x86_64/x32/shlib-versions: Likewise.
36415 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
36417         * sysdeps/unix/sysv/linux/kernel-features.h
36418         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36419         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36420         include <kernel-features.h>.
36421         [!__NR_ftruncate64]: Remove conditional code.
36422         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36423         [__NR_ftruncate64]: Make code unconditional.
36424         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36425         * sysdeps/unix/sysv/linux/truncate64.c: Do not
36426         include <kernel-features.h>.
36427         [!__NR_ftruncate64]: Remove conditional code.
36428         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36429         [__NR_ftruncate64]: Make code unconditional.
36430         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36432         include <kernel-features.h>.
36433         [!__NR_ftruncate64]: Remove conditional code.
36434         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36435         [__NR_ftruncate64]: Make code unconditional.
36436         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36438         include <kernel-features.h>.
36439         [!__NR_ftruncate64]: Remove conditional code.
36440         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36441         [__NR_ftruncate64]: Make code unconditional.
36442         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36444         * configure.in (libc_cv_fpie): Weaken to a compile test using
36445         LIBC_TRY_CC_OPTION.
36446         * configure: Regenerated.
36448 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36454         Refreshed.
36455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36461         Refreshed.
36463 2012-05-27  David S. Miller  <davem@davemloft.net>
36465         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36466         (___Q_zero): New.
36467         (__Q_simulate_exceptions): Return void.  Change to simulate
36468         exceptions by writing into the %fsr.
36469         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36470         (__Qp_handle_exceptions): Likewise.
36471         (numbers): Delete.
36472         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36473         __Qp_handle_exceptions.
36474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36475         __Qp_handle_exceptions.
36476         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36477         as unused and give dummy FP_RND_NEAREST initializer.
36478         (FP_INHIBIT_RESULTS): Define.
36479         (___Q_simulate_exceptions): Update declaration.
36480         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36481         formatting.
36482         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36483         as unused and give dummy FP_RND_NEAREST initializer.
36484         (__Qp_handle_exceptions): Update declaration.
36485         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36486         formatting.
36488 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36490         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36491         the temporary FPU control word.
36492         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36493         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36494         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36495         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36496         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36497         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36498         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36499         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36500         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36501         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36502         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36504 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36506         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36507         fields.
36509 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36511         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36512         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36513         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36514         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36515         Likewise.
36516         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36517         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36518         Likewise.
36520 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36522         * po/h.po: Update from translation team.
36524 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36526         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36528         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36529         handling of denormals.
36530         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36531         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36532         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36533         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36534         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36535         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36536         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36537         Likewise.
36539 2012-05-26  Marek Polacek  <polacek@redhat.com>
36541         [BZ #14152]
36542         * math/libm-test.inc (fma_test): Don't always expect underflow
36543         exception.
36545 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36547         [BZ #12416]
36548         * elf/tst-execstack.c: Include stackinfo.h.
36549         (do_test): Adjust test case to ensure that pthread_getattr_np
36550         behaviour remains the same after marking stack executable.
36552 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36554         * sysdeps/unix/sysv/linux/kernel-features.h
36555         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36556         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36557         kernel-features.h.
36558         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36559         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36560         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36561         kernel-features.h.
36562         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36563         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36565 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36567         * configure.in: Define the default includes to being none.
36568         * configure: Regenerated.
36570 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36572         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36573         * sysdeps/x86_64/setjmp.S: Likewise.
36574         * sysdeps/i386/bsd-setjmp.S: Likewise.
36575         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36576         * sysdeps/i386/setjmp.S: Likewise.
36577         * sysdeps/i386/__longjmp.S: Likewise.
36578         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36579         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36581         * include/stap-probe.h: New file.
36582         * configure.in: Handle --enable-systemtap.
36583         * configure: Regenerated.
36584         * config.h.in (USE_STAP_PROBE): New #undef.
36585         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36586         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36587         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36589 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36591         [BZ #13717]
36592         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36593         to 2.4.0 where earlier.
36594         * sysdeps/unix/sysv/linux/configure: Regenerated.
36595         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36596         <kernel-features.h>.
36597         [__ASSUME_32BITUIDS]: Make code unconditional.
36598         [!__ASSUME_32BITUIDS]: Remove conditional code.
36599         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36600         <kernel-features.h>.
36601         [__ASSUME_32BITUIDS]: Make code unconditional.
36602         [!__ASSUME_32BITUIDS]: Remove conditional code.
36603         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36604         [__ASSUME_32BITUIDS]: Make code unconditional.
36605         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36606         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36607         <kernel-features.h>.
36608         [__ASSUME_32BITUIDS]: Make code unconditional.
36609         [!__ASSUME_32BITUIDS]: Remove conditional code.
36610         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36611         <kernel-features.h>.
36612         [__ASSUME_32BITUIDS]: Make code unconditional.
36613         [!__ASSUME_32BITUIDS]: Remove conditional code.
36614         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36615         <kernel-features.h>.
36616         [__ASSUME_32BITUIDS]: Make code unconditional.
36617         [!__ASSUME_32BITUIDS]: Remove conditional code.
36618         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36619         <kernel-features.h>.
36620         [__ASSUME_32BITUIDS]: Make code unconditional.
36621         [!__ASSUME_32BITUIDS]: Remove conditional code.
36622         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36623         <kernel-features.h>.
36624         [__ASSUME_32BITUIDS]: Make code unconditional.
36625         [!__ASSUME_32BITUIDS]: Remove conditional code.
36626         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36627         <kernel-features.h>.
36628         [__ASSUME_32BITUIDS]: Make code unconditional.
36629         [!__ASSUME_32BITUIDS]: Remove conditional code.
36630         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36631         <kernel-features.h>.
36632         [__ASSUME_32BITUIDS]: Make code unconditional.
36633         [!__ASSUME_32BITUIDS]: Remove conditional code.
36634         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36635         <kernel-features.h>.
36636         [__ASSUME_32BITUIDS]: Make code unconditional.
36637         [!__ASSUME_32BITUIDS]: Remove conditional code.
36638         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36639         <kernel-features.h>.
36640         [__ASSUME_32BITUIDS]: Make code unconditional.
36641         [!__ASSUME_32BITUIDS]: Remove conditional code.
36642         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36643         <kernel-features.h>.
36644         [__ASSUME_32BITUIDS]: Make code unconditional.
36645         [!__ASSUME_32BITUIDS]: Remove conditional code.
36646         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36647         <kernel-features.h>.
36648         [__NR_setresgid] (__setresgid): Do not declare.
36649         [__ASSUME_32BITUIDS]: Make code unconditional.
36650         [!__ASSUME_32BITUIDS]: Remove conditional code.
36651         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36652         <kernel-features.h>.
36653         [__NR_setresuid] (__setresuid): Do not declare.
36654         [__ASSUME_32BITUIDS]: Make code unconditional.
36655         [!__ASSUME_32BITUIDS]: Remove conditional code.
36656         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36657         <kernel-features.h>.
36658         [__ASSUME_32BITUIDS]: Make code unconditional.
36659         [!__ASSUME_32BITUIDS]: Remove conditional code.
36660         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36661         <kernel-features.h>.
36662         [__ASSUME_32BITUIDS]: Make code unconditional.
36663         [!__ASSUME_32BITUIDS]: Remove conditional code.
36664         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36665         <kernel-features.h>.
36666         [__ASSUME_32BITUIDS]: Make code unconditional.
36667         [!__ASSUME_32BITUIDS]: Remove conditional code.
36668         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36669         <kernel-features.h>.
36670         [__ASSUME_32BITUIDS]: Make code unconditional.
36671         [!__ASSUME_32BITUIDS]: Remove conditional code.
36672         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36673         <kernel-features.h>.
36674         [__ASSUME_32BITUIDS]: Make code unconditional.
36675         [!__ASSUME_32BITUIDS]: Remove conditional code.
36676         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36677         <kernel-features.h>.
36678         [__ASSUME_32BITUIDS]: Make code unconditional.
36679         [!__ASSUME_32BITUIDS]: Remove conditional code.
36680         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36681         <kernel-features.h>.
36682         [__ASSUME_32BITUIDS]: Make code unconditional.
36683         [!__ASSUME_32BITUIDS]: Remove conditional code.
36684         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36685         <kernel-features.h>.
36686         [__ASSUME_32BITUIDS]: Make code unconditional.
36687         [!__ASSUME_32BITUIDS]: Remove conditional code.
36688         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36689         <kernel-features.h>.
36690         [__ASSUME_32BITUIDS]: Make code unconditional.
36691         [!__ASSUME_32BITUIDS]: Remove conditional code.
36692         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36693         <kernel-features.h>.
36694         [__ASSUME_32BITUIDS]: Make code unconditional.
36695         [!__ASSUME_32BITUIDS]: Remove conditional code.
36696         * sysdeps/unix/sysv/linux/kernel-features.h
36697         (__ASSUME_SETRESUID_SYSCALL): Remove.
36698         (__ASSUME_SETRESGID_SYSCALL): Likewise.
36699         (__ASSUME_32BITUIDS): Likewise.
36700         (__ASSUME_LDT_WORKS): Likewise.
36701         (__ASSUME_O_DIRECTORY): Likewise.
36702         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36703         architecture but not kernel version.
36704         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36705         (__ASSUME_MMAP2_SYSCALL): Likewise.
36706         (__ASSUME_STAT64_SYSCALL): Likewise.
36707         (__ASSUME_IPC64): Likewise.
36708         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36709         <kernel-features.h>.
36710         [__ASSUME_32BITUIDS]: Make code unconditional.
36711         [!__ASSUME_32BITUIDS]: Remove conditional code.
36712         * sysdeps/unix/sysv/linux/opendir.c: Do not include
36713         <kernel-features.h>.
36714         [__ASSUME_O_DIRECTORY]: Make code unconditional.
36715         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36716         132096]: Remove conditional code.
36717         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36718         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36719         <kernel-features.h>.
36720         [__ASSUME_32BITUIDS]: Make code unconditional.
36721         [!__ASSUME_32BITUIDS]: Remove conditional code.
36722         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36723         <kernel-features.h>.
36724         [__ASSUME_32BITUIDS]: Make code unconditional.
36725         [!__ASSUME_32BITUIDS]: Remove conditional code.
36726         * sysdeps/unix/sysv/linux/setegid.c: Do not include
36727         <kernel-features.h>.
36728         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36729         unconditional.
36730         (__setresgid): Do not declare.
36731         [__ASSUME_32BITUIDS]: Make code unconditional.
36732         [!__ASSUME_32BITUIDS]: Remove conditional code.
36733         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36734         <kernel-features.h>.
36735         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36736         unconditional.
36737         (__setresuid): Do not declare.
36738         [__ASSUME_32BITUIDS]: Make code unconditional.
36739         [!__ASSUME_32BITUIDS]: Remove conditional code.
36740         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36741         <kernel-features.h>.
36742         [__ASSUME_32BITUIDS]: Make code unconditional.
36743         [!__ASSUME_32BITUIDS]: Remove conditional code.
36744         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36745         <kernel-features.h>.
36746         [__ASSUME_32BITUIDS]: Make code unconditional.
36747         [!__ASSUME_32BITUIDS]: Remove conditional code.
36749 2012-05-25  Richard Henderson  <rth@twiddle.net>
36751         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36752         dl_hwcap to ifunc resolver.
36753         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36754         elf_ifunc_invoke.
36755         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36756         dl_hwcap to ifunc resolver.
36757         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36759 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36761         [BZ #14153]
36762         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36763         for |x| <= 2**-26, not 2**-57.
36764         * math/libm-test.inc (acos_test): Do not allow spurious underflow
36765         exception.
36767 2012-05-24  Jeff Law  <law@redhat.com>
36769         * stdio-common/Makefile (tests): Add bug25.
36770         * stdio-common/bug25.c: New test.
36772 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36774         [BZ #13576]
36775         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36776         multiple of MALLOC_ALIGNMENT in size.
36777         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36779 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36781         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36782         Require >= 256.
36783         (FILENAME_MAX): Use macro-int-constant.
36784         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
36785         (_IOFBF): Use macro-int-constant.
36786         (_IOLBF): Likewise.
36787         (_IONBF): Likewise.
36788         (SEEK_CUR): Likewise.
36789         (SEEK_END): Likewise.
36790         (SEEK_SET): Likewise.
36791         (TMP_MAX): Likewise.
36792         (EOF): Use macro-int-constant.  Require < 0.
36793         (NULL): Use macro-constant.  Require == 0.
36794         (stdin): Require type to be FILE *.
36795         (stdout): Likewise.
36796         (stderr): Likewise.
36797         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36798         macro-int-constant.
36799         (EXIT_SUCCESS): Likewise.
36800         (NULL): Use macro-constant.  Require == 0.
36801         (RAND_MAX): Use macro-int-constant.
36802         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36803         [C99-based standards] (strtof): Require function.
36804         [C99-based standards] (strtold): Likewise.
36805         [C99-based standards] (strtoll): Likewise.
36806         [C99-based standards] (strtoull): Likewise.
36807         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36808         [ISO || ISO99 || ISO11] (limits.h): Likewise.
36809         [ISO || ISO99 || ISO11] (math.h): Likewise.
36810         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36811         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36812         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36814 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
36816         [BZ #14132]
36817         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36818         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36819         * intl/dgettext.c (DCGETTEXT): Likewise.
36820         * intl/gettext.c (DCGETTEXT): Likewise.
36821         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36822         * posix/regex_internal.h (gettext): Likewise.
36823         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36824         Remove declaration.
36825         * include/argz.h (__argz_count_internal)
36826         (__argz_stringify_internal): Remove declaration.
36827         (__argz_count, __argz_stringify): Declare hidden proto.
36828         * intl/dcgettext.c: Remove use of INTDEF.
36829         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36830         * string/argz-stringify.c: Likewise.
36831         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36832         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36833         Declare hidden proto.
36834         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36835         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36836         Declare hidden proto.
36837         * include/stdio.h (__asprintf_internal): Don't declare.
36838         (__asprintf): Don't define as macro.  Declare hidden proto.
36839         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36840         (__fsetlocking): Declare hidden proto.
36841         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36842         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36843         hidden proto.
36844         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36845         (_IO_setlinebuf): Remove use of INTUSE.
36846         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36847         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36848         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36849         Remove declaration.
36850         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36851         (_IO_do_flush): Remove use of INTUSE.
36852         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36853         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36854         (_IO_adjust_column, _IO_least_wmarker)
36855         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36856         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36857         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36858         (_IO_default_doallocate, _IO_wdefault_doallocate)
36859         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36860         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36861         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36862         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36863         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36864         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36865         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36866         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36867         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36868         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36869         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36870         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36871         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36872         proto.
36873         (_IO_flush_all_internal, _IO_adjust_column_internal)
36874         (_IO_default_uflow_internal, _IO_default_finish_internal)
36875         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36876         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36877         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36878         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36879         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36880         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36881         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36882         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36883         (_IO_file_close_internal, _IO_file_close_it_internal)
36884         (_IO_file_underflow_internal, _IO_file_overflow_internal)
36885         (_IO_file_init_internal, _IO_file_attach_internal)
36886         (_IO_file_fopen_internal, _IO_file_read_internal)
36887         (_IO_file_sync_internal, _IO_file_seek_internal)
36888         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36889         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36890         (_IO_str_underflow_internal, _IO_str_overflow_internal)
36891         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36892         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36893         (_IO_list_all_internal, _IO_link_in_internal)
36894         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36895         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36896         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36897         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36898         (_IO_do_write_internal, _IO_padn_internal)
36899         (_IO_getline_info_internal, _IO_getline_internal)
36900         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36901         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36902         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36903         (_IO_vfscanf_internal, _IO_vfprintf_internal)
36904         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36905         (_IO_init_internal, _IO_un_link_internal): Don't declare.
36906         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36907         with libc_hidden_ver, remove use of INTUSE.
36908         * libio/genops.c: Likewise.
36909         * libio/freopen.c: Likewise.
36910         * libio/freopen64.c: Likewise.
36911         * libio/iofclose.c: Likewise.
36912         * libio/iofdopen.c: Likewise.
36913         * libio/iofflush.c: Likewise.
36914         * libio/iofflush_u.c: Likewise.
36915         * libio/iofgets.c: Likewise.
36916         * libio/iofgets_u.c: Likewise.
36917         * libio/iofopen.c: Likewise.
36918         * libio/iofopncook.c: Likewise.
36919         * libio/iofread.c: Likewise.
36920         * libio/iofread_u.c: Likewise.
36921         * libio/ioftell.c: Likewise.
36922         * libio/iofwrite.c: Likewise.
36923         * libio/iogetline.c: Likewise.
36924         * libio/iogets.c: Likewise.
36925         * libio/iogetwline.c: Likewise.
36926         * libio/iopadn.c: Likewise.
36927         * libio/iopopen.c: Likewise.
36928         * libio/ioseekoff.c: Likewise.
36929         * libio/ioseekpos.c: Likewise.
36930         * libio/iosetbuffer.c: Likewise.
36931         * libio/iosetvbuf.c: Likewise.
36932         * libio/ioungetc.c: Likewise.
36933         * libio/ioungetwc.c: Likewise.
36934         * libio/iovdprintf.c: Likewise.
36935         * libio/iovsprintf.c: Likewise.
36936         * libio/iovsscanf.c: Likewise.
36937         * libio/memstream.c: Likewise.
36938         * libio/obprintf.c: Likewise.
36939         * libio/oldfileops.c: Likewise.
36940         * libio/oldiofclose.c: Likewise.
36941         * libio/oldiofdopen.c: Likewise.
36942         * libio/oldiofopen.c: Likewise.
36943         * libio/oldiopopen.c: Likewise.
36944         * libio/oldstdfiles.c: Likewise.
36945         * libio/putc.c: Likewise.
36946         * libio/setbuf.c: Likewise.
36947         * libio/setlinebuf.c: Likewise.
36948         * libio/stdfiles.c: Likewise.
36949         * libio/strops.c: Likewise.
36950         * libio/vasprintf.c: Likewise.
36951         * libio/vscanf.c: Likewise.
36952         * libio/vsnprintf.c: Likewise.
36953         * libio/vswprintf.c: Likewise.
36954         * libio/wfiledoalloc.c: Likewise.
36955         * libio/wfileops.c: Likewise.
36956         * libio/wgenops.c: Likewise.
36957         * libio/wmemstream.c: Likewise.
36958         * libio/wstrops.c: Likewise.
36959         * libio/__fpurge.c: Likewise.
36960         * libio/__fsetlocking.c: Likewise.
36961         * assert/assert.c: Likewise.
36962         * debug/fgets_chk.c: Likewise.
36963         * debug/fgets_u_chk.c: Likewise.
36964         * debug/fread_chk.c: Likewise.
36965         * debug/fread_u_chk.c: Likewise.
36966         * debug/gets_chk.c: Likewise.
36967         * debug/obprintf_chk.c: Likewise.
36968         * debug/vasprintf_chk.c: Likewise.
36969         * debug/vdprintf_chk.c: Likewise.
36970         * debug/vsnprintf_chk.c: Likewise.
36971         * debug/vsprintf_chk.c: Likewise.
36972         * malloc/mtrace.c: Likewise.
36973         * misc/error.c: Likewise.
36974         * misc/syslog.c: Likewise.
36975         * stdio-common/asprintf.c: Likewise.
36976         * stdio-common/fxprintf.c: Likewise.
36977         * stdio-common/getw.c: Likewise.
36978         * stdio-common/isoc99_fscanf.c: Likewise.
36979         * stdio-common/isoc99_scanf.c: Likewise.
36980         * stdio-common/isoc99_vfscanf.c: Likewise.
36981         * stdio-common/isoc99_vscanf.c: Likewise.
36982         * stdio-common/isoc99_vsscanf.c: Likewise.
36983         * stdio-common/printf-prs.c: Likewise.
36984         * stdio-common/printf_fp.c: Likewise.
36985         * stdio-common/printf_fphex.c: Likewise.
36986         * stdio-common/printf_size.c: Likewise.
36987         * stdio-common/putw.c: Likewise.
36988         * stdio-common/scanf.c: Likewise.
36989         * stdio-common/sprintf.c: Likewise.
36990         * stdio-common/tmpfile.c: Likewise.
36991         * stdio-common/vfprintf.c: Likewise.
36992         * stdio-common/vfscanf.c: Likewise.
36993         * stdlib/strfmon_l.c: Likewise.
36994         * sunrpc/openchild.c: Likewise.
36995         * sunrpc/xdr_stdio.c: Likewise.
36996         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36997         * sysdeps/mach/hurd/tmpfile.c: Likewise.
36999 2012-05-24  Roland McGrath  <roland@hack.frob.com>
37001         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37003         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37004         in the third column, to generate for the shared library an IFUNC
37005         that uses _dl_vdso_vsym.
37006         * Makerules (COMPILE.c, compile-stdin.c): New variables.
37007         * Makeconfig (object-suffixes-noshared): New variable.
37009         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37010         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37011         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37012         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37014         [BZ #14132]
37015         * include/sys/time.h (__gettimeofday): Remove macro.
37016         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37017         * time/gettimeofday.c (__gettimeofday): Remove #undef.
37018         Remove INTDEF.
37019         (__gettimeofday): Add libc_hidden_def.
37020         (gettimeofday): Add libc_hidden_weak.
37021         * sysdeps/mach/gettimeofday.c: Likewise.
37022         * sysdeps/posix/gettimeofday.c: Likewise.
37023         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37024         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37025         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37026         (__gettimeofday_internal): Remove strong_alias.
37027         (__gettimeofday): Add libc_hidden_def.
37028         (gettimeofday): Add libc_hidden_weak.
37029         * sysdeps/unix/syscalls.list (gettimeofday):
37030         Remove __gettimeofday_internal alias.
37032 2012-05-24  Daniel Jacobowitz  <drow@false.org>
37033             H.J. Lu  <hongjiu.lu@intel.com>
37035         [BZ #12495]
37036         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37037         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37038         (largebin_index_32_big): New.
37039         (largebin_index): Use it for 16-byte alignment.
37040         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
37041         correction with front_misalign.
37043 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37047         Likewise.
37048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37049         Likewise.
37050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37051         Likewise.
37052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37053         Likewise.
37054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37055         Likewise.
37056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37057         Likewise.
37058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37059         Likewise.
37060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37061         Likewise.
37062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37063         Likewise.
37064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37065         Likewise.
37066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37067         Likewise.
37068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37069         Likewise.
37071         * scripts/data/c++-types-x32-linux-gnu.data: New file.
37072         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37074 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37076         [BZ #10846]
37077         [BZ #14036]
37078         * math/libm-test.inc (exp_test): Add test from bug 14036.
37079         (pow_test): Add test from bug 10846.
37081         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37082         and other flags.
37083         (special_function): Do not include flags in test name.
37084         (parse_args): Likewise.
37085         * sysdeps/i386/fpu/libm-test-ulps: Update.
37086         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37087         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37088         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37091         * math/gen-libm-test.pl (%beautify): Add entries for underflow
37092         exceptions.
37093         * math/libm-test.inc ("Philosophy"): Update comment about
37094         exception testing.
37095         (UNDERFLOW_EXCEPTION): New macro.
37096         (UNDERFLOW_EXCEPTION_OK): Likewise.
37097         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37098         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37099         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37100         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37101         (INVALID_EXCEPTION_OK): Update value.
37102         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37103         (OVERFLOW_EXCEPTION_OK): Likewise.
37104         (IGNORE_ZERO_INF_SIGN): Likewise.
37105         (test_exceptions): Handle underflow exceptions.
37106         (acos_test): Update for underflow exception expectations.
37107         (cexp_test): Likewise.
37108         (clog_test): Likewise.
37109         (clog10_test): Likewise.
37110         (csqrt_test): Likewise.
37111         (ctan_test): Likewise.
37112         (ctanh_test): Likewise.
37113         (exp_test): Likewise.
37114         (exp10_test): Likewise.
37115         (exp2_test): Likewise.
37116         (expm1_test): Likewise.
37117         (fma_test): Likewise.
37118         (j0_test): Likewise.
37119         (jn_test): Likewise.
37120         (nexttoward_test): Likewise.
37121         (pow_test): Likewise.
37122         (scalbn_test): Likewise.
37123         (scalbln_test): Likewise.
37124         (tan_test): Likewise.
37125         (y1_test): Likewise.
37126         * sysdeps/i386/fpu/libm-test-ulps: Update.
37127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37129 2012-05-23  David S. Miller  <davem@davemloft.net>
37131         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37132         (__libc_sigaction): Remove unused local variables.
37134 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37136         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37138 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
37140         mktime: avoid signed integer overflow
37141         * time/mktime.c (__mktime_internal): Do not mishandle the case
37142         where diff == INT_MIN.
37144         mktime: simplify computation of average
37145         * time/mktime.c (ranged_convert): Use new time_t_avg function
37146         instead of rolling our own (probably-slower) code.
37148         mktime: do not assume signed right shift propagates sign bit
37149         * time/mktime.c (isdst_differ): New static function.
37150         (__mktime_internal): No need to normalize tm_isdst now.
37151         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37152         tm_isdst values.
37154         mktime: merge another wrapv change from gnulib
37155         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37156         from some compilers.
37158         mktime: remove incorrect attempt at unusual arithmetics
37159         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37160         The code didn't really work on such machines anyway.
37161         (TYPE_MINIMUM): Assume two's complement.
37162         (twos_complement_arithmetic): Verify that long_int and time_t
37163         are two's complement (or unsigned, in the latter case).
37165         mktime: check signed shifts on long_int and time_t, too
37166         * time/mktime.c (SHR): Check that shifts work as desired
37167         on the types long_int and time_t too, as SHR is used on
37168         such types.
37170         mktime: do not assume 'long' is wide enough
37171         * time/mktime.c (verify): Move decl up.
37172         (long_int): New type.
37173         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37174         to remove assumption in the code that 'long' is wide enough to
37175         store year values.  This assumption is not true on x32 and on
37176         some non-glibc platforms.
37178         mktime: merge wrapv change from gnulib
37179         * time/mktime.c (WRAPV): New macro.
37180         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37181         (guess_time_tm, __mktime_internal): Do not assume that signed
37182         integer overflow wraps around; modern compilers generate code
37183         where this assumption is no longer valid.
37185 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37187         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37188         Replace "jmp L(pseudo_end)" with "ret".
37189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37190         Likewise.
37192 2012-05-23  Andreas Jaeger  <aj@suse.de>
37194         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37195         * sysdeps/unix/sysv/linux/poll.c: Remove file.
37197 2012-05-23  Andreas Jaeger  <aj@suse.de>
37198             Maximilian Attems  <max@stro.at>
37200         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37201         New macros.
37203 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37205         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37206         code so that pseudo_end is just ret and the stack pointer is
37207         correct also for static library in error case.
37209 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
37211         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37212         move to syscalls.list.
37213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37218         * manual/install.texi (Running make install): Do not mention Linux
37219         kernel version for which pt_chown is not needed.
37220         (Linux): Do not mention problems with nscd with 2.0 kernels.
37221         * INSTALL: Regenerated.
37223 2012-05-23  Andreas Jaeger  <aj@suse.de>
37225         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37226         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37227         macro.
37228         * sysdeps/unix/sysv/linux/s390/bits/mman.h
37229         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37230         * sysdeps/unix/sysv/linux/sh/bits/mman.h
37231         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37232         * sysdeps/unix/sysv/linux/i386/bits/mman.h
37233         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37234         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37235         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37236         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37237         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37238         * sysdeps/unix/sysv/linux/bits/in.h
37239         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37241 2012-05-22  Roland McGrath  <roland@hack.frob.com>
37243         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37244         (PREPARE_VERSION): Just use assert instead, it will be elided
37245         under [NDEBUG] anyway.
37247 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37249         * sysdeps/unix/sysv/linux/Makefile: Include
37250         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37251         (sysdep_routines): Remove sysctl.
37252         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37253         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37254         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37255         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37256         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37258 2012-05-22  Andreas Jaeger  <aj@suse.de>
37260         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37261         that pseudo_end is just ret and the stack pointer is correct also
37262         for static library in error case.
37264 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37266         [BZ #14122]
37267         * nss/nsswitch.c (defconfig_entries): New variable.
37268         (__nss_database_lookup): Don't leak defconfig entries.
37269         (nss_parse_service_list): Don't leak on error paths.
37270         (free_database_entries): New function.
37271         (free_defconfig): New function.
37272         (free_mem): Move common code to free_database_entries.
37274 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37276         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37277         Add arch_prctl.
37278         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37280         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37281         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37283         New macro.
37284         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37285         (INTERNAL_SYSCALL_TYPES): Likewise.
37286         (LOAD_ARGS_TYPES_[1-6]): Likewise.
37287         (LOAD_REGS_TYPES_[1-6]): Likewise.
37288         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37289         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37291 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37293         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37294         copysignl for GLIBC_2_0.
37295         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37296         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37298         logbl for GLIBC_2_0.
37299         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37300         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37302 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37304         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37305         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37307         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37308         Use "neg %eax".
37310         * time/mktime.c: Update copyright years.
37312 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37314         mktime: merge comment-quoting-style change from gnulib
37315         * time/mktime.c: Quote 'like this' in comments.
37316         The GNU coding standards suggest that we no longer quote `like this',
37317         as "`" and "'" are typically rendered asymmetrically nowadays.
37318         The typical gnulib style is to quote 'like this' when quoting
37319         code, and "like this" when quoting English.
37321         * time/mktime.c (compile-command): Add "-I.".
37323         mktime: merge mktime-internal.h change from gnulib
37324         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37326         mktime: merge time_r change from gnulib
37327         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37329         mktime: merge DEBUG change from gnulib
37330         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37331         case system <time.h> has a #define.
37333         mktime: merge <sys/types.h> change from gnulib
37334         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37335         since <time.t> is now guaranteed to define time_t.
37337         mktime: merge HAVE_CONFIG_H change from gnulib
37338         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37340 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37343         Use "neg %eax".
37345         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37346         __rlim_t cast.
37347         (struct rusage): Use anonymous union to pad each field to
37348         __syscall_slong_t.
37350 2012-05-21  David S. Miller  <davem@davemloft.net>
37352         * Makefules (o-iterator): Remove .s cases.
37353         (compile-command.s): Delete.
37354         (COMPILE.s): Delete.
37355         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37357 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
37359         * configure.in (libc_cv_predef_stack_protector): Only consider
37360         "foobar" and "__stack_chk_fail" lines in libc_undefs.
37361         * configure: Regenerated.
37363 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37366         New macro.  Use R*LP on int and pointer.
37367         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37368         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37369         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37370         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37372         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37373         [__WORDSIZE_TIME64_COMPAT32] instead of
37374         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37375         (struct utmp): Likewise.
37376         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37377         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37378         Renamed to ...
37379         (__WORDSIZE_TIME64_COMPAT32): This.
37380         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37381         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37382         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37383         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37384         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37385         (__WORDSIZE_TIME64_COMPAT32): New macro.
37387 2012-05-21  Andreas Jaeger  <aj@suse.de>
37389         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37390         only if [SHARED]. Add prototype for __wcschr_ia32.
37392 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37394         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37395         of %rbp unmolested in the jmp_buf while mangling the low bits.
37396         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37397         unmolested high bits of %rbp while demangling the low bits.
37398         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37400 2012-05-21  Andreas Jaeger  <aj@suse.de>
37402         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37403         * sunrpc/svc_simple.c: Use it for registerrpc.
37404         * sunrpc/xcrypt.c: Use it for passwd2des.
37406         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37408 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37410         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37411         Don't define if [__SYSCALL_WORDSIZE != 32].
37412         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37413         New macro.
37415 2012-05-21  Bruno Haible  <bruno@clisp.org>
37416             Andreas Jaeger  <aj@suse.de>
37418         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37419         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37420         inptr and inend for must_buffer_ch.
37421         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37422         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37423         * stdio-common/Makefile (tests): Remove bug15.
37424         (bug15-ENV): Remove macro.
37425         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37426         anymore.
37428 2012-05-19  Andreas Jaeger  <aj@suse.de>
37429             Roland McGrath  <roland@hack.frob.com>
37431         * manual/contrib.texi: Completely rewritten. It contains now an
37432         alphabetical list of contributors and their contributions.
37434 2012-05-21  Richard Henderson  <rth@twiddle.net>
37436         * misc/getauxval.c (__getauxval): Use unsigned long int.
37437         * misc/sys/auxv.h: Include <sys/cdefs.h>.
37438         (getauxval): Use unsigned long int.
37440 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37442         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37444 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37446         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37447         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37448         __alignof__ (long double).
37450 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37454 2012-05-20  Richard Henderson  <rth@twiddle.net>
37456         * misc/getauxval.c: New file.
37457         * misc/sys/auxv.h: New file.
37458         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37459         (routines): Add getauxval.
37460         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37461         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37462         * elf/dl-sysdep.c (_dl_auxv): Remove.
37463         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37464         * elf/dl-support.c (_dl_auxv): New variable.
37465         (_dl_aux_init): Initialize it.
37466         * manual/startup.texi (Auxiliary Vector): New node.
37467         * sysdeps/generic/bits/hwcap.h: New file.
37468         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37469         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
37470         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37471         * sysdeps/sparc/sysdep.h: ... here.  Include it.
37472         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37473         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37475         Update.
37476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37479         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37485 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37489 2012-05-19  David S. Miller  <davem@davemloft.net>
37491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37493 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37495         [BZ #14123]
37496         * math/s_ccosh.c: Include <float.h>
37497         (__ccosh): Avoid internal overflow calculating sinh and cosh
37498         values before multiplying by sin and cos values.
37499         * math/s_ccoshf.c: Likewise.
37500         * math/s_ccoshl.c: Likewise.
37501         * math/s_csin.c: Likewise.
37502         * math/s_csinf.c: Likewise.
37503         * math/s_csinl.c: Likewise.
37504         * math/s_csinh.c: Likewise.
37505         * math/s_csinhf.c: Likewise.
37506         * math/s_csinhl.c: Likewise.
37507         * math/libm-test.inc (ccos_test): Add more tests.
37508         (ccosh_test): Likewise.
37509         (csin_test): Likewise.
37510         (csinh_test): Likewise.
37511         * sysdeps/i386/fpu/libm-test-ulps: Update.
37512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37514 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37516         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37517         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37519         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37521 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37523         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37524         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37525         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37526         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37527         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37528         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37529         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37530         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37531         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37532         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37533         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37534         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37535         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37536         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37537         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37538         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37539         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37540         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37541         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37542         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37543         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37544         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37545         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37546         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37547         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37548         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37549         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37550         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37551         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37552         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37553         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37555 2012-05-18  Andreas Jaeger  <aj@suse.de>
37557         * csu/.gitignore: Delete.
37559 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37561         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37562         (timex): Use __syscall_slong_t.
37564 2012-05-18  Andreas Jaeger  <aj@suse.de>
37565             Carlos O'Donell  <carlos_odonell@mentor.com>
37567         * manual/install.texi (Configuring and compiling): Update
37568         description about files modified in the source directory.
37569         * INSTALL: Regenerated.
37571 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37573         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37574         value.  Use "or" to set return value to -1.
37575         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37576         negate return value.
37578 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37580         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37581         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37582         failure if the compiler has Graphite support disabled.
37583         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37584         Likewise.
37585         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37586         (CFLAGS-memmove.c): Likewise.
37587         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37588         Likewise.
37590 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37592         * sysdeps/x86_64/x32/_itoa.h: New file.
37594         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37595         getdents system call only if kernel and user dirents have the
37596         same d_ino and d_off.
37598         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37599         LLONG_MAX != LONG_MAX.
37600         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37601         (_fitoa_word): Likewise.
37603         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37604         years.
37605         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37606         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37607         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37609         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37610         include <bits/wordsize.h>.  Check __x86_64__ instead of
37611         __WORDSIZE.
37612         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37613         if __x86_64__ is defined.  Use anonymous union on fpstate.
37615         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37616         anonymous union.
37618 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37620         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37621         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37622         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37623         Refer to _rtld_local_ro instead of _rtld_global_ro.
37624         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37625         Likewise.
37626         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37627         Likewise.
37628         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37629         Likewise.
37630         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37631         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37632         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37634         * sysdeps/powerpc/powerpc32/dl-machine.c
37635         (__elf_machine_runtime_setup) [PROF]: Don't reference
37636         _dl_prof_resolve.
37638 2012-05-18  Andreas Jaeger  <aj@suse.de>
37640         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37641         function only available for GCCs before 3.4 since GCC 3.4
37642         introduced a builtin.
37643         (lrint): Likewise.
37644         (llrintf): Likewise.
37645         (llrint): Likewise.
37646         (fmaxf): Likewise.
37647         (fmax): Likewise.
37648         (fminf): Likewise.
37649         (fmin): Likewise.
37650         (rint): Likewise.
37651         (rintf): Likewise.
37652         (nearbyint): Likewise.
37653         (nearbyintf): Likewise.
37654         (ceil): Likewise.
37655         (ceilf): Likewise.
37656         (floor): Likewise.
37657         (floorf): Likewise.
37659 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37661         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37662         on both fields and cast pointer to __syscall_ulong_t.
37664         * bits/types.h (__fsword_t): New type.
37665         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37666         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37667         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37668         (__FSWORD_T_TYPE): Likewise.
37669         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37670         (__FSWORD_T_TYPE): Likewise.
37671         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37672         (__FSWORD_T_TYPE): Likewise.
37673         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37674         (__FSWORD_T_TYPE): Likewise.
37675         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37676         __SWORD_TYPE with __fsword_t.
37677         (statfs64): Likewise.
37679 2012-05-17  David S. Miller  <davem@davemloft.net>
37681         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37683 2012-05-17  Andreas Jaeger  <aj@suse.de>
37685         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37686         warning.
37688 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37690         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37692 2012-05-17  Andreas Jaeger  <aj@suse.de>
37694         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37695         when it is used.
37697 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37699         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37701 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37703         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37704         * sysdeps/x86_64/tst-mallocalign1.c: New file.
37706 2012-05-17  Andreas Jaeger  <aj@suse.de>
37707             Carlos O'Donell  <carlos_odonell@mentor.com>
37709         [BZ #14059]
37710         * sysdeps/x86_64/multiarch/init-arch.h
37711         (bit_YMM_Usable): Rename to...
37712         (bit_AVX_Usable): ... this.
37713         (bit_FMA4_Usable): New macro.
37714         (bit_XMM_state): New macro.
37715         (bit_YMM_state): New macro.
37716         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37717         [__ASSEMBLER__] (index_AVX_Usable): ... this.
37718         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37719         (CPUID_OSXSAVE): New macro.
37720         (CPUID_AVX): New macro.
37721         (CPUID_FMA4): New macro.
37722         (index_YMM_Usable): Rename to...
37723         (index_AVX_Usable): ... this.
37724         (HAS_AVX): Use HAS_ARCH_FEATURE.
37725         (HAS_FMA4): Likewise.
37726         (HAS_YMM_USABLE): Remove.
37727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37728         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37729         are present.
37730         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37731         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37732         * sysdeps/x86_64/multiarch/Makefile: Likewise.
37733         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37734         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37736 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37738         * math/libm-test.c: Support platforms without multiple rounding modes.
37739         * math/bug-nextafter.c: Support platforms without FP exceptions.
37740         * math/bug-nexttoward.c: Likewise.
37741         * math/test-fenv.c: Likewise.
37742         * math/test-misc.c: Likewise.
37743         * stdlib/bug-getcontext.c: Likewise.
37745 2012-05-17  Andreas Jaeger  <aj@suse.de>
37747         * manual/examples/search.c (critter_cmp): Change signature to
37748         avoid warnings.
37749         * manual/string.texi (Collation Functions): Likewise.
37751 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37753         * bits/types.h: Fold copyright years.
37754         * bits/typesizes.h: Likewise.
37755         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37757         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37758         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37759         * time/time.h: Likewise.
37761 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
37763         [BZ #208]
37764         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37765         in instead of returning them.  Return void.
37766         (__libc_mallinfo): Accumulate over all arenas.
37767         (__malloc_stats): Adjust for change in int_mallinfo interface.
37769 2012-05-16  Roland McGrath  <roland@hack.frob.com>
37771         [BZ #10375]
37772         * configure.in (NM): Add AC_CHECK_TOOL for it.
37773         (libc_extra_cflags): New substituted variable.
37774         Check for -fstack-protector being used implicitly.
37775         * configure: Regenerated.
37776         * config.make.in (config-extra-cflags): New variable,
37777         gets @libc_extra_cflags@.
37778         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37780         [BZ #10375]
37781         * configure.in: Check for _FORTIFY_SOURCE being predefined.
37782         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37783         * configure: Regenerated.
37784         * config.make.in (CPPUNDEFS): New substituted variable.
37785         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37786         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37787         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37789 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37791         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37792         (mq_attr): Use __syscall_slong_t.
37794 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37796         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37797         Check __x86_64__ instead of __WORDSIZE.
37798         (_STAT_VER_LINUX): Likewise.
37799         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
37800         __syscall_ulong_t and __syscall_slong_t.
37801         (stat64): Likewise.
37803 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37805         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37807 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37809         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37811 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37813         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37814         __syscall_ulong_t.
37816         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37817         include <bits/wordsize.h>.  Check __x86_64__ instead of
37818         __WORDSIZE.
37819         (greg_t): Use "__extension__ long long int" if __x86_64__ is
37820         defined.
37821         (mcontext_t): Replace "unsigned long" with "unsigned long long".
37823         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37824         include <bits/wordsize.h>.  Check __x86_64__ instead of
37825         __WORDSIZE.
37826         (user_regs_struct): Use "__extension__ unsigned long long"
37827         instead of "unsigned long" if __x86_64__ is defined.
37828         (user): Likewise.  Pad after pointer field if __ILP32__ is
37829         defined.
37831 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
37833         * configure.in (makeinfo): Require version 4.5 or later.  Allow
37834         versions 5 to 9.
37835         * configure: Regenerated.
37836         * manual/install.texi (texinfo): Increase version requirement to
37837         4.5 or later.
37838         * INSTALL: Regenerated.
37840         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37842 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37844         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37846         * sysdeps/x86_64/x32/ffs.c: New file.
37848         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37849         __syscall_ulong_t.
37850         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37851         defined.  Use __syscall_ulong_t.
37852         (shminfo): Use __syscall_ulong_t.
37853         (shm_info): Likewise.
37855         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37856         __syscall_ulong_t.
37858         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37859         <bits/wordsize.h>.
37860         (msgqnum_t): Use __syscall_ulong_t.
37861         (msglen_t): Likewise.
37862         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
37863         __syscall_ulong_t.
37865         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37866         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37868         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37870         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37871         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37873         * sysvipc/sys/msg.h (msgbuf): Replace long int with
37874         __syscall_slong_t.
37876         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37877         include <bits/wordsize.h>.  Check __x86_64__ instead of
37878         __WORDSIZE.
37880         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37881         "unsigned long long int" if __x86_64__ is defined.
37882         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37884         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37885         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37886         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37888         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37889         <stdint.h>.
37890         (GET_PC): Cast to uintptr_t first.
37891         (GET_FRAME): Likewise.
37892         (GET_STACK): Likewise.
37894         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37895         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37896         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37897         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37898         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37899         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37900         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37901         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37902         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37903         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37904         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37905         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37906         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37907         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37908         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37909         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37910         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37911         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37912         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37913         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37914         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37915         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37916         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37917         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37918         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37919         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37920         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37921         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37922         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37924 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
37926         * Makerules (+depfiles): Also collect depfiles from .oS in
37927         $(extra-objs).
37928         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37929         .oS, $(libnldbl-routines)).
37931         * Makerules (native-compile-mkdep-flags): Define.
37932         * sunrpc/Makefile (extra-objs): Add $(addprefix
37933         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37934         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37935         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
37936         calling $(make-target-directory).
37938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37940         * bits/types.h (__snseconds_t): Removed.
37941         * time/time.h (struct timespec): Replace __snseconds_t with
37942         __syscall_slong_t.
37943         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37944         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37945         Likewise.
37946         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37947         (__SNSECONDS_T_TYPE): Likewise.
37948         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37949         (__SNSECONDS_T_TYPE): Likewise.
37950         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37951         (__SNSECONDS_T_TYPE): Likewise.
37953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37955         * sysdeps/mach/hurd/bits/typesizes.h
37956         (__SYSCALL_SLONG_TYPE): New macro.
37957         (__SYSCALL_ULONG_TYPE): Likewise.
37959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37961         * bits/types.h (__syscall_slong_t): New type.
37962         (__syscall_ulong_t): Likewise.
37964         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37965         (__SYSCALL_ULONG_TYPE): Likewise.
37966         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37967         (__SYSCALL_SLONG_TYPE): Likewise.
37968         (__SYSCALL_ULONG_TYPE): Likewise.
37969         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37970         (__SYSCALL_SLONG_TYPE): Likewise.
37971         (__SYSCALL_ULONG_TYPE): Likewise.
37972         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37973         (__SYSCALL_SLONG_TYPE): Likewise.
37974         (__SYSCALL_ULONG_TYPE): Likewise.
37976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37978         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37979         Add sigaltstack-offsets.sym.
37980         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37981         <sigaltstack-offsets.h>.
37982         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
37983         longjmp_msg pointer.
37984         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
37985         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37986         signal stack.
37987         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37989 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37991         * elf/stackguard-macros.h: Remove file.
37992         * sysdeps/generic/stackguard-macros.h: New file.
37993         * sysdeps/i386/stackguard-macros.h: Likewise.
37994         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37995         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37996         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37997         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37998         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37999         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38000         * sysdeps/x86_64/stackguard-macros.h: Likewise.
38001         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38002         <elf/stackguard-macros.h>.
38004         [BZ #14109]
38005         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38006         __aligned__ in attribute.
38007         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38008         (gregset_t): Likewise.
38010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38012         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38013         * sysdeps/x86_64/64/Implies-after: Here.  New file.
38014         * sysdeps/x86_64/x32/Implies-after: New file.
38016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38018         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38019         and access return value for _dl_profile_fixup.  Use R10_LP to
38020         load frame size.
38022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38024         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38028         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38029         * sysdeps/x86_64/x32/sysdep.h: New file.
38031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38033         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38034         * sysdeps/x86_64/setjmp.S: Likewise.
38036 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38038         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38039         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38040         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38041         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38042         remove unused global constant.
38044 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
38046         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38047         include of <not-cancel.h>.
38049 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38051         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38053 2012-05-15  Jeff Law  <law@redhat.com>
38054             Andreas Jaeger  <aj@suse.de>
38056         [BZ #13594]
38057         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38058         out from...
38059         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38060         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38061         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38062         code changing __hst_map_handle.map.
38064 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38066         * configure.in (sysnames): Look for Implies-before and Implies-after
38067         files.
38068         * configure: Regenerated.
38070 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38072         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38073         8-byte data alignment with LP_SIZE alignment.
38075 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38077         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38078         into R10_LP.
38080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38082         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38086         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38087         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38088         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38089         Likewise.
38090         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38094         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38095         (stackinfo_sub_sp): Likewise.
38097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38099         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38100         RAX_LP.
38102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38104         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38105         into R*_LP.
38107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38109         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38110         sizes into R*_LP.
38112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38114         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38118         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38119         into R11_LP and load __x86_64_shared_cache_size_half into
38120         R8_LP.
38122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38124         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38125         R8_LP.
38127 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38129         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38130         logb for POWER7.
38131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38132         logbf for POWER7.
38133         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38134         logbl for POWER7.
38135         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38136         powerpc32/power7/fpu/s_logb.c via #include.
38137         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38138         powerpc32/power7/fpu/s_logbf.c via #include.
38139         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38140         powerpc32/power7/fpu/s_logbl.c via #include.
38142 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38144         * README.libm: Remove file.
38146 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38148         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38149         count for x32.  Use R*_LP and omit operand-size suffix.
38151 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38153         * shlib-versions: Move x86_64-.*-linux.* entries to ...
38154         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
38155         * sysdeps/x86_64/x32/shlib-versions: New file.
38157 2012-05-14  Roland McGrath  <roland@hack.frob.com>
38159         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38160         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38161         Use _dl_fatal_printf instead.
38163 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38165         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38166         set if not set by the user.  Do not allow for being unset.
38167         * sysdeps/unix/sysv/linux/configure: Regenerated.
38169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38171         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38172         the `q' suffix from lea and replace .quad with ASM_ADDR.
38174 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38177         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
38178         instead of $17.
38179         (PTR_DEMANGLE): Likewise.
38181 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38183         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38184         (LP_OP): Likewise.
38185         (ASM_ADDR): Likewise.
38186         (RAX_LP): Likewise.
38187         (RBP_LP): Likewise.
38188         (RBX_LP): Likewise.
38189         (RCX_LP): Likewise.
38190         (RDI_LP): Likewise.
38191         (RSI_LP): Likewise.
38192         (RSP_LP): Likewise.
38193         (R8_LP): Likewise.
38194         (R9_LP): Likewise.
38195         (R10_LP): Likewise.
38196         (R10_LP): Likewise.
38197         (R11_LP): Likewise.
38198         (R12_LP): Likewise.
38199         (R13_LP): Likewise.
38200         (R14_LP): Likewise.
38201         (R15_LP): Likewise.
38203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38205         * sysdeps/x86_64/x32/dl-machine.h: New file.
38207 2012-05-14  Andreas Jaeger  <aj@suse.de>
38209         * manual/Makefile (subdir): Remove export of subdir.
38210         (all): Remove target.
38211         (.PHONY): Remove all from list.
38212         (mkinstalldirs): Remove.
38213         (.PHONY): Remove installdirs from list.
38214         ($(inst_infodir)/libc.info): Use make-target-directory.
38215         (installdirs): Remove.
38216         (subdir_%): Remove.
38217         (glibc-targets): Remove.
38218         (lib): Remove.
38219         (stubs): Remove.
38220         ($(objpfx)stubs ../po/manual.pot): Remove.
38221         ($(objpfx)stamp%): Remove.
38222         (make-target-directory): Remove.
38223         (subdir_install): Remove.
38224         (routines): Remove.
38225         (aux): Remove.
38226         (sources): Remove.
38227         (objects): Remove.
38228         (headers): Remove.
38230         [BZ #13750]
38231         * manual/.gitignore: Remove, it's not needed anymore.
38232         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38233         all files in it.
38234         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38235         directory.
38236         (texis): Renamed to $(objpfx)texis.
38237         (texis-path): New, contains path to generated files.
38238         (chapters.%): Use texis-path for complete path, add extra argument
38239         libc-texinfo.sh.
38240         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38241         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38242         (summary,texi, stamp-summary): Use complete path of
38243         files. Generate files in build dir.
38244         (dir-add.texi): Build in build dir.
38245         (libm-err.texi,stamp-libm-err): Likewise.
38246         (version.texi, stamp-version): Likewise.
38247         (.%c.texi): Likewise.
38248         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38249         (mostlyclean): Remove target.
38250         (realclean): Remove target.
38251         (generated): Add new variable with contents from mostlyclean and
38252         realclean, remove entries duplicated in common-mostlyclean, add
38253         stamp-libm-err and stamp-version.
38254         (generated-dirs): Add libc directory.
38255         ($(inst_infodir)/libc.info): Install files from build dir.
38257         * manual/install.texi (Configuring and compiling): Adjust since
38258         the info files are not part of the tar ball anymore.
38260 2012-05-14  Andreas Jaeger  <aj@suse.de>
38262         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38263         variable.
38265 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38267         [BZ #13717]
38268         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38269         to 2.2.0 where earlier.
38270         * sysdeps/unix/sysv/linux/configure: Regenerated.
38271         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38272         Remove conditional code.
38273         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38274         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38275         Remove conditional code.
38276         [!__NR_lchown]: Likewise.
38277         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38278         [__NR_lchown]: Likewise.
38279         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38280         comment referencing __ASSUME_LCHOWN_SYSCALL.
38281         * sysdeps/unix/sysv/linux/i386/sigaction.c
38282         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38283         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38284         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38285         Remove conditional code.
38286         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38287         (__protocol_available): Remove #if 0 code.
38288         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38289         conditional code.
38290         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38291         * sysdeps/unix/sysv/linux/kernel-features.h
38292         (__ASSUME_GETCWD_SYSCALL): Don't define.
38293         (__ASSUME_REALTIME_SIGNALS): Likewise.
38294         (__ASSUME_PREAD_SYSCALL): Likewise.
38295         (__ASSUME_PWRITE_SYSCALL): Likewise.
38296         (__ASSUME_POLL_SYSCALL): Likewise.
38297         (__ASSUME_LCHOWN_SYSCALL): Likewise.
38298         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38299         non-SPARC.
38300         (__ASSUME_SIOCGIFNAME): Don't define.
38301         (__ASSUME_MSG_NOSIGNAL): Likewise.
38302         (__ASSUME_SENDFILE): Define unconditionally.
38303         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38304         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38305         conditional code.
38306         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38307         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38308         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38309         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38310         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38311         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38312         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38314         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38315         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38317         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38318         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38320         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38321         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38323         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38324         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38326         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38327         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38329         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38330         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38332         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38333         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38335         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38336         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38337         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38338         Remove conditional code.
38339         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38340         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38341         Remove conditional code.
38342         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38343         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38344         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38345         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38346         Remove conditional code.
38347         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38348         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38349         Remove conditional code.
38350         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38351         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38352         Remove conditional code.
38353         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38354         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38355         Remove conditional code.
38356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38357         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38358         Remove conditional code.
38359         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38360         * sysdeps/unix/sysv/linux/sh/pwrite64.c
38361         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38362         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38363         * sysdeps/unix/sysv/linux/sigaction.c
38364         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38365         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38366         * sysdeps/unix/sysv/linux/sigpending.c
38367         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38368         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38369         * sysdeps/unix/sysv/linux/sigprocmask.c
38370         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38371         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38372         * sysdeps/unix/sysv/linux/sigsuspend.c
38373         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38374         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38375         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38376         (__libc_missing_rt_sigs): Remove.
38377         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38378         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38379         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38380         Remove conditional code.
38381         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38382         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38383         return 1.
38384         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38385         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38386         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38387         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38389 2012-05-14  Andreas Jaeger  <aj@suse.de>
38391         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38392         it's not used in glibc.
38393         (__coshm1): Likewise.
38394         (__acosh1p): Likewise.
38395         (__sgn): Likewise.
38397         * manual/string.texi (Copying and Concatenation): Add missing
38398         variable in concat example.
38399         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38401 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38403         [BZ #14103]
38404         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38405         __builtin_clzl with __builtin_clzll.
38407 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38409         [BZ #14104]
38410         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38411         libc_freeres_ptr.
38413 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38415         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38416         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38417         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38418         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38420 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
38422         * NEWS: Update ia64 info.
38424 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
38426         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38427         used as bcopy.
38429 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
38431         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38432         * sysdeps/unix/syscalls.list (dup3): Likewise.
38433         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38434         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38436 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38438         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38439         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38441 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38443         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38444         thread pointer.
38445         (TLS_IE): Use mov/add instead of movq/addq to load thread
38446         pointer.
38447         (TLS_GD_PREFIX): New.
38448         (TLS_GD): Use it.
38450 2012-05-11  David S. Miller  <davem@davemloft.net>
38452         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38453         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38454         (_FPU_SETCW): Likewise.
38456 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38458         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38459         is 32-byte aligned.
38461 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
38463         [BZ #11837]
38464         * iconvdata/gb18030.c: Update tables.
38465         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
38466         characters specially.
38467         (BODY for TO_LOOP): Add encoding of missing ranges.
38469 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
38471         [BZ #13673]
38472         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38473         * sysdeps/mach/hurd/dup3.c: Likewise.
38474         * sysdeps/mach/hurd/readlinkat.c: Likewise.
38475         * sysdeps/powerpc/memmove.c:: Likewise.
38477 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38479         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38480         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38482 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38484         * elf/elf.h (R_X86_64_RELATIVE64): New.
38485         (R_X86_64_NUM): Updated.
38486         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38487         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38488         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38489         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38490         tst-quad1pie tst-quad2pie
38491         (modules-names): Add tst-quadmod1 tst-quadmod2.
38492         ($(objpfx)tst-quad1): New dependency.
38493         ($(objpfx)tst-quad2): Likewise.
38494         ($(objpfx)tst-quad1pie): Likewise.
38495         ($(objpfx)tst-quad2pie): Likewise.
38496         * sysdeps/x86_64/tst-quad1.c: New file.
38497         * sysdeps/x86_64/tst-quad1pie.c: New file.
38498         * sysdeps/x86_64/tst-quad2.c: Likewise.
38499         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38500         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38501         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38502         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38503         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38507         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38508         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38509         * streams/stropts.h (t_scalar_t): Define type.
38511         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38512         (_PATH_PRESERVE): Set to "/var/lib".
38513         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38515         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38516         instead of int.
38518         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38519         if __dir_mkfile succeeded.
38521         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38522         checking for _hurd_dtablesize.  Unlock it right after having
38523         finished _hurd_dtable allocation.
38525 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38527         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38528         * sysdeps/mach/hurd/configure: Regenerated.
38529         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38530         special-casing to...
38531         * sysdeps/gnu/configure.in: ... this new file.
38532         * sysdeps/unix/sysv/linux/configure: Regenerated.
38533         * sysdeps/gnu/configure: New generated file.
38535         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38536         for Linux: use nsec instead of usec, as well as:
38537         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38538         members of type struct timespec.
38539         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38540         New macros.
38541         (struct stat64): Likewise.
38542         (_STATBUF_ST_NSEC): New macro.
38543         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38545         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38546         __strtoul_internal rather than strtoul.
38548 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38550         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38551         and reject them.
38553 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38555         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38556         which preserves existing values.
38557         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38559 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38561         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38562         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38563         greater than FD_SETSIZE.
38565 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38567         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38568         allocated, call __vm_protect to finish enabling the existing space, and
38569         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38570         allocate the remainder.
38572 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38574         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38575         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38577 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38579         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38580         sysdeps/mach/hurd/readlink.c.
38582         * posix/tst-sysconf.c (posix_options): Only use
38583         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38584         _POSIX_SYNCHRONIZED_IO when they are defined
38585         * sysdeps/mach/hurd/bits/posix_opt.h:
38586         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38587         (_XOPEN_REALTIME): Undefine macro.
38588         (_XOPEN_REALTIME_THREADS): Undefine macro.
38589         (_XOPEN_SHM): Undefine macro.
38590         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38591         macro to -1.
38592         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38593         macro to -1.
38594         (_POSIX_ASYNC_IO): Undefine macro.
38595         (_POSIX_PRIORITIZED_IO): Undefine macro.
38596         (_POSIX_SPIN_LOCKS): Define macro to -1.
38598         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38599         SA_NODEFER, SA_RESETHAND.
38600         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38601         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38602         F_DUPFD_CLOEXEC.
38604 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38606         * elf/Makefile (pldd-modules): Define unconditionally.
38608 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38610         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38614         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38615         Return ENOENT when name is empty.
38616         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38618 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38620         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38622         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38624 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38626         Fix mlock in all cases except non-readable pages.
38627         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38628         instead of VM_PROT_ALL as parameter to __vm_wire function.
38630         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38631         (__mkdir): When path is `/', just fail with EEXIST.
38632         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38634 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38636         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38637         <sys/uio.h> (for writev).
38638         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38639         and <sys/param.h> (for MIN).
38641 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38643         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38644         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38645         if interrupted.
38647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38649         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38650         Depend on against $(link-rpcuserlibs).
38652 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38654         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38655         (__libc_stack_end): Do not use attribute_relro.
38656         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38657         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38658         to libthread-provided value.
38659         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38660         attribute_relro.
38662 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38664         [BZ #3748]
38665         * bits/libc-lock.h (__libc_once_get): New macro.
38666         * sysdeps/mach/bits/libc-lock.h: Likewise.
38667         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38668         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38669         instead of using implementation details.
38671         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38672         * libio/freopen.c: Likewise.
38673         * libio/freopen64.c: Likewise.
38674         * misc/syslog.c: Likewise.
38675         * nscd/connections.c: Likewise.
38676         * nscd/netgroupcache.c: Likewise.
38677         * sysdeps/posix/getcwd.c: Likewise.
38679 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38681         * math/w_ilogbf.c: Add #include <limits.h>.
38683 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38685         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38686         path instead of returning without unlocking.
38688         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38689         immediate-write ioctls.
38690         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38692 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38694         * sysdeps/mach/hurd/i386/init-first.c (init): Use
38695         __builtin_frame_address instead of making assumptions about the
38696         location of the return address relative to DATA.  Force early load of
38697         the return address.
38698         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38699         __builtin_frame_address.
38701         dup3 for GNU Hurd.
38702         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38703         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
38704         implement dup3 and do some further code clean-ups.
38705         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38706         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38708 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38710         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38712         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38713         HURD_CRITICAL_END around holding _hurd_dtable_lock.
38714         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38715         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38716         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38717         d->port.lock.
38719         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38720         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
38721         when handler == SIG_ERR, not when handler != SIG_ERR.
38723 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38725         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38726         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38727         definitions.
38729         accept4 for GNU Hurd.
38730         * include/sys/socket.h (__libc_accept4): New prototype.
38731         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
38732         to implement __libc_accept4.
38733         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38734         __libc_accept4.
38735         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38737         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38738         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38739         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38740         signal-defines.sym.
38742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38744         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38746 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38748         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38749         assertion on O_CLOEXEC flag.
38750         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38751         * hurd/intern-fd.c: Likewise.
38752         * hurd/port2fd.c: Likewise.
38754 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38756         [BZ #3906]
38757         * bits/in.h (IPV6_PKTINFO): Define new macro.
38758         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38760 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38762         [BZ #13954]
38763         [BZ #13955]
38764         [BZ #13956]
38765         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38766         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38767         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38768         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38769         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38770         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38771         * math/libm-test.inc (logb_test) : Additional logb tests.
38773 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
38774             Andreas Jaeger  <aj@suse.de>
38776         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38777         * configure: Regenerated.
38778         * config.h.in (LINK_OBSOLETE_RPC): New macro.
38779         * config.make.in (link-obsolete-rpc): New substituted variable.
38780         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38781         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38782         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38783         (shared-only-routines): Don't set it under [link-obsolete-rpc],
38784         so that libc.a contains the symbols.
38785         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38786         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38787         * sunrpc/auth_none.c: Likewise.
38788         * sunrpc/auth_unix.c: Likewise.
38789         * sunrpc/authdes_prot.c: Likewise.
38790         * sunrpc/authuxprot.c: Likewise.
38791         * sunrpc/clnt_gen.c: Likewise.
38792         * sunrpc/clnt_perr.c: Likewise.
38793         * sunrpc/clnt_raw.c: Likewise.
38794         * sunrpc/clnt_simp.c: Likewise.
38795         * sunrpc/clnt_tcp.c: Likewise.
38796         * sunrpc/clnt_udp.c: Likewise.
38797         * sunrpc/clnt_unix.c: Likewise.
38798         * sunrpc/des_crypt.c: Likewise.
38799         * sunrpc/des_soft.c: Likewise.
38800         * sunrpc/get_myaddr.c: Likewise.
38801         * sunrpc/key_call.c: Likewise.
38802         * sunrpc/key_prot.c: Likewise.
38803         * sunrpc/netname.c: Likewise.
38804         * sunrpc/pm_getmaps.c: Likewise.
38805         * sunrpc/pm_getport.c: Likewise.
38806         * sunrpc/pmap_clnt.c: Likewise.
38807         * sunrpc/pmap_prot.c: Likewise.
38808         * sunrpc/pmap_prot2.c: Likewise.
38809         * sunrpc/pmap_rmt.c: Likewise.
38810         * sunrpc/publickey.c: Likewise.
38811         * sunrpc/rpc_cmsg.c: Likewise.
38812         * sunrpc/rpc_common.c: Likewise.
38813         * sunrpc/rpc_dtable.c: Likewise.
38814         * sunrpc/rpc_prot.c: Likewise.
38815         * sunrpc/rpc_thread.c: Likewise.
38816         * sunrpc/rtime.c: Likewise.
38817         * sunrpc/svc.c: Likewise.
38818         * sunrpc/svc_auth.c: Likewise.
38819         * sunrpc/svc_raw.c: Likewise.
38820         * sunrpc/svc_run.c: Likewise.
38821         * sunrpc/svc_tcp.c: Likewise.
38822         * sunrpc/svc_udp.c: Likewise.
38823         * sunrpc/svc_unix.c: Likewise.
38824         * sunrpc/svcauth_des.c: Likewise.
38825         * sunrpc/xcrypt.c: Likewise.
38826         * sunrpc/xdr.c: Likewise.
38827         * sunrpc/xdr_array.c: Likewise.
38828         * sunrpc/xdr_float.c: Likewise.
38829         * sunrpc/xdr_intXX_t.c: Likewise.
38830         * sunrpc/xdr_mem.c: Likewise.
38831         * sunrpc/xdr_rec.c: Likewise.
38832         * sunrpc/xdr_ref.c: Likewise.
38833         * sunrpc/xdr_sizeof.c: Likewise.
38834         * sunrpc/xdr_stdio.c: Likewise.
38836 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38838         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38839         change.  Update copyright years.
38841 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38843         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38845 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
38846             Joseph Myers  <joseph@codesourcery.com>
38847             Paul Pluzhnikov  <ppluzhnikov@google.com>
38849         [BZ #14012]
38850         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38851         requiring rpcgen.
38852         [cross-compiling] (extra-libs): Likewise.
38853         [cross-compiling] (extra-libs-others): Likewise.
38854         [cross-compiling] (librpcsvc-routines): Likewise.
38855         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38856         [cross-compiling] (omit-deps): Likewise.
38857         (sunrpc-CPPFLAGS): New variable.
38858         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38859         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38860         (cross-rpcgen-objs): New variable.
38861         (extra-objs): Append $(cross-rpcgen-objs).
38862         ($(cross-rpcgen-objs)): New rule.
38863         ($(objpfx)cross-rpcgen): Likewise.
38864         (rpcgen-cmd): Define to use $(built-program-file).  Expand
38865         comment.
38866         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38867         ($(objpfx)x%.stmp): Likewise.
38868         * sunrpc/proto.h [IS_IN_build] (_): Define.
38869         [IS_IN_build] (_libc_intl_domainname): Likewise.
38871 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38874         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38875         and R_X86_64_TPOFF64.
38877 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38879         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38880         sysdeps/unix/sysv/syscalls.list.
38881         (stime): Likewise.
38882         (utime): Likewise.
38883         * sysdeps/unix/sysv/syscalls.list: Remove file.
38885 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
38887         [BZ #3440]
38888         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38889         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38890         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38891         (__LC_IDENTIFICATION): Make these macros useful in #if
38892         expressions, as required by C99.
38894 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
38896         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38897         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
38898         after this.
38900 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
38902         * stdlib/longlong.h: Updated from GCC.
38904 2012-05-09  Andreas Jaeger  <aj@suse.de>
38906         * nscd/nscd.c (run_modes): Make named enum, reorder so that
38907         default is first entry.
38908         (run_mode): Set type.
38909         (main): Remove informal message about syslog.
38910         (options): Fix typo.
38912         [BZ #14053]
38913         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38914         to asm.
38915         (lrint): Likewise.
38916         (llrintf): Likewise.
38917         (llrint): Likewise.
38918         (rint): Likewise.
38919         (rintf): Likewise.
38920         (nearbyint): Likewise.
38921         (nearbyintf): Likewise.
38923 2012-05-09  Andreas Jaeger  <aj@suse.de>
38924             Pedro Alves  <palves@redhat.com>
38926         * nscd/nscd.c (run_mode): Use enum.
38927         (main): Cleanup coding style issue.
38929 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
38930             Andreas Jaeger  <aj@suse.de>
38932         * nscd/nscd.c (go_background): Replaced with...
38933         (run_mode): ... this.
38934         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38935         (options): Add -F --foreground.
38936         (main): Implement it.
38937         (parse_opt): Parse it.
38939 2012-05-09  Andreas Jaeger  <aj@suse.de>
38941         [BZ #14083]
38942         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38943         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38944         -Wconversion warning.
38945         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38946         Likewise.
38948 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
38950         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
38951         == 0.
38952         (LC_ALL): Use macro-int-constant.
38953         (LC_COLLATE): Likewise.
38954         (LC_CTYPE): Likewise.
38955         (LC_MESSAGES): Likewise.
38956         (LC_MONETARY): Likewise.
38957         (LC_NUMERIC): Likewise.
38958         (LC_TIME): Likewise.
38959         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38960         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38961         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38962         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38963         Specify type.
38964         [C99-based standards] (float_t): Expect type.
38965         [C99-based standards] (double_t): Expect type.
38966         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
38967         type.
38968         [C99-based standards] (HUGE_VALL): Likewise.
38969         [C99-based standards] (INFINITY): Likewise.
38970         [C99-based standards] (NAN): Likewise.
38971         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38972         [C99-based standards] (FP_NAN): Likewise.
38973         [C99-based standards] (FP_NORMAL): Likewise.
38974         [C99-based standards] (FP_SUBNORMAL): Likewise.
38975         [C99-based standards] (FP_ZERO): Likewise.
38976         [C99-based standards] (FP_FAST_FMA): Use
38977         optional-macro-int-constant.  Specify type.  Require == 1.
38978         [C99-based standards] (FP_FAST_FMAF): Likewise.
38979         [C99-based standards] (FP_FAST_FMAL): Likewise.
38980         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38981         [C99-based standards] (FP_ILOGBNAN): Likewise.
38982         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38983         Specify type.
38984         [C99-based standards] (MATH_ERREXCEPT): Likewise.
38985         [C99-based standards] (math_errhandling): Specify type.
38986         [ISO99 || ISO11] (signgam): Do not allow.
38987         [non-C99-based standards] (copysignf): Do not allow.
38988         [non-C99-based standards] (exp2f): Likewise.
38989         [non-C99-based standards] (log2f): Likewise.
38990         [non-C99-based standards] (modff): Allow.
38991         [non-C99-based standards] (erff): Do not allow.
38992         [non-C99-based standards] (erfcf): Likewise.
38993         [non-C99-based standards] (gammaf): Likewise.
38994         [non-C99-based standards] (hypotf): Likewise.
38995         [non-C99-based standards] (j0f): Likewise.
38996         [non-C99-based standards] (j1f): Likewise.
38997         [non-C99-based standards] (jnf): Likewise.
38998         [non-C99-based standards] (lgammaf): Likewise.
38999         [non-C99-based standards] (tgammaf): Likewise.
39000         [non-C99-based standards] (y0f): Likewise.
39001         [non-C99-based standards] (y1f): Likewise.
39002         [non-C99-based standards] (ynf): Likewise.
39003         [non-C99-based standards] (isnanf): Likewise.
39004         [non-C99-based standards] (acoshf): Likewise.
39005         [non-C99-based standards] (asinhf): Likewise.
39006         [non-C99-based standards] (atanhf): Likewise.
39007         [non-C99-based standards] (cbrtf): Likewise.
39008         [non-C99-based standards] (expm1f): Likewise.
39009         [non-C99-based standards] (ilogbf): Likewise.
39010         [non-C99-based standards] (log1pf): Likewise.
39011         [non-C99-based standards] (logbf): Likewise.
39012         [non-C99-based standards] (nextafterf): Likewise.
39013         [non-C99-based standards] (remainderf): Likewise.
39014         [non-C99-based standards] (rintf): Likewise.
39015         [non-C99-based standards] (scalbf): Likewise.
39016         [non-C99-based standards] (copysignl): Likewise.
39017         [non-C99-based standards] (exp2l): Likewise.
39018         [non-C99-based standards] (log2l): Likewise.
39019         [non-C99-based standards] (modfl): Allow.
39020         [non-C99-based standards] (erfl): Do not allow.
39021         [non-C99-based standards] (erfcl): Likewise.
39022         [non-C99-based standards] (gammal): Likewise.
39023         [non-C99-based standards] (hypotl): Likewise.
39024         [non-C99-based standards] (j0l): Likewise.
39025         [non-C99-based standards] (j1l): Likewise.
39026         [non-C99-based standards] (jnl): Likewise.
39027         [non-C99-based standards] (lgammal): Likewise.
39028         [non-C99-based standards] (tgammal): Likewise.
39029         [non-C99-based standards] (y0l): Likewise.
39030         [non-C99-based standards] (y1l): Likewise.
39031         [non-C99-based standards] (ynl): Likewise.
39032         [non-C99-based standards] (isnanl): Likewise.
39033         [non-C99-based standards] (acoshl): Likewise.
39034         [non-C99-based standards] (asinhl): Likewise.
39035         [non-C99-based standards] (atanhl): Likewise.
39036         [non-C99-based standards] (cbrtl): Likewise.
39037         [non-C99-based standards] (expm1l): Likewise.
39038         [non-C99-based standards] (ilogbl): Likewise.
39039         [non-C99-based standards] (log1pl): Likewise.
39040         [non-C99-based standards] (logbl): Likewise.
39041         [non-C99-based standards] (nextafterl): Likewise.
39042         [non-C99-based standards] (remainderl): Likewise.
39043         [non-C99-based standards] (rintl): Likewise.
39044         [non-C99-based standards] (scalbl): Likewise.
39045         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39046         [non-C99-based standards] (FP_*): Do not allow.
39047         [C99-based standards] (FP_*): Change to
39048         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39049         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39050         allow.
39051         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39052         (SIG_ERR): Likewise.
39053         [X/Open-based standards] (SIG_HOLD): Likewise.
39054         (SIG_IGN): Likewise.
39055         (SIGABRT): Use macro-int-constant.  Specify type.  Require
39056         positive value.
39057         (SIGFPE): Likewise.
39058         (SIGILL): Likewise.
39059         (SIGINT): Likewise.
39060         (SIGSEGV): Likewise.
39061         (SIGTER): Likewise.
39062         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39063         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39064         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39065         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39066         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39067         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39068         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39069         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39070         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39071         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39072         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39073         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39074         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39075         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39076         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39077         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39078         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39079         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39080         [X/Open-based standards] (SIGTRAP): Likewise.
39081         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39082         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39083         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39084         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39085         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39086         allow.
39088 2012-05-08  Ian Wienand  <ianw@vmware.com>
39090         [BZ #14080]
39091         * time/tzset.c (__tzset_parse_tz): Update default rules for
39092         daylight time changes in the Energy Policy Act of 2005.
39094 2012-05-09  Andreas Jaeger  <aj@suse.de>
39096         [BZ #13983]
39097         * elf/ldconfig.c (parse_conf): Change string to make clear that
39098         ldconfig only issued a warning if ld.so.conf does not exist.
39100 2012-05-08  David S. Miller  <davem@davemloft.net>
39102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39103         movxtod instead of popping the value on the stack.
39105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39107 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
39109         * config.h.in: Add HAVE_ARM_PCS_VFP.
39111 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
39113         [BZ #13979]
39114         * include/features.h: Warn if user requests __FORTIFY_SOURCE
39115         checking but the checks are disabled for any reason.
39117 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
39119         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39120         and ELF64_R_TYPE with ELFW(R_TYPE).
39122 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
39124         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39125         (ulimit): Likewise.
39127         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39128         (settimeofday): Likewise.
39130 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
39132         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
39133         a struct th_u2 inside the union, and move tu_block/tu_code into
39134         a new th_u3 union of tu_block/tu_code inside of that.  Move
39135         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
39136         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
39137         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39138         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39139         (th_stuff): Change to th_u1.tu_stuff.
39140         (th_data): Define.
39141         (th_msg): Change to th_u1.th_u2.tu_data.
39143 2012-05-07  David S. Miller  <davem@davemloft.net>
39145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39147         [BZ #14074]
39148         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39149         (SETUP_PIC_REG): Use it.
39150         (SETUP_PIC_REG_LEAF): Use it.
39152 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
39154         [BZ #13885]
39155         [BZ #13923]
39156         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39157         USE_AS_EXPM1L.
39158         (EXPL_FINITE): Likewise.
39159         (FLDLOG): Likewise.
39160         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39161         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39162         e_expl.S.
39163         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39164         USE_AS_EXPM1L.
39165         (EXPL_FINITE): Likewise.
39166         (FLDLOG): Likewise.
39167         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39168         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39169         e_expl.S.
39170         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
39171         test of -max_value argument for long double.
39172         * sysdeps/i386/fpu/libm-test-ulps: Update.
39173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39175 2012-05-06  David S. Miller  <davem@davemloft.net>
39177         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39178         quad soft-float symbols whose references which are compiler
39179         generated.
39180         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39182 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
39184         [BZ #13884]
39185         [BZ #13914]
39186         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39187         USE_AS_EXP10L.
39188         (EXPL_FINITE): Likewise.
39189         (FLDLOG): Likewise.
39190         (c0): Likewise.
39191         (c1): Likewise.
39192         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39193         Adjust comments for base varying.
39194         (__expl_finite): Change alias to EXPL_FINITE.
39195         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39196         e_expl.S.
39197         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39198         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39199         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39200         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39201         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39202         USE_AS_EXP10L.
39203         (EXPL_FINITE): Likewise.
39204         (FLDLOG): Likewise.
39205         (c0): Likewise.
39206         (c1): Likewise.
39207         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39208         Adjust comments for base varying.
39209         (__expl_finite): Change alias to EXPL_FINITE.
39210         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
39211         tests for bugs.
39212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39214         [BZ #14064]
39215         * math/libm-test.inc (check_float_internal): Correct ulp
39216         calculation for subnormal expected results.
39218 2012-05-06  Andreas Jaeger  <aj@suse.de>
39220         * Makeconfig (+math-flags): New, set to -frounding-math.
39221         (+cflags): Add +math-flags so that all of glibc gets compiled with
39222         it.
39224         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39226 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
39228         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39229         Disable one test.
39231         [BZ #13787]
39232         [BZ #13922]
39233         [BZ #14036]
39234         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39235         (__ieee754_expl): Allow for and saturate large arguments.
39236         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39237         (u_threshold): Likewise.
39238         (__exp): Call __ieee754_exp before checking for overflow and
39239         underflow.
39240         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39241         (u_threshold): Likewise.
39242         (__expf): Call __ieee754_expf before checking for overflow and
39243         underflow.
39244         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39245         (u_threshold): Likewise.
39246         (__expl): Call __ieee754_expl before checking for overflow and
39247         underflow.
39248         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39249         (__ieee754_expl): Allow for and saturate large arguments.
39250         * math/libm-test.inc (exp_test): Add another test.  Do not allow
39251         missing overflow exception on overflow.
39252         (expm1_test): Do not allow missing overflow exception on overflow.
39254         * sysdeps/i386/fpu/e_expl.c: Move to ...
39255         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
39256         rather than using inline asm.
39257         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39258         * sysdeps/x86_64/fpu/e_expl.S: Copy from
39259         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39261         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39262         (nice): Likewise.
39263         (poll): Likewise.
39264         (signal): Likewise.
39265         (time): Likewise.
39266         (times): Likewise.
39268 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39270         * sysdeps/unix/syscalls.list (adjtime): Add entry from
39271         sysdeps/unix/common/syscalls.list.
39272         (fchmod): Likewise.
39273         (fchown): Likewise.
39274         (ftruncate): Likewise.
39275         (getrusage): Likewise.
39276         (gettimeofday): Likewise.
39277         (setpgid): Likewise.
39278         (setregid): Likewise.
39279         (setreuid): Likewise.
39280         (sigaction): Likewise.
39281         (truncate): Likewise.
39282         (vhangup): Likewise.
39283         * sysdeps/unix/common/syscalls.list: Remove file.
39284         * sysdeps/unix/bsd/Implies: Don't include unix/common.
39285         * sysdeps/unix/sysv/linux/Implies: Likewise.
39287 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
39289         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39291         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39292         Moved to ...
39293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39294         Here.
39295         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39296         to ...
39297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39298         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39299         to ...
39300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39301         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39302         to ...
39303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39304         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39305         to ...
39306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39307         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39308         to ...
39309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39310         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39311         to ...
39312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39313         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39314         to ...
39315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39316         Here.
39317         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39318         to ...
39319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39320         Here.
39321         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39322         to ...
39323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39324         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39325         Moved to ...
39326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39327         Here.
39328         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39329         to ...
39330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39332 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39334         * sysdeps/unix/common/bits/dirent.h: Remove file.
39335         * sysdeps/unix/common/bits/fcntl.h: Likewise.
39337         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39338         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39339         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39340         * sysdeps/unix/bsd/isatty.c: Likewise.
39341         * sysdeps/unix/bsd/tcdrain.c: Likewise.
39342         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39343         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39345 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39347         [BZ #13563]
39348         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39349         long double comparison inaccuracies.
39350         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39353 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
39355         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39356         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39358 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39360         [BZ #14049]
39361         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39362         nonzero digits before rounding a hex value.
39363         * stdlib/tst-strtod.c (tests): Add another test.
39365 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39367         * sysdeps/s390/fpu/libm-test-ulps: Update.
39369 2012-05-03  Andreas Jaeger  <aj@suse.de>
39371         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39372         does not get optimized out.
39373         (malloc_opt_barrier): New.
39375 2012-05-03  Andreas Jaeger  <aj@suse.de>
39376             Roland McGrath  <roland@hack.frob.com>
39378         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39379         intermediate file deletion.
39380         (generated): Add .symlist files.
39382 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
39384         [BZ #13775]
39385         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39386         Redirect under this condition.
39387         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39388         [__USE_GNU] (__dprintf_chk): Not under this condition.
39389         [__USE_GNU] (__vdprintf_chk): Likewise.
39390         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39391         under this condition.
39392         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39393         [__USE_XOPEN2K8] (dprintf): Define under this condition.
39394         [__USE_XOPEN2K8] (vdprintf): Likewise.
39395         [__USE_GNU] (__dprintf_chk): Not under this condition.
39396         [__USE_GNU] (__vdprintf_chk): Likewise.
39397         [__USE_GNU] (dprintf): Likewise.
39398         [__USE_GNU] (vdprintf): Likewise.
39400 2012-05-03  Roland McGrath  <roland@hack.frob.com>
39402         * elf/Makefile (common-generated): Set this instead of generated for
39403         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
39404         $(all-built-dso)-derived lists.
39406 2012-05-03  Andreas Jaeger  <aj@suse.de>
39408         * sysdeps/i386/fpu/libm-test-ulps: Update.
39410         * FAQ: Removed.
39411         * FAQ.in: Likewise.
39412         * scripts/gen-FAQ.pl: Likewise.
39413         * manual/install.texi (Installation): Point to online location of
39414         FAQ.
39415         * Makefile (files-for-dist): Remove FAQ.
39416         (FAQ): Remove.
39418 2012-05-02  Allan McRae  <allan@archlinux.org>
39420         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39421         (LDFLAGS-reldepmod5.so): Likewise.
39422         (LDFLAGS-reldep6mod1.so): Likewise.
39423         (LDFLAGS-reldep6mod4.so): Likewise.
39424         (LDFLAGS-reldep8mod3.so): Likewise.
39425         (LDFLAGS-unload4mod1.so): Likewise.
39426         (LDFLAGS-unload4mod2.so): Likewise.
39427         (LDFLAGS-tst-initorder): Likewise.
39428         (LDFLAGS-tst-initordera2.so): Likewise.
39429         (LDFLAGS-tst-initordera3.so): Likewise.
39430         (LDFLAGS-tst-initordera4.so): Likewise.
39431         (LDFLAGS-tst-initorderb2.so): Likewise.
39432         (LDFLAGS-noload): Likewise.
39433         (LDFLAGS-next): Likewise.
39434         (LDFLAGS-order2mod1.so): Likewise.
39435         (LDFLAGS-order2mod2.so): Likewise.
39436         (LDFLAGS-tst-initorder2): Likewise.
39437         (LDFLAGS-tst-initorder2a.so): Likewise.
39438         (LDFLAGS-tst-initorder2b.so): Likewise.
39439         (LDFLAGS-tst-initorder2c.so): Likewise.
39440         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39442 2012-05-02  David S. Miller  <davem@davemloft.net>
39444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39446 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39448         [BZ #14055]
39449         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39451 2012-05-02  Andreas Jaeger  <aj@suse.de>
39453         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39454         since we manipulate rounding mode.
39455         (CPPFLAGS-test-idouble.c): Likewise.
39456         (CPPFLAGS-test-ifloat.c): Likewise.
39457         (CFLAGS-test-ldouble.c): Likewise.
39458         (CFLAGS-test-double.c): Likewise.
39459         (CFLAGS-test-float.c): Likewise.
39460         (CFLAGS-test-misc.c): Likewise.
39461         (CFLAGS-test-test-fenv.c): Likewise.
39463 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39465         [BZ #2550]
39466         [BZ #2570]
39467         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39468         comparisons to determine direction to adjust input.
39470 2012-05-01  Roland McGrath  <roland@hack.frob.com>
39472         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39473         output to the target.
39475         * scripts/localplt.awk: New file.
39476         * elf/Makefile ($(objpfx)check-localplt): Target removed.
39477         (check-localplt-CFLAGS): Variable removed.
39478         ($(all-built-dso:=.jmprel)): New static pattern rule.
39479         (generated): Add those targets.
39480         (localplt-built-dso): New variable.
39481         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39483         * elf/check-localplt.c: File removed.
39485         * scripts/check-execstack.awk: New file.
39486         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39487         (check-execstack-CFLAGS): Variable removed.
39488         ($(objpfx)check-execstack.h): Target removed.
39489         ($(objpfx)execstack-default): New target.
39490         (generated): Add that instead of check-execstack.h.
39491         ($(all-built-dso:=.phdr)): New static pattern rule.
39492         (generated): Add those targets.
39493         * elf/check-execstack.c: File removed.
39495         * scripts/check-textrel.awk: New file.
39496         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39497         (check-textrel-CFLAGS): Variable removed.
39498         (all-built-dso): Use := to define.o
39499         ($(all-built-dso:=.dyn)): New static pattern rule.
39500         (generated): Add those targets.
39501         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39502         * config.make.in (READELF): New substituted variable.
39503         * elf/check-textrel.c: File removed.
39505 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39507         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39508         allow.
39509         * conform/data/ctype.h-data [C99-based standards] (isblank):
39510         Expect function.
39511         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39512         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39513         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39514         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39515         Specify type.  Require positive value.
39516         (EILSEQ): Likewise.
39517         (ERANGE): Likewise.
39518         [ISO || POSIX] (EILSEQ): Do not expect.
39519         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39520         Specify type.  Require positive value.
39521         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39522         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39523         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39524         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39525         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39526         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39527         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39528         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39529         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39530         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39531         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39532         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39533         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39534         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39535         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39536         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39537         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39538         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39539         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39540         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39541         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39542         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39543         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39544         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39545         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39546         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39547         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39548         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39549         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39550         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39551         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39552         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39553         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39554         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39555         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39556         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39557         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39558         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39559         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39560         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39561         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39562         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39563         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39564         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39565         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39566         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39567         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39568         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39569         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39570         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39571         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39572         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39573         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39574         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39575         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39576         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39577         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39578         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39579         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39580         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39581         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39582         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39583         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39584         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39585         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39586         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39587         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39588         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39589         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39590         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39591         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39592         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39593         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39594         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39595         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39596         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39597         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39598         Require >= 2.
39599         (FLT_ROUNDS): Expect as macro, not constant.
39600         (FLT_MANT_DIG): Use macro-int-constant.
39601         (DBL_MANT_DIG): Likewise.
39602         (LDBL_MANT_DIG): Likewise.
39603         (FLT_DIG): Likewise.
39604         (DBL_DIG): Likewise.
39605         (LDBL_DIG): Likewise.
39606         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39607         (DBL_MIN_EXP): Likewise.
39608         (LDBL_MIN_EXP): Likewise.
39609         (FLT_MAX_EXP): Use macro-int-constant.
39610         (DBL_MAX_EXP): Likewise.
39611         (LDBL_MAX_EXP): Likewise.
39612         (FLT_MAX_10_EXP): Likewise.
39613         (DBL_MAX_10_EXP): Likewise.
39614         (LDBL_MAX_10_EXP): Likewise.
39615         (FLT_MAX): Use macro-constant.
39616         (DBL_MAX): Likewise.
39617         (LDBL_MAX): Likewise.
39618         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39619         (DBL_EPSILON): Likewise.
39620         (LDBL_EPSILON): Likewise.
39621         (FLT_MIN): Likewise.
39622         (DBL_MIN): Likewise.
39623         (LDBL_MIN): Likewise.
39624         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39625         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39626         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39627         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39628         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39629         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39630         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39631         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39632         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39633         [ISO11] (FLT_TRUE_MIN): Likewise.
39634         [ISO11] (LDBL_TRUE_MIN): Likewise.
39635         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39636         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39637         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39638         (SCHAR_MAX): Likewise.
39639         (UCHAR_MAX): Likewise.
39640         (CHAR_MIN): Likewise.
39641         (CHAR_MAX): Likewise.
39642         (MB_LEN_MAX): Use macro-int-constant.
39643         (SHRT_MIN): Use macro-int-constant.  Specify type.
39644         (SHRT_MAX): Likewise.
39645         (USHRT_MAX): Likewise.
39646         (INT_MAX): Likewise.
39647         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39648         bound negative.
39649         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39650         bound with "U".
39651         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39652         bound with "L".
39653         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39654         bound negative.  Suffix upper bound with "L".
39655         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39656         bound with "UL".
39657         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39658         Specify type.
39659         [C99-based standards] (LLONG_MAX): Likewise.
39660         [C99-based standards] (ULLONG_MAX): Likewise.
39661         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39662         == 0.
39663         [ISO11] (max_align_t): Require type.
39664         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39666         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39667         from $CFLAGS, without defining away __attribute__ calls.
39668         (checknamespace): Use $CFLAGS_namespace.
39670         * conform/conformtest.pl (@keywords): Only include C99 keywords
39671         for standards based on C99 or C11.
39673         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39674         Disable tests.
39675         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39676         UNIX98]: Likewise.
39678         * conform/conformtest.pl: Handle "macro-int-constant" and test for
39679         usability of symbols in #if.
39681         * conform/conformtest.pl: If macro or constant types start
39682         "promoted:", expect the symbol to be of the following type
39683         promoted by the integer promotions.
39685         * conform/conformtest.pl: Parse all "constant" and "macro" lines
39686         in one place.  Also handle "macro-constant".
39688         * conform/conformtest.pl: Only accept expected macro values with
39689         "==".  Parse all "macro" lines in one place.
39690         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39692         * conform/conformtest.pl: Handle braced types on "constant" lines
39693         instead of handling "typed-constant".
39694         * conform/data/signal.h-data: Use "constant" instead of
39695         "typed-constant".
39697         * conform/conformtest.pl: Handle "optional-" at start of lines in
39698         one place rather than duplicating several cases.  Handle each
39699         format of "macro" line with initial "optional-".
39701         * conform/conformtest.pl: Only accept expected constant or
39702         optional-constant values with "==".  Parse all "constant" lines in
39703         one place.  Parse all "optional-constant" lines in one place.
39704         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39705         * conform/data/fmtmsg.h-data: Likewise.
39706         * conform/data/netinet/in.h-data: Likewise.
39707         * conform/data/tar.h-data: Likewise.
39708         * conform/data/limits.h-data: Use "==" form on "constant" and
39709         "optional-constant" lines.
39711         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39712         Use -std=c99 for XOPEN2K.
39713         (@knownproblems): Remove.
39714         (newtoken): Don't check %isknown.
39716         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39717         Do not expect macro.
39718         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39719         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39720         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39721         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39722         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39723         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39724         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39725         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39726         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39727         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39728         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39729         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39730         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39731         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39732         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39733         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39734         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39735         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39736         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39737         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39738         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39739         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39740         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39741         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39742         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39743         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39744         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39745         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39746         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39747         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39748         [XPG3] (acosh): Likewise.
39749         [XPG3] (asinh): Likewise.
39750         [XPG3] (atanh): Likewise.
39751         [XPG3] (cbrt): Likewise.
39752         [XPG3] (expm1): Likewise.
39753         [XPG3] (ilogb): Likewise.
39754         [XPG3] (log1p): Likewise.
39755         [XPG3] (logb): Likewise.
39756         [XPG3] (nextafter): Likewise.
39757         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39758         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39759         [XPG3] (remainder): Likewise.
39760         [XPG3] (rint): Likewise.
39761         [XPG3 || XPG4 || UNIX98] (round): Likewise.
39762         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39763         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39764         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39765         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39766         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39767         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39768         [UNIX98 || XOPEN2K] (scalb): Expect.
39769         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39770         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39771         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39772         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39773         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39774         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39775         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39776         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39777         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39778         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39779         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39780         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39781         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39782         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39783         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39784         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39785         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39786         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39787         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39788         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39789         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39790         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39791         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39792         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39793         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39794         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39795         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39796         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39797         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39798         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39799         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39800         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39801         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39802         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39803         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39804         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39805         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39806         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39807         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39808         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39809         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39810         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39811         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39812         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39813         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39814         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39815         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39816         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39817         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39818         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39819         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39820         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39821         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39822         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39823         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39824         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39825         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39826         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39827         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39828         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39829         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39830         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39831         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39832         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39833         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39834         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39835         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39836         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39837         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39838         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39839         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39840         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39841         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39842         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39843         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39844         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39845         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39846         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39847         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39848         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39849         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39850         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39851         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39852         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39853         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39854         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39855         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39856         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39857         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39858         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39859         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39860         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39861         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39862         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39863         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39864         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39865         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39866         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39867         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39868         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39869         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39870         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39871         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39872         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39873         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39874         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39875         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39876         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39877         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39878         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39879         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39880         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39881         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39882         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39883         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39884         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39885         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39886         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39887         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39888         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39889         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39890         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39891         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39892         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39893         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39894         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39895         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39896         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39897         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39898         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39899         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39900         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39901         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39902         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39903         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39904         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39905         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39907         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39908         _XOPEN_SOURCE_EXTENDED for XPG4.
39910         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39912         * Makeconfig (localtime): Remove variable.
39913         (inst_localtime-file): Likewise.
39915 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39918         Update.
39919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39920         Update.
39921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39922         Update.
39923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39924         Update.
39925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39926         Update.
39927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39928         Update.
39929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39930         Update.
39931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39932         Update.
39933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39934         Update.
39936 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39938         [BZ #2550]
39939         [BZ #2570]
39940         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39941         comparisons to determine direction to adjust input.
39942         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39943         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39944         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39945         Likewise.
39946         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39947         Likewise.
39948         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39949         Likewise.
39950         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39951         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39952         Likewise.
39953         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39954         Likewise.
39955         * math/libm-test.inc (nexttoward_test): Add more tests.
39957 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39959         [BZ #14040]
39960         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39961         in version GLIBC_2.1, not GLIBC_2.0.
39962         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39963         Likewise.
39965 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
39967         [BZ #13942]
39968         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39969         (1 - x) * (1 + x).
39970         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39971         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39972         * math/libm-test.inc (acos_test): Add more tests.
39973         (asin_test): Likewise.
39974         * sysdeps/i386/fpu/libm-test-ulps: Update.
39975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39977         [BZ #14034]
39978         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39979         of square root.
39980         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39981         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39982         * math/libm-test.inc (acos_test_tonearest): New function.
39983         (acos_test_towardzero): Likewise.
39984         (acos_test_downward): Likewise.
39985         (acos_test_upward): Likewise.
39986         (asin_test_tonearest): Likewise.
39987         (asin_test_towardzero): Likewise.
39988         (asin_test_downward): Likewise.
39989         (asin_test_upward): Likewise.
39990         (main): Call the new functions.
39991         * sysdeps/i386/fpu/libm-test-ulps: Update.
39992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39994         [BZ #13884]
39995         [BZ #13924]
39996         * math/e_exp10.c: Include <float.h>.
39997         (__ieee754_exp10): Handle underflow here rather than multiplying
39998         large negative argument by M_LN10.
39999         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40000         of __ieee754_expf.
40001         * math/e_exp10l.c: Include <float.h>.
40002         (__ieee754_exp10l): Handle underflow here rather than multiplying
40003         large negative argument by M_LN10l.
40004         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
40005         spurious overflow exception on underflow.
40007 2012-04-29  Marek Polacek  <polacek@redhat.com>
40009         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40010         (__fortify_function): New macro.
40011         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40012         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40013         __extern_always_inline.
40014         * libio/bits/stdio2.h: Likewise.
40015         * libio/bits/stdio.h: Likewise.
40016         * string/string.h: Likewise.
40017         * string/bits/string3.h: Likewise.
40018         * include/stdio.h: Likewise.
40019         * stdlib/bits/stdlib.h: Likewise.
40020         * stdlib/stdlib.h: Likewise.
40021         * rt/bits/mqueue2.h: Likewise.
40022         * rt/mqueue.h: Likewise.
40023         * posix/bits/unistd.h: Likewise.
40024         * posix/unistd.h: Likewise.
40025         * io/bits/poll2.h: Likewise.
40026         * io/bits/fcntl2.h: Likewise.
40027         * io/fcntl.h: Likewise.
40028         * io/sys/poll.h: Likewise.
40029         * misc/bits/syslog.h: Likewise.
40030         * misc/bits/syslog-ldbl.h: Likewise.
40031         * misc/sys/syslog.h: Likewise.
40032         * socket/bits/socket2.h: Likewise.
40033         * socket/sys/socket.h: Likewise.
40034         * debug/tst-chk1.c: Likewise.
40035         * wcsmbs/bits/wchar2.h: Likewise.
40036         * wcsmbs/bits/wchar-ldbl.h: Likewise.
40037         * wcsmbs/wchar.h: Likewise.
40039 2012-04-29  Andreas Jaeger  <aj@suse.de>
40041         * Makerules (tests): Remove enable-check-abi protection.
40042         (check-abi-warn): Remove.
40043         (check-abi-%): Remove check-abi-warn usage.
40045         * configure.in: Remove check-abi configure option.
40046         * configure: Regenerated.
40047         * config.make.in (enable-check-abi): Remove.
40049 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
40051         [BZ #14033]
40052         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40053         double functions to double *_finite functions.
40055         [BZ #13941]
40056         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40057         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40058         LDBL_MIN_EXP.
40059         * stdio-common/Makefile (tests): Add tst-sprintf3.
40060         * stdio-common/tst-sprintf3.c: New file.
40062         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40063         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40065 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40067         * conform/conformtest.pl: Remove duplicate typed-constant
40068         handling.
40070 2012-04-28  David S. Miller  <davem@davemloft.net>
40072         * Makerules (%.abilist): Add vpath on sysdep_dirs.
40073         (check-abi-%): Remove AWK script prerequisite and explicit
40074         abilist directory.
40075         (check-abi): Rewrite to just diff the symlist with the abilist.
40076         (config-tls, config-abi-config): Delete, no longer used.
40077         (update-abi-%): Remove AWK script and explicit abilist directory.
40078         (update-abi): Rewrite to simply compare and conditionally copy the
40079         symlist and the sysdep abilist file.  Remove update-abi-config
40080         checks.
40081         * abilist/ld.abilist: Remove.
40082         * abilist/libBrokenLocale.abilist: Remove.
40083         * abilist/libanl.abilist: Remove.
40084         * abilist/libcrypt.abilist: Remove.
40085         * abilist/libdl.abilist: Remove.
40086         * abilist/librt.abilist: Remove.
40087         * abilist/libthread_db.abilist: Remove.
40088         * abilist/libutil.abilist: Remove.
40089         * scripts/extract-abilist.awk: Remove.
40090         * scripts/merge-abilist.awk: Remove.
40091         * sysdeps/generic/libcidn.abilist: New file.
40092         * sysdeps/generic/libnss_compat.abilist: New file.
40093         * sysdeps/generic/libnss_db.abilist: New file.
40094         * sysdeps/generic/libnss_dns.abilist: New file.
40095         * sysdeps/generic/libnss_files.abilist: New file.
40096         * sysdeps/generic/libnss_hesiod.abilist: New file.
40097         * sysdeps/generic/libnss_nis.abilist: New file.
40098         * sysdeps/generic/libnss_nisplus.abilist: New file.
40099         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40100         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40101         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40102         file.
40103         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40104         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40105         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40106         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40107         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40108         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40109         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40110         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40111         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40112         file.
40113         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40114         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40115         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40116         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40117         file.
40118         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40119         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40120         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40121         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40122         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40123         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40124         file.
40125         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40126         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40127         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40128         file.
40129         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40130         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40131         New file.
40132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40133         New file.
40134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40135         New file.
40136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40137         New file.
40138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40139         New file.
40140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40141         New file.
40142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40143         New file.
40144         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40145         New file.
40146         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40147         New file.
40148         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40149         New file.
40150         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40151         New file.
40152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40153         New file.
40154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40155         New file.
40156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40157         file.
40158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40159         New file.
40160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40161         New file.
40162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40163         file.
40164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40165         New file.
40166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40167         New file.
40168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40169         file.
40170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40171         New file.
40172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40173         New file.
40174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40175         New file.
40176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40177         New file.
40178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40179         New file.
40180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40181         New file.
40182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40184         file.
40185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40186         New file.
40187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40188         file.
40189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40190         file.
40191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40192         file.
40193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40194         file.
40195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40196         file.
40197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40198         New file.
40199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40200         file.
40201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40202         file.
40203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40204         New file.
40205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40206         file.
40207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40209         file.
40210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40211         New file.
40212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40213         file.
40214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40215         file.
40216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40217         file.
40218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40219         file.
40220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40221         file.
40222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40223         New file.
40224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40225         file.
40226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40227         file.
40228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40229         New file.
40230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40231         file.
40232         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40233         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40234         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40235         file.
40236         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40237         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40238         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40239         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40240         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40241         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40242         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40243         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40244         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40245         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40248         file.
40249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40250         New file.
40251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40252         file.
40253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40254         file.
40255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40256         file.
40257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40258         file.
40259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40260         file.
40261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40262         New file.
40263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40264         New file.
40265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40266         file.
40267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40268         New file.
40269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40270         file.
40271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40273         file.
40274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40275         New file.
40276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40277         file.
40278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40279         file.
40280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40281         file.
40282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40283         file.
40284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40285         file.
40286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40287         New file.
40288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40289         New file.
40290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40291         file.
40292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40293         New file.
40294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40295         file.
40297 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40299         * conform/conformtest.pl: Fix typo in handling typed-constant from
40300         allow-header.
40302 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40304         * README: Cut down references to pre-2.6 Linux kernels and
40305         Linuxthreads.  Update lists of configurations in libc and ports
40306         and sort alphabetically.  Say "or newer" with Linux kernel version
40307         requirements.
40309         * config.h.in [IS_IN_build]: Allow compiling without optimization.
40311 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40313         [BZ #887]
40314         * math/libm-test.inc (logb_test_downward): New test to expose
40315         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40316         rounding mode.
40318 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40320         [BZ #14027]
40321         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40322         to be done.
40323         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40324         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40326 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
40328         * sysdeps/unix/i386/brk.S: Remove file.
40329         * sysdeps/unix/i386/dl-brk.S: Likewise.
40330         * sysdeps/unix/i386/pipe.S: Likewise.
40331         * sysdeps/unix/i386/sigreturn.S: Likewise.
40332         * sysdeps/unix/i386/syscall.S: Likewise.
40333         * sysdeps/unix/i386/vfork.S: Likewise.
40334         * sysdeps/unix/i386/wait.S: Likewise.
40336         * sysdeps/unix/common/tcsendbrk.c: Move to ...
40337         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40339         * configure.in (arm*-none*): Do not allow without
40340         --enable-hacker-mode.
40341         (netbsd*): Remove case setting base_os.
40342         (386bsd*): Likewise.
40343         (freebsd*): Likewise.
40344         (bsdi*): Likewise.
40345         (osf*): Likewise.
40346         (sunos*): Likewise.
40347         (ultrix*): Likewise.
40348         (newsos*): Likewise.
40349         (dynix*): Likewise.
40350         (*bsd*): Likewise.
40351         (sysv*): Likewise.
40352         (isc*): Likewise.
40353         (esix*): Likewise.
40354         (sco*): Likewise.
40355         (minix*): Likewise.
40356         (irix4*): Likewise.
40357         (irix6*): Likewise.
40358         (solaris[2-9]*): Likewise.
40359         (none): Likewise.
40360         * configure: Regenerated.
40362 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40364         [BZ #11521]
40365         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40366         overflow or cancellation in calculating denominator.
40367         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40368         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40369         down expression to avoid unexpected rounding in newer GCCs.
40370         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40372 2012-04-26  David S. Miller  <davem@davemloft.net>
40374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40375         long-double compat symbols.
40376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40390 2012-04-25  David S. Miller  <davem@davemloft.net>
40392         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40393         HWCAP_* values only after the memory barriers have been defined.
40394         (atomic_full_barrier): Define.
40395         (atomic_read_barrier): Define.
40396         (atomic_write_barrier): Define.
40398 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40400         * shlib-versions: Add libgcc_s version information.
40401         * sysdeps/generic/libgcc_s.h: Remove.
40402         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40403         libgcc_s.h.
40404         * sysdeps/gnu/unwind-resume.c: Likewise.
40405         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40407 2012-04-25  David S. Miller  <davem@davemloft.net>
40409         * sysdeps/unix/sparc/brk.S: Delete.
40410         * sysdeps/unix/sparc/dl-brk.S: Delete.
40411         * sysdeps/unix/sparc/pipe.S: Delete.
40412         * sysdeps/unix/sparc/sysdep.S: Delete.
40413         * sysdeps/unix/sparc/sysdep.h: Delete.
40414         * sysdeps/unix/sparc/vfork.S: Delete.
40415         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40416         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40417         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40418         (ret_ERRVAL, r0, r1, MOVE): Define.
40419         (JUMPTARGET): Remove.
40420         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40421         sysdeps/unix/sparc/sysdep.h
40422         (ENTRY, END): Remove.
40423         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40425 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
40427         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40428         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40429         -DIS_IN_build.
40431         * timezone/README: Update upstream location and email address for
40432         tzcode and tzdata.
40433         * timezone/zdump.c: Update from tzcode 2012b.
40434         * timezone/zic.c: Likewise.
40436         * configure.in (libc_cv_as_needed): Remove test.
40437         * configure: Regenerated.
40438         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40439         conditional definition.
40440         [$(have-as-needed) != yes] (no-as-needed): Likewise.
40441         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40442         * config.make.in (have-as-needed): Remove variable.
40444 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40445             Paul Pluzhnikov  <ppluzhnikov@google.com>
40447         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40448         strings correctly.
40450 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
40452         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40453         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40454         * sysdeps/sh/strlen.S: Likewise.
40456 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40458         * sysdeps/unix/fork.S: Remove file.
40459         * sysdeps/unix/i386/fork.S: Likewise.
40460         * sysdeps/unix/sparc/fork.S: Likewise.
40462         * sysdeps/unix/system.c: Remove file.
40463         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40465         * sysdeps/unix/getegid.S: Remove file.
40466         * sysdeps/unix/geteuid.S: Likewise.
40468 2012-04-24  Roland McGrath  <roland@hack.frob.com>
40470         * scripts/check-localplt.awk: New file.
40471         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40472         of diff.
40473         * scripts/data/localplt-generic.data: Add a comment.
40475         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40476         NODE when __dir_mkfile failed.
40477         * sysdeps/mach/hurd/symlinkat.c: Likewise.
40478         Reported by Ludovic Courtès <ludo@gnu.org>.
40480 2012-04-24  Andreas Jaeger  <aj@suse.de>
40482         * Makerules (common-clean): Also remove gen-as-const-headers
40483         files.
40485 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40487         * Makerules (native-compile): Do not change working directory for
40488         build.  Use $(OUTPUT_OPTION) in command.
40489         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40491 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40493         [BZ #13886]
40494         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40495         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40496         * math/libm-test.inc (floor_test): Add more tests.
40497         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40499 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40501         * sysdeps/unix/getdents.c: Remove file.
40502         * sysdeps/unix/sysv/getdents.c: Likewise.
40503         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40505         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40506         sysdeps/unix/mman/syscalls.list.
40507         (mmap): Likewise.
40508         (mprotect): Likewise.
40509         (msync): Likewise.
40510         (munmap): Likewise.
40511         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40512         * sysdeps/unix/mman/syscalls.list: Remove.
40513         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40515         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40516         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40517         * configure: Regenerated.
40518         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40519         $(libgcc_s_suffix).
40520         * config.make.in (libgcc_s_suffix): Remove variable.
40522 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40524         * sysdeps/unix/sysv/gethostname.c: Move to ...
40525         * sysdeps/posix/gethostname.c: ... here.
40527         * sysdeps/unix/execve.S: Remove file.
40529         * sysdeps/unix/_exit.S: Remove file.
40531 2012-04-23  Andreas Jaeger  <aj@suse.de>
40533         [BZ #13739]
40534         * manual/Makefile: Remove make dist support, there's no
40535         need for a stand-alone documentation tar ball.
40536         (TEXI2DVI): Define always, it's not in Makeconfig.
40537         (dist): Removed.
40538         (tar-it): Removed.
40539         (edition): Removed.
40540         (glibc-doc-$(edition).tar): Removed
40541         (%.Z): Removed.
40542         (%.gz): Removed.
40543         (%.uu): Removed.
40544         (ETAGS): Remove, it's in Makeconfig.
40545         (move-if-change): Remove, it's in Makeconfig.
40547 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40549         [BZ #13970]
40550         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40551         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40552         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40553         (strtod_l, strtof_l, strtold_l): Remove __wur.
40554         It is not necessarily an error to ignore strtol's return value.
40555         One can reliably look at the stored endptr to decide whether
40556         the number had valid syntax.
40558 2012-04-21  Andreas Jaeger  <aj@suse.de>
40560         [BZ #13739]
40561         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40563 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40565         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40566         * sysdeps/unix/sysv/Versions: Remove file.
40568 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40570         [BZ #13927]
40571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40573 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40575         [BZ #7064]
40576         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40577         version from __vm86.
40579 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40581         * sysdeps/unix/common/lxstat.c: Remove file.
40582         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40584         * sysdeps/unix/sysv/Makefile: Remove file.
40586         * sysdeps/unix/sysv/direct.h: Remove file.
40588         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40589         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40590         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40591         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40592         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40593         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40594         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40596         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40598         * sysdeps/unix/xmknod.c: Remove file.
40599         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40601         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40603         * sysdeps/unix/sysv/i386/time.S: Remove file.
40605         * sysdeps/unix/fxstat.c: Remove file.
40606         * sysdeps/unix/xstat.c: Likewise.
40607         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40609         * sysdeps/unix/sysv/sigaction.c: Remove file.
40611         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40612         (sysdep_headers): Remove variable.
40613         [termio.h not in sysdep_headers] (generated): Likewise.
40614         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40615         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40616         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40617         * sysdeps/unix/sysv/tcflow.c: Likewise.
40618         * sysdeps/unix/sysv/tcflush.c: Likewise.
40619         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40620         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40621         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40622         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40623         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40625         * sysdeps/unix/siglist.c: Remove file.
40627         * sysdeps/unix/getppid.S: Remove file.
40629         * sysdeps/unix/mkdir.c: Remove file.
40630         * sysdeps/unix/rmdir.c: Likewise.
40632 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40634         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40635         ERR_MAX value.
40636         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40637         errlist-compat value.
40639 2012-04-18  David S. Miller  <davem@davemloft.net>
40641         * sysdeps/generic/memcopy.h (reg_char): Delete.
40642         * debug/strcat_chk.c: Use char, not reg_char.
40643         * debug/strcpy_chk.c: Likewise.
40644         * debug/strncat_chk.c: Likewise.
40645         * debug/strncpy_chk.c: Likewise.
40646         * string/memchr.c: Likewise.
40647         * string/memrchr.c: Likewise.
40648         * string/rawmemchr.c: Likewise.
40649         * string/strcat.c: Likewise.
40650         * string/strchr.c: Likewise.
40651         * string/strchrnul.c: Likewise.
40652         * string/strcmp.c: Likewise.
40653         * string/strcpy.c: Likewise.
40654         * string/strncat.c: Likewise.
40655         * string/strncmp.c: Likewise.
40656         * string/strncpy.c: Likewise.
40658 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40660         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40661         __builtin_memcopy is called when src and dest ranges are known to not
40662         overlap.
40664 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40666         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40667         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40668         fwd_align_merge macro call.
40669         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40670         bwd_align_merge macro call.
40671         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40673 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40675         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40676         bwd_align_merge macros.
40677         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40678         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40679         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40681 2012-04-18  David S. Miller  <davem@davemloft.net>
40683         * sysdeps/sparc/sparc64/memcopy.h: Delete.
40685 2012-04-18  Andreas Jaeger  <aj@suse.de>
40687         [BZ# 6794]
40688         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40689         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40690         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40692         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40693         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40694         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40696         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40697         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40698         Adjust for changed ldbl-128 files.
40700         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40701         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40702         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40704 2012-04-17  David S. Miller  <davem@davemloft.net>
40706         * sysdeps/sparc/sparc32/memcopy.h: Delete.
40708 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
40710         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40711         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40712         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40713         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40714         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40715         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40717 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40719         [BZ #6794]
40720         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40721         * math/libm-test.inc: Add ilogb errno and exception tests.
40722         * math/w_ilogb.c: New file: ilogb wrapper.
40723         * math/w_ilogbf.c: New file: ilogbf wrapper.
40724         * math/w_ilogbl.c: New file: ilogbl wrapper.
40725         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40726         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40727         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40728         exception being thrown with 0.0 as argument.
40729         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40730         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40731         exception being thrown with 0.0 as argument.
40732         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40733         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40734         exception being thrown with 0.0 as argument.
40735         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40736         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40737         exception being thrown with 0.0 as argument.
40738         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40739         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40740         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40741         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40742         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40743         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40744         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40745         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40746         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40748 2012-04-17  Petr Baudis  <pasky@ucw.cz>
40750         * include/sys/uio.h: Change __vector to __iovec to avoid clash
40751         with altivec.
40753 2012-04-16  Marek Polacek  <polacek@redhat.com>
40755         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40757 2012-04-16  Marek Polacek  <polacek@redhat.com>
40759         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40760         operands of fdivp instruction.
40762 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40764         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40765         * elf/tst-auditmod3b.c: Likewise.
40766         * elf/tst-auditmod4b.c: Likewise.
40767         * elf/tst-auditmod5b.c: Likewise.
40768         * elf/tst-auditmod6b.c: Likewise.
40769         * elf/tst-auditmod6c.c: Likewise.
40770         * elf/tst-auditmod7b.c: Likewise.
40771         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40772         * sysdeps/x86_64/preconfigure.in: Likewise.
40773         * sysdeps/x86_64/preconfigure: Regenerated.
40775 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40777         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40778         __ILP32__.
40780 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
40782         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40783         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40785 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
40787         [BZ #13973]
40788         * locale/iso-639.def: Fix gl language name. Spotted by
40789         Yaron Shahrabani.
40791 2012-04-12  Roland McGrath  <roland@hack.frob.com>
40793         [BZ #2074]
40794         * libio/libio.h (__io_write_fn): Update comment.
40796 2012-04-12  Petr Baudis  <pasky@ucw.cz>
40798         [BZ #2074]
40799         * stdio.texi (Hook Functions): The user provided writer function
40800         is not allowed to return -1.
40802 2012-04-11  David S. Miller  <davem@davemloft.net>
40804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40806 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
40808         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40809         Add a leading slash to rtkaio.
40811 2012-04-11  Jim Meyering  <meyering@redhat.com>
40813         [BZ #11959]
40814         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40815         It is not necessarily an error to ignore fwrite's return
40816         value.  One can reliably use ferror to test for errors after
40817         the fact.
40819 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40821         * bits/types.h (__snseconds_t): New type.
40822         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40824         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40825         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40826         (__SNSECONDS_T_TYPE): Likewise.
40827         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40828         (__SNSECONDS_T_TYPE): Likewise.
40829         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40830         (__SNSECONDS_T_TYPE): Likewise.
40832 2012-04-10  Andreas Jaeger  <aj@suse.de>
40834         [BZ #2636]
40835         * manual/time.texi (Processor Time): Return type of times is
40836         elapsed real time since an arbitrary point in the past.
40837         (CPU Time): Move CLK_TCK from here...
40838         (Processor Time): ...to here.  Correct description.
40839         * manual/conf.texi (Constants for Sysconf): Correct description of
40840         _SC_CLK_TCK.
40842 2012-04-10  David S. Miller  <davem@davemloft.net>
40844         [BZ #13967]
40845         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40846         where the is a gap between DT_REL(A) and DT_JMPREL.
40848 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40850         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40851         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40852         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40854 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40856         * elf/dl-support.c (_dl_inhibit_cache): New variable.
40857         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40858         (dl_main): Handle --inhibit-cache.
40859         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40860         _dl_inhibit_cache.
40861         * elf/dl-load.c (_dl_map_object): Use it.
40862         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40864 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40866         [BZ #13872]
40867         * sysdeps/i386/fpu/e_powl.S (p78): New object.
40868         (__ieee754_powl): Saturate large exponents rather than testing for
40869         overflow of y*log2(x).
40870         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40871         * math/libm-test.inc (pow_test): Do not permit spurious overflow
40872         exceptions.
40874         [BZ #11521]
40875         * math/s_ctan.c: Include <float.h>.
40876         (__ctan): Avoid internal overflow or cancellation in calculating
40877         denominator.
40878         * math/s_ctanf.c: Likewise.
40879         * math/s_ctanl.c: Likewise.
40880         * math/s_ctanh.c: Likewise.
40881         * math/s_ctanhf.c: Likewise.
40882         * math/s_ctanhl.c: Likewise.
40883         * math/libm-test.inc (ctan_test): Add more tests.
40884         (ctanh_test): Likewise.
40885         * sysdeps/i386/fpu/libm-test-ulps: Update.
40886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40888 2012-04-09  Andreas Jaeger  <aj@suse.de>
40890         [BZ #6894]
40891         * manual/filesys.texi (Directory Entries): Mention that d_namlen
40892         is an optional BSD extension.
40894         [BZ #10254]
40895         * manual/stdio.texi (Opening Streams): Document additional fopen
40896         parameters.
40898 2012-04-09  Roland McGrath  <roland@hack.frob.com>
40900         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40901         %eax without telling the compiler.
40903 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
40905         [BZ # 13963]
40906         * manual/install.texi: Use sourceware.org.
40908 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40910         [BZ #13873]
40911         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40912         (__ieee754_pow): Generate overflow and underflow using huge*huge
40913         and tiny*tiny rather than just returning constant infinity or zero
40914         for large exponents.
40915         * math/libm-test.inc (pow_test): Require overflow exceptions for
40916         applicable cases of large exponents.
40918         [BZ #706]
40919         * sysdeps/i386/fpu/e_pow.S (p10): New object.
40920         (__ieee754_pow): Use iterative multiplication algorithm only for
40921         integer exponents with absolute value below 1024.  Check for odd
40922         integer exponents when using algorithm for real exponents.
40923         * math/libm-test.inc (pow_test): Add more tests.
40924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40926 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
40928         [BZ #13705]
40929         * math/libm-test.inc (exp_test): Do not allow overflow exception
40930         on underflow test.
40932 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
40934         [BZ #13705]
40935         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40936         instead of __kernel_standard_f.
40938 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
40940         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40941         * sysdeps/x86_64/memset_chk.S: Likewise.
40943 2012-04-08  Andreas Jaeger  <aj@suse.de>
40945         [BZ #10153]
40946         * manual/startup.texi (Environment Access): Describe return value
40947         for putenv and setenv.
40949         [BZ #6895]
40950         * manual/filesys.texi (Directory Entries): Add description for
40951         DT_LNK.
40953         [BZ #6890]
40954         * manual/filesys.texi (Directory Entries): Clarify that it's file
40955         system not operating system in the description of DT_UNKNOWN.
40957         [BZ #6578]
40958         * manual/syslog.texi (closelog): Fix reference, it's openlog.
40960 2012-04-08  Stephen Compall  <s11@member.fsf.org>
40962         [BZ #6649]
40963         * manual/llio.texi (Opening and Closing Files): Add cross
40964         reference to explain mode argument.
40966 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
40968         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40969         * sysdeps/x86_64/memset_chk.S: Likewise.
40971 2012-04-07  David S. Miller  <davem@davemloft.net>
40973         * elf/elf.h (R_SPARC_WDISP10): Define.
40974         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40975         R_SPARC_SIZE32.
40976         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40977         R_SPARC_SIZE64 and R_SPARC_H34.
40979 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
40981         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40982         conditions and remove no longer applicable assertion.
40984 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40986         * bits/byteswap.h: Include <features.h>.
40987         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40988         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40990 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40992         * bits/byteswap.h (__bswap_16): Removed.
40993         Include <bits/byteswap-16.h> to get __bswap_16.
40994         * sysdeps/i386/bits/byteswap.h: Likewise.
40995         * sysdeps/s390/bits/byteswap.h: Likewise.
40996         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40997         * bits/byteswap-16.h: New file.
40998         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40999         * sysdeps/s390/bits/byteswap-16.h: Likewise.
41000         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41001         * string/Makefile (headers): Add bits/byteswap-16.h.
41003 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41005         [BZ #13895]
41006         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41007         extra indirection.
41008         * nss/Makefile (tests-static, tests): Add tst-nss-static.
41009         * nss/tst-nss-static.c: New.
41011 2012-04-06  Robert Millan  <rmh@gnu.org>
41013         [BZ #6486]
41014         * manual/llio.texi (File Position Primitive): lseek
41015         refers to WHENCE when it really means OFFSET.
41017 2012-04-06  Andreas Jaeger  <aj@suse.de>
41019         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41020         strncmp declarations.
41022         * abilist/libc.abilist: Add __poll and __ppoll.
41024 2012-04-05  David S. Miller  <davem@davemloft.net>
41026         * scripts/check-local-headers.sh: Accept a host triplet in the
41027         path matched by the exclude regexp.
41029         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41030         definition.
41031         * sysdeps/powerpc/powerpc32/dl-machine.h
41032         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41033         * sysdeps/s390/s390-32/dl-machine.h
41034         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41035         * sysdeps/sparc/sparc32/dl-machine.h
41036         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41037         * sysdeps/sparc/sparc64/dl-machine.h
41038         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41040         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41041         lazy binding.
41042         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41043         undefined symbol errors.
41045         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41046         DT_NEEDED entries.
41048 2012-04-05  Michael Matz  <matz@suse.de>
41050         [BZ #13592]
41051         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41053 2012-04-05  Andreas Jaeger  <aj@suse.de>
41055         [BZ #13908]
41056         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41057         comment.
41059 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41061         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41062         which ROUND is no valid rounding mode.
41064 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41066         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41067         read again.
41068         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41070 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41072         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41073         an exception using FPU order intentionally.
41075 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41077         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41078         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41079         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41080         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41082 2012-04-05  Simon Josefsson  <simon@josefsson.org>
41084         [BZ #12340]
41085         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41086         EINVAL when BUFLEN is too smal.
41088 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41090         [BZ #13553]
41091         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41092         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41094 2012-04-03  Andreas Jaeger  <aj@suse.de>
41096         [BZ #13938]
41097         * manual/setjmp.texi (System V contexts): Fix sentence.
41099         [BZ #13926]
41100         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41101         New macro for this case.
41102         [!__GNUC__] (__bswap_64): New inline function for this case.
41103         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41104         * bits/byteswap.h: Likewise.
41105         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41106         ull, guard with __GLIBC_HAVE_LONG_LONG.
41108         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41109         __GLIBC_HAVE_LONG_LONG.
41111         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41112         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41114 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41116         [BZ #13691]
41117         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41118         inptr and inend, rather than using last_ch.
41120 2012-04-02  David S. Miller  <davem@davemloft.net>
41122         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41123         * stdio-common/printf-parse.h (read_int): Change return type to
41124         'int', return -1 on INT_MAX overflow.
41125         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41126         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
41127         overflows INT_MAX.  Check for overflow of in-format-string precision
41128         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
41129         SIZE_MAX not INT_MAX for integer overflow test.
41130         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41131         skip the construct in the format string but do not record anything.
41132         * stdio-common/bug22.c: Adjust to test both width/prevision
41133         INT_MAX overflow as well as total length INT_MAX overflow.  Check
41134         explicitly for proper errno values.
41136 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41138         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41139         CHAR_MAX.
41140         * string/test-strcmp.c [! WIDE]: Likewise.
41141         * time/tst-mktime2.c: Likewise for INT_MAX.
41142         * string/test-string.h: #include <sys/param.h> for MIN.
41144         * csu/init-first.c (__libc_init_first): Call __ctype_init.
41145         * sysdeps/i386/init-first.c (init): Likewise.
41146         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41147         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41148         * sysdeps/sh/init-first.c (init): Likewise.
41150 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
41152         * po/ru.po: Update from translation team.
41153         * po/vi.po: Likewise.
41155 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41157         * resolv/nss_dns/dns-host.c: Merge copyright years.
41159 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41161         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41162         Optimize memcpy with prefetch if
41163         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
41164         src, dst pointers have unequal 16 byte alignments.
41166 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41168         [BZ #13928]
41169         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41170         from a CNAME entry and return the minimum ttl for the query.
41171         (gaih_getanswer_slice): Likewise.
41173 2012-03-30  Jeff Law  <law@redhat.com>
41175         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41176         due to long keys.
41177         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41178         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41180         * resolv/nss_dns/dns-host.c: Update copyright year.
41182 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
41184         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41185         requests to save a system call.  Fix check that all bytes are sent.
41187         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41188         comments for sendmmsg.
41190 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41192         [BZ #13691]
41193         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41194         with only 1 character between 0x0041 and 0x01b0.
41195         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41196         * wcsmbs/tst-mbsnrtowcs.c: New file.
41198 2012-03-29  David S. Miller  <davem@davemloft.net>
41200         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41201         small copies by hand.
41203 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41205         [BZ #13761]
41206         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41207         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41208         group memberships.
41210 2012-03-28  David S. Miller  <davem@davemloft.net>
41212         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41213         that branches into memcpy.
41214         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41215         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41216         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41217         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41218         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41219         bits.
41220         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41221         implementation too.
41222         * sysdeps/sparc/mempcpy.S: New file.
41224         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41225         the IFUNC routine in the libc case.
41226         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41228         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41229         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41230         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41231         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41232         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41233         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41234         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41235         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41237         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41238         loop to 256 bytes instead of 64 bytes and fix test signedness.
41240         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41241         * sysdeps/sparc/sparc32/Makefile: rather than here...
41242         * sysdeps/sparc/sparc64/Makefile: and here.
41244 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
41246         * malloc/mallocbug.c: Avoid warnings about unused variables.
41248 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41250         [BZ #13760]
41251         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41252         in the right place. Discard and retry query if response is
41253         larger than input buffer size.
41255 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
41257         [BZ #369]
41258         [BZ #2678]
41259         [BZ #3866]
41260         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41261         x for large integer exponent.
41262         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41263         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
41264         sign of result as needed afterwards.
41265         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41266         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41267         result for underflowing pow the same as for overflow.
41268         (__kernel_standard_l): Handle powl overflow and underflow here
41269         rather than calling __kernel_standard.
41270         * math/libm-test.inc (pow_test): Add more tests.
41272         [BZ #3868]
41273         [BZ #13879]
41274         [BZ #13910]
41275         [BZ #13911]
41276         [BZ #13912]
41277         [BZ #13913]
41278         [BZ #13915]
41279         [BZ #13916]
41280         [BZ #13917]
41281         [BZ #13918]
41282         [BZ #13919]
41283         [BZ #13920]
41284         [BZ #13921]
41285         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41286         * sysdeps/ieee754/k_standard.c: Include <float.h>.
41287         (__kernel_standard_l): New function.
41288         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41289         __kernel_standard.
41290         * math/w_acosl.c (__acosl): Likewise.
41291         * math/w_asinl.c (__asinl): Likewise.
41292         * math/w_atan2l.c (__atan2l): Likewise.
41293         * math/w_atanhl.c (__atanhl): Likewise.
41294         * math/w_coshl.c (__coshl): Likewise.
41295         * math/w_exp10l.c (__exp10l): Likewise.
41296         * math/w_exp2l.c (__exp2l): Likewise.
41297         * math/w_fmodl.c (__fmodl): Likewise.
41298         * math/w_hypotl.c (__hypotl): Likewise.
41299         * math/w_j0l.c (__j0l, __y0l): Likewise.
41300         * math/w_j1l.c (__j1l, __y1l): Likewise.
41301         * math/w_jnl.c (__jnl, __ynl): Likewise.
41302         * math/w_lgammal.c (__lgammal): Likewise.
41303         * math/w_log10l.c (__log10l): Likewise.
41304         * math/w_log2l.c (__log2l): Likewise.
41305         * math/w_logl.c (__logl): Likewise.
41306         * math/w_powl.c (__powl): Likewise.
41307         * math/w_remainderl.c (__remainderl): Likewise.
41308         * math/w_scalbl.c (sysv_scalbl): Likewise.
41309         * math/w_sinhl.c (__sinhl): Likewise.
41310         * math/w_sqrtl.c (__sqrtl): Likewise.
41311         * math/w_tgammal.c (__tgammal): Likewise.
41312         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41313         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41314         * math/libm-test.inc (acos_test): Add more tests.
41315         (acosh_test): Likewise.
41316         (asin_test): Likewise.
41317         (atanh_test): Likewise.
41318         (exp_test): Likewise.
41319         (exp10_test): Likewise.
41320         (exp2_test): Likewise.
41321         (expm1_test): Likewise.
41322         (lgamma_test): Likewise.
41323         (log_test): Likewise.
41324         (log10_test): Likewise.
41325         (log1p_test): Likewise.
41326         (log2_test): Likewise.
41327         (pow_test): Do not allow some spurious overflow exceptions.
41328         (sqrt_test): Add more tests.
41329         (tgamma_test): Likewise.
41330         (y0_test): Likewise.
41331         (y1_test): Likewise.
41332         (yn_test): Likewise.
41334 2012-03-27  Anton Blanchard  <anton@samba.org>
41336         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41337         MAP_HUGETLB.
41338         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41339         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41340         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41342 2012-03-27  David S. Miller  <davem@davemloft.net>
41344         * conform/Makefile: Run run-conformtest.sh using $(BASH).
41346         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41347         have-as-vis3 check.
41349 2012-03-27  Andreas Jaeger  <aj@suse.de>
41351         * sysdeps/x86_64/elf/configure.in: Moved to ...
41352         * sysdeps/x86_64/configure.in: ... here.
41353         * sysdeps/x86_64/elf/start.S: Moved to ...
41354         * sysdeps/x86_64/start.S: ... here.
41355         * sysdeps/x86_64/elf/configure: Delete.
41357         * sysdeps/x86_64/configure.in: Merge contents from
41358         sysdeps/i386/configure.in (without i686 check).
41360         * sysdeps/i386/elf/Versions: Merge into ...
41361         * sysdeps/i386/Versions: ... this.
41362         * sysdeps/i386/elf/Versions: Delete file.
41363         * sysdeps/i386/elf/start.S: Moved to ...
41364         * sysdeps/i386/start.S: ...here.
41365         * sysdeps/i386/elf/configure.in: Merge into...
41366         * sysdeps/i386/configure.in: ...here.
41367         * sysdeps/i386/elf/configure.in: Delete file.
41368         * sysdeps/i386/elf/configure: Delete file.
41370         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41371         * debug/backtracesyms.c: ... here.
41372         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41373         * debug/backtracesymsfd.c: ... here.
41374         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41375         * sysdeps/generic/ifunc-sel.h: ... here.
41377         * sysdeps/unix/i386/start.c: Delete file.
41378         * sysdeps/unix/sparc/start.c: Delete file.
41379         * sysdeps/unix/start.c: Delete file.
41381         * sysdeps/sh/elf/configure.in: Moved to ...
41382         * sysdeps/sh/configure.in: ... here.
41383         * sysdeps/sh/elf/start.S: Moved to ...
41384         * sysdeps/sh/start.S: ... here.
41385         * sysdeps/sh/elf/configure: Delete file.
41387         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41388         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41389         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41390         * sysdeps/powerpc/powerpc64/entry.h: ... here.
41391         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41392         * sysdeps/powerpc/powerpc64/start.S: here.
41393         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41394         * sysdeps/powerpc/powerpc64/Makefile: ... this.
41395         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41396         * sysdeps/powerpc/powerpc64/configure.in: ... this.
41397         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41399         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41400         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41401         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41402         * sysdeps/powerpc/powerpc32/start.S: ... here.
41403         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41404         * sysdeps/powerpc/powerpc32/configure.in: ... this.
41405         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41407         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41408         * sysdeps/powerpc/ifunc-sel.h: ... here.
41409         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41410         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41412         * sysdeps/sparc/elf/configure.in: Moved to ...
41413         * sysdeps/sparc/configure.in: ... here.
41414         * sysdeps/sparc/elf/configure: Delete file.
41415         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41416         * sysdeps/sparc/sparc32/start.S: ... here.
41417         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41418         * sysdeps/sparc/sparc64/start.S: ... here.
41419         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41420         * sysdeps/sparc/sparc32/Makefile: ... this.
41421         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41422         * sysdeps/sparc/sparc64/Makefile: ... this.
41424         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41425         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41426         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41427         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41428         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41429         * sysdeps/s390/s390-32/setjmp.S: ... here.
41430         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41431         * sysdeps/s390/s390-32/configure.in: ... here.
41432         * sysdeps/s390/s390-32/elf/configure: Delete file.
41433         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41434         * sysdeps/s390/s390-32/start.S: ... here.
41436         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41437         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41438         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41439         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41440         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41441         * sysdeps/s390/s390-64/setjmp.S: ... here.
41442         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41443         * sysdeps/s390/s390-64/configure.in: ... here
41444         * sysdeps/s390/s390-64/elf/configure: Delete file.
41445         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41446         * sysdeps/s390/s390-64/start.S: ... here.
41447         * sysdeps/s390/s390-64/elf/configure: Delete.
41449         * configure.in: Remove support for elf directories in sysdeps.
41451         * configure: Regenerated.
41452         * sysdeps/i386/configure: Regenerated.
41453         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41454         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41455         * sysdeps/s390/s390-32/configure: Regenerated.
41456         * sysdeps/s390/s390-64/configure: Regenerated.
41457         * sysdeps/sh/configure: Regenerated.
41458         * sysdeps/sparc/configure: Regenerated.
41459         * sysdeps/x86_64/configure: Regenerated.
41461 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
41463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41465         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41466         denormal result into account.
41468 2012-03-25  Roland McGrath  <roland@hack.frob.com>
41470         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41471         Reported by Allan McRae <allan@archlinux.org>.
41473 2012-03-23  Jeff Law  <law@redhat.com>
41475         * nss/getnssent.c (__nss_getent): Fix typo.
41477 2012-03-23  David S. Miller  <davem@davemloft.net>
41479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41481 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41483         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41484         to pad to uint64_t for each field.
41485         (dl_tls_index): Replace unsigned long with uint64_t.
41487 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41488         Paul Pluzhnikov  <ppluzhnikov@google.com>
41490         [BZ #6528]
41491         * grp/Makefile (otherlibs): Don't set it.
41492         * inet/Makefile (otherlibs): Likewise.
41493         * login/Makefile (otherlibs): Likewise.
41494         * nscd/Makefile (otherlibs): Likewise.
41495         * posix/Makefile (otherlibs): Likewise.
41496         * pwd/Makefile (otherlibs): Likewise.
41497         * rt/Makefile (otherlibs): Likewise.
41498         * sunrpc/Makefile (otherlibs): Likewise.
41499         * nss/Makefile (otherlibs): Likewise.
41500         Add libnss_files to routines and static-only-routines.
41501         ($(objpfx)getent): Remove rule.
41502         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41503         static-only-routines.
41505 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41507         [BZ #13892]
41508         * math/s_cexp.c: Include <float.h>.
41509         (__cexp): Handle exp result overflowing not necessarily
41510         overflowing both real and imaginary parts of result.
41511         * math/s_cexpf.c: Likewise.
41512         * math/s_cexpl.c: Likewise.
41513         * math/libm-test.inc (cexp_test): Add more tests.
41514         * sysdeps/i386/fpu/libm-test-ulps: Update.
41515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41517 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41519         * include/link.h (ELFW): New macro.
41520         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41521         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41523 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41525         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41526         with uint64_t.
41528 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41530         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41531         declaration.
41532         (struct La_x32_retval): Likewise.
41534 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41536         * sysdeps/x86_64/preconfigure.in: New file.
41537         * sysdeps/x86_64/preconfigure: New generated file.
41539 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41541         [BZ #13824]
41542         * math/e_exp2l.c: Include <float.h>.
41543         (__ieee754_exp2l): Handle overflow and underflow cases
41544         separately.  Only pass fractional part of argument to
41545         __ieee754_expl.
41546         * math/libm-test.inc (exp2_test): Add more tests.
41548         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41549         negating x to take absolute value.
41550         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41551         Likewise.
41552         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41553         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41554         Likewise.
41555         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41556         computing low part if x was negated.
41557         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41559 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41561         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41562         la_x32_gnu_pltexit.
41563         (pltexit): Cast int_retval to ptrdiff_t.
41564         * elf/tst-auditmod3b.c: Likewise.
41565         * elf/tst-auditmod4b.c: Likewise.
41566         * elf/tst-auditmod5b.c: Likewise.
41567         * elf/tst-auditmod6b.c: Likewise.
41568         * elf/tst-auditmod6c.c: Likewise.
41569         * elf/tst-auditmod7b.c: Likewise.
41571         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41572         and x32_gnu_pltexit.
41574         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41575         __ELF_NATIVE_CLASS.
41576         (La_x32_regs): New macro.
41577         (La_x32_retval): Likewise.
41578         (la_x32_gnu_pltenter): New function prototype.
41579         (la_x32_gnu_pltexit): Likewise.
41581 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41583         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41584         exponent.
41586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41588         * configure.in (libc_cv_cc_nofma): Check for option to disable
41589         generation of FMA instructions.
41590         * configure: Regenerate.
41591         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41592         * sysdeps/ieee754/dbl-64/Makefile: New file.
41593         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41594         Remove brandred-fma4.
41595         (CFLAGS-brandred-fma4.c): Remove.
41596         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41597         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41598         define.
41599         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41600         define.
41602 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41604         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41605         LLONG_MAX != LONG_MAX.
41606         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41607         (_fitoa_word): Likewise.
41608         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41609         LLONG_MAX != LONG_MAX.
41610         * stdio-common/_itowa.h: Include <_itoa.h>.
41611         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41612         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41613         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41614         only if not defined.
41615         (_ITOA_WORD_TYPE): Likewise.
41616         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41617         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41619 2012-03-21  David S. Miller  <davem@davemloft.net>
41621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41623 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41625         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41626         of x86_64 when setting libc_cv_slibdir, libdir and
41627         libc_cv_localedir.
41628         * sysdeps/unix/sysv/linux/configure: Regenerated.
41630 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41632         * manual/lang.texi (Old Varargs): Remove section.
41633         (How Variadic): Update menu.
41634         (va_start): Do not mention varargs.h.
41636 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41637             Joseph Myers  <joseph@codesourcery.com>
41639         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41640         link test.
41641         * configure: Regenerated.
41643 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41645         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41646         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41647         conformtest.pl
41649 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41651         * NOTES: Remove.
41652         * Makefile (files-for-dist): Remove NOTES.
41653         (NOTES): Remove rule.
41654         * README: Don't refer to NOTES.
41655         * manual/creature.texi: Don't include macros.texi.
41656         * manual/intro.texi (creature.texi): Remove comment referring to
41657         NOTES.
41659         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41660         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41661         * configure: Regenerated.
41662         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41663         LIBC_TRY_CC_OPTION.
41664         (libc_cv_as_i686): Likewise.
41665         (libc_cv_cc_avx): Likewise.
41666         (libc_cv_cc_sse2avx): Likewise.
41667         (libc_cv_cc_fma4): Likewise.
41668         (libc_cv_cc_novzeroupper): Likewise.
41669         * sysdeps/i386/configure: Regenerated.
41671         [BZ #13883]
41672         * sysdeps/i386/fpu/s_cexp.S: Remove.
41673         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41674         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41675         * math/libm-test.inc (cexp_test): Add more tests.
41676         * sysdeps/i386/fpu/libm-test-ulps: Update.
41677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41679 2012-03-21  Allan McRae  <allan@archlinux.org>
41681         * timezone/Makefile: Do not install iso3166.tab and zone.tab
41683 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41685         [BZ #13871]
41686         * math/w_exp2.c: Do not include <float.h>.
41687         (o_threshold, u_threshold): Remove.
41688         (__exp2): Calculate result before checking finiteness and calling
41689         __kernel_standard.
41690         * math/w_exp2f.c: Likewise.
41691         * math/w_exp2l.c: Likewise.
41692         * math/libm-test.inc (exp2_test): Require overflow exception for
41693         1e6 input.
41695         [BZ #3866]
41696         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41697         range of signed 64-bit integers before using fistpll.  Remove
41698         checks for whether integers fit in mantissa bits.
41699         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41700         the range of signed 32-bit integers before using fistpl.  Remove
41701         checks for whether integers fit in mantissa bits.
41702         * sysdeps/i386/fpu/e_powl.S (p64): New object.
41703         (__ieee754_powl): Test for y outside the range of signed 64-bit
41704         integers before using fistpll.  Reduce 64-bit values to 63-bit
41705         ones as needed.
41706         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41707         divide-by-zero is raised for zero to large negative powers.
41708         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41709         (__ieee754_powl): Test for y outside the range of signed 64-bit
41710         integers before using fistpll.  Reduce 64-bit values to 63-bit
41711         ones as needed.
41712         * math/libm-test.inc (pow_test): Add more tests.
41714 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41716         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41717         <stdio-common/_itoa.h>.
41718         * debug/segfault.c: Likewise.
41719         * elf/dl-cache.c: Likewise.
41720         * elf/dl-minimal.c: Likewise.
41721         * elf/dl-misc.c: Likewise.
41722         * elf/dl-sysdep.c: Likewise.
41723         * elf/dl-version.c: Likewise.
41724         * elf/rtld.c: Likewise.
41725         * hurd/hurdsock.c: Likewise.
41726         * hurd/lookup-retry.c: Likewise.
41727         * malloc/malloc.c: Likewise.
41728         * malloc/mtrace.c: Likewise.
41729         * nscd/nscd_getgr_r.c: Likewise.
41730         * nscd/nscd_getpw_r.c: Likewise.
41731         * nscd/nscd_getserv_r.c: Likewise.
41732         * posix/getopt_init.c: Likewise.
41733         * posix/wordexp.c: Likewise.
41734         * stdio-common/_itoa.c: Likewise.
41735         * stdio-common/printf_fphex.c: Likewise.
41736         * stdio-common/vfprintf.c: Likewise.
41737         * string/_strerror.c: Likewise.
41738         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41739         * sysdeps/i386/i686/hp-timing.h: Likewise.
41740         * sysdeps/mach/_strerror.c: Likewise.
41741         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41742         * sysdeps/mach/hurd/sethostid.c: Likewise.
41743         * sysdeps/mach/hurd/xmknodat.c: Likewise.
41744         * sysdeps/mach/xpg-strerror.c: Likewise.
41745         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41746         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41747         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41748         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41749         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41750         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41751         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41752         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41753         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41754         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41755         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41756         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41757         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41758         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41759         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41760         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41761         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41762         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41763         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41764         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41765         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41767         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41769         * stdio-common/_itoa.h: Moved to ...
41770         * sysdeps/generic/_itoa.h: Here.
41772         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41774         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41775         instead of "_itoa.h" and "_itowa.h".
41776         * stdio-common/vfprintf.: Likewise.
41778 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41780         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41781         <bits/wordsize.h>.
41782         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41783         (__signbit): Likwise.
41784         (llrintf): Likwise.
41785         (llrint): Likwise.
41787 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41789         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41790         __WORDSIZE != 64.
41792 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
41794         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41795         OVERFLOW_EXCEPTION_OK.
41796         * math/libm-test.inc ("Philosophy"): Update comment about
41797         exception testing.
41798         (OVERFLOW_EXCEPTION): Define.
41799         (OVERFLOW_EXCEPTION_OK): Likewise.
41800         (INVALID_EXCEPTION_OK): Renumber.
41801         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41802         (IGNORE_ZERO_INF_SIGN): Likewise.
41803         (test_exceptions): Handle FE_OVERFLOW.
41804         (exp10_test): Expect overflow exceptions.
41805         (exp2_test): Likewise.
41806         (expm1_test): Likewise.
41807         (nextafter_test): Likewise.
41808         (pow_test): Likewise.
41809         (scalbn_test): Likewise.
41810         (scalbln_test): Likewise.
41812 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41814         * sysdeps/x86_64/bits/atomic.h
41815         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41816         64bit integer.
41817         (atomic_exchange_acq): Likewise.
41818         (__arch_exchange_and_add_body): Likewise.
41819         (__arch_add_body): Likewise.
41820         (atomic_add_negative): Likewise.
41821         (atomic_add_zero): Likewise.
41823 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41825         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41826         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41828 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41830         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41831         Check __x86_64__ instead of __WORDSIZE.
41833 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41835         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41837 2012-03-19  David S. Miller  <davem@davemloft.net>
41839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41841         * sysdeps/sparc/fpu/fenv_private.h: New file.
41842         * sysdeps/sparc/fpu/math_private.h: Use it.
41843         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41844         Remove.
41845         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41846         (libc_feholdexcept_setroundl): Remove.
41847         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41848         Remove.
41849         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41850         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41852 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41854         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41855         int64_t instead of long int.
41856         (INSERT_WORDS64): Likwise.
41858 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41860         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41861         _Unwind_GetCFA return to _Unwind_Ptr first.
41863 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
41865         [BZ #13629]
41866         * math/s_clog.c: Include <float.h>.
41867         (__clog): Scale large or subnormal inputs.
41868         * math/s_clogf.c: Likewise.
41869         * math/s_clogl.c: Likewise.
41870         * math/s_clog10.c: Include <float.h>.
41871         (M_LOG10_2): Define.
41872         (__clog10): Scale large or subnormal inputs.
41873         * math/s_clog10f.c: Likewise.
41874         * math/s_clog10l.c: Likewise.
41875         * math/libm-test.inc (clog_test): Add more tests.
41876         (clog10_test): Likewise.
41877         * sysdeps/i386/fpu/libm-test-ulps: Update.
41878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41880         [BZ #11451]
41881         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41882         x and y.
41883         * math/libm-test.inc (atan2_test): Add another test.
41885         * Makerules (common-objdir-compile): Remove.
41886         * sysdeps/unix/Makefile (config-generated): Do not add
41887         $(unix-generated) to variable.
41888         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41889         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41890         Remove rule.
41891         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41892         Likewise.
41893         [generic bits/local_lim.h] (before-compile): Do not append to
41894         variable.
41895         [generic bits/local_lim.h] (common-generated): Likewise.
41896         [generic sys/param.h] (before-compile): Do not append to variable.
41897         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41898         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41899         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41900         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41901         include.
41902         [generic sys/param.h] (sys/param.h-includes): Remove variable.
41903         [generic sys/param.h] (sys/param.h-includes): Remove rule.
41904         [generic sys/param.h] ($(addprefix
41905         $(common-objpfx),$(sys/param.h-includes))): Likewise.
41906         [generic sys/param.h] (common-generated): Do not append to
41907         variable.
41908         [generic sys/param.h] (sysdep_headers): Likewise.
41909         [generic bits/errno.h] (before-compile): Do not append to
41910         variable.
41911         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41912         rule.
41913         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41914         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41915         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41916         [generic bits/errno.h] (common-generated): Do not append to
41917         variable.
41918         [generic bits/ioctls.h] (before-compile): Do not append to
41919         variable.
41920         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41921         rule.
41922         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41923         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41924         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41925         rule.
41926         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41927         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41928         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41929         [generic bits/ioctls.h] (common-generated): Do not append to
41930         variable.
41931         [generic sys/syscall.h] (syscall.h): Remove variable.
41932         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41933         rule.
41934         [generic sys/syscall.h] (before-compile): Do not append to
41935         variable.
41936         [generic sys/syscall.h] (common-generated): Likewise.
41937         * sysdeps/unix/errnos-tmpl.c: Remove file.
41938         * sysdeps/unix/errnos.awk: Likewise.
41939         * sysdeps/unix/ioctls-tmpl.c: Likewise.
41940         * sysdeps/unix/ioctls.awk: Likewise.
41941         * sysdeps/unix/mk-local_lim.c: Likewise.
41942         * sysdeps/unix/snarf-ioctls: Likewise.
41944 2012-03-19  Richard Henderson  <rth@twiddle.net>
41946         * sysdeps/i386/fpu/fenv_private.h: New file.
41947         * sysdeps/i386/fpu/math_private.h: Use it.
41948         (math_opt_barrier, math_force_eval): Remove.
41949         (libc_feholdexcept_setround_53bit): Remove.
41950         (libc_feupdateenv_53bit): Remove.
41951         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41952         (math_opt_barrier, math_force_eval): Remove.
41953         (libc_feholdexcept): Remove.
41954         (libc_feholdexcept_setround): Remove.
41955         (libc_fetestexcept, libc_fesetenv): Remove.
41956         (libc_feupdateenv_test): Remove.
41957         (libc_feupdateenv, libc_feholdsetround): Remove.
41958         (libc_feresetround): Remove.
41960         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41961         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41963         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41964         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41965         (libc_feupdateenv_testl): New.
41966         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41967         (libc_feupdateenv_testf): New.
41968         (libc_feupdateenv): Use libc_feupdateenv_test.
41969         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41970         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41972         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41973         (libc_feholdsetroundf, libc_feholdsetroundl): New.
41974         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41975         (libc_feresetround_noex): New.
41976         (libc_feresetround_noexf): New.
41977         (libc_feresetround_noexl): New.
41978         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41979         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41980         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41981         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41982         SET_RESTORE_ROUND.
41983         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41985         (__cos): Likewise.
41986         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41987         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41988         SET_RESTORE_ROUND_NOEX.
41989         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41990         SET_RESTORE_ROUND_NOEXF.
41991         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41992         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41993         (libc_feholdsetroundf): New.
41994         (libc_feresetround, libc_feresetroundf): New.
41996         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41997         (libc_feholdexcept_setround_53bit): Convert from macro to function.
41998         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
42000         * sysdeps/generic/math_private.h: Include <fenv.h>.
42001         (default_libc_feholdexcept): New.
42002         (default_libc_feholdexcept_setround): New.
42003         (default_libc_fesetenv, default_libc_feupdateenv): New.
42004         (libc_feholdexcept): Only define if undefined.
42005         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42006         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42007         (libc_feholdexcept_setroundl): Likewise.
42008         (libc_feholdexcept_setround_53bit): Likewise.
42009         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42010         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42011         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42012         (libc_feupdateenv_53bit): Likewise.
42013         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42014         (libc_feholdexcept): Convert from macro to inline function.
42015         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42016         (libc_fesetenv, libc_feupdateenv): Likewise.
42018         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42019         not previously defined.
42020         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42021         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42022         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42023         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42024         * sysdeps/ieee754/flt-32/math_private.h: New file.
42025         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42026         math_private.h below SET_FLOAT_WORD.
42027         (__isnan, __isinf_ns, __finite): Remove.
42028         (__isnanf, __isinf_nsf, __finitef): Remove.
42030 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
42032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42034 2012-03-17  David S. Miller  <davem@davemloft.net>
42036         [BZ #6471]
42037         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42038         for 2.16.
42040 2012-03-16  David S. Miller  <davem@davemloft.net>
42042         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42043         warnings.
42045         [BZ #6471]
42046         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42047         properly.
42048         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42049         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42050         sysdep_routines when subdir is sysvipc.
42051         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42052         __getshmlba helper.
42054         * sysdeps/sparc/fpu/libm-test/ulps: Update.
42056 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42058         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42059         [__LP64__].
42061 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42063         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42064         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42065         (__lround): Renamed to ...
42066         (__llround): This.  Replace long int with long long int.
42067         Define lround functions as aliases of llround functions.
42068         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42070 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42072         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42073         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
42074         adresses to uintptr_t.  Replace "long int" and "unsigned long
42075         int" with "greg_t" on va_arg.
42077 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42079         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42080         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42082         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42083         Move e_machine check before EI_CLASS check.  Handle x32
42084         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42085         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42086         SKIP_EM_IA_64 and include
42087         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42089         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42090         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42091         (add_system_dir): New macro.
42093         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42094         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42096 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42098         [BZ #2551]
42099         [BZ #2552]
42100         [BZ #2553]
42101         [BZ #2554]
42102         [BZ #2562]
42103         [BZ #2563]
42104         [BZ #2565]
42105         [BZ #2566]
42106         [BZ #2576]
42107         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42108         (y0): Likewise.
42109         * math/w_j0f.c (j0f): Likewise.
42110         (y0f): Likewise.
42111         * math/w_j0l.c (__j0l): Likewise.
42112         (__y0l): Likewise.
42113         * math/w_j1.c (j1): Likewise.
42114         (y1): Likewise.
42115         * math/w_j1f.c (j1f): Likewise.
42116         (y1f): Likewise.
42117         * math/w_j1l.c (__j1l): Likewise.
42118         (__y1l): Likewise.
42119         * math/w_jn.c (jn): Likewise.
42120         (yn): Likewise.
42121         * math/w_jnf.c (jnf): Likewise.
42122         (ynf): Likewise.
42123         * math/w_jnl.c (__jnl): Likewise.
42124         (__ynl): Likewise.
42125         * math/libm-test.inc (j0_test): Add more tests.
42126         (j1_test): Likewise.
42127         (jn_test): Likewise.  Add trailing semicolon to existing test.
42128         (y0_test): Likewise.
42129         (y1_test): Likewise.
42130         * sysdeps/i386/fpu/libm-test-ulps: Update.
42131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42133         [BZ #13851]
42134         [BZ #13854]
42135         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42136         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42137         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42138         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42139         (__tanl): Set errno for infinite argument.
42140         * sysdeps/i386/fpu/mptan.c: Remove.
42141         * sysdeps/i386/fpu/s_tan.S: Likewise.
42142         * sysdeps/i386/fpu/s_tanl.S: Likewise.
42143         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42144         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42145         * math/libm-test.inc (tan_test): Add more tests and enable more
42146         tests for double and long double.
42147         * sysdeps/i386/fpu/libm-test-ulps: Update.
42148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42150 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
42152         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42153         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42155 2012-03-16  Roland McGrath  <roland@hack.frob.com>
42157         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42158         * configure.in: Use it for both main tree and add-ons.
42159         * configure: Regenerated.
42161 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42163         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42165 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42167         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42168         in comment.
42170         [BZ #13851]
42171         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42172         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42173         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42174         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42175         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42176         infinite argument.
42177         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42178         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42179         != 0 for prec == 2.
42180         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42181         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42182         * sysdeps/i386/fpu/s_cosl.S: Likewise.
42183         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42184         * sysdeps/i386/fpu/s_sinl.S: Likewise.
42185         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42186         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42187         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42188         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42189         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42190         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42191         * math/libm-test.inc (cos_test): Add more tests and enable more
42192         tests for long double.
42193         (sin_test): Likewise.
42194         (sincos_test): Likewise.
42195         * sysdeps/i386/fpu/libm-test-ulps: Update.
42196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42198 2012-03-16  David S. Miller  <davem@davemloft.net>
42200         * sysdeps/sparc/fpu/math_private.h: New file.
42202 2012-03-15  David S. Miller  <davem@davemloft.net>
42204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42205         file.
42206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42208         file.
42209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42210         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42211         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42214         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42215         sysdep routines.
42216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42218         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42219         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42221         * sysdeps/sparc/sparc-ifunc.h: New file.
42222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42223         sparc-ifunc.h
42224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42226         Likewise.
42227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42228         Likewise.
42229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42233         Likewise.
42234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42239         Likewise.
42240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42241         Likewise.
42242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42247         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42248         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42249         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42251         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42256         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42257         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42259         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42260         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42261         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42262         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42263         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42264         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42265         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42267 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42269         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42270         scaling.
42271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42273 2012-03-15  Andreas Jaeger  <aj@suse.de>
42275         [BZ #13852]
42276         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42277         ieee754/flt-32 implementation for sin, cos and sincos.
42278         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42279         * sysdeps/i386/fpu/s_cosf.S: Likewise.
42280         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42281         * sysdeps/i386/fpu/s_sinf.S: Likewise.
42282         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42283         ieee754/flt-32 implementation for tan.
42285         * math/libm-test.inc (cos_test): Enable some large input tests for
42286         float as well
42287         (sin_test): Likewise.
42288         (sincos_test): Likewise.
42289         (tan_test): Add tests for large input.
42291         * sysdeps/i386/fpu/libm-test-ulps: Update.
42293 2012-03-15  Andreas Jaeger  <aj@suse.de>
42295         [BZ #13658]
42296         * math/libm-test.inc (cos_test): Add more test cases.
42297         (sin_test): Likewise.
42298         (sincos_test): Likewise.
42300 2012-03-15  Andreas Jaeger  <aj@suse.de>
42302         [BZ #13837]
42303         * math/libm-test.inc (cos_test): Add a test case for large input
42304         value.
42305         (sin_test): Likewise.
42306         (sincos_test): Likewise.
42308 2012-03-15  Andreas Jaeger  <aj@suse.de>
42309             Joseph Myers  <joseph@codesourcery.com>
42311         [BZ #13658]
42312         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42313         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42314         * sysdeps/i386/fpu/branred.c: Likewise.
42315         * sysdeps/i386/fpu/dosincos.c: Likewise.
42316         * sysdeps/i386/fpu/mpa.c: Likewise.
42317         * sysdeps/i386/fpu/s_cos.S: Likewise.
42318         * sysdeps/i386/fpu/s_sin.S: Likewise.
42319         * sysdeps/i386/fpu/s_sincos.S: Likewise.
42320         * sysdeps/i386/fpu/sincos32.c: Likewise.
42322         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42323         Define.
42324         (libc_feupdateenv_53bit): Define.
42325         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42326         Define.
42327         (libc_feupdateenv_53bit): Define.
42329         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42330         53 bit (without extend i386 double precision).
42332         * math/libm-test.inc (sincos_test): Add tests for large input.
42333         (sin): Likewise.
42334         (cos): Likewise.
42336         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42338 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42342 2012-03-15  David S. Miller  <davem@davemloft.net>
42344         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42345         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42346         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42347         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42352         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42353         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42354         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42360         file.
42361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42363         file.
42364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42366         file.
42367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42369         file.
42370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42371         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42372         fmin/fmax sysdep routines.
42373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42375 2012-03-14  David S. Miller  <davem@davemloft.net>
42377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42378         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42381         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42382         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42383         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42384         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42386         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42387         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42388         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42389         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42390         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42391         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42392         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42393         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42394         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42395         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42396         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42397         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42398         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42399         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42400         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42401         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42402         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42403         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42404         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42405         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42406         routines.
42407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42408         file.
42409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42411         file.
42412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42414         file.
42415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42417         file.
42418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42420         file.
42421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42423         file.
42424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42425         file.
42426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42427         file.
42428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42429         file.
42430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42431         New file.
42432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42433         file.
42434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42435         file.
42436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42438         file.
42439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42441         file.
42442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42444         file.
42445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42447         VIS3 routines.
42449         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42450         New file.
42452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42454         * sysdeps/sparc/configure.in: New file.
42455         * sysdeps/sparc/configure: Generate.
42456         * configure.in (libc_cv_sparc_as_vis3): Substitute.
42457         * configure: Regenerate.
42458         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42459         * config.make.in (have-as-vis3): New.
42460         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42461         available use -Av9d instead of -Av9a.
42462         * sysdeps/sparc/sparc64/Makefile: Likewise.
42463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42465         New file.
42466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42467         file.
42468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42469         New file.
42470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42471         file.
42472         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42473         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42474         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42475         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42476         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42478         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42479         fzeros/fnegs to load 0x80000000 into a float register instead of
42480         using the stack.
42481         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42483 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42486         bits/syscall.h.
42487         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42488         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42489         ($(inst_includedir)/bits/syscall.h): Remove rule.
42490         ($(objpfx)bits/syscall.d): Include instead of
42491         $(objpfx)syscall-list.d.
42492         (generated): Change syscall-list.h and syscall-list.d to
42493         bits/syscall.h and bits/syscall.d.
42495 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42497         [BZ #13846]
42498         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42500 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42502         [BZ #13841]
42503         * math/s_csqrt.c: Include <float.h>.
42504         (__csqrt): Scale large or subnormal inputs.
42505         * math/s_csqrtf.c: Likewise.
42506         * math/s_csqrtl.c: Likewise.
42507         * math/libm-test.inc (csqrt_test): Add more tests.
42508         * sysdeps/i386/fpu/libm-test-ulps: Update.
42509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42511         [BZ #13840]
42512         * math/libm-test.inc (hypot_test): Add more tests.
42514 2012-03-13  David S. Miller  <davem@davemloft.net>
42516         [BZ #13840]
42517         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42518         double-precision for the calculation instead of scaling.
42520 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42522         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42523         manipulate bits before adding and subtracting TWO52[sx].
42524         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42525         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42526         Likewise.
42527         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42529 2012-03-13  David S. Miller  <davem@davemloft.net>
42531         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42532         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42533         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42534         rtld-global-offsets.h
42535         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42537         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42538         large parameters.
42540         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42542         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42543         'err' in the ifdef scope in which it is actually used.
42545         * nss/nss_db/db-init.c: Include string.h
42547 2012-03-12  David S. Miller  <davem@davemloft.net>
42549         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42550         masking out of the most significant byte of random value used.
42551         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42552         Fix coding style in previous change.
42554         * sysdeps/unix/sysv/linux/kernel-features.h
42555         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42556         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42557         expression.
42558         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42559         later.
42561 2012-03-11  David S. Miller  <davem@davemloft.net>
42563         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42564         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42565         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42566         for 'resultvar' otherwise things get truncated on 64-bit.
42568         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42569         Fix masking out of the most significant byte of random value used.
42571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42573 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42577 2012-03-09  David S. Miller  <davem@davemloft.net>
42579         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42580         variables with appropriate CPP guards.
42581         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42582         from the frame pointer, not the stack pointer.  Correct layout
42583         comments.  Fix test on resulting framesize and the management of
42584         the outregs buffer for pltexit.  Preserve floating point return
42585         values across _dl_call_pltexit call.
42586         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42587         framesize and the management of the outregs buffer for pltexit.
42588         Preserve floating point return values across _dl_call_pltexit
42589         call.
42590         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42591         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42592         (la_sparc64_gnu_pltexit): New functions.
42593         (print_exit): Fix format string for return register value.
42595 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42597         * sunrpc/Makefile (others): Add rpcgen.
42598         ($(objpfx)rpcgen): Remove special build rule and dependency on
42599         libc.
42600         * sunrpc/rpcgen.c: New file.
42602 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42604         [BZ #13673]
42605         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42606         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42607         * sysdeps/i386/crti.S: Likewise.
42608         * sysdeps/i386/crtn.S: Likewise.
42609         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42610         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42611         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42612         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42613         * sysdeps/sh/crti.S: Likewise.
42614         * sysdeps/sh/crtn.S: Likewise.
42615         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42617         [BZ #13673]
42618         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42619         with URL.
42620         * locale/programs/locfile-kw.gperf: Likewise.
42621         * locale/programs/charmap-kw.h: Regenerated.
42622         * locale/programs/locfile-kw.h: Likewise.
42624         [BZ #13673]
42625         * intl/plural.y: Replace FSF snail mail address with URL.
42626         * intl/plural.c: Regenerated.
42628 2012-03-09  Richard Henderson  <rth@twiddle.net>
42630         * include/math_private.h: Remove file.
42631         * math/math_private.h: Move file ...
42632         * sysdeps/generic/math_private.h: ... here.
42634         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42635         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42636         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42638         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42639         and <math_private.h>.
42640         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42641         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42642         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42643         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42644         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42645         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42646         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42647         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42648         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42649         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42650         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42651         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42652         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42653         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42654         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42655         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42656         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42657         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42658         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42659         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42660         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42661         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42662         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42663         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42664         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42665         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42666         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42667         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42668         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42669         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42670         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42671         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42672         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42673         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42674         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42675         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42676         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42677         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42678         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42679         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42680         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42681         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42682         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42683         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42684         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42685         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42686         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42687         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42688         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42689         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42690         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42691         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42692         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42693         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42694         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42695         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42696         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42697         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42698         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42699         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42700         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42701         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42702         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42703         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42704         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42705         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42706         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42707         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42708         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42709         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42710         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42711         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42712         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42713         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42714         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42716         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42717         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42718         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42719         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42720         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42721         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42722         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42723         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42724         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42725         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42726         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42727         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42728         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42729         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42730         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42731         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42732         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42733         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42734         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42735         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42736         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42737         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42738         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42739         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42740         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42741         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42742         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42743         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42744         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42745         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42746         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42747         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42748         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42749         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42750         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42751         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42752         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42753         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42754         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42755         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42756         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42757         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42758         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42759         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42760         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42761         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42762         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42763         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42764         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42765         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42766         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42767         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42768         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42769         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42770         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42771         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42772         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42773         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42774         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42775         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42776         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42777         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42778         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42779         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42780         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42781         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42782         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42783         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42784         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42785         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42786         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42787         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42788         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42789         * sysdeps/ieee754/k_standard.c: Likewise.
42790         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42791         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42792         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42793         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42794         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42795         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42796         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42797         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42798         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42799         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42800         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42801         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42802         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42803         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42804         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42805         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42806         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42807         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42808         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42809         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42810         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42811         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42812         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42813         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42814         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42815         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42816         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42817         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42818         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42819         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42820         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42821         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42822         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42823         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42824         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42825         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42826         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42827         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42828         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42829         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42830         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42831         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42832         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42833         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42834         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42835         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42836         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42837         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42838         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42839         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42840         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42841         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42842         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42843         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42844         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42845         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42846         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42847         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42848         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42849         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42850         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42851         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42852         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42853         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42854         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42855         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42856         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42857         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42858         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42859         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42860         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42861         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42862         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42863         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42864         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42865         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42866         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42867         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42868         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42869         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42870         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42871         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42872         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42873         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42874         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42875         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42876         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42877         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42878         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42879         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42880         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42881         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42882         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42883         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42884         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42885         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42886         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42887         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42888         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42889         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42890         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42891         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42892         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42893         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42894         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42895         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42896         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42897         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42898         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42899         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42900         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42901         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42902         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42903         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42904         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42905         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42906         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42907         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42908         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42909         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42910         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42911         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42912         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42913         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42914         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42915         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42916         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42917         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42918         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42919         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42920         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42921         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42922         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42923         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42924         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42925         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42926         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42927         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42928         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42929         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42930         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42931         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42932         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42933         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42934         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42935         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42936         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42937         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42938         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42939         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42940         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42941         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42942         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42943         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42944         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42945         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42946         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42947         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42948         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42949         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42950         * sysdeps/ieee754/s_lib_version.c: Likewise.
42951         * sysdeps/ieee754/s_matherr.c: Likewise.
42952         * sysdeps/ieee754/s_signgam.c: Likewise.
42953         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42954         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42955         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42956         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42957         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42958         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42959         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42960         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42961         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42962         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42963         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42964         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42965         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42966         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42967         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42968         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42969         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42970         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42971         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42972         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42973         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42975 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42977         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42978         * sunrpc/rpc_main.c: Likewise.
42979         * sunrpc/rpc_svcout.c: Likewise.
42981 2012-03-09  David S. Miller  <davem@davemloft.net>
42983         * include/math_private.h: New file.
42985 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42987         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42988         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42989         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42990         from <bits/socket_type.h>.
42991         (enum __socket_type): Don't define here.
42992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42994         bits/socket_type.h.
42996         [BZ #13566]
42997         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42998         checking __USE_GNU.
43000         * Makerules ($(inst_includedir)/%.h): New rule.
43001         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43002         (install-others): Remove variable setting.
43003         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43005 2012-03-08  Richard Henderson  <rth@twiddle.net>
43007         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43008         from macro to inline function; merge with the
43009         !__LIBC_INTERNAL_MATH_INLINES version.
43010         (__ieee754_sqrtf): Likewise.
43012         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43013         to inline function.
43014         (__rintf, __floor, __floorf): Likewise.
43016         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43017         macro to inline function.
43018         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43020         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43021         not <math/math_private.h>.
43023 2012-03-08  David S. Miller  <davem@davemloft.net>
43025         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43026         copyright year.
43027         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43029 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
43031         * resolv/gai_misc.c (handle_requests): Fix struct timespec
43032         normalization.
43033         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43034         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43036 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
43038         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
43039         be defined individually, they must be defined as a block.  Define
43040         S for printing a string instead of hidint the different by using a
43041         macro for adding the 'l'.
43042         * stdio-common/tst-fphex-wide.c: Adjust.
43044 2012-03-07  Marek Polacek  <polacek@redhat.com>
43046         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43048 2012-03-08  Marek Polacek  <polacek@redhat.com>
43050         [BZ #13806]
43051         * stdio-common/Makefile (tests): Add tst-fphex-wide.
43052         * stdio-common/tst-fphex.c: Define a few macros to make the
43053         test reusable.  Use them.
43054         * stdio-common/tst-fphex-wide.c: New file.
43056 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
43058         [BZ #6911]
43059         * manual/macros.texi (gnusystems): New macro.
43060         (nongnusystems): Likewise.
43061         (gnulinuxhurdsystems): Likewise.
43062         (gnuhurdsystems): Likewise..
43063         (gnulinuxsystems): Likewise.
43064         * manual/charset.texi: Use new macros or @theglibc{} to refer to
43065         variants of the GNU system, not "GNU system".
43066         * manual/conf.texi: Likewise.
43067         * manual/errno.texi: Likewise.  Update example of errno macro
43068         expansion.
43069         * manual/filesys.texi: Likewise.
43070         (getumask): Document as specific to GNU/Hurd.
43071         * manual/install.texi: Likewise.  Reword some references to
43072         GNU/Linux.
43073         * manual/intro.texi: Likewise.
43074         * manual/io.texi: Likewise.
43075         (File Name Portability): Detail which constraints are inapplicable
43076         to all GNU systems and which are only inapplicable to GNU/Hurd.
43077         * manual/job.texi: Likewise.
43078         * manual/llio.texi: Likewise.
43079         (O_NOCTTY): Document as present on GNU/Linux.
43080         * manual/maint.texi: Likewise.
43081         * manual/memory.texi: Likewise.
43082         * manual/pattern.texi: Likewise.
43083         * manual/pipe.texi: Likewise.
43084         * manual/process.texi: Likewise.
43085         * manual/resource.texi: Likewise.
43086         (RUSAGE_CHILDREN): Remove statement about specifying a particular
43087         child on GNU/Hurd.
43088         * manual/setjmp.texi: Likewise.
43089         * manual/signal.texi: Likewise.
43090         * manual/startup.texi: Likewise.
43091         * manual/stdio.texi: Likewise.
43092         * manual/terminal.texi: Likewise.
43093         (ONLCR): Document as POSIX.
43094         (OXTABS): Document availability on GNU/Linux as XTABS.
43095         (ONOEOT): Document availability separately from other bits.
43096         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43097         * manual/time.texi: Likewise.
43098         * manual/users.texi: Likewise.
43099         * INSTALL: Regenerated.
43100         * sysdeps/gnu/errlist.c: Regenerated.
43102         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43103         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43104         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
43105         puts.
43106         * configure: Regenerated.
43108 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
43110         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43111         default includes instead of AC_HEADER_CHECK.
43112         * sysdeps/i386/configure: Regenerated.
43114         [BZ #10716]
43115         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43116         * math/s_cacoshf.c (__cacoshf): Likewise.
43117         * math/s_cacoshl.c (__cacoshl): Likewise.
43118         * math/s_casinh.c (__casinh): Set signs of result from argument.
43119         * math/s_casinhf.c (__casinhf): Likewise.
43120         * math/s_casinhl.c (__casinhl): Likewise.
43121         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43122         (casinh_test): Add more tests.
43123         * sysdeps/i386/fpu/libm-test-ulps: Update.
43124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43126 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
43128         * po/zh_TW.po: Update from translation team.
43130         * login/Makefile (distribute): Remove variable.
43131         * catgets/Makefile: Likewise.
43132         * mach/Makefile: Likewise.
43133         * malloc/Makefile: Likewise.
43134         * misc/Makefile: Likewise.
43135         * iconv/Makefile: Likewise.
43136         * nscd/Makefile: Likewise.
43137         * hurd/Makefile: Likewise.
43138         * manual/Makefile: Likewise.
43139         * locale/Makefile: Likewise.
43140         * intl/Makefile: Likewise.
43141         * conform/Makefile: Likewise.
43142         * nss/Makefile: Likewise.
43143         * time/Makefile: Likewise.
43144         * soft-fp/Makefile: Likewise.
43145         * dirent/Makefile: Likewise.
43146         * gmon/Makefile: Likewise.
43147         * po/Makefile: Likewise.
43148         * rt/Makefile: Likewise.
43149         * socket/Makefile: Likewise.
43150         * math/Makefile: Likewise.
43151         * signal/Makefile: Likewise.
43152         * debug/Makefile: Likewise.
43153         * elf/Makefile: Likewise.
43154         * timezone/Makefile: Likewise.
43155         * stdlib/Makefile: Likewise.
43156         * iconvdata/Makefile: Likewise.
43157         * sunrpc/Makefile: Likewise.
43158         * io/Makefile: Likewise.
43159         * argp/Makefile: Likewise.
43160         * inet/Makefile: Likewise.
43161         * hesiod/Makefile: Likewise.
43162         * grp/Makefile: Likewise.
43163         * csu/Makefile: Likewise.
43164         * wctype/Makefile: Likewise.
43165         * crypt/Makefile: Likewise.
43166         * libio/Makefile: Likewise.
43167         * string/Makefile: Likewise.
43168         * nis/Makefile: Likewise.
43169         * resolv/Makefile: Likewise.
43170         * stdio-common/Makefile: Likewise.
43171         * wcsmbs/Makefile: Likewise.
43172         * dlfcn/Makefile: Likewise.
43173         * posix/Makefile: Likewise.
43175         [BZ #6959]
43176         * timezone/Makefile: Don't install timezone files, just the programs
43177         and scripts.
43179 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
43181         * nss/databases.def: Add missing gshadow entry.
43183         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
43185 2012-03-06  Marek Polacek  <polacek@redhat.com>
43187         [BZ #13726]
43188         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43189         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43190         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43191         * stdio-common/tst-long-dbl-fphex.c: New file.
43193 2012-03-06  David S. Miller  <davem@davemloft.net>
43195         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43196         (set_obp_int): New function.
43197         (get_obp_int): New function.
43198         (__get_clockfreq_via_dev_openprom): Likewise.
43199         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43200         Avoid unused variable warnings on 'val' and use builtin_expect.
43201         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43202         __builtin_expect.
43203         (INLINE_CLONE_SYSCALL): Likewise.
43205 2012-03-05  David S. Miller  <davem@davemloft.net>
43207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43209 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
43211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43213         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43214         only for |x| >= 40.
43215         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43217 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
43219         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43220         Replace gettimeofday with __vdso_gettimeofday.
43222         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43223         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43224         __vdso_clock_gettime and __vdso_getcpu.
43226         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43227         time with __vdso_time.
43229 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43231         * manual/lang.texi (size_t): Note types to which size_t may be
43232         equivalent with the GNU C Library, but do not describe when
43233         differences between them are significant.
43235 2012-03-05  Andreas Jaeger  <aj@suse.de>
43237         * sysdeps/i386/fpu/libm-test-ulps: Update.
43239 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43241         [BZ #3976]
43242         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43243         (__ieee754_pow): Save and restore rounding mode and use
43244         round-to-nearest for main computations.
43245         * math/libm-test.inc (pow_test_tonearest): New function.
43246         (pow_test_towardzero): Likewise.
43247         (pow_test_downward): Likewise.
43248         (pow_test_upward): Likewise.
43249         (main): Call the new functions.
43250         * sysdeps/i386/fpu/libm-test-ulps: Update.
43251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43253         [BZ #3976]
43254         * math/libm-test.inc (cosh_test_tonearest): New function.
43255         (cosh_test_towardzero): Likewise.
43256         (cosh_test_downward): Likewise.
43257         (cosh_test_upward): Likewise.
43258         (sinh_test_tonearest): Likewise.
43259         (sinh_test_towardzero): Likewise.
43260         (sinh_test_downward): Likewise.
43261         (sinh_test_upward): Likewise.
43262         (main): Call the new functions.
43263         * sysdeps/i386/fpu/libm-test-ulps: Update.
43264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43266 2012-03-05  Tom de Vries  <tom@codesourcery.com>
43268         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43269         default stack guard is set in last bytes.
43270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43272 2012-03-05  Kees Cook  <keescook@chromium.org>
43274         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43276         [BZ #13656]
43277         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43278         possibly allocate from heap instead of stack.
43279         * stdio-common/bug-vfprintf-nargs.c: New file.
43280         * stdio-common/Makefile (tests): Add nargs overflow test.
43282 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
43284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43286 2012-03-03  Marek Polacek  <polacek@redhat.com>
43288         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43289         * math/math_private.h: Likewise.
43290         * stdlib/tst-strtod.c: Likewise.
43291         * sysdeps/i386/i486/bits/atomic.h: Likewise.
43292         * sysdeps/x86_64/bits/atomic.h: Likewise.
43294 2012-03-02  David S. Miller  <davem@davemloft.net>
43296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43300         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43301         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43302         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43303         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43305 2012-03-02  Roland McGrath  <roland@hack.frob.com>
43307         [BZ #13792]
43308         * manual/examples/README: New file, says the example source files
43309         can be used under GPL>=2.
43310         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43311         line containing just "*/".
43312         * manual/examples/add.c: Add copyright header (GPL>=2).
43313         * manual/examples/argp-ex1.c: Likewise.
43314         * manual/examples/argp-ex2.c: Likewise.
43315         * manual/examples/argp-ex3.c: Likewise.
43316         * manual/examples/argp-ex4.c: Likewise.
43317         * manual/examples/atexit.c: Likewise.
43318         * manual/examples/db.c: Likewise.
43319         * manual/examples/dir.c: Likewise.
43320         * manual/examples/dir2.c: Likewise.
43321         * manual/examples/execinfo.c: Likewise.
43322         * manual/examples/filecli.c: Likewise.
43323         * manual/examples/filesrv.c: Likewise.
43324         * manual/examples/fmtmsgexpl.c: Likewise.
43325         * manual/examples/genpass.c: Likewise.
43326         * manual/examples/inetcli.c: Likewise.
43327         * manual/examples/inetsrv.c: Likewise.
43328         * manual/examples/isockad.c: Likewise.
43329         * manual/examples/longopt.c: Likewise.
43330         * manual/examples/memopen.c: Likewise.
43331         * manual/examples/memstrm.c: Likewise.
43332         * manual/examples/mkfsock.c: Likewise.
43333         * manual/examples/mkisock.c: Likewise.
43334         * manual/examples/mygetpass.c: Likewise.
43335         * manual/examples/pipe.c: Likewise.
43336         * manual/examples/popen.c: Likewise.
43337         * manual/examples/rprintf.c: Likewise.
43338         * manual/examples/search.c: Likewise.
43339         * manual/examples/select.c: Likewise.
43340         * manual/examples/setjmp.c: Likewise.
43341         * manual/examples/sigh1.c: Likewise.
43342         * manual/examples/sigusr.c: Likewise.
43343         * manual/examples/stpcpy.c: Likewise.
43344         * manual/examples/strdupa.c: Likewise.
43345         * manual/examples/strftim.c: Likewise.
43346         * manual/examples/strncat.c: Likewise.
43347         * manual/examples/subopt.c: Likewise.
43348         * manual/examples/swapcontext.c: Likewise.
43349         * manual/examples/termios.c: Likewise.
43350         * manual/examples/testopt.c: Likewise.
43351         * manual/examples/testpass.c: Likewise.
43352         * manual/examples/timeval_subtract.c: Likewise.
43354         [BZ #13792]
43355         * manual/time.texi (Elapsed Time): Move timeval_subtract example
43356         function to ...
43357         * manual/timeval_subtract.c.texi: ... here, new file.
43359 2012-03-02  David S. Miller  <davem@davemloft.net>
43361         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43363 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
43365         [BZ #3976]
43366         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43367         (__sin): Save and restore rounding mode and use round-to-nearest
43368         for all computations.
43369         (__cos): Save and restore rounding mode and use round-to-nearest
43370         for all computations.
43371         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43372         <fenv.h>.
43373         (tan): Save and restore rounding mode and use round-to-nearest for
43374         all computations.
43375         * math/libm-test.inc (cos_test_tonearest): New function.
43376         (cos_test_towardzero): Likewise.
43377         (cos_test_downward): Likewise.
43378         (cos_test_upward): Likewise.
43379         (sin_test_tonearest): Likewise.
43380         (sin_test_towardzero): Likewise.
43381         (sin_test_downward): Likewise.
43382         (sin_test_upward): Likewise.
43383         (tan_test_tonearest): Likewise.
43384         (tan_test_towardzero): Likewise.
43385         (tan_test_downward): Likewise.
43386         (tan_test_upward): Likewise.
43387         (main): Call the new functions.
43388         * sysdeps/i386/fpu/libm-test-ulps: Update.
43389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43391         [BZ #10135]
43392         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43393         small n, then large n, before computing and testing k+n.
43394         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43395         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43396         Likewise.
43397         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43398         Likewise.
43399         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43400         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43401         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43402         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43403         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43404         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43405         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43406         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43407         * math/libm-test.inc (scalbn_test): Add more tests.
43408         (scalbln_test): Likewise.
43410         * manual/filesys.texi (mode_t): Describe constraints on size and
43411         signedness, not exact equivalence to a particular type.
43412         (ino_t): Likewise.
43413         (ino64_t): Likewise.
43414         (dev_t): Likewise.
43415         (nlink_t): Likewise.
43416         (blkcnt_t): Likewise.
43417         (blkcnt64_t): Likewise.
43418         * manual/llio.texi (off_t): Likewise.
43420         [BZ #3976]
43421         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43422         (__ieee754_exp): Save and restore rounding mode and use
43423         round-to-nearest for all computations.
43424         * math/libm-test.inc (exp_test_tonearest): New function.
43425         (exp_test_towardzero): Likewise.
43426         (exp_test_downward): Likewise.
43427         (exp_test_upward): Likewise.
43428         (main): Call the new functions.
43429         * sysdeps/i386/fpu/libm-test-ulps: Update.
43430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43432 2012-03-01  Chris Demetriou  <cgd@google.com>
43434         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43435         have predictable order.
43437 2012-03-01  David S. Miller  <davem@davemloft.net>
43439         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43441         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43442         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43443         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43444         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43446         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43447         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43448         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43450         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43451         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43452         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43453         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43454         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43458         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43459         * sysdeps/sparc/fpu/libm-test-ulps: to here.
43460         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43462         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43463         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43464         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43465         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43466         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43467         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43468         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43469         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43470         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43471         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43472         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43473         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43474         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43475         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43476         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43478         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43479         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43480         * sysdeps/sparc/elf/configure: Regenerated.
43482 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43484         * configure.in (AS, LD): Require binutils 2.20 or later.
43485         * configure: Regenerated.
43486         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43487         as required minimum version.
43488         * INSTALL: Regenerated.
43490         [BZ #2541]
43491         [BZ #4108]
43492         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43493         before squaring exponent.
43494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43495         bottom long double and 27 bits of top long double before squaring
43496         exponent.
43497         * math/libm-test.inc (erfc_test): Add more tests.
43498         * sysdeps/i386/fpu/libm-test-ulps: Update.
43499         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43502 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43504         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43505         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43506         containing bit-fields.
43507         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43508         * soft-fp/single.h (_FP_UNION_S): Likewise.
43509         * soft-fp/double.h (_FP_UNION_D): Likewise.
43511 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43513         [BZ #13786]
43514         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43515         not include ../strcmp.S.
43516         [USE_AS_STRNCASECMP_L]: Likewise.
43517         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43518         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43519         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43520         (__strncasecmp_l_ia32): Define as alias to
43521         __strncasecmp_l_nonascii.
43523         [BZ #5794]
43524         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43525         * sysdeps/i386/fpu/libm-test-ulps: Update.
43526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43528         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43531 2012-02-29  Jeff Law  <law@redhat.com>
43533         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43534         out of bounds read.
43536 2012-02-29  Marek Polacek  <polacek@redhat.com>
43538         [BZ #13706]
43539         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43540         * elf/Makefile: Add rules to run tst-unused-dep.out.
43542 2012-02-28  David S. Miller  <davem@davemloft.net>
43544         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43545         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43546         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43547         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43548         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43549         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43551 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43553         * math/libm-test.inc (llround_test): Move one test from
43554         lround_test.  Use TEST_f_L in moved test.
43555         (lround_test): Move misplaced test to llround_test.  Add testcase
43556         from bug 2561.
43558 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43560         * sysdeps/x86_64/fpu/e_expf.S: New file.
43561         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43563 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43565         [BZ #13637]
43566         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43567         of remain_len that may cause incomplete multi-byte character and
43568         false match.
43569         * posix/bug-regex33.c: New file.
43570         * posix/Makefile (tests): Add bug-regex33.
43572 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43574         * manual/macros.texi: New file.
43575         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43576         * manual/libc.texinfo: Include macros.texi.
43577         * manual/creatute.texi: Likewise.
43578         * manual/install.texi: Likewise.
43579         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43580         @glibcadj{} in references to the GNU C Library.
43581         * manual/charset.texi: Likewise.
43582         * manual/conf.texi: Likewise.
43583         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43584         when not using those macros.
43585         * manual/creature.texi: Likewise.
43586         * manual/crypt.texi: Likewise.
43587         * manual/errno.texi: Likewise.
43588         * manual/filesys.texi: Likewise.
43589         * manual/header.texi: Likewise.
43590         * manual/install.texi: Likewise.
43591         * manual/intro.texi: Likewise.
43592         * manual/io.texi: Likewise.
43593         * manual/job.texi: Likewise.
43594         * manual/lang.texi: Likewise.
43595         * manual/libc.texiinfo: Likewise.
43596         * manual/llio.texi: Likewise.
43597         * manual/locale.texi: Likewise.
43598         * manual/maint.texi: Likewise.
43599         * manual/math.texi: Likewise.
43600         * manual/memory.texi: Likewise.
43601         * manual/message.texi: Likewise.
43602         * manual/nss.texi: Likewise.
43603         * manual/pattern.texi: Likewise.
43604         * manual/process.texi: Likewise.
43605         * manual/resource.texi: Likewise.
43606         * manual/search.texi: Likewise.
43607         * manual/setjmp.texi: Likewise.
43608         * manual/signal.texi: Likewise.
43609         * manual/socket.texi: Likewise.
43610         * manual/startup.texi: Likewise.
43611         * manual/stdio.texi: Likewise.
43612         * manual/string.texi: Likewise.
43613         * manual/sysinfo.texi: Likewise.
43614         * manual/syslog.texi: Likewise.
43615         * manual/terminal.texi: Likewise.
43616         * manual/time.texi: Likewise.
43617         * manual/users.texi: Likewise.
43618         * INSTALL: Regenerated.
43619         * NOTES: Regenerated.
43620         * sysdeps/gnu/errlist.c: Regenerated.
43622 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43624         * include/dirent.h: Include <dirstream.h> before
43625         <dirent/dirent.h>.
43627 2012-02-28  David S. Miller  <davem@davemloft.net>
43629         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43630         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43631         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43632         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43634 2012-02-27  David S. Miller  <davem@davemloft.net>
43636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43638         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43639         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43642         frame pointer instead of stack pointer relative arg slot.
43643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43644         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43645         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43647 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43649         [BZ #3992]
43650         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43652 2012-02-27  David S. Miller  <davem@davemloft.net>
43654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43658         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43659         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43660         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43661         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43663 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43665         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43666         later.  Allow versions 5-9.
43667         * configure: Regenerated.
43668         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43669         required minimum version and 4.6 as recommended version.  Do not
43670         mention bugs in GCC 2.7 and 2.8.
43671         * INSTALL: Regenerated.
43673 2012-02-27  David S. Miller  <davem@davemloft.net>
43675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43679         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43680         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43681         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43682         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43684         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43685         manipulate bits before adding and subtracting TWO112[sx].
43686         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43688 2012-02-27  Roland McGrath  <roland@hack.frob.com>
43690         [BZ #13775]
43691         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43692         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43693         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43694         being in POSIX, because they are in 1003.1-2008.
43696         * rt/tst-aio.c: Include <fcntl.h>.
43697         * rt/tst-aio7.c: Likewise.
43698         * rt/tst-aio64.c: Likewise.
43700         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43702 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43704         * manual/install.texi (--with-headers): Describe headers as
43705         interface headers, not private headers.
43706         (Specific advice for GNU/Linux systems): Describe use of headers
43707         from "make headers_install", not private headers from older
43708         kernels.
43709         * INSTALL: Regenerated.
43710         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43711         Change to 2.6.19.
43712         * sysdeps/unix/sysv/linux/configure: Regenerated.
43714         * manual/llio.texi (fclean): Remove documentation.
43716         * manual/Makefile (libc-texi-generated): New variable.  Include
43717         version.texi.
43718         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43719         $(libc-texi-generated), not duplicated list of files.
43720         (version.texi, stamp-version): New rules.
43721         (realclean): Remove $(libc-texi-generated), not individual files
43722         from that list.  Do not remove dir-add.texinfo.
43723         * manual/libc.texinfo: Comment out uses of edition numbers and
43724         references to printed manual.  Remove last-updated dates.
43725         (EDITION): Comment out.
43726         (ISBN): Likewise.
43727         (VERSION, UPDATED): Remove.
43728         (version.texi): Include.
43730 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
43732         * sysdeps/posix/spawni.c: Include <signal.h>.
43733         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43734         * sysdeps/pthread/aio_fsync.c: Likewise.
43736 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
43738         * conform/Makefile (tests): Run only when not cross-compiling and
43739         when fast-check is not defined.
43741         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43742         * conform/data/limits.h-data: Fixes for POSIX2008.
43743         * conform/run-conformtest.sh: Run all tests.
43744         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43745         headers.
43746         * include/bits/dlfcn.h: Likewise.
43747         * include/langinfo.h: Likewise.
43748         * include/monetary.h: Likewise.
43749         * include/sys/poll.h: Likewise.
43751         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43752         for __USE_GNU.
43753         * posix/spawn.h: Define __need_sigset_t.
43754         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43755         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43756         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
43757         to get sigevent_t only.
43758         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43759         only for __USE_GNU.
43760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43761         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43762         process_vm_writev only for __USE_GNU.
43763         * termios/termios.h: Declare tcgetsid also for POSIX2008.
43765         * conform/Makefile: For now ignore errors from run-conformtest.
43766         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
43767         POSIX to avoid namespace pollution.  Don't prepend headers.
43768         * conform/data/aio.h-data: Fixes for POSIX testing.
43769         * conform/data/fcntl.h-data: Likewise.
43770         * conform/data/glob.h-data: Likewise.
43771         * conform/data/grp.h-data: Likewise.
43772         * conform/data/pthread.h-data: Likewise.
43773         * conform/data/pwd.h-data: Likewise.
43774         * conform/data/signal.h-data: Likewise.
43775         * conform/data/spawn.h-data: Likewise.
43776         * conform/data/stdio.h-data: Likewise.
43777         * conform/data/stdlib.h-data: Likewise.
43778         * conform/data/stropts.h-data: Likewise.
43779         * conform/data/sys/mman.h-data: Likewise.
43780         * conform/data/sys/stat.h-data: Likewise.
43781         * conform/data/sys/types.h-data: Likewise.
43782         * conform/data/sys/wait.h-data: Likewise.
43783         * conform/data/time.h-data: Likewise.
43784         * conform/data/unistd.h-data: Likewise.
43785         * conform/data/utime.h-data: Likewise.
43787         * io/sys/stat.h: fchmod was always in POSIX.
43788         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43789         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43790         * rt/aio.h: Define __need_timespec before including <time.h>.
43791         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43792         struct.  Add forward declaration of pthread_attr_t and use it in
43793         sigevent.
43794         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43795         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43796         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43797         always remove CLK_TCK definition.
43799 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
43801         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43803 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
43805         * conform/run-conformtest.sh: New file.
43806         * conform/Makefile: Run run-conformtest for tests.
43807         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
43808         support.
43810         * conform/data/uchar.h-data: New file.
43811         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43812         * conform/data/arpa/inet.h-data: Likewise.
43813         * conform/data/assert.h-data: Likewise.
43814         * conform/data/complex.h-data: Likewise.
43815         * conform/data/cpio.h-data: Likewise.
43816         * conform/data/ctype.h-data: Likewise.
43817         * conform/data/dirent.h-data: Likewise.
43818         * conform/data/dlfcn.h-data: Likewise.
43819         * conform/data/errno.h-data: Likewise.
43820         * conform/data/fcntl.h-data: Likewise.
43821         * conform/data/float.h-data: Likewise.
43822         * conform/data/fmtmsg.h-data: Likewise.
43823         * conform/data/fnmatch.h-data: Likewise.
43824         * conform/data/ftw.h-data: Likewise.
43825         * conform/data/glob.h-data: Likewise.
43826         * conform/data/grp.h-data: Likewise.
43827         * conform/data/iconv.h-data: Likewise.
43828         * conform/data/inttypes.h-data: Likewise.
43829         * conform/data/langinfo.h-data: Likewise.
43830         * conform/data/libgen.h-data: Likewise.
43831         * conform/data/limits.h-data: Likewise.
43832         * conform/data/locale.h-data: Likewise.
43833         * conform/data/math.h-data: Likewise.
43834         * conform/data/monetary.h-data: Likewise.
43835         * conform/data/mqueue.h-data: Likewise.
43836         * conform/data/ndbm.h-data: Likewise.
43837         * conform/data/net/if.h-data: Likewise.
43838         * conform/data/netdb.h-data: Likewise.
43839         * conform/data/netinet/in.h-data: Likewise.
43840         * conform/data/nl_types.h-data: Likewise.
43841         * conform/data/poll.h-data: Likewise.
43842         * conform/data/pthread.h-data: Likewise.
43843         * conform/data/pwd.h-data: Likewise.
43844         * conform/data/regex.h-data: Likewise.
43845         * conform/data/sched.h-data: Likewise.
43846         * conform/data/search.h-data: Likewise.
43847         * conform/data/semaphore.h-data: Likewise.
43848         * conform/data/setjmp.h-data: Likewise.
43849         * conform/data/signal.h-data: Likewise.
43850         * conform/data/spawn.h-data: Likewise.
43851         * conform/data/stdarg.h-data: Likewise.
43852         * conform/data/stdio.h-data: Likewise.
43853         * conform/data/stdlib.h-data: Likewise.
43854         * conform/data/string.h-data: Likewise.
43855         * conform/data/strings.h-data: Likewise.
43856         * conform/data/stropts.h-data: Likewise.
43857         * conform/data/sys/ipc.h-data: Likewise.
43858         * conform/data/sys/mman.h-data: Likewise.
43859         * conform/data/sys/msg.h-data: Likewise.
43860         * conform/data/sys/resource.h-data: Likewise.
43861         * conform/data/sys/select.h-data: Likewise.
43862         * conform/data/sys/sem.h-data: Likewise.
43863         * conform/data/sys/shm.h-data: Likewise.
43864         * conform/data/sys/socket.h-data: Likewise.
43865         * conform/data/sys/stat.h-data: Likewise.
43866         * conform/data/sys/statvfs.h-data: Likewise.
43867         * conform/data/sys/time.h-data: Likewise.
43868         * conform/data/sys/timeb.h-data: Likewise.
43869         * conform/data/sys/times.h-data: Likewise.
43870         * conform/data/sys/types.h-data: Likewise.
43871         * conform/data/sys/uio.h-data: Likewise.
43872         * conform/data/sys/un.h-data: Likewise.
43873         * conform/data/sys/utsname.h-data: Likewise.
43874         * conform/data/sys/wait.h-data: Likewise.
43875         * conform/data/syslog.h-data: Likewise.
43876         * conform/data/tar.h-data: Likewise.
43877         * conform/data/termios.h-data: Likewise.
43878         * conform/data/utime.h-data: Likewise.
43879         * conform/data/utmpx.h-data: Likewise.
43880         * conform/data/varargs.h-data: Likewise.
43881         * conform/data/wchar.h-data: Likewise.
43882         * conform/data/wctype.h-data: Likewise.
43883         * conform/data/wordexp.h-data: Likewise.
43885         * include/stropts.h: New file.
43886         * include/uchar.h: New file.
43887         * include/aio.h: Changes to allow conformtest.pl to use the headers.
43888         * include/assert.h: Likewise.
43889         * include/ctype.h: Likewise.
43890         * include/dirent.h: Likewise.
43891         * include/dlfcn.h: Likewise.
43892         * include/fcntl.h: Likewise.
43893         * include/fnmatch.h: Likewise.
43894         * include/glob.h: Likewise.
43895         * include/grp.h: Likewise.
43896         * include/libio.h: Likewise.
43897         * include/locale.h: Likewise.
43898         * include/math.h: Likewise.
43899         * include/net/if.h: Likewise.
43900         * include/netdb.h: Likewise.
43901         * include/netinet/in.h: Likewise.
43902         * include/pthread.h: Likewise.
43903         * include/pwd.h: Likewise.
43904         * include/regex.h: Likewise.
43905         * include/sched.h: Likewise.
43906         * include/search.h: Likewise.
43907         * include/setjmp.h: Likewise.
43908         * include/signal.h: Likewise.
43909         * include/stdio.h: Likewise.
43910         * include/stdlib.h: Likewise.
43911         * include/string.h: Likewise.
43912         * include/sys/cdefs.h: Likewise.
43913         * include/sys/mman.h: Likewise.
43914         * include/sys/msg.h: Likewise.
43915         * include/sys/resource.h: Likewise.
43916         * include/sys/select.h: Likewise.
43917         * include/sys/socket.h: Likewise.
43918         * include/sys/stat.h: Likewise.
43919         * include/sys/statvfs.h: Likewise.
43920         * include/sys/time.h: Likewise.
43921         * include/sys/times.h: Likewise.
43922         * include/sys/uio.h: Likewise.
43923         * include/sys/utsname.h: Likewise.
43924         * include/sys/wait.h: Likewise.
43925         * include/termios.h: Likewise.
43926         * include/time.h: Likewise.
43927         * include/ulimit.h: Likewise.
43928         * include/unistd.h: Likewise.
43929         * include/utime.h: Likewise.
43930         * include/wchar.h: Likewise.
43931         * include/wctype.h: Likewise.
43932         * include/wordexp.h: Likewise.
43934         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43936         * time/time.h: TIME_UTC must be a macro.
43937         Make timespec_get available for ISO C11 only as well.
43939 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
43941         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43942         Reported by Peng Haitao <penght@cn.fujitsu.com>.
43944 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43946         * configure.in: Use -o not -a in test for unsupported multi-arch.
43948 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43950         * manual/texinfo.tex: Update to version 2012-01-19.16.
43952 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43954         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43956 2012-02-24  Roland McGrath  <roland@hack.frob.com>
43958         [BZ #13738]
43959         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43960         * manual/fdl-1.3.texi: New file.
43961         * manual/fdl-1.1.texi: File removed.
43963         [BZ #13738]
43964         * manual/libc.texinfo (FDL_VERSION): New @set.
43965         Use it for mention of FDL in cover text.
43966         (Documentation License): Use it in @include file name.
43968 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43969             Roland McGrath  <roland@hack.frob.com>
43971         [BZ #5461]
43972         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43973         (not LONG_LONG_MAX and LONG_LONG_MIN.
43974         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43975         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
43976         name.
43977         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43979 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43981         [BZ #2547]
43982         [BZ #11365]
43983         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43984         manipulate bits before adding and subtracting TWO23[sx].
43985         * math/libm-test.inc (nearbyint_test): Add more tests.
43987 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43989         [BZ #2548]
43990         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43991         bits before adding and subtracting TWO23[sx].
43992         * math/libm-test.inc (rint_test): Add more tests.
43993         (rint_test_tonearest): Likewise.
43994         (rint_test_towardzero): Likewise.
43995         (rint_test_downward): Likewise.
43996         (rint_test_upward: Likewise.
43998 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44000         [BZ #10110]
44001         * include/stdc-predef.h: New file.  Extracted from features.h.
44002         * include/features.h: Include stdc-predef.h.
44003         * Makefile (headers): Add stdc-predef.h.
44004         * CONFORMANCE (Compiler limitations): Update.
44006 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44008         * manual/libc.texinfo (VERSION, UPDATED): Revert.
44010 2012-02-21  David S. Miller  <davem@davemloft.net>
44012         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44013         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44015 2012-02-20  David S. Miller  <davem@davemloft.net>
44017         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44018         using a normal save/restore sequence, rather than allocating a
44019         dummy stack frame just to store a frame pointer and restore.
44020         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44022 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44024         * manual/install.texi: Fix stray word in line-wrapped comment.
44026 2012-02-20  David S. Miller  <davem@davemloft.net>
44028         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44029         both binutils and gcc support GOTDATA.
44031         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44032         "rd %pc" in the PIC register setup sequences.
44034         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44035         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44036         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44037         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44038         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44039         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44040         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44041         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44043         (SYSCALL_ERROR_HANDLER): Likewise.
44044         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44045         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44046         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44047         (SYSCALL_ERROR_HANDLER): Likewise.
44049         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44050         (HAVE_GCC_GOTDATA): New.
44051         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44052         relocation support in both binutils and gcc.
44053         * sysdeps/sparc/elf/configure: Regenerate.
44055         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44056         * sysdeps/sparc/sparc32/elf/configure: Delete.
44057         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44058         * sysdeps/sparc/sparc64/elf/configure: Delete.
44059         * sysdeps/sparc/elf/configure.in: New file.
44060         * sysdeps/sparc/elf/configure: Generate.
44062         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44063         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44064         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44065         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44066         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44068 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44070         * manual/install.texi: Do not mention specific glibc version
44071         numbers.
44072         * manual/libc.texinfo (VERSION, UPDATED): Update.
44073         (@copying): Use @copyright{} and range of years.
44075 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44077         [BZ #13695]
44078         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44079         [crti.S not in sysdirs] (generated): Do not append.
44080         [crti.S not in sysdirs] (omit-deps): Likewise.
44081         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44082         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44083         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44084         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44085         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44086         Likewise.
44087         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44088         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44089         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44090         * csu/defs.awk: Remove file.
44091         * sysdeps/generic/initfini.c: Likewise.
44092         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44093         variable.
44094         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44095         Likewise.
44097 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44099         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44100         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44101         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44102         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44103         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44104         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44105         <bits/epoll.h>.
44106         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44107         (__EPOLL_PACKED): Define to empty if not defined by
44108         <bits/epoll.h>.
44109         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44111         bits/epoll.h.
44113 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44115         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44116         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44117         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44118         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44119         <bits/timerfd.h>.
44120         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44122         bits/timerfd.h.
44124 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44126         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44127         in C locale.
44128         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44129         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44130         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44133 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
44135         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44136         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44138 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
44140         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44141         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44142         defined.
44143         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44144         Likewise.
44145         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44146         entry for 2.16.
44148 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
44150         * math/w_acos.c: Use non-signaling floating-point comparisons.
44151         * math/w_acosf.c: Likewise.
44152         * math/w_acosh.c: Likewise.
44153         * math/w_acoshf.c: Likewise.
44154         * math/w_acoshl.c: Likewise.
44155         * math/w_acosl.c: Likewise.
44156         * math/w_asin.c: Likewise.
44157         * math/w_asinf.c: Likewise.
44158         * math/w_asinl.c: Likewise.
44159         * math/w_atanh.c: Likewise.
44160         * math/w_atanhf.c: Likewise.
44161         * math/w_atanhl.c: Likewise.
44162         * math/w_exp2.c: Likewise.
44163         * math/w_exp2f.c: Likewise.
44164         * math/w_exp2l.c: Likewise.
44165         * math/w_j0.c: Likewise.
44166         * math/w_j0f.c: Likewise.
44167         * math/w_j0l.c: Likewise.
44168         * math/w_j1.c: Likewise.
44169         * math/w_j1f.c: Likewise.
44170         * math/w_j1l.c: Likewise.
44171         * math/w_jn.c: Likewise.
44172         * math/w_jnf.c: Likewise.
44173         * math/w_log.c: Likewise.
44174         * math/w_log10.c: Likewise.
44175         * math/w_log10f.c: Likewise.
44176         * math/w_log10l.c: Likewise.
44177         * math/w_log2.c: Likewise.
44178         * math/w_log2f.c: Likewise.
44179         * math/w_log2l.c: Likewise.
44180         * math/w_logf.c: Likewise.
44181         * math/w_logl.c: Likewise.
44182         * math/w_sqrt.c: Likewise.
44183         * math/w_sqrtf.c: Likewise.
44184         * math/w_sqrtl.c: Likewise.
44185         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44186         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44187         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44188         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44189         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44191 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44193         [BZ #9739]
44194         * manual/string.texi (strnlen): Use correct parameter name in
44195         equivalent expression.
44197 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44199         [BZ #11174]
44200         * manual/users.texi (seteuid): Consistently use neweuid for
44201         argument name.
44203 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44205         [BZ #13704]
44206         * manual/nss.texi (Services in the NSS configuration): Correct
44207         list of services in example configuration file.
44209 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
44211         [BZ #11322]
44212         * manual/arith.texi: Remove statements about negative zero
44213         behaving identically to zero.
44215 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44217         [BZ #5993]
44218         * manual/install.texi: Do not document upgrading from libc5.
44220 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44222         [BZ #4596]
44223         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44225 2012-02-18  David S. Miller  <davem@davemloft.net>
44227         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44228         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44229         %o7 across the call.
44230         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44231         instead.
44232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44233         SETUP_PIC_REG_LEAF.
44234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44235         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44236         * sysdeps/sparc/crtn.S: Likewise.
44238 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
44240         * aout/Makefile: Remove.
44242 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
44244         [BZ #13058]
44245         * manual/examples/argp-ex1.c (main): Format definition in GNU
44246         style.
44247         * manual/examples/argp-ex2.c (main): Likewise.
44248         * manual/examples/argp-ex3.c (main): Likewise.
44249         * manual/examples/argp-ex4.c (main): Likewise.
44250         * manual/examples/longopt.c (main): Use new-style prototype
44251         definition.
44252         * manual/examples/strncat.c (main): Specify return type and use
44253         (void) for arguments.
44254         * manual/examples/subopt.c (main): Use char **argv argument.
44256 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44258         [BZ #5077]
44259         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44260         rounding modes.
44262 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
44264         [BZ #6907]
44265         * manual/string.texi (strchr): Change when strchrnul is
44266         recommended.
44268 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
44270         [BZ #174]
44271         * manual/locale.texi (setlocale): Document LOCPATH.
44273 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44275         [BZ #10210]
44276         * manual/process.texi (execle): Move @dots{} before last argument.
44278 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
44280         [BZ #12047]
44281         * manual/charset.texi (Generic Charset Conversion): Fix typo
44282         (LC_TYPE -> LC_CTYPE).
44284 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
44286         [BZ #5805]
44287         * manual/arith.texi (scalbn): Use @var{} on parameter names.
44288         (scalbnf): Likewise.
44289         (scalbnl): Likewise.
44290         (scalbln): Likewise.
44291         (scalblnf): Likewise.
44292         (scalblnl): Likewise.
44293         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44294         (vwarnx): Likewise.
44295         (verr): Likewise.
44296         (verrx): Likewise.
44297         * manual/filesys.texi (telldir): Use braces around return type.
44298         * manual/llio.texi (mmap): Add space after comma.
44299         (mmap64): Likewise.
44300         * manual/math.texi (jn): Use @var{} on parameter names.
44301         (jnf): Likewise.
44302         (jnl): Likewise.
44303         (yn): Likewise.
44304         (ynf): Likewise.
44305         (ynl): Likewise.
44306         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44307         line.
44308         * manual/resource.texi (ulimit): Use @dots{} instead of literal
44309         "...".
44310         (sched_get_priority_min): Remove semicolon on @deftypefun line.
44311         (sched_get_priority_max): Likewise.
44312         * manual/signal.texi (sigvec): Add space after comma.
44313         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44314         names.
44315         (if_indextoname): Likewise.
44316         (if_freenameindex): Likewise.
44317         (sendto): Use ',' instead of '.' in prototype.
44318         * manual/startup.texi (syscall): Use @dots{} instead of literal
44319         "...".
44320         * manual/stdio.texi (__fpending): Separate initial words of
44321         paragraph from @deftypefun line.
44322         * manual/syslog.texi (syslog): Use @dots{} instead of literal
44323         "...".
44324         (vsyslog): Use @var{} on parameter names.
44325         * manual/terminal.texi (stty): Use @var{} on parameter names.
44326         * manual/users.texi (getutmp): Use @var{} on parameter names.
44327         (getutmpx): Likewise.
44329 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44331         [BZ #6884]
44332         * manual/stdio.texi (fopen): Fix typos in description of
44333         ",ccs=STRING".
44335 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
44337         [BZ #4026]
44338         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44339         get clock_id definition.
44341 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
44343         [BZ #4822]
44344         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44345         (madvise): Cast every argument to void on its own.
44347 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44349         [BZ #9902]
44350         * manual/startup.texi (Exit Status): Fix typo.
44352 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44354         [BZ #10140]
44355         * manual/examples/argp-ex1.c: Include <stdlib.h>.
44356         * manual/examples/argp-ex2.c: Likewise.
44357         * manual/examples/argp-ex3.c: Likewise.
44359 2012-02-16  Richard Henderson  <rth@redhat.com>
44361         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44362         * sysdeps/s390/s390-32/initfini.c: Remove.
44363         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44364         * sysdeps/s390/s390-64/initfini.c: Remove.
44366 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44368         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44369         compiler output for sysdeps/generic/initfini.c.
44370         * sysdeps/sh/elf/initfini.c: Remove file.
44372 2012-02-16  David S. Miller  <davem@davemloft.net>
44374         [BZ #11494]
44375         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44377         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44378         * sysdeps/sparc/crti.S: New file.
44379         * sysdeps/sparc/crtn.S: New file.
44380         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44381         * sysdeps/sparc/sparc64/Makefile: Likewise.
44383 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
44385         [BZ #3335]
44386         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44388 2012-02-15  Roland McGrath  <roland@hack.frob.com>
44390         [BZ #4822]
44391         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44393         * mach/devstream.c (cookie_io_functions_t): Macro removed.
44394         (write, read, close): Likewise.
44395         Patch by Aurelien Jarno <aurelien@aurel32.net>.
44397 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
44399         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44400         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44401         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44402         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44403         <bits/signalfd.h>.
44404         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44406         bits/signalfd.h.
44408 2012-02-14  Marek Polacek  <polacek@redhat.com>
44410         * sysdeps/x86_64/crti.S: New file.
44411         * sysdeps/x86_64/crtn.S: New file.
44412         * sysdeps/x86_64/elf/initfini.c: Remove file.
44414 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44416         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44417         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44418         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44419         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44420         <bits/inotify.h>.
44421         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44423         bits/inotify.h.
44425 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44427         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44428         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44429         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44430         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44431         <bits/eventfd.h>.
44432         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44434         bits/eventfd.h.
44436 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
44438         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44439         __feraiseexcept instead of feraiseexcept.
44441         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44442         nanosleep invocations.
44443         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44444         strings, and add error checking for a nanosleep invocations.
44446 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
44448         Replace FSF snail mail address with URLs, as per GNU coding standards.
44449         Most of the snail mail addresses were wrong anyway, and omitting
44450         them makes the source code easier to maintain.  Almost all of the
44451         changes are to license notices and to locale LC_IDENTIFICATION
44452         addresses, except for this one:
44453         * manual/libc.texinfo: In "Published by", give the FSF's URL,
44454         not its snail mail address.
44456 2012-02-09  Richard Henderson  <rth@twiddle.net>
44458         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44459         of kernel-features.h.
44461         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44463 2012-02-08  Marek Polacek  <polacek@redhat.com>
44465         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44466         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44467         * sysdeps/gnu/_G_config.h: Likewise.
44468         * sysdeps/generic/_G_config.h: Likewise.
44470 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
44472         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44473         tests.
44474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44476         * sysdeps/powerpc/powerpc32/crti.S: New file.
44477         * sysdeps/powerpc/powerpc32/crtn.S: New file.
44478         * sysdeps/powerpc/powerpc64/crti.S: New file.
44479         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44481         * Makeconfig (have-initfini): Don't set.
44482         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44483         * configure.in (nopic_initfini): Don't substitute.
44484         * config.h.in (HAVE_INITFINI): Don't #undef.
44485         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44486         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44488 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44490         Support crti.S and crtn.S provided directly by architectures.
44491         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44492         [crti.S in sysdirs] (omit-deps): Likewise.
44493         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44494         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44495         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44496         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44497         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44498         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44499         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44500         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44501         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44502         compiler output for sysdeps/generic/initfini.c.
44503         * sysdeps/i386/elf/Makefile: Remove file.
44504         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44506 2012-02-07  Marek Polacek  <polacek@redhat.com>
44508         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44509         * sysdeps/gnu/_G_config.h: Likewise.
44510         * sysdeps/mach/hurd/_G_config.h: Likewise.
44512 2012-02-07  Marek Polacek  <polacek@redhat.com>
44514         * math/Makefile (tests): Add tst-CMPLX2.
44515         * math/tst-CMPLX2.c: New file.
44517 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44519         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44521         * math/libm-test.inc (jn_test): Add missing L suffix.
44523 2012-02-06  Marek Polacek  <polacek@redhat.com>
44525         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44526         * sysdeps/i386/fpu/e_powf.S: Likewise.
44527         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44528         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44529         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44530         * sysdeps/i386/fpu/e_pow.S: Likewise.
44531         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44532         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44533         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44534         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44535         * sysdeps/i386/fpu/e_log2.S: Likewise.
44536         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44537         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44538         * sysdeps/i386/fpu/e_powl.S: Likewise.
44539         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44540         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44541         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44542         * sysdeps/i386/fpu/e_logl.S: Likewise.
44543         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44544         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44545         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44546         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44547         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44548         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44549         * sysdeps/i386/fpu/e_log.S: Likewise.
44550         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44551         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44552         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44553         * sysdeps/i386/fpu/e_logf.S: Likewise.
44554         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44555         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44556         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44557         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44558         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44559         * sysdeps/i386/fpu/e_log10.S: Likewise.
44560         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44561         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44562         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44563         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44564         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44565         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44566         * sysdeps/i386/asm-syntax.h: Likewise.
44567         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44568         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44569         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44570         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44571         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44572         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44573         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44574         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44575         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44576         * sysdeps/powerpc/sysdep.h: Likewise.
44577         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44578         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44580 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44582         [BZ #411]
44583         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44585 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44587         * sysdeps/i386/sysdep.h: Include <features.h>.
44588         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44589         version.
44591 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44593         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44594         Define.
44595         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44596         LOAD_PIC_REG_STR.
44598 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44600         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44601         (SETUP_PIC_REG): Use GET_PC_THUNK.
44602         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44603         macro.
44605 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44607         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44608         for non-PIC compilation.
44609         (SETUP_PIC_REG): Add .p2align directive.
44610         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44611         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44612         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44613         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44614         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44615         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44616         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44617         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44618         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44619         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44620         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44621         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44622         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44623         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44624         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44625         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44626         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44627         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44628         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44629         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44630         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44631         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44632         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44633         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44634         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44635         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44636         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44637         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44638         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44639         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44640         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44641         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44642         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44643         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44644         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44645         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44646         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44647         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44648         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44649         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44650         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44652 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44654         * math/tst-CMPLX.c: Include <stdio.h>.
44656 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44658         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44659         float.
44660         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44661         * sysdeps/sparc/bits/mathdef.h: Likewise.
44663 2012-01-31  Marek Polacek  <polacek@redhat.com>
44665         * libio/libio.h: Don't define _PARAMS.
44666         * locale/programs/config.h: Don't define PARAMS.
44667         * stdlib/strtol_l.c: Likewise.
44668         (__strtol_l): Remove PARAMS from the prototype.
44670 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44672         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44673         names.  Just use the correct names.  Remove unnecessary wrapper
44674         functions.
44675         * malloc/arena.c: Likewise.
44676         * malloc/hooks.c: Likewise.
44678         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44679         ARENA_TEST says not to.  Simplify test for creation of a new arena.
44680         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44682 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
44684         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44685         into tail calls.
44686         (update_get_addr): New function.
44687         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44688         GET_ADDR_MODULE parameter.
44690 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44692         * crypt/cert.c: Remove __STDC__ conditionals.
44693         * crypt/crypt-entry.c: Likewise.
44694         * crypt/crypt_util.c: Likewise.
44695         * libio/filedoalloc.c: Likewise.
44696         * libio/fileops.c: Likewise.
44697         * libio/genops.c: Likewise.
44698         * libio/iofclose.c: Likewise.
44699         * libio/iofdopen.c: Likewise.
44700         * libio/iofopen.c: Likewise.
44701         * libio/iofopen64.c: Likewise.
44702         * libio/iogetdelim.c: Likewise.
44703         * libio/iopopen.c: Likewise.
44704         * libio/obprintf.c: Likewise.
44705         * libio/oldfileops.c: Likewise.
44706         * libio/oldiofclose.c: Likewise.
44707         * libio/oldiofdopen.c: Likewise.
44708         * libio/oldiofopen.c: Likewise.
44709         * libio/oldiopopen.c: Likewise.
44710         * libio/wfiledoalloc.c: Likewise.
44711         * libio/wgenops.c: Likewise.
44712         * locale/programs/xmalloc.c: Likewise.
44713         * misc/syslog.c: Likewise.
44714         * stdio-common/xbug.c: Likewise.
44715         * string/memchr.c: Likewise.
44716         * string/memcmp.c: Likewise.
44717         * string/memrchr.c: Likewise.
44718         * string/rawmemchr.c: Likewise.
44719         * sysdeps/posix/getcwd.c: Likewise.
44720         * time/strftime_l.c: Likewise.
44722 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44724         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44725         * config.make.in (config-cflags-sse2avx): Define.
44726         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44727         Fix typo.
44729 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
44731         * scripts/config.guess: Update from upstream config git repository.
44732         * scripts/config.sub: Likewise.
44734 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
44736         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44737         (EM_NUM): Update.
44738         (R_TILEPRO_*, R_TILEGX_*): New macros.
44740         * scripts/firstversions.awk: Fix bug in version range handling.
44742         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44744         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44746         * include/sys/epoll.h: New file.
44747         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44748         libc_hidden_def.
44750 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
44752         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44753         Avoid unnecessary __WORDSIZE == 64 test.
44754         (fmaxf): Use VEX format if possible.
44755         (fmax): Likewise.
44756         (fminf): Likewise.
44757         (fmin): Likewise.
44759         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44760         * math/math_private.h: Remove libc_fegetround* and
44761         libc_fesetround*.
44762         * sysdeps/i386/configure.in: Check for -msse2avx.
44763         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44764         also if SSE2AVX is defined.
44765         Remove libc_fegetround* and libc_fesetround*.
44766         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44767         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
44768         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44769         of HAS_YMM_USABLE.
44770         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44771         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44772         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44773         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44774         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44776         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44778 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44780         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44781         size is not set.
44782         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44784 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
44786         [BZ #13618]
44787         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44788         relocation.
44789         * Makeconfig (libm): Define.
44790         * elf/Makefile: Add rules to build and run tst-relsort1.
44791         * elf/tst-relsort1.c: New file.
44792         * elf/tst-relsort1mod1.c: New file.
44793         * elf/tst-relsort1mod2.c: New file.
44795 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
44797         * math/s_ldexp.c: Remove __STDC__ conditionals.
44798         * math/s_ldexpf.c: Likewise.
44799         * math/s_ldexpl.c: Likewise.
44800         * math/s_nextafter.c: Likewise.
44801         * math/s_nexttowardf.c: Likewise.
44802         * math/s_significand.c: Likewise.
44803         * math/s_significandf.c: Likewise.
44804         * math/s_significandl.c: Likewise.
44805         * math/w_jnl.c: Likewise.
44806         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44807         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44808         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44809         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44810         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44811         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44812         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44813         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44814         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44815         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44816         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44817         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44818         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44819         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44820         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44821         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44822         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44823         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44824         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44825         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44826         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44827         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44828         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44830         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44831         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44832         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44833         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44834         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44835         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44836         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44837         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44838         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44839         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44840         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44841         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44842         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44843         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44844         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44845         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44846         * sysdeps/ieee754/k_standard.c: Likewise.
44847         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44848         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44849         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44850         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44851         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44852         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44853         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44854         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44855         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44856         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44857         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44858         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44859         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44860         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44861         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44862         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44863         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44864         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44865         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44866         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44867         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44868         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44869         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44870         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44871         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44872         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44873         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44874         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44876         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44877         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44878         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44879         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44880         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44882         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44883         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44884         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44885         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44886         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44887         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44888         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44889         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44890         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44891         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44892         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44893         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44894         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44895         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44896         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44897         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44898         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44899         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44900         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44901         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44902         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44903         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44904         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44905         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44906         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44907         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44908         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44909         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44910         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44911         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44912         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44913         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44914         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44915         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44916         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44917         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44918         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44919         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44920         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44921         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44922         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44923         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44924         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44925         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44926         * sysdeps/ieee754/s_matherr.c: Likewise.
44927         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44928         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44929         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44930         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44932 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44934         * crypt/md5.h: Remove __STDC__ conditionals.
44935         * libio/libioP.h: Likewise.
44936         * locale/programs/config.h: Likewise.
44937         * sysdeps/generic/sysdep.h: Likewise.
44938         * sysdeps/i386/asm-syntax.h: Likewise.
44939         * sysdeps/s390/asm-syntax.h: Likewise.
44940         * sysdeps/unix/sysdep.h: Likewise.
44941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44944 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44946         * libio/libio.h: Remove __STDC__ conditionals.
44947         * malloc/obstack.h: Likewise.
44948         * math/complex.h: Likewise.
44949         * math/math.h: Likewise.
44950         * sysdeps/generic/_G_config.h: Likewise.
44951         * sysdeps/gnu/_G_config.h: Likewise.
44952         * sysdeps/mach/hurd/_G_config.h: Likewise.
44953         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44954         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44955         * sysdeps/sparc/bits/mathdef.h: Likewise.
44957 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
44959         [BZ #13583]
44960         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44961         Clean up HAS_* macros.
44962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44963         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44964         possible.
44965         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44966         HAS_AVX.
44967         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44968         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44969         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44970         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44971         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44973 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
44975         * elf/tst-unique3.cc (gets): Remove declaration.
44976         * elf/tst-unique3lib.cc (gets): Likewise.
44977         * elf/tst-unique3lib2.cc (gets): Likewise.
44978         * elf/tst-unique4.cc (gets): Likewise.
44980 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
44982         * include/stdio.h: Add C++ protection.  Add gets declarations and
44983         definitions.
44984         * debug/tst-chk1.c: Don't declare gets here.
44985         * stdio-common/tst-gets.c: Likewise.
44987 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44989         * posix/glob: Remove directory.
44991 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44993         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44995 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
44997         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44998         of the non-standard EPFNOSUPPORT.
45000 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45002         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45003         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45004         ANYWHERE set to 1 only on KERN_NO_SPACE error.
45006 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
45008         * wcsmbs/uchar.h: Test __STDC_VERSION__.
45010 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
45012         * nscd/aicache.c (addhstaiX): Do not cache negative results of
45013         transient errors.
45014         * nscd/grpcache.c (cache_addgr): Likewise.
45015         * nscd/hstcache.c (cache_addhst): Likewise.
45016         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45017         * nscd/pwdcache.c (cache_addpw): Likewise.
45018         * nscd/servicescache.c (cache_addserv): Likewise.
45020 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
45022         * malloc/malloc.c: Various cleanups.
45023         * malloc/hooks.c: Likewise.
45025         * stdlib/Makefile (tests): Add bug-fmtmsg1.
45026         * stdlib/bug-fmtmsg1.c: New file.
45028         * stdlib/fmtmsg.c (init): Add missing unlock.
45029         Patch by Peng Haitao <penght@cn.fujitsu.com>.
45031 2012-01-12  Marek Polacek  <polacek@redhat.com>
45033         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45034         and _GNU_SOURCE.
45036 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45038         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45039         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45040         macro to ensure uniqueness of label name.
45041         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45042         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45044 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
45046         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45048         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45049         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45050         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45051         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45053 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
45055         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45057         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45058         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45059         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45061         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45063         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45064         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45065         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45068         * math/bits/math-finite.h: Add ldexp support.
45070 2012-01-10  Marek Polacek  <polacek@redhat.com>
45072         * locale/programs/localedef.h (show_archive_content): Add noreturn
45073         attribute.
45075 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
45077         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45079 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45081         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45083         * io/Makefile (headers): Add bits/poll2.h.
45085 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
45087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45088         typo #include statement.
45090 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45092         * include/sys/cdefs.h: Define __attribute_alloc_size.
45093         * catgets/gencat.c: Add alloc_size attribute and apply consistently
45094         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45095         * elf/pldd.c: Likewise.
45096         * iconv/iconv_charmap.c: Likewise.
45097         * iconv/iconvconfig.c: Likewise.
45098         * iconv/strtab.c: Likewise.
45099         * locale/programs/locale.c: Likewise.
45100         * locale/programs/localedef.h: Likewise.
45101         * locale/programs/simple-hash.c: Likewise.
45102         * nscd/nscd.h: Likewise.
45103         * nss/makedb.c: Likewise.
45104         * sysdeps/generic/ldconfig.h: Likewise.
45105         * locale/programs/localedef.c: Remove xmalloc prototype.
45106         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45108 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45110         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45111         appropriate.
45113 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45115         * math/Makefile (tests): Add tst-CMPLX.
45116         * math/tst-CMPLX.c: New file.
45118         * math/complex.h (CMPLXL): Fix typo.
45120         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45121         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45122         GLIBC_2.16.
45123         * debug/tst-chk1.c: Add poll and ppoll tests.
45124         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45125         * include/sys/poll.h: Add hidden proto for ppoll.
45126         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45127         * sysdeps/mach/hurd/ppoll.c: Likewise.
45128         * io/ppoll.c: Likewise.
45129         * debug/poll_chk.c: New file.
45130         * debug/ppoll_chk.c: New file.
45131         * include/bits/poll2.h: New file.
45132         * io/bits/poll2.h: New file.
45134         [BZ #1350]
45135         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45137         * configure.in: static is always set to yes.  Remove.
45138         * config.make.in: Don't set build-static.
45139         * Makeconfig: Remove use of build-static.
45140         * dlfcn/Makefile: Likewise.
45141         * elf/Makefile: Likewise.
45142         * math/Makefile: Likewise.
45143         * misc/Makefile: Likewise.
45144         * nptl/Makefile: Likewise.
45145         * sysdeps/mach/hurd/Makefile: Likewise.
45147         * configure.in: PWD_P is not used anymore.
45148         * config.make.in: Remove PWD_P entry.
45150         * configure.in: Remove last remnants of RANLIB.
45151         No need to check for signed size_t anymore.
45152         Don't set libc_commonpagesize and libc_relro_required here for Alpha
45153         and IA-64.
45154         Remove __builtin_expect test because we require at least gcc 3.4.
45155         * aclocal.m4: Likewise.
45157         * wcsmbs/mbrtoc16.c: Implement using towc function.
45158         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45159         * wcsmbs/wcsmbsload.c: Likewise.
45160         * iconv/gconv_simple.c: Likewise.
45161         * iconv/gconv_int.h: Likewise.
45162         * iconv/gconv_builtin.h: Likewise.
45163         * iconv/iconv_prog.c: Remove CHAR16 handling.
45165         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45167         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45169         * configure.in: Remove --with-elf and --enable-bounded options.
45170         Dont set base_machine for ia64.  More non-ELF conditions removed.
45171         Remove testing and setting of leading underscore information.
45172         * config.make.in (build-bounded): Set to no.
45173         * config.h.in: Remove NO_UNDERSCORES entry.
45174         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
45175         them.
45176         * csu/start.c: Remove !NO_UNDERSCORE code.
45177         * locale/localeinfo.h: Likewise.
45178         * sysdeps/generic/machine-gmon.h: Likewise.
45179         * sysdeps/generic/sysdep.h: Likewise.
45180         * sysdeps/i386/sysdep.h: Likewise.
45181         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45182         * sysdeps/mach/sysdep.h: Likewise.
45183         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45184         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45185         * sysdeps/sh/sysdep.h: Likewise.
45186         * sysdeps/sparc/sparc32/alloca.S: Likewise.
45187         * sysdeps/unix/i386/sysdep.S: Likewise.
45188         * sysdeps/unix/sparc/start.c: Likewise.
45189         * sysdeps/unix/sparc/sysdep.S: Likewise.
45190         * sysdeps/unix/sparc/sysdep.h: Likewise.
45191         * sysdeps/unix/start.c: Likewise.
45192         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45193         * sysdeps/x86_64/sysdep.h: Likewise.
45195 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
45197         [BZ #13553]
45198         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45199         for non-gcc.
45200         * argp/argp-fmtstream.h: Use const instead __const.
45201         * argp/argp.h: Likewise.
45202         * assert/assert.h: Likewise.
45203         * bits/fenv.h: Likewise.
45204         * bits/sched.h: Likewise.
45205         * bits/sigset.h: Likewise.
45206         * bits/sigthread.h: Likewise.
45207         * catgets/nl_types.h: Likewise.
45208         * conform/data/pthread.h-data: Likewise.
45209         * crypt/crypt-private.h: Likewise.
45210         * crypt/crypt.h: Likewise.
45211         * crypt/crypt_util.c: Likewise.
45212         * ctype/ctype.h: Likewise.
45213         * debug/execinfo.h: Likewise.
45214         * debug/mbsnrtowcs_chk.c: Likewise.
45215         * debug/mbsrtowcs_chk.c: Likewise.
45216         * debug/wcsnrtombs_chk.c: Likewise.
45217         * debug/wcsrtombs_chk.c: Likewise.
45218         * debug/wcstombs_chk.c: Likewise.
45219         * dirent/dirent.h: Likewise.
45220         * dlfcn/dlfcn.h: Likewise.
45221         * elf/neededtest4.c: Likewise.
45222         * grp/grp.h: Likewise.
45223         * gshadow/gshadow.h: Likewise.
45224         * iconv/gconv.h: Likewise.
45225         * iconv/gconv_int.h: Likewise.
45226         * iconv/gconv_simple.c: Likewise.
45227         * iconv/iconv.h: Likewise.
45228         * iconv/loop.c: Likewise.
45229         * iconv/skeleton.c: Likewise.
45230         * include/aio.h: Likewise.
45231         * include/aliases.h: Likewise.
45232         * include/argz.h: Likewise.
45233         * include/arpa/inet.h: Likewise.
45234         * include/assert.h: Likewise.
45235         * include/dirent.h: Likewise.
45236         * include/dlfcn.h: Likewise.
45237         * include/execinfo.h: Likewise.
45238         * include/fcntl.h: Likewise.
45239         * include/fenv.h: Likewise.
45240         * include/glob.h: Likewise.
45241         * include/grp.h: Likewise.
45242         * include/libintl.h: Likewise.
45243         * include/mntent.h: Likewise.
45244         * include/netdb.h: Likewise.
45245         * include/pwd.h: Likewise.
45246         * include/rpc/netdb.h: Likewise.
45247         * include/sched.h: Likewise.
45248         * include/search.h: Likewise.
45249         * include/shadow.h: Likewise.
45250         * include/signal.h: Likewise.
45251         * include/stdio.h: Likewise.
45252         * include/stdlib.h: Likewise.
45253         * include/string.h: Likewise.
45254         * include/sys/socket.h: Likewise.
45255         * include/sys/stat.h: Likewise.
45256         * include/sys/statfs.h: Likewise.
45257         * include/sys/statvfs.h: Likewise.
45258         * include/sys/syslog.h: Likewise.
45259         * include/sys/time.h: Likewise.
45260         * include/sys/uio.h: Likewise.
45261         * include/time.h: Likewise.
45262         * include/unistd.h: Likewise.
45263         * include/utmp.h: Likewise.
45264         * include/wchar.h: Likewise.
45265         * include/wctype.h: Likewise.
45266         * inet/aliases.h: Likewise.
45267         * inet/arpa/inet.h: Likewise.
45268         * inet/netinet/ether.h: Likewise.
45269         * inet/netinet/in.h: Likewise.
45270         * intl/libintl.h: Likewise.
45271         * io/bits/fcntl2.h: Likewise.
45272         * io/fcntl.h: Likewise.
45273         * io/ftw.h: Likewise.
45274         * io/sys/poll.h: Likewise.
45275         * io/sys/stat.h: Likewise.
45276         * io/sys/statfs.h: Likewise.
45277         * io/sys/statvfs.h: Likewise.
45278         * io/utime.h: Likewise.
45279         * libio/bits/stdio.h: Likewise.
45280         * libio/bits/stdio2.h: Likewise.
45281         * libio/libio.h: Likewise.
45282         * libio/libioP.h: Likewise.
45283         * libio/stdio.h: Likewise.
45284         * locale/lc-ctype.c: Likewise.
45285         * locale/locale.h: Likewise.
45286         * login/utmp.h: Likewise.
45287         * malloc/arena.c: Likewise.
45288         * malloc/malloc.c: Likewise.
45289         * malloc/malloc.h: Likewise.
45290         * malloc/mcheck.c: Likewise.
45291         * malloc/mtrace.c: Likewise.
45292         * math/bits/mathcalls.h: Likewise.
45293         * math/fenv.h: Likewise.
45294         * math/math_private.h: Likewise.
45295         * misc/bits/error.h: Likewise.
45296         * misc/bits/syslog.h: Likewise.
45297         * misc/err.h: Likewise.
45298         * misc/error.h: Likewise.
45299         * misc/fstab.h: Likewise.
45300         * misc/mntent.h: Likewise.
45301         * misc/regexp.h: Likewise.
45302         * misc/search.h: Likewise.
45303         * misc/sgtty.h: Likewise.
45304         * misc/sys/mman.h: Likewise.
45305         * misc/sys/syslog.h: Likewise.
45306         * misc/sys/uio.h: Likewise.
45307         * misc/sys/xattr.h: Likewise.
45308         * misc/ttyent.h: Likewise.
45309         * nis/rpcsvc/ypclnt.h: Likewise.
45310         * nss/nss.h: Likewise.
45311         * posix/bits/unistd.h: Likewise.
45312         * posix/fnmatch.h: Likewise.
45313         * posix/glob.h: Likewise.
45314         * posix/sched.h: Likewise.
45315         * posix/spawn.h: Likewise.
45316         * posix/sys/wait.h: Likewise.
45317         * posix/unistd.h: Likewise.
45318         * posix/wordexp.h: Likewise.
45319         * pwd/pwd.h: Likewise.
45320         * resolv/netdb.h: Likewise.
45321         * resource/sys/resource.h: Likewise.
45322         * rt/aio.h: Likewise.
45323         * rt/bits/mqueue2.h: Likewise.
45324         * rt/mqueue.h: Likewise.
45325         * shadow/shadow.h: Likewise.
45326         * signal/signal.h: Likewise.
45327         * socket/send.c: Likewise.
45328         * socket/sendto.c: Likewise.
45329         * socket/sys/socket.h: Likewise.
45330         * stdio-common/printf.h: Likewise.
45331         * stdlib/bits/stdlib.h: Likewise.
45332         * stdlib/fmtmsg.h: Likewise.
45333         * stdlib/monetary.h: Likewise.
45334         * stdlib/stdlib.h: Likewise.
45335         * stdlib/ucontext.h: Likewise.
45336         * streams/stropts.h: Likewise.
45337         * string/argz.h: Likewise.
45338         * string/bits/string2.h: Likewise.
45339         * string/string.h: Likewise.
45340         * string/strings.h: Likewise.
45341         * sunrpc/rpc/auth.h: Likewise.
45342         * sunrpc/rpc/auth_des.h: Likewise.
45343         * sunrpc/rpc/clnt.h: Likewise.
45344         * sunrpc/rpc/netdb.h: Likewise.
45345         * sunrpc/rpc/pmap_clnt.h: Likewise.
45346         * sunrpc/rpc/xdr.h: Likewise.
45347         * sysdeps/generic/inttypes.h: Likewise.
45348         * sysdeps/generic/net/if.h: Likewise.
45349         * sysdeps/generic/sys/swap.h: Likewise.
45350         * sysdeps/gnu/net/if.h: Likewise.
45351         * sysdeps/gnu/utmpx.h: Likewise.
45352         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45353         * sysdeps/i386/i486/bits/string.h: Likewise.
45354         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45355         * sysdeps/s390/bits/string.h: Likewise.
45356         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45357         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45358         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45359         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45360         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45361         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45362         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45363         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45364         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45365         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45366         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45367         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45368         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45369         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45370         * sysdeps/unix/sysv/linux/readv.c: Likewise.
45371         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45372         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45374         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45375         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45376         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45377         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45378         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45379         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45380         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45381         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45382         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45383         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45384         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45385         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45386         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45387         * sysvipc/sys/ipc.h: Likewise.
45388         * sysvipc/sys/msg.h: Likewise.
45389         * sysvipc/sys/sem.h: Likewise.
45390         * sysvipc/sys/shm.h: Likewise.
45391         * termios/termios.h: Likewise.
45392         * time/sys/time.h: Likewise.
45393         * time/time.h: Likewise.
45394         * wcsmbs/bits/wchar2.h: Likewise.
45395         * wcsmbs/uchar.h: Likewise.
45396         * wcsmbs/wchar.h: Likewise.
45397         * wctype/wctype.h: Likewise.
45399         [BZ #13551]
45400         * Makeconfig: Remove all but ELF support including AIX support.
45401         * Makerules: Likewise.
45402         * config.h.in: Likewise.
45403         * config.make.in: Likewise.
45404         * configure: Likewise.
45405         * configure.in: Likewise.
45406         * csu/Makefile: Likewise.
45407         * csu/version.c: Likewise.
45408         * debug/Makefile: Likewise.
45409         * dlfcn/Makefile: Likewise.
45410         * elf/Makefile: Likewise.
45411         * extra-lib.mk: Likewise.
45412         * iconv/Makefile: Likewise.
45413         * include/libc-symbols.h: Likewise.
45414         * include/shlib-compat.h: Likewise.
45415         * resolv/Makefile: Likewise.
45416         * resolv/res_libc.c: Likewise.
45417         * rt/Makefile: Likewise.
45418         * sysdeps/i386/asm-syntax.h: Likewise.
45419         * sysdeps/i386/sysdep.h: Likewise.
45420         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45421         * sysdeps/mach/sysdep.h: Likewise.
45422         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45423         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45424         * sysdeps/s390/asm-syntax.h: Likewise.
45425         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45426         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45427         * sysdeps/sh/sysdep.h: Likewise.
45428         * sysdeps/unix/sparc/sysdep.h: Likewise.
45429         * sysdeps/wordsize-32/divdi3.c: Likewise.
45430         * sysdeps/x86_64/sysdep.h: Likewise.
45432         * argp/Versions: Remove _argp_unlock_xxx.
45434         [BZ #13559]
45435         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
45436         * abilist/libBrokenLocale.abilist: Likewise.
45437         * abilist/libanl.abilist: Likewise.
45438         * abilist/libc.abilist: Likewise.
45439         * abilist/libcrypt.abilist: Likewise.
45440         * abilist/libdl.abilist: Likewise.
45441         * abilist/libm.abilist: Likewise.
45442         * abilist/libnsl.abilist: Likewise.
45443         * abilist/libpthread.abilist: Likewise.
45444         * abilist/libresolv.abilist: Likewise.
45445         * abilist/librt.abilist: Likewise.
45446         * abilist/libthread_db.abilist: Likewise.
45447         * abilist/libutil.abilist: Likewise.
45448         * abilist/libnss_db.abilist: New file.
45450         * scripts/abilist.awk: Add support for indirect functions.
45452         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45454         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45456         * shlib-versions: Remove entries for ports architectures.
45458         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
45459         files in ports.
45460         * elf/stackguard-macros.h: Remove support for IA-64.
45461         * elf/tst-auditmod1.c: Likewise.
45462         * sysdeps/generic/ldsodefs.h: Likewise.
45464         * sysdeps/unix/sysv/linux/configure.in: Ports should define
45465         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45466         configure files.
45468         [BZ #13552]
45469         * configure.in: Remove --enable-omitfp support.
45470         * FAQ.in: Adjust.
45471         * config.make.in: Likewise.
45472         * Makeconfig: Likewise.
45473         * manual/install.texi: Likewise.
45475         In case anyone cares, the IA-64 architecture could move to ports.
45476         * sysdeps/ia64/*: Removed.
45477         * sysdeps/unix/sysv/linux/ia64/*: Removed.
45478         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45480         [BZ #13555]
45481         * configure.in: Remove entries for unsupported architectures.
45483         [BZ #13533]
45484         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45485         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45486         routines.
45487         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45488         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45489         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45490         fall back to using wcrtomb.
45491         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45492         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45493         renaming.
45494         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45495         * wcsmbs/tst-c16c32-1.c: New file.
45497         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45498         local variable.
45500         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45502         * elf/tst-unique3.cc: Add explicit declaration of gets.
45503         * elf/tst-unique3lib.cc: Likewise.
45504         * elf/tst-unique3lib2.cc: Likewise.
45505         * elf/tst-unique4.cc: Likewise.
45507         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45509 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45511         [BZ #13566]
45512         * assert/assert.h (static_assert): Don't define for C++.
45513         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45514         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45516 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45518         * iconv/loop.c (single loop): Fix assertion in storing of
45519         remaining bytes.
45521         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45523 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45525         * posix/getconf.c: Update copyright year.
45526         * nss/getent.c: Likewise.
45527         * nss/makedb.c: Likewise.
45528         * iconv/iconvconfig.c: Likewise.
45529         * iconv/iconv_prog.c: Likewise.
45530         * elf/ldconfig.c: Likewise.
45531         * elf/pldd.c: Likewise.
45532         * elf/sotruss.ksh: Likewise.
45533         * catgets/gencat.c: Likewise.
45534         * csu/version.c: Likewise.
45535         * elf/ldd.bash.in: Likewise.
45536         * elf/sprof.c (print_version): Likewise.
45537         * locale/programs/locale.c: Likewise.
45538         * locale/programs/localedef.c: Likewise.
45539         * login/programs/pt_chown.c: Likewise.
45540         * nscd/nscd.c (print_version): Likewise.
45541         * debug/xtrace.sh: Likewise.
45542         * malloc/memusage.sh: Likewise.
45543         * malloc/mtrace.pl: Likewise.
45544         * debug/catchsegv.sh: Likewise.
45546 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45548         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45549         pure attribute.
45551 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45553         [BZ #13533]
45554         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45555         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45556         transformations.
45557         * iconv/gconv_int.h: Likewise.
45558         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45559         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45560         from libc for GLIBC_2.16.
45561         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45562         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45563         * wcsmbs/uchar.h: Really define mbstate_t.
45564         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45565         * wcsmbs/c16rtomb.c: New file.
45566         * wcsmbs/mbrtoc16.c: New file.
45567         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45568         for C/POSIX locale.
45569         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45570         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45572         * wcsmbs/wchar.h: Add missing __restrict.
45574 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45576         [BZ #13532]
45577         * time/Makefile (routines): Add timespec_get.
45578         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45579         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45580         timespec for ISO C11.
45581         * time/timespec_get.c: New file.
45582         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45583         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45585         [BZ #13531]
45586         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45587         * stdlib/stdlib.h: Declare aligned_alloc.
45588         * Versions.def: Add GLIBC_2.16 for libc.
45589         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45591         [BZ 13527]
45592         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45593         ISO C11.
45595         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45596         code.
45598         [BZ #13528]
45599         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45601         [BZ #13529]
45602         * assert/assert.h (static_assert): Define.
45604         * version.h: Update for 2.16 development version.
45606         [BZ #13526]
45607         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45608         _ISOC11_SOURCE.
45610         * version.h (RELEASE): Bump for 2.15 release.
45611         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45613         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45614         Patch by Marek Polacek <mpolacek@redhat.com>.
45616         * bits/byteswap.h: Protect long long constants with __extension__.
45617         * sysdeps/i386/bits/byteswap.h: Likewise.
45618         * sysdeps/ia64/bits/byteswap.h: Likewise.
45619         * sysdeps/s390/bits/byteswap.h: Likewise.
45620         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45622 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45624         [BZ #13540]
45625         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45626         destination buffer.
45627         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45629 2011-12-23  Marek Polacek  <polacek@redhat.com>
45631         * elf/dl-addr.c (determine_info): Add inline keyword.
45632         * elf/tst-auditmod4b.c (check_avx): Likewise.
45633         * elf/tst-auditmod6b.c (check_avx): Likewise.
45634         * elf/tst-auditmod6c.c (check_avx): Likewise.
45635         * elf/tst-auditmod7b.c (check_avx): Likewise.
45637 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45639         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45640         !__SSE_MATH__.
45642 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45644         [BZ #13540]
45645         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45646         processing for last bytes.
45648 2011-08-06  Bruno Haible  <bruno@clisp.org>
45650         [BZ #13061]
45651         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45652         U+0385, not to U+1FEE.
45654         [BZ #13062]
45655         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45656         entry for U+00A5 U+0301.
45658 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45660         [BZ #13166]
45661         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45662         buffer for the output is too small.
45664         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45665         optimization.
45667         [BZ #13185]
45668         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45669         SSE flags if possible.
45671 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45673         [BZ #13540]
45674         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45675         processing for last bytes.
45677 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
45679         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45680         (syscall-list-default-options, syscall-list-default-condition)
45681         (syscall-list-includes): Define.
45682         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45683         list of ABIs and options and #if conditions for each ABI.  Do not
45684         handle common syscalls between ABIs specially.
45685         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45686         Remove.
45687         (syscall-list-variants, syscall-list-32bit-options)
45688         (syscall-list-32bit-condition, syscall-list-64bit-options)
45689         (syscall-list-64bit-condition): Define.
45690         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45691         (syscall-list-variants, syscall-list-32bit-options)
45692         (syscall-list-32bit-condition, syscall-list-64bit-options)
45693         (syscall-list-64bit-condition): Define.
45694         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45695         Remove.
45696         (syscall-list-variants, syscall-list-32bit-options)
45697         (syscall-list-32bit-condition, syscall-list-64bit-options)
45698         (syscall-list-64bit-condition): Define.
45699         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45700         Remove.
45701         (syscall-list-variants, syscall-list-32bit-options)
45702         (syscall-list-32bit-condition, syscall-list-64bit-options)
45703         (syscall-list-64bit-condition): Define.
45705 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45707         * locale/iso-639.def: Add brx entry.
45709         [BZ #13328]
45710         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45711         Proposed by Mariusz_Cukr <marcukr@op.pl>.
45713         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45714         __feraiseexcept_renamed.
45716 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45718         [BZ #13538]
45719         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45720         EPOLLET with unsigned values.
45721         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45722         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45724         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45725         to large cancellation.
45726         * math/s_cacoshf.c: Likewise.
45727         * math/s_cacoshl.c: Likewise.
45729 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
45731         [BZ #13305]
45732         [BZ #12786]
45733         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45734         * math/s_cacoshf.c: Likewise.
45735         * math/s_cacoshl.c: Likewise.
45737 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45739         [BZ #13439]
45740         * iconv/gconv.h: Define __GCONV_SWAP.
45741         * iconvdata/unicode.c: The swap bit must be stored in __flags.
45742         * iconvdata/utf-16.c: Likewise.
45743         * iconvdata/utf-32.c: Likewise.
45745 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
45747         [BZ #13524]
45748         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45749         numerator after shifting it by one limb.
45751 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
45753         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45754         under [__USE_EXTERN_INLINES].
45756 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45758         [BZ #13446]
45759         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45761 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45763         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45764         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45765         optimized code.
45766         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45767         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45768         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45769         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45770         for strncasecmp/strncasecmp_l compilation.
45771         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45772         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45774 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
45776         [BZ #13484]
45777         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45778         of __asm__.
45780 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45782         [BZ #13506]
45783         * time/tzfile.c (__tzfile_read): Check values from file header.
45785 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45787         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45788         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45789         * powerpc/powerpc32/dl-start.S: Likewise.
45790         * powerpc/powerpc32/elf/start.S: Likewise.
45791         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45792         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45793         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45794         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45795         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45796         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45797         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45798         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45799         * powerpc/powerpc32/fpu/s_round.S: Likewise.
45800         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45801         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45802         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45803         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45804         * powerpc/powerpc32/memset.S: Likewise.
45805         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45806         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45807         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45808         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45809         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45810         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45811         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45812         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45813         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45814         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45815         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45816         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45817         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45819 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45821         * math/libm-test.inc: Added more nearbyint tests.
45822         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45823         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45824         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45825         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45827 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
45829         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45830         FD_CLOEXEC.
45832 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45834         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45835         Add wcscpy-ssse3 wcscpy-c.
45836         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45837         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45838         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45839         * sysdeps/x86_64/wcschr.S: New file.
45840         * sysdeps/x86_64/wcsrchr.S: New file.
45841         * string/test-strcmp.c: Remove checking of wcscmp function for
45842         wrong alignments.
45843         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45844         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45845         wcsrchr-sse2 wcsrchr-c.
45846         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45847         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45848         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45849         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45850         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45851         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45852         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45853         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45854         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45855         * wcsmbc/wcschr.c (WCSCHR): New macro.
45857 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45859         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45860         * wcsmbs/test-wcsrchr.c: New file.
45861         * string/test-strrchr.c: Add wcsrchr support.
45862         (WIDE): New macro.
45863         * wcsmbs/test-wcscpy.c: New file.
45864         * string/test-strcpy.c: Add wcscpy support.
45865         (WIDE): New macro.
45867 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
45869         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45870         the inner loop.
45872 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
45874         [BZ #13472]
45875         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45877 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
45879         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45880         Minor optimizations.
45882         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45883         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45884         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45886 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
45888         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45889         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45890         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45891         for gcc to avoid warnings.
45892         * inet/Makefile (tests): Add tst-checks.
45893         * inet/tst-checks.c: New file.
45895         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45896         warning.
45898         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45899         __wmemcmp_sse2.
45901         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45902         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45904         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45906 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
45908         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45909         problem.
45911         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45913 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
45915         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45916         conditional on GCC version.
45917         (__arch_compare_and_exchange_val_8_acq)
45918         (__arch_compare_and_exchange_val_16_acq)
45919         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45920         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45921         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45923 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
45925         * sysdeps/sh/backtrace.c: New file.
45927 2011-12-02  Andreas Schwab  <schwab@redhat.com>
45929         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
45930         parenthesis.
45932 2011-12-01  Andreas Schwab  <schwab@redhat.com>
45934         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45935         falling back to utime.
45937 2011-11-30  Andreas Schwab  <schwab@redhat.com>
45939         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45940         expectations for float.
45942 2011-11-29  Andreas Schwab  <schwab@redhat.com>
45944         * locale/weight.h (findidx): Add parameter len.
45945         * locale/weightwc.h (findidx): Likewise.
45946         * posix/fnmatch_loop.c (FCT): Adjust caller.
45947         * posix/regcomp.c (build_equiv_class): Likewise.
45948         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45949         * posix/regexec.c (check_node_accept_bytes): Likewise.
45950         * string/strcoll_l.c (STRCOLL): Likewise.
45951         * string/strxfrm_l.c (STRXFRM): Likewise.
45953 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
45955         * Makefile.in: Remove CVSOPT handling.
45956         * configure.in: Remove use of AC_REVISION.
45957         * iconvdata/Makefile (distribute): No need to filter out CVS.
45958         * scripts/list-sources.sh: Remove CVS, subversion and monotone
45959         handling.
45961 2011-11-16  Andreas Schwab  <schwab@redhat.com>
45963         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45964         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45965         [USE_AS_STRNCASECMP_L]: Likewise.
45966         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45967         NO_TLS_DIRECT_SEG_REFS.
45968         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45969         Fix argument offsets for non-PIC.
45970         [USE_AS_STRNCASECMP_L]: Likewise.
45971         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45972         NO_TLS_DIRECT_SEG_REFS.
45974 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45976         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45977         O_CLOEXEC.
45978         * locale/loadlocale.c (_nl_load_locale): Likewise.
45980 2011-11-15  Andreas Schwab  <schwab@redhat.com>
45982         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45983         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45984         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45985         (SYSCALL_GETTIME): Set errno on error.
45987         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45988         count references to noai6ai_cached.
45990 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45992         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45994         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45995         FD_CLOEXEC for /proc/self/maps.
45997         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45998         FD_CLOEXEC for /proc/meminfo.
46000         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46001         gai.conf.
46003         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
46004         FD_CLOEXEC for given file.
46006         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46008         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46009         FD_CLOEXEC for /etc/hosts.
46010         (_gethtent): Likewise.
46012         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46014         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46015         cancellation and set FD_CLOEXEC for /etc/netgroup.
46017         * nss/nss_files/files-key.c (search): Don't allow cancellation when
46018         reading /etc/publickey.
46020         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46021         allow cancellation when reading /etc/group.
46023         * nss/nss_files/files-alias.c (internal_setent): Don't allow
46024         cancellation.
46025         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
46027         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46028         when using data file.
46030         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46032         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46033         (write_nis_obj): Use "c" and "e" in fopen.
46035         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46037         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46039         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46041         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46043         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46044         locale.alias.
46046         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46048         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46050         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46052         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46053         file parsing and set FD_CLOEXEC.
46055 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46057         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46059 2011-11-14  Andreas Schwab  <schwab@redhat.com>
46061         * malloc/arena.c (arena_get2): Don't call reused_arena when
46062         _int_new_arena failed.
46064 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46066         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46067         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46068         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46069         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46070         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46071         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46072         to compile strcasecmp and strncasecmp.
46073         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46074         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46076         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46078 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
46080         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46081         locale-defines.sym to gen-as-const-headers.
46082         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46083         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46085         to compile strcasecmp and strncasecmp.
46086         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46087         strcasecmp_l and strncasecmp_l.
46088         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46089         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46090         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46091         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46092         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46093         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46094         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46095         * sysdeps/i386/i686/multiarch/strncase.S: New file.
46096         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46097         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46098         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46100 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
46102         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46103         result of SYSDEP_GETTIME_CPU to retval.
46104         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46105         parameter list to macro.  Remove trailing semicolon.  Adjust users.
46107         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46108         variable.
46110         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46111         mantissa words.
46112         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46114         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46115         from unused variable.
46117         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46118         DWARF definitions.
46119         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46120         for assembling.
46122         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46123         over namespaces.
46125         * sunrpc/rpc_prot.c (rejected): Fix case value.
46127         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46128         unsigned long long int to avoid warnings in shift.
46130         * posix/regex_internal.c (re_string_reconstruct): Actually use result
46131         of use of trans.
46132         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46133         variable tmp.
46135         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46136         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46137         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46139         * nis/nis_table.c (nis_list): Use variable of correct type for
46140         result of __follow_path call.
46142 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46144         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46145         of math functions ceil, trunc, floor, round, and sqrt, when
46146         avaliable on the platform.
46147         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46148         name clash.
46149         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46150         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46151         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46153 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
46155         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46156         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46158 2011-11-11  Roland McGrath  <roland@hack.frob.com>
46160         * include/unistd.h: Fix __readlink return type.
46161         Reported by Chris Metcalf <cmetcalf@tilera.com>.
46163 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
46165         * stdlib/ucontext.h: Undo last change for makecontext.
46167 2011-11-11  Andreas Schwab  <schwab@redhat.com>
46169         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46171         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46172         * setjmp/setjmp.h: Mark functions as non-leaf.
46173         * setjmp/bits/setjmp2.h: Likewise.
46174         * stdlib/ucontext.h: Likewise.
46176 2011-11-10  Andreas Schwab  <schwab@redhat.com>
46178         * malloc/arena.c (_int_new_arena): Don't increment narenas.
46179         (reused_arena): Don't check arena limit.
46180         (arena_get2): Atomically check arena limit.
46182 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
46184         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46185         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46187         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46188         instructions.
46190 2011-11-07  Andreas Schwab  <schwab@redhat.com>
46192         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46193         handler when locking.
46195         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46196         Fix size of allocated buffer.
46198 2011-11-04  Andreas Schwab  <schwab@redhat.com>
46200         [BZ #10103]
46201         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46202         declarations for long double functions.
46203         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46205         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46207 2011-11-03  Andreas Schwab  <schwab@redhat.com>
46209         * nscd/nscd.c (main): Don't start AVC thread until credentials are
46210         installed.
46212         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46213         is disabled.
46215 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46217         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46219 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46221         * include/alloca.h (stackinfo_alloca_round): Define.
46222         (extend_alloca): Use it.
46223         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46224         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46225         here.
46227         * scripts/check-local-headers.sh: Ignore libaudit.h.
46229         * nscd/Makefile (extra-objs): Make recursively expanded.
46231 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
46233         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46234         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46236         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46237         * posix/tst-rfc3484-2.c: Likewise.
46238         * posix/tst-rfc3484-3.c: Likewise.
46240         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46241         process_vm_writev.
46242         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46243         process_vm_writev.
46244         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46245         process_vm_writev from libc using GLIBC_2.15 version.
46247         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46249 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
46251         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46252         stack usage.
46254 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
46256         [BZ #13367]
46257         * nss/getent.c (initgroups_keys): Show error message in case no group
46258         names are given.
46260         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46261         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46262         __bump_nl_timestamp.
46263         * nscd/connections (nscd_init): When host database is served open
46264         netlink socket and request notification about configuration changes.
46265         (main_loop_poll): Track netlink file descriptor and bump timestamp
46266         in case data becomes available.
46267         (main_loop_epoll): Likewise.
46268         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46269         (database_pers_head): Add extra_data fileds.
46270         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46271         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46272         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46273         Adjust caller.
46274         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46275         in6ai data, call __free_in6ai.
46276         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46277         Add -DHAVE_NETLINK.
46278         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
46279         interface information.  Reuse previous data if netlink timestamp
46280         is not changed.
46281         (__bump_nl_timestamp): New function.
46282         (__free_in6ai): New function.
46284 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
46286         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46287         close_not_cancel_no_status here.
46288         (__check_pf): Reorganize code a bit to not call close twice if OOM.
46290 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46292         [BZ #13276]
46293         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46294         return value.
46296         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46297         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46298         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46300 2011-07-03  Andreas Jaeger  <aj@suse.de>
46302         [BZ #10709]
46303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46304         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46305         * math/libm-test.inc (sin_test): Add test case.
46307 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46309         [BZ #13337]
46310         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46311         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46313         * elf/chroot_canon.c (chroot_canon): Cleanups.
46315         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46317         [BZ #13335]
46318         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46319         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46321         * string/test-strchr.c: Make usable for strchrnul testing.
46322         * string/test-strchrnul.c: New file.
46323         * string/Makefile (strop-tests): Add strchrnul.
46325         * po/it.po: Update from translation team.
46326         * po/es.po: Likewise.
46328 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
46330         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46331         the three constants needed as parameters.  Drop the others.
46332         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46333         __m128i_strloadu_tolower.
46334         Create and initialize variable zero and use it in all the places
46335         where _mm_setzero_si128 was used.
46337         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46338         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46339         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46340         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46341         anymore.
46342         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46343         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46344         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46345         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46346         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46347         __mpranred, __mptan.
46348         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46349         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46350         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46351         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46352         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46353         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46354         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46355         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46356         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46358 2011-10-28  Andreas Schwab  <schwab@redhat.com>
46360         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46361         redefine if SHARED.
46362         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46365         wide char related routines to wcsmbs subdir.
46367 2011-10-27  Andreas Schwab  <schwab@redhat.com>
46369         [BZ #13344]
46370         * misc/sys/cdefs.h (__THROWNL): Define.
46371         * posix/unistd.h: Use __THREADNL instead of __THREAD
46372         for memory synchronization functions.
46374 2011-10-26  Roland McGrath  <roland@hack.frob.com>
46376         [BZ #13349]
46377         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46378         doesn't exist.
46379         * manual/stdio.texi (Obstack Streams): Node removed.
46381 2011-10-26  Andreas Schwab  <schwab@redhat.com>
46383         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46384         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46385         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46387         * math/math_private.h (math_force_eval): Allow non-addressable
46388         arguments.
46389         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46391 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46393         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46394         file is not needed.
46396         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46397         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46398         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46399         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46400         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46401         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46402         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46403         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46404         Add AVX variants.
46405         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46406         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46407         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46408         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46409         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46410         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46411         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46412         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46413         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46414         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46415         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46416         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46417         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46418         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46419         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46420         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46421         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46422         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46423         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46425         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46426         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
46428         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46429         place.  Use VEX encoding when compiling for AVX.
46431 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46433         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46434         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46436         * string/test-strchr.c (do_test): Don't generate NUL bytes.
46438 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46440         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46441         useless if() expression.
46442         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46443         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46444         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46445         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46446         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46447         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46448         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46449         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46450         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46451         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46452         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46453         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46454         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46455         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46456         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46457         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46458         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46459         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46460         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46462         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46464 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46466         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46467         condition.
46468         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46470 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46472         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46473         .text section.  Avoid duplicate constants.
46474         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46475         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46476         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46477         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46478         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46479         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46480         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46481         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46482         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46483         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46484         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46485         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46486         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46487         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46488         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46489         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46490         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46491         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46492         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46493         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46494         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46495         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46496         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46497         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46498         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46499         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46500         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46501         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46502         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46503         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46504         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46505         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46506         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46507         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46508         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46509         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46510         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46511         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46512         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46513         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46514         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46515         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46516         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46517         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46518         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46520 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46522         * sysdeps/x86_64/dla.h: Move to ...
46523         * sysdeps/x86_64/fpu/dla.h: ...here.
46524         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46525         situations.  Use __builtin_fma only for gcc 4.6 and up.
46527         * config.make.in: Add have-mfma4 entry.
46528         * configure.in: Substitute libc_cv_cc_fma4.
46529         * math/Makefile (dbl-only-routines): Add sincostab.
46530         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46531         Use __sincostab not sincos.
46532         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46533         name is a macro.
46534         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46535         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46536         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46537         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46538         using __copysign.
46539         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46540         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46541         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46542         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46543         and __inv.
46544         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46545         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46546         __copysign.
46547         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46548         define aliases when function name is a macro.
46549         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46550         sysdeps/ieee754/dbl-64/sincos.tbl.
46551         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46552         fma4-enabled routines.
46553         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46554         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46555         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46556         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46557         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46558         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46559         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46560         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46561         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46562         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46563         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46564         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46565         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46566         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46567         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46568         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46569         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46570         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46571         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46572         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46573         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46574         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46575         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46576         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46577         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46578         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46579         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46580         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46581         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46582         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46584         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46585         rename.
46586         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46587         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46588         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46589         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46591         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46592         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46593         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46595 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46597         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46599 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46601         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46603         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46604         prediction.
46605         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46607         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46608         Remove unused variable magic_bits.
46609         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46611         * string/strnlen.c: Define and use STRNLEN macro.
46612         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46613         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46614         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46615         * wcsmbs/wcslen.c: Define and use WCSLEN.
46616         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46617         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46618         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46619         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46620         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46621         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46622         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46624 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46627         strnlen-sse2-no-bsf.
46628         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46629         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46630         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46631         Add strnlen support.
46632         (USE_AS_STRNLEN): New macro.
46633         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46634         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46635         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46636         * sysdeps/x86_64/wcslen.S: New file.
46638 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46640         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46641         XMM-moves are used for copying on small sizes.
46643 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46645         * wcsmbs/Makefile (strop-tests): Add wcschr.
46646         * wcsmbs/test-wcschr.c: New file.
46647         * string/test-strchr.c: Update.
46648         Add wcschr support.
46649         (WIDE): New macro.
46651 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46653         * wcsmbs/Makefile (strop-tests): Add wcslen.
46654         * wcsmbs/test-wcslen.c: New file.
46655         * string/test-strlen.c: Update.
46656         Add wcslen support.
46657         (WIDE): New macro.
46659 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46661         * po/it.po: Update from translation team.
46663 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46665         * sysdeps/x86_64/wcscmp.S: Update.
46666         Fix wrong comparison semantics.
46667         wcscmp shall use signed comparison not unsigned.
46668         Don't use substraction to avoid overflow bug.
46669         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46670         * wcsmbc/wcscmp.c: Likewise.
46671         * string/test-strcmp.c: Likewise.
46672         Add new tests to check cases with negative values.
46674 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46676         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46677         * sysdeps/x86_64/dla.h: ...here.  New file.
46678         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46679         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46680         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46681         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46682         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46683         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46684         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46685         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46686         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46688 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
46690         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46691         __ynl_finite aliases.
46693 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46697         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46698         define DLA_FMA.
46699         [DLA_FMA] (EMULV): Use DLA_FMA.
46700         [DLA_FMA] (MUL12): Use EMULV.
46701         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46702         that are not needed.
46703         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46704         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46705         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46706         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46707         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46708         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46709         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46711 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
46713         * math/s_nan.c: Undef __nan.
46714         * math/s_nanf.c: Undef __nanf.
46715         * math/s_nanl.c: Undef __nanl.
46716         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46717         "math_private.h".
46719 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46721         * math/s_catan.c: Add branch predictions.
46722         * math/s_catanf.c: Likewise.
46723         * math/s_catanh.c: Likewise.
46724         * math/s_catanhf.c: Likewise.
46725         * math/s_catanhl.c: Likewise.
46726         * math/s_catanl.c: Likewise.
46727         * math/s_cexp.c: Likewise.
46728         * math/s_cexpf.c: Likewise.
46729         * math/s_cexpl.c: Likewise.
46730         * math/s_clog.c: Likewise.
46731         * math/s_clog10.c: Likewise.
46732         * math/s_clog10f.c: Likewise.
46733         * math/s_clog10l.c: Likewise.
46734         * math/s_clogf.c: Likewise.
46735         * math/s_clogl.c: Likewise.
46736         * math/s_csqrt.c: Likewise.
46737         * math/s_csqrtf.c: Likewise.
46738         * math/s_csqrtl.c: Likewise.
46739         * math/s_ctanf.c: Likewise.
46740         * math/s_ctanh.c: Likewise.
46741         * math/s_ctanhf.c: Likewise.
46742         * math/s_ctanhl.c: Likewise.
46743         * math/s_ctanl.c: Likewise.
46745         * math/math_private.h: Define __nan, __nanf, __nanl.
46746         * math/s_cacosh.c: Include <math_private.h>.
46747         * math/s_cacoshl.c: Likewise.
46748         * math/s_casinh.c: Likewise.
46749         * math/s_casinhf.c: Likewise.
46750         * math/s_casinhl.c: Likewise.
46751         * math/s_ccos.c: Rely entire on ccosh.
46752         * math/s_ccosf.c: Rely entire on ccoshf.
46753         * math/s_ccosl.c: Rely entirely on ccoshl.
46754         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
46755         Remove tests for FE_INVALID.
46756         * math/s_ccoshf.c: Likewise.
46757         * math/s_ccoshl.c: Likewise.
46758         * math/s_csin.c: Likewise.
46759         * math/s_csinf.c: Likewise.
46760         * math/s_csinh.c Likewise.
46761         * math/s_csinhf.c: Likewise.
46762         * math/s_csinhl.c: Likewise.
46763         * math/s_csinl.c: Likewise.
46764         * math/s_ctan.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46766         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46767         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46769 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
46771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46772         compilation problems.
46774         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46775         __builtin_expect.
46777 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
46779         * sysdeps/i386/configure.in: Test for -mfma4 option.
46780         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46781         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46782         COMMON_CPUID_INDEX_80000001.
46783         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46784         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46785         use it if FMA3 is not supported.
46786         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46788         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46789         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46791 2011-10-20  Andreas Schwab  <schwab@redhat.com>
46793         [BZ #12892]
46794         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46795         it would create a cycle with a link time dependency.
46797 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
46799         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46800         instruction.
46801         * string/Makefile (strop-tests): Add rawmemchr.
46802         * string/test-rawmemchr.c: New file.
46804         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46805         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
46806         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
46807         when compiling str{,n}casecmp and when AVX is available.  Hook up
46808         new optimized code in initializers.
46810 2011-10-19  Andreas Schwab  <schwab@redhat.com>
46812         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46813         __feraiseexcept instead of feraiseexcept.
46815 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
46817         * math/math_private.h: Define defaults for libc_fetestexcept and
46818         libc_feupdateenv.
46819         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46820         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46821         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46822         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46823         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46824         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46825         libc_fetestexcept and libc_feupdateenv.
46827         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46828         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46829         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46830         * sysdeps/x86_64/fpu/math_private.h: Define special version of
46831         libc_feholdexcept_setround.
46833         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46834         Add s_nearbyint-c and s_nearbyintf-c.
46835         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46836         nearbyintf inlines.
46837         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46838         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46839         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46840         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46842         * math/math_private.h: Define defaults for libc_fegetround,
46843         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46844         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46845         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46846         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46847         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46848         standard functions.
46849         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46850         Remove comments and hacks for old compiler versions.
46851         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46852         libc_fegetround, libc_fesetround, libc_feholdexcept, and
46853         libc_feholdexceptl.
46855 2011-10-18  Andreas Schwab  <schwab@redhat.com>
46857         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46858         (__feraiseexcept_renamed): Add __NTH.
46859         (feraiseexcept): Add __NTH.  Rename local variables to fix
46860         namespace violations.
46862 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
46864         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46866         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46868         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46869         recently added interfaces.
46870         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46872         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46873         about macro parameter expansion.
46875         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46876         __NO_MATH_INLINES is defined.  Cleanups.
46878         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46879         and __floorf is target has SSE4.1.
46880         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46881         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46882         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46883         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46885         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46886         name.
46887         (floorf): Likewise.
46889         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46891 2011-10-17  Andreas Schwab  <schwab@redhat.com>
46893         * misc/sys/cdefs.h: Fix last change.
46895         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46896         database lookup.
46898 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
46900         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46902         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46903         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46904         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46905         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46906         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46907         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46908         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46909         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46910         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46911         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46912         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46913         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46914         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46915         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46916         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46917         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46918         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46919         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46920         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46921         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46922         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46923         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46925         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46926         ceil, ceilf, floor, floorf.
46928         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46929         Perform IRELATIVE relocations last.
46931         * elf/do-rel.h: Add another parameter nrelative, replacing the
46932         local variable with the same name.  Change name of the function
46933         to end in Rel or Rela (uppercase).
46934         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46935         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
46936         elf_dynamic_do_##reloc function.
46938 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46940         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46941         is sufficient, at least on modern CPUs.
46943         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46945         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46946         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46948         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46949         __expl_finite.
46950         * math/bits/math-finite.h: Add entries for exp.
46951         * math/e_expl.c: Add __*_finite alias.
46952         * sysdeps/i386/fpu/e_exp.S: Likewise.
46953         * sysdeps/i386/fpu/e_expf.S: Likewise.
46954         * sysdeps/i386/fpu/e_expl.c: Likewise.
46955         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46956         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46957         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46958         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46959         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46960         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46961         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46963         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46964         is sufficient, at least on modern CPUs.
46966         * ctype/ctype-info.c (__ctype_init): Define.
46967         * include/ctype.h (__ctype_init): Declare.
46968         (__ctype_b_loc): The variable is always initialized.
46969         (__ctype_toupper_loc): Likewise.
46970         (__ctype_tolower_loc): Likewise.
46971         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46972         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46974 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
46976         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46978         * configure.in: Also look in $cxxmachine/include for C++ system
46979         headers.
46981 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46983         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46984         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46985         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46986         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
46987         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46988         (USE_AS_WMEMCMP): New macro.
46989         Fixing indents.
46990         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46991         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46992         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46993         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46994         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46995         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46996         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46997         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46998         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46999         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47000         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47001         (USE_AS_WMEMCMP): New macro.
47002         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47003         * sysdeps/string/test-memcmp.c: Update.
47004         Fix simple_wmemcmp.
47005         Add new tests.
47006         * wcsmbs/wmemcmp.c: Update.
47007         (WMEMCMP): New macro.
47008         Fix overflow bug.
47010 2011-10-12  Andreas Jaeger  <aj@suse.de>
47012         [BZ #13268]
47013         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47015 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47017         * libio/iofwide.c (do_length): Avoid warning.
47019         * ctype/ctype.h (__isctype_f): Add missing __THROW.
47021 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
47023         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47025         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47026         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47027         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47028         * sysdeps/i386/i686/fpu/e_log.S: New file.
47029         * sysdeps/i386/i686/fpu/e_logf.S: New file.
47030         * sysdeps/i386/i686/fpu/e_logl.S: New file.
47032         * ctype/ctype.h: Add support for inlined isXXX functions when
47033         compiling C++ code.
47035 2011-10-14  Andreas Schwab  <schwab@redhat.com>
47037         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47039         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47041 2011-10-13  Roland McGrath  <roland@hack.frob.com>
47043         [BZ #13291]
47044         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47046 2011-10-13  Andreas Schwab  <schwab@redhat.com>
47048         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47049         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47050         feraiseexcept.
47052         * sysdeps/x86_64/memrchr.S: Check for zero size.
47054         * string/stratcliff.c: Add memrchr tests.
47056 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47058         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47059         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47060         rawmemchr-sse2 rawmemchr-sse2-bsf.
47061         * sysdeps/i386/i686/multiarch/memchr.S: New file.
47062         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47063         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47064         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47065         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47066         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47067         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47068         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47069         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47070         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47071         * string/memrchr.c (MEMRCHR): New macro.
47073 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
47075         Add integration with gcc's -ffinite-math-only and optimize wrapper
47076         functions in libm.
47077         * Versions.def: Define GLIBC_2.15 version for libm.
47078         * math/Makefile (headers): Add bits/math-finite.h.
47079         * math/bits/math-finite.h: New file.
47080         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47081         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47082         * math/e_acoshl.c: Add __*_finite alias.
47083         * math/e_acosl.c: Likewise.
47084         * math/e_asinl.c: Likewise.
47085         * math/e_atan2l.c: Likewise.
47086         * math/e_atanhl.c: Likewise.
47087         * math/e_coshl.c: Likewise.
47088         * math/e_exp10.c: Likewise.
47089         * math/e_exp10f.c: Likewise.
47090         * math/e_exp10l.c: Likewise.
47091         * math/e_exp2l.c: Likewise.
47092         * math/e_fmodl.c: Likewise.
47093         * math/e_gammal_r.c: Likewise.
47094         * math/e_hypotl.c: Likewise.
47095         * math/e_j0l.c: Likewise.
47096         * math/e_j1l.c: Likewise.
47097         * math/e_jnl.c: Likewise.
47098         * math/e_lgammal_r.c: Likewise.
47099         * math/e_log10l.c: Likewise.
47100         * math/e_log2l.c: Likewise.
47101         * math/e_logl.c: Likewise.
47102         * math/e_powl.c: Likewise.
47103         * math/e_sinhl.c: Likewise.
47104         * math/e_sqrtl.c: Likewise.
47105         * math/e_scalb.c: Completely rewritten and optimized.
47106         * math/e_scalbf.c: Likewise.
47107         * math/e_scalbl.c: Likewise.
47108         * math/w_acos.c: Likewise.
47109         * math/w_acosf.c: Likewise.
47110         * math/w_acosl.c: Likewise.
47111         * math/w_acosh.c: Likewise.
47112         * math/w_acoshf.c: Likewise.
47113         * math/w_acoshl.c: Likewise.
47114         * math/w_asin.c: Likewise.
47115         * math/w_asinf.c: Likewise.
47116         * math/w_asinl.c: Likewise.
47117         * math/w_atan2.c: Likewise.
47118         * math/w_atan2f.c: Likewise.
47119         * math/w_atan2l.c: Likewise.
47120         * math/w_atanh.c: Likewise.
47121         * math/w_atanhf.c: Likewise.
47122         * math/w_atanhl.c: Likewise.
47123         * math/w_exp10.c: Likewise.
47124         * math/w_exp10f.c: Likewise.
47125         * math/w_exp10l.c: Likewise.
47126         * math/w_fmod.c: Likewise.
47127         * math/w_fmodf.c: Likewise.
47128         * math/w_fmodl.c: Likewise.
47129         * math/w_j0.c: Likewise.
47130         * math/w_j0f.c: Likewise.
47131         * math/w_j0l.c: Likewise.
47132         * math/w_j1.c: Likewise.
47133         * math/w_j1f.c: Likewise.
47134         * math/w_j1l.c: Likewise.
47135         * math/w_jn.c: Likewise.
47136         * math/w_jnf.c: Likewise.
47137         * math/w_log.c: Likewise.
47138         * math/w_logf.c: Likewise.
47139         * math/w_logl.c: Likewise.
47140         * math/w_log10.c: Likewise.
47141         * math/w_log10f.c: Likewise.
47142         * math/w_log10l.c: Likewise.
47143         * math/w_log2.c: Likewise.
47144         * math/w_log2f.c: Likewise.
47145         * math/w_log2l.c: Likewise.
47146         * math/w_pow.c: Likewise.
47147         * math/w_powf.c: Likewise.
47148         * math/w_powl.c: Likewise.
47149         * math/w_remainder.c: Likewise.
47150         * math/w_remainderf.c: Likewise.
47151         * math/w_remainderl.c: Likewise.
47152         * math/w_scalb.c: Likewise.
47153         * math/w_scalbf.c: Likewise.
47154         * math/w_scalbl.c: Likewise.
47155         * math/w_sqrt.c: Likewise.
47156         * math/w_sqrtf.c: Likewise.
47157         * math/w_sqrtl.c: Likewise.
47158         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47159         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
47160         used.
47161         * math/math_private.h: Declare __kernel_standard_f.
47162         * math/w_cosh.c: Remove cruft and optimize a bit.
47163         * math/w_coshf.c: Likewise.
47164         * math/w_coshl.c: Likewise.
47165         * math/w_exp2.c: Likewise.
47166         * math/w_exp2f.c: Likewise.
47167         * math/w_exp2l.c: Likewise.
47168         * math/w_hypot.c: Likewise.
47169         * math/w_hypotf.c: Likewise.
47170         * math/w_hypotl.c: Likewise.
47171         * math/w_lgamma.c: Likewise.
47172         * math/w_lgamma_r.c: Likewise.
47173         * math/w_lgammaf.c: Likewise.
47174         * math/w_lgammaf_r.c: Likewise.
47175         * math/w_lgammal.c: Likewise.
47176         * math/w_lgammal_r.c: Likewise.
47177         * math/w_sinh.c: Likewise.
47178         * math/w_sinhf.c: Likewise.
47179         * math/w_sinhl.c: Likewise.
47180         * math/w_tgamma.c: Likewise.
47181         * math/w_tgammaf.c: Likewise.
47182         * math/w_tgammal.c: Likewise.
47183         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47184         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47185         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47186         Minor optimizations.  Pretty printing.  Remove cruft.
47187         * sysdeps/i386/fpu/e_acosf.S: Likewise.
47188         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47189         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47190         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47191         * sysdeps/i386/fpu/e_acosl.c: Likewise.
47192         * sysdeps/i386/fpu/e_asin.S: Likewise.
47193         * sysdeps/i386/fpu/e_asinf.S: Likewise.
47194         * sysdeps/i386/fpu/e_atan2.S: Likewise.
47195         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47196         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47197         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47198         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47199         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47200         * sysdeps/i386/fpu/e_exp10.S: Likewise.
47201         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47202         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47203         * sysdeps/i386/fpu/e_exp2.S: Likewise.
47204         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47205         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47206         * sysdeps/i386/fpu/e_fmod.S: Likewise.
47207         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47208         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47209         * sysdeps/i386/fpu/e_hypot.S: Likewise.
47210         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47211         * sysdeps/i386/fpu/e_log.S: Likewise.
47212         * sysdeps/i386/fpu/e_log10.S: Likewise.
47213         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47214         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47215         * sysdeps/i386/fpu/e_log2.S: Likewise.
47216         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47217         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47218         * sysdeps/i386/fpu/e_logf.S: Likewise.
47219         * sysdeps/i386/fpu/e_logl.S: Likewise.
47220         * sysdeps/i386/fpu/e_pow.S: Likewise.
47221         * sysdeps/i386/fpu/e_powf.S: Likewise.
47222         * sysdeps/i386/fpu/e_powl.S: Likewise.
47223         * sysdeps/i386/fpu/e_remainder.S: Likewise.
47224         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47225         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47226         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47227         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47228         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47229         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47230         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47231         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47232         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47233         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47235         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47236         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47237         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47238         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47239         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47240         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47241         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47242         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47243         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47244         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47245         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47246         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47247         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47248         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47249         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47250         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47251         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47252         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47253         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47254         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47255         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47256         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47257         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47258         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47259         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47260         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47261         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47262         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47263         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47264         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47265         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47266         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47267         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47268         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47269         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47270         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47271         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47272         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47273         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47274         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47275         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47276         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47277         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47278         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47279         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47280         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47281         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47282         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47283         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47284         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47285         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47286         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47287         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47288         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47289         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47290         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47291         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47292         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47293         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47296         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47298         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47299         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47300         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47301         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47302         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47303         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47304         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47305         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47306         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47307         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47308         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47309         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47310         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47311         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47312         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47313         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47314         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47315         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47316         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47317         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47318         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47319         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47320         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47321         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47322         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47323         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47324         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47325         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47326         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47327         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47328         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47329         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47330         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47331         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47332         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47333         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47334         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47335         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47336         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47337         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47338         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47339         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47340         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47341         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47342         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
47343         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47344         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47345         (__isnanf): Likewise.
47346         (__isinf_ns): Likewise.
47347         (__isinf_nsf): Likewise.
47348         (__finite): Likewise.
47349         (__finitef): Likewise.
47350         (__ieee754_sqrt): Define as macro.
47351         (__ieee754_sqrtf): Define as macro.
47352         (__ieee754_sqrtl): Define as macro.
47353         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47354         inlined copy.
47355         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47356         __FINITE_MATH_ONLY__ consistent.
47357         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47359 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
47361         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47362         of rawmemchr.
47364         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47366 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
47368         * po/ja.po: Update from translation team.
47370 2011-10-08  Roland McGrath  <roland@hack.frob.com>
47372         * locale/programs/locarchive.c (prepare_address_space): New function.
47373         (create_archive, enlarge_archive, open_archive): Use it.
47375         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47376         inside [SHARED], where it is used.
47378         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47380         * nss/getent.c (netgroup_keys): Remove unused variable.
47381         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47383 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
47385         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47386         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47388         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47389         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47390         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47391         * math/Makefile (libm-calls): Add s_isinf_ns.
47392         * math/divtc3.c: Use __isinf_nsl instead of isinf.
47393         * math/multc3.c: Likewise.
47394         * math/s_casin.c: Likewise.
47395         * math/s_casinf.c: Likewise.
47396         * math/s_casinl.c: Likewise.
47397         * math/s_ccos.c: Likewise.
47398         * math/s_ccosf.c: Likewise.
47399         * math/s_ccosl.c: Likewise.
47400         * math/s_ctan.c: Likewise.
47401         * math/s_ctanf.c: Likewise.
47402         * math/s_ctanh.c: Likewise.
47403         * math/s_ctanhf.c: Likewise.
47404         * math/s_ctanhl.c: Likewise.
47405         * math/s_ctanl.c: Likewise.
47406         * math/w_fmod.c: Likewise.
47407         * math/w_fmodf.c: Likewise.
47408         * math/w_fmodl.c: Likewise.
47409         * math/w_remainder.c: Likewise.
47410         * math/w_remainderf.c: Likewise.
47411         * math/w_remainderl.c: Likewise.
47412         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47413         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47414         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47415         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47416         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47417         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47418         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47419         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47421         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47422         of the number.
47423         * stdio-common/printf_fphex.c: Likewise.
47424         * stdio-common/printf_size.c: Likewise.
47426         * math/e_exp10.c: Include math_private.h using <...> not "...".
47427         * math/e_exp10f.c: Likewise.
47428         * math/e_exp10l.c: Likewise.
47429         * math/e_exp2l.c: Likewise.
47430         * math/e_j0l.c: Likewise.
47431         * math/e_j1l.c: Likewise.
47432         * math/e_jnl.c: Likewise.
47433         * math/e_lgammal_r.c: Likewise.
47434         * math/e_rem_pio2l.c: Likewise.
47435         * math/e_scalb.c: Likewise.
47436         * math/e_scalbf.c: Likewise.
47437         * math/e_scalbl.c: Likewise.
47438         * math/k_cosl.c: Likewise.
47439         * math/k_sinl.c: Likewise.
47440         * math/k_tanl.c: Likewise.
47441         * math/s_cacoshf.c: Likewise.
47442         * math/s_catan.c: Likewise.
47443         * math/s_catanf.c: Likewise.
47444         * math/s_catanh.c: Likewise.
47445         * math/s_catanhf.c: Likewise.
47446         * math/s_catanhl.c: Likewise.
47447         * math/s_catanl.c: Likewise.
47448         * math/s_ccosh.c: Likewise.
47449         * math/s_ccoshf.c: Likewise.
47450         * math/s_ccoshl.c: Likewise.
47451         * math/s_cexp.c: Likewise.
47452         * math/s_cexpf.c: Likewise.
47453         * math/s_cexpl.c: Likewise.
47454         * math/s_clog.c: Likewise.
47455         * math/s_clog10.c: Likewise.
47456         * math/s_clog10f.c: Likewise.
47457         * math/s_clog10l.c: Likewise.
47458         * math/s_clogf.c: Likewise.
47459         * math/s_clogl.c: Likewise.
47460         * math/s_csin.c: Likewise.
47461         * math/s_csinf.c: Likewise.
47462         * math/s_csinh.c: Likewise.
47463         * math/s_csinhf.c: Likewise.
47464         * math/s_csinhl.c: Likewise.
47465         * math/s_csinl.c: Likewise.
47466         * math/s_csqrt.c: Likewise.
47467         * math/s_csqrtf.c: Likewise.
47468         * math/s_csqrtl.c: Likewise.
47469         * math/s_ctan.c: Likewise.
47470         * math/s_ctanf.c: Likewise.
47471         * math/s_ctanh.c: Likewise.
47472         * math/s_ctanhf.c: Likewise.
47473         * math/s_ctanhl.c: Likewise.
47474         * math/s_ctanl.c: Likewise.
47475         * math/s_ldexp.c: Likewise.
47476         * math/s_ldexpf.c: Likewise.
47477         * math/s_ldexpl.c: Likewise.
47478         * math/s_significand.c: Likewise.
47479         * math/s_significandf.c: Likewise.
47480         * math/s_significandl.c: Likewise.
47481         * math/w_acos.c: Likewise.
47482         * math/w_acosf.c: Likewise.
47483         * math/w_acosh.c: Likewise.
47484         * math/w_acoshf.c: Likewise.
47485         * math/w_acoshl.c: Likewise.
47486         * math/w_acosl.c: Likewise.
47487         * math/w_asin.c: Likewise.
47488         * math/w_asinf.c: Likewise.
47489         * math/w_asinl.c: Likewise.
47490         * math/w_atan2.c: Likewise.
47491         * math/w_atan2f.c: Likewise.
47492         * math/w_atan2l.c: Likewise.
47493         * math/w_atanh.c: Likewise.
47494         * math/w_atanhf.c: Likewise.
47495         * math/w_atanhl.c: Likewise.
47496         * math/w_cosh.c: Likewise.
47497         * math/w_coshf.c: Likewise.
47498         * math/w_coshl.c: Likewise.
47499         * math/w_dremf.c: Likewise.
47500         * math/w_exp10.c: Likewise.
47501         * math/w_exp10f.c: Likewise.
47502         * math/w_exp10l.c: Likewise.
47503         * math/w_exp2.c: Likewise.
47504         * math/w_exp2f.c: Likewise.
47505         * math/w_fmod.c: Likewise.
47506         * math/w_fmodf.c: Likewise.
47507         * math/w_fmodl.c: Likewise.
47508         * math/w_hypot.c: Likewise.
47509         * math/w_hypotf.c: Likewise.
47510         * math/w_hypotl.c: Likewise.
47511         * math/w_j0.c: Likewise.
47512         * math/w_j0f.c: Likewise.
47513         * math/w_j0l.c: Likewise.
47514         * math/w_j1.c: Likewise.
47515         * math/w_j1f.c: Likewise.
47516         * math/w_j1l.c: Likewise.
47517         * math/w_jn.c: Likewise.
47518         * math/w_jnf.c: Likewise.
47519         * math/w_jnl.c: Likewise.
47520         * math/w_lgamma.c: Likewise.
47521         * math/w_lgamma_r.c: Likewise.
47522         * math/w_lgammaf.c: Likewise.
47523         * math/w_lgammaf_r.c: Likewise.
47524         * math/w_lgammal.c: Likewise.
47525         * math/w_lgammal_r.c: Likewise.
47526         * math/w_log.c: Likewise.
47527         * math/w_log10.c: Likewise.
47528         * math/w_log10f.c: Likewise.
47529         * math/w_log10l.c: Likewise.
47530         * math/w_log2.c: Likewise.
47531         * math/w_log2f.c: Likewise.
47532         * math/w_log2l.c: Likewise.
47533         * math/w_logf.c: Likewise.
47534         * math/w_logl.c: Likewise.
47535         * math/w_pow.c: Likewise.
47536         * math/w_powf.c: Likewise.
47537         * math/w_powl.c: Likewise.
47538         * math/w_remainder.c: Likewise.
47539         * math/w_remainderf.c: Likewise.
47540         * math/w_remainderl.c: Likewise.
47541         * math/w_scalb.c: Likewise.
47542         * math/w_scalbf.c: Likewise.
47543         * math/w_scalbl.c: Likewise.
47544         * math/w_sinh.c: Likewise.
47545         * math/w_sinhf.c: Likewise.
47546         * math/w_sinhl.c: Likewise.
47547         * math/w_sqrt.c: Likewise.
47548         * math/w_sqrtf.c: Likewise.
47549         * math/w_sqrtl.c: Likewise.
47550         * math/w_tgamma.c: Likewise.
47551         * math/w_tgammaf.c: Likewise.
47552         * math/w_tgammal.c: Likewise.
47554         * po/ja.po: Update from translation team.
47556 2011-09-29  Andreas Jaeger  <aj@suse.de>
47558         [BZ #13179]
47559         * sunrpc/netname.c (netname2host): Fix logic.
47561         [BZ #6779]
47562         [BZ #6783]
47563         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47564         correctly.
47565         * math/w_remainder.c (__remainder): Likewise.
47566         * math/w_remainderf.c (__remainderf): Likewise.
47567         * math/libm-test.inc (remainder_test): Add test cases.
47569 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47571         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47572         sdiv_qrnnd.
47574 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47576         * string/test-memcmp.c: Avoid unncessary #defines.
47577         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47579 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47581         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47582         Use new sse2 version for core i3 - i7 as it's faster
47583         than sse42 version.
47584         (bit_Prefer_PMINUB_for_stringop): New.
47585         * sysdeps/x86_64/rawmemchr.S: Update.
47586         Replace with faster SSE2 version.
47587         * sysdeps/x86_64/memrchr.S: New file.
47588         * sysdeps/x86_64/memchr.S: Update.
47589         Replace with faster SSE2 version.
47591 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47593         * elf/dl-load.c (lose): Add cast to avoid warning.
47595 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47597         * po/ca.po: Update from translation team.
47599         * inet/getnetgrent_r.c: Hook up nscd.
47600         * nscd/Makefile (routines): Add nscd_netgroup.
47601         (nscd-modules): Add netgroupcache.
47602         (CFLAGS-netgroupcache.c): Define.
47603         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47604         (cache_search): Add const to second parameter.
47605         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47606         INNETGR.
47607         (dbs): Add netgrdb entry.
47608         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47609         (verify_persistent_db): Handle netgrdb.
47610         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47611         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47612         GETFDNETGR.
47613         (netgroup_response_header): Define.
47614         (innetgroup_response_header): Define.
47615         (datahead): Add netgroup_response_header and innetgroup_response_header
47616         elements.
47617         * nscd/nscd.conf: Add entries for netgroup cache.
47618         * nscd/nscd.h (dbtype): Add netgrdb.
47619         (_PATH_NSCD_NETGROUP_DB): Define.
47620         (netgroup_iov_disabled): Declare.
47621         (xmalloc, xcalloc, xrealloc): Move declarations here.
47622         (cache_search): Adjust prototype.
47623         Add netgroup-related prototypes.
47624         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47625         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47626         (__nscd_innetgr): Declare.
47627         * nscd/selinux.c (perms): Use access_vector_t as element type and
47628         add netgroup-related initializers.
47629         * nscd/netgroupcache.c: New file.
47630         * nscd/nscd_netgroup.c: New file.
47631         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47632         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47633         For four parameters use innetgr.
47634         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47635         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47636         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47637         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47639         * nscd/connections.c (register_traced_file): Don't register file
47640         for disabled databases.
47642 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47644         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47646         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47647         from tree and freeing node.
47649 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47651         * nss/nsswitch.c (__nss_database_lookup): Handle
47652         nss_parse_service_list out of memory case.
47654 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47656         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47657         out of memory case.
47659 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47661         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47662         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47663         pass it down.
47664         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47665         elf_machine_rela, elf_machine_lazy_rel.
47666         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47667         (ELF_DYNAMIC_DO_REL): Likewise.
47668         (ELF_DYNAMIC_DO_RELA): Likewise.
47669         (ELF_DYNAMIC_RELOCATE): Likewise.
47670         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47671         to ELF_DYNAMIC_DO_REL.
47672         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47673         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47674         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47675         elf_machine_rela.
47676         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47677         skip_ifunc, don't call ifunc function if non-zero.
47678         (elf_machine_rela): Likewise.
47679         (elf_machine_lazy_rel): Likewise.
47680         (elf_machine_lazy_rela): Likewise.
47681         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47682         (elf_machine_lazy_rel): Likewise.
47683         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47684         Likewise.
47685         (elf_machine_lazy_rel): Likewise.
47686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47687         Likewise.
47688         (elf_machine_lazy_rel): Likewise.
47689         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47690         (elf_machine_lazy_rel): Likewise.
47691         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47692         (elf_machine_lazy_rel): Likewise.
47693         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47694         (elf_machine_lazy_rel): Likewise.
47695         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47696         (elf_machine_lazy_rel): Likewise.
47697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47698         (elf_machine_lazy_rel): Likewise.
47699         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47700         (elf_machine_lazy_rel): Likewise.
47702 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
47704         * nss/nss_files/files-init.c (_nss_files_init): Use static
47705         initialization for all the *_traced_file variables.
47707 2011-09-28  Andreas Schwab  <schwab@redhat.com>
47709         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47711 2011-09-27  Roland McGrath  <roland@hack.frob.com>
47713         [BZ #13226]
47714         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47716 2011-09-27  Andreas Schwab  <schwab@redhat.com>
47718         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47719         Reread the line before reparsing it.
47721 2011-09-26  Andreas Schwab  <schwab@redhat.com>
47723         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47725 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
47726             Maxim Kuvyrkov  <maxim@codesourcery.com>
47727             Joseph Myers  <joseph@codesourcery.com>
47729         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47730         if needed for __stack_chk_guard.
47732 2011-09-19  Roland McGrath  <roland@hack.frob.com>
47734         * sysdeps/posix/spawni.c (script_execute): Always define it.
47735         It will be optimized away if unused.
47736         (maybe_script_execute): New function.
47737         (__spawni): Call it.
47739         * Makerules: Don't include tls.make.
47740         (config-tls): Always set to thread.
47741         * tls.make.c: File removed.
47743 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
47745         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47746         * config.make.in (CPPFLAGS-config): New substituted variable.
47748 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47750         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47752         [BZ #13192]
47753         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47754         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47756 2011-09-15  Roland McGrath  <roland@hack.frob.com>
47758         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47759         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47760         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47761         (CALL_FAIL): Likewise.
47762         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47763         (CALL_FAIL): Macro removed.
47764         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47766 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47768         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47769         for __FINITE_MATH_ONLY__ == 1.
47771 2011-09-15  Andreas Schwab  <schwab@redhat.com>
47773         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47774         __ieee754_sqrt instead of sqrt.
47775         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47776         __ieee754_sqrtf instead of sqrtf.
47777         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47778         __floorf instead of floorf.
47779         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47780         __floorf, __truncf instead of floorf, truncf.
47782 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
47784         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47786         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47787         __extern_always_inline.
47788         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47789         32-bit.
47791 2011-09-14  Andreas Schwab  <schwab@redhat.com>
47793         * elf/rtld.c (dl_main): Also relocate in dependency order when
47794         doing symbol dependency testing.
47796 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
47798         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47799         Always define `refsym'.
47801 2011-09-13  Andreas Schwab  <schwab@redhat.com>
47803         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47804         (__FD_ELT): Renamed from __FDELT.
47805         * misc/bits/select2.h (__FD_ELT): Likewise.
47806         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47807         __FD_MASK instead of __FDELT, __FDMASK.
47808         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47809         Likewise.
47810         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47811         Likewise.
47813         * elf/Makefile (gen-ldd): Fix pattern.
47815         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47816         (init_tls): Likewise.
47818 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
47820         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47822 2011-09-12  Andreas Schwab  <schwab@redhat.com>
47824         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47825         `struct cmsghdr *' instead of `void *'.
47826         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47827         Likewise.
47829 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
47831         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47832         if non-absolute.
47833         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47834         ldd_rewrite_script.
47836 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
47838         * configure.in: Remove --with-tls option.
47839         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47840         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47841         out in case it is missing.
47842         * sysdeps/ia64/elf/configure.in: Likewise.
47843         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47844         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47845         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47846         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47847         * sysdeps/sh/elf/configure.in: Likewise.
47848         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47849         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47850         * sysdeps/x86_64/elf/configure.in: Likewise.
47851         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47852         * sysdeps/mach/hurd/tls.h: Likewise.
47854         [BZ #13067]
47855         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47857         [BZ #13090]
47858         * configure.in: Fix use of AC_INIT.
47860         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47862 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
47864         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47865         __set_errno.
47866         * malloc/hooks.c: Likewise.
47868         [BZ #11929]
47869         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
47870         variables statically.
47871         (narenas): Initialize.
47872         (list_lock): Initialize.
47873         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
47874         initializtion of main_arena and list_lock.  Small cleanups.
47875         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47876         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
47877         Add initializers to main_arena and mp_.
47878         (malloc_state): Remove pagesize member.  Change all users to use
47879         GLRO(dl_pagesize).
47881         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47882         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
47883         is always initialized.
47885         * malloc/malloc.c: Removed unused configurations and dead code.
47886         * malloc/arena.c: Likewise.
47887         * malloc/hooks.c: Likewise.
47888         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47890         * include/tls.h: Removed.  USE___THREAD must always be defined.
47891         * bits/libc-tsd.h: Don't handle !USE___THREAD.
47892         * elf/dl-libc.c: Likewise.
47893         * elf/dl-tsd.c: Likewise.
47894         * include/errno.h: Likewise.
47895         * include/netdb.h: Likewise.
47896         * include/resolv.h: Likewise.
47897         * inet/herrno-loc.c: Likewise.
47898         * inet/herrno.c: Likewise.
47899         * malloc/arena.c: Likewise.
47900         * malloc/hooks.c: Likewise.
47901         * malloc/malloc.c: Likewise.
47902         * resolv/res-state.c: Likewise.
47903         * resolv/res_libc.c: Likewise.
47904         * sysdeps/i386/dl-machine.h: Likewise.
47905         * sysdeps/ia64/dl-machine.h: Likewise.
47906         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47907         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47908         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47909         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47910         * sysdeps/sh/dl-machine.h: Likewise.
47911         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47912         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47913         * sysdeps/unix/i386/sysdep.S: Likewise.
47914         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47915         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47916         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47920         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47921         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47922         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47923         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47924         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47925         * sysdeps/x86_64/dl-machine.h: Likewise.
47926         * tls.make.c: Likewise.
47928         * configure.in: Remove --with-__thread option.  Make tests for
47929         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47930         tls_model attribute fail if no support is available.  Remove
47931         USE_IN_LIBIO.
47932         * Makeconfig: Adjust for dropped configure option.  All features are
47933         now mandatory.
47934         * Makerules: Likewise.
47935         * Versions.def: Likewise.
47936         * argp/argp-fmtstream.c: Likewise.
47937         * argp/argp-fmtstream.h: Likewise.
47938         * argp/argp-help.c: Likewise.
47939         * assert/assert.c: Likewise.
47940         * config.h.in: Likewise.
47941         * config.make.in: Likewise.
47942         * configure: Likewise.
47943         * configure.in: Likewise.
47944         * csu/Versions: Likewise.
47945         * csu/init.c: Likewise.
47946         * elf/tst-audit2.c: Likewise.
47947         * elf/tst-tls10.c: Likewise.
47948         * elf/tst-tls10.h: Likewise.
47949         * elf/tst-tls11.c: Likewise.
47950         * elf/tst-tls12.c: Likewise.
47951         * elf/tst-tls14.c: Likewise.
47952         * elf/tst-tlsmod11.c: Likewise.
47953         * elf/tst-tlsmod12.c: Likewise.
47954         * elf/tst-tlsmod13.c: Likewise.
47955         * elf/tst-tlsmod13a.c: Likewise.
47956         * elf/tst-tlsmod14a.c: Likewise.
47957         * elf/tst-tlsmod15b.c: Likewise.
47958         * elf/tst-tlsmod16a.c: Likewise.
47959         * elf/tst-tlsmod16b.c: Likewise.
47960         * elf/tst-tlsmod7.c: Likewise.
47961         * elf/tst-tlsmod8.c: Likewise.
47962         * elf/tst-tlsmod9.c: Likewise.
47963         * gmon/gmon.c: Likewise.
47964         * grp/fgetgrent_r.c: Likewise.
47965         * grp/putgrent.c: Likewise.
47966         * hurd/fopenport.c: Likewise.
47967         * include/libc-symbols.h: Likewise.
47968         * include/tls.h: Likewise.
47969         * intl/gettextP.h: Likewise.
47970         * intl/loadinfo.h: Likewise.
47971         * locale/global-locale.c: Likewise.
47972         * locale/localeinfo.h: Likewise.
47973         * mach/devstream.c: Likewise.
47974         * malloc/arena.c: Likewise.
47975         * malloc/set-freeres.c: Likewise.
47976         * misc/err.c: Likewise.
47977         * misc/getttyent.c: Likewise.
47978         * misc/mntent_r.c: Likewise.
47979         * posix/getopt.c: Likewise.
47980         * posix/wordexp.c: Likewise.
47981         * pwd/fgetpwent_r.c: Likewise.
47982         * resolv/Versions: Likewise.
47983         * resolv/res_hconf.c: Likewise.
47984         * shadow/fgetspent_r.c: Likewise.
47985         * shadow/putspent.c: Likewise.
47986         * stdio-common/printf_fphex.c: Likewise.
47987         * stdio-common/tmpfile.c: Likewise.
47988         * stdlib/abort.c: Likewise.
47989         * stdlib/fmtmsg.c: Likewise.
47990         * sunrpc/auth_unix.c: Likewise.
47991         * sunrpc/clnt_perr.c: Likewise.
47992         * sunrpc/clnt_tcp.c: Likewise.
47993         * sunrpc/clnt_udp.c: Likewise.
47994         * sunrpc/clnt_unix.c: Likewise.
47995         * sunrpc/openchild.c: Likewise.
47996         * sunrpc/svc_simple.c: Likewise.
47997         * sunrpc/svc_tcp.c: Likewise.
47998         * sunrpc/svc_udp.c: Likewise.
47999         * sunrpc/svc_unix.c: Likewise.
48000         * sunrpc/xdr.c: Likewise.
48001         * sunrpc/xdr_array.c: Likewise.
48002         * sunrpc/xdr_rec.c: Likewise.
48003         * sunrpc/xdr_ref.c: Likewise.
48004         * sunrpc/xdr_stdio.c: Likewise.
48006 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48008         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48010 2011-07-03  Andreas Jaeger  <aj@suse.de>
48012         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48013         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48014         regenerate with gen-libm-tests.pl.
48016 2010-05-12  Petr Baudis  <pasky@suse.cz>
48018         [BZ #11589]
48019         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48020         around j0() zero points by switching to j1().
48021         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48022         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48023         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48024         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48026 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48028         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48029         instead of 0.
48030         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48031         instead of 0.
48032         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48033         Patch in part by Pavel Roskin <proski@gnu.org>.
48035         [BZ #13138]
48036         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48037         realloc.
48038         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
48039         Free memory block if necessary.
48041         [BZ #12847]
48042         * libio/genops.c (INTDEF): For string streams the _lock pointer can
48043         be NULL.  Don't lock in this case.
48045 2011-09-09  Roland McGrath  <roland@hack.frob.com>
48047         * elf/elf.h (ELFOSABI_GNU): New macro.
48048         (ELFOSABI_LINUX): Define to that.
48050 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
48052         * string/strncat.c (strncat): Undef the symbol in case it has been
48053         defined in bits/string.h.
48055 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48057         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48059         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48060         link map.
48062 2011-08-17  Andreas Jaeger  <aj@suse.de>
48064         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48066 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48067             Ian Lance Taylor  <iant@google.com>
48069         * math/libm-test.inc (lround_test): New testcase.
48070         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48072 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
48074         * Makefile: Remove support for automatic cvs check-ins.
48075         * Makerules: Likewise.
48076         * config.make.in: Likewise.
48077         * configure.in: Likewise.
48078         * intl/Makefile: Likewise.
48079         * locale/Makefile: Likewise.
48080         * po/Makefile: Likewise.
48081         * posix/Makefile: Likewise.
48082         * sysdeps/gnu/Makefile: Likewise.
48083         * sysdeps/mach/hurd/Makefile: Likewise.
48084         * sysdeps/sparc/sparc32/Makefile: Likewise.
48086         [BZ #13118]
48087         * posix/Makefile (bug-regex32-ENV): Define.
48088         Patch by John Stanley <jpsinthemix@verizon.net>.
48090         * misc/Makefile (headers): Add bits/select2.h.
48091         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48092         * misc/bits/select2.h: New file.
48093         * include/bits/select2.h: New file.
48094         * debug/Makefile (routines): Add fdelt_chk.
48095         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48096         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48097         FD_ISSET.
48098         * debug/fdelt_chk.c: New file.
48100         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
48101         * wcsmbs/test-wmemcmp.c: Likewise.
48102         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48103         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48105 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48107         * string/Makefile (strop-tests): Add memcmp.
48108         * string/test-wmemcmp.c: New file.
48109         * string/test-memcmp.c: Add wmemcmp support.
48111 2011-09-08  Roland McGrath  <roland@hack.frob.com>
48113         [BZ #13153]
48114         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48115         2011-07-19 change.
48117         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48118         garbage value in a __mach_port_mod_refs call in the cases of the
48119         task-self and thread-self ports.
48121 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48123         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48125 2011-09-08  Andreas Schwab  <schwab@redhat.com>
48127         * elf/dl-load.c (lose): Check for non-null L.
48129 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48131         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48133         * elf/dl-libc.c (dlerror_run): Pass back error code from
48134         dl_catch_error.
48136         [BZ #13123]
48137         * elf/dl-load.c (lose): Free l_origin if it is valid.
48139         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48140         names.
48141         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48142         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48143         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48144         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48145         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48146         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48148 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48150         * sysdeps/powerpc/fpu/e_hypot.c: New file.
48151         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48152         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48153         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48154         * sysdeps/powerpc/fpu/k_cosf.c: New file.
48155         * sysdeps/powerpc/fpu/k_sinf.c: New file.
48156         * sysdeps/powerpc/fpu/s_cosf.c: New file.
48157         * sysdeps/powerpc/fpu/s_sinf.c: New file.
48158         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48159         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48161 2011-08-15  Alan Modra  <amodra@gmail.com>
48163         [BZ #13092]
48164         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48165         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48166         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
48167         ppc_mcount to static-only-routines.
48168         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48169         __mcount_internal.
48170         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48171         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
48173 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
48175         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48176         for finite and infinity parameters.
48178 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48180         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48181         and add nop instructions for throughput optimization.
48182         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48184 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
48186         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48187         aligned copy for power7 with vector-scalar instructions.
48188         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48190 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
48192         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48193         AVX check.
48195 2011-09-07  Andreas Schwab  <schwab@redhat.com>
48197         [BZ #13144]
48198         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48199         last change.
48201 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48203         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48204         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48205         syscall wrapper around clock_gettime in __vdso_clock_gettime.
48206         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48207         clock_gettime.
48209 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48211         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48212         Forgot to demangle the pointer.
48214         * sysdeps/i386/sysdep.h: Define atom_text_section.
48215         * sysdeps/x86_64/sysdep.h: Likewise.
48216         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48217         section with atom_text_section.
48218         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48219         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48220         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48221         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48222         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48224         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48225         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48226         already be defined.  Change to take two parameters and don't assign
48227         result to variable.  Adjust all users.
48228         Define INTERNAL_GETTIME if not already defined.
48229         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48230         call.
48231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48232         HAVE_CLOCK_GETTIME_VSYSCALL.
48233         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48236         gettimeofday vsyscall, just use time.
48238 2011-09-06  Andreas Schwab  <schwab@redhat.com>
48240         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48241         <errno.h>.
48243 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48245         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48246         syscall on x86-64.
48247         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48248         syscall.
48249         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48250         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48251         syscall if possible.
48253 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48255         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48256         e_ident.  Don't pass to find_mapsXX.
48257         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48259 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48262         strchr-sse2-no-bsf strrchr-sse2-no-bsf
48263         * sysdeps/x86_64/multiarch/strchr.S: Update.
48264         Check bit_slow_BSF bit.
48265         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48266         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48267         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48269 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48271         [BZ #13134]
48272         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48273         before glibc 2.15.
48274         (tryshell): Define.
48275         (__spawni): Change last parameter to be flag.  Test
48276         SPAWN_XFLAGS_USE_PATH flag to use path or not.
48277         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48278         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48279         * posix/spawni.c: Likewise.
48280         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48281         * posix/spawnp.c: Likewise.  Change normal version to use
48282         SPAWN_XFLAGS_USE_PATH.
48283         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48284         SPAWN_XFLAGS_TRY_SHELL.
48286         [BZ #13150]
48287         * posix/glob.h: Remove gcc 1.x support.
48289         [BZ #13068]
48290         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48292 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48295         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48296         strrchr-sse2-bsf
48297         * sysdeps/i386/i686/multiarch/strchr.S: New file.
48298         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48299         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48300         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48301         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48302         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48304 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48306         * sysdeps/x86_64/wcscmp.S: New file.
48308         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48309         wcscmp-c wcscmp-sse2
48310         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48311         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48312         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48313         * wcsmbs/wcscmp.c: Allow renaming.
48315 2011-09-05  David S. Miller  <davem@davemloft.net>
48317         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48318         stack slot, rather than the struct return pointer slot.
48319         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48320         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48322         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48324 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48326         * po/ja.po: Update from translation team.
48328         [BZ #13144]
48329         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48330         kernel in 64-bit binaries.
48332 2011-09-01  David S. Miller  <davem@davemloft.net>
48334         * elf/elf.h (HWCAP_SPARC_*): Move to..
48335         * sysdeps/sparc/sysdep.h: this new file and add new values.
48336         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48337         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48338         _DL_HWCAP_COUNT to 24.
48339         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48340         entries.
48341         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48342         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48343         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48344         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48345         instead of magic constants.
48346         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48348 2011-08-31  David S. Miller  <davem@davemloft.net>
48350         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48351         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48352         Reimplement to do errno handling inline.
48353         (SYSCALL_ERROR_HANDLER): New macro.
48354         (__SYSCALL_STRING): Do not do errno handling in asm.
48355         (__CLONE_SYSCALL_STRING): Delete.
48356         (__INTERNAL_SYSCALL_STRING): Delete.
48357         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48358         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48359         (PSEUDO): Reimplement to do errno handling inline.
48360         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48361         (SYSCALL_ERROR_HANDLER): New macro.
48362         (__SYSCALL_STRING): Do not do errno handling in asm.
48363         (__CLONE_SYSCALL_STRING): Delete.
48364         (__INTERNAL_SYSCALL_STRING): Delete.
48365         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48366         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48367         i386.
48368         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48369         (inline_syscall*): Add 'err' argument.
48370         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48371         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48372         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48373         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48375         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48376         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48378 2011-08-30  Andreas Schwab  <schwab@redhat.com>
48380         * elf/rtld.c (dl_main): Relocate objects in dependency order.
48382 2011-08-29  Jiri Olsa <jolsa@redhat.com>
48384         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48385         directive.
48387 2011-08-24  David S. Miller  <davem@davemloft.net>
48389         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48391 2011-08-24  Andreas Schwab  <schwab@redhat.com>
48393         * elf/Makefile: Add rules to build and run unload8 test.
48394         * elf/unload8.c: New file.
48395         * elf/unload8mod1.c: New file.
48396         * elf/unload8mod1x.c: New file.
48397         * elf/unload8mod2.c: New file.
48398         * elf/unload8mod3.c: New file.
48400         * elf/dl-close.c (_dl_close_worker): Reset private search list if
48401         it wasn't used.
48403 2011-08-23  David S. Miller  <davem@davemloft.net>
48405         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48406         subtract stack bias.
48407         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48408         %sp not %fp in calculations.
48409         (_JMPBUF_UNWINDS_ADJ): Likewise.
48411         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48412         (aio_suspend): Call it to force an exception region around the
48413         AIO_MISC_WAIT() invocation.
48415 2011-08-23  Andreas Schwab  <schwab@redhat.com>
48417         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48418         backslash.
48420 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
48422         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48423         protection macro.
48424         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48425         and <dl-machine.h>.
48426         (Elf64_FuncDesc): Remove.
48428 2011-08-22  David S. Miller  <davem@davemloft.net>
48430         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48431         sigaltstack check, add missing cfi directives.
48432         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48433         missing cfi directives, and sigaltstack handling.
48435 2011-08-16  Andreas Schwab  <schwab@redhat.com>
48437         [BZ #11724]
48438         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48439         object is seen twice.
48440         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48442         * elf/Makefile (distribute): Add tst-initorder2.c.
48443         (tests): Add tst-initorder2.
48444         (modules-names): Add tst-initorder2a tst-initorder2b
48445         tst-initorder2c tst-initorder2d.  Add rules to build them.
48446         ($(objpfx)tst-initorder2.out): New rule.
48447         * elf/tst-initorder2.c: New file.
48448         * elf/tst-initorder2.exp: New file.
48450 2011-08-22  Andreas Schwab  <schwab@redhat.com>
48452         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48454         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48455         dependencies back to end of function.
48457         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48458         $(elfobjdir)/ld.so.
48460 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
48462         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48463         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48464         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48465         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48466         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48467         of __vdso_gettimeofday.
48468         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48469         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
48470         attribute_hidden.
48471         (_libc_vdso_platform_setup): Remove initialization of
48472         __vdso_gettimeofday and __vdso_time.
48474 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48476         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48477         and fgetc_unlocked.
48478         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48479         getc_unlocked.
48481         * elf/dl-open.c (add_to_global): Report additions to the global scope
48482         for LD_DEBUG=scopes.
48483         (dl_open_worker): Also print scope of newly loaded dependencies.
48484         (_dl_show_scope): Indicate if there is no scope.
48486         [BZ #13114]
48487         * stdio-common/Makefile (tests): Add bug24.
48488         * stdio-common/bug24.c: New file.
48490 2011-08-19  Andreas Jaeger  <aj@suse.de>
48492         [BZ #13114]
48493         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48494         non-existant file when using close-on-exec mode.
48496 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48498         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48499         the very first instruction.
48501         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48502         the CFI state in the end.
48503         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48504         inclusion of dl-trampoline.h.
48505         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48507 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48509         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48510         expectations for long double.
48512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48513         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48515 2011-08-14  David S. Miller  <davem@davemloft.net>
48517         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48518         artificual limit depends upon the system page size.
48520 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48522         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48523         * resolv/Makefile: Define CFLAGS-libresolv.
48525 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48527         * nss/makedb.c (compute_tables): Make variables used in nested
48528         function static.
48530 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48532         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48533         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48534         if buffer was too small.
48536         * elf/pldd.c (main): Attach to all threads in the process.
48537         Rewrite /proc handling to use *at functions.
48539 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48541         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48542         specifies first scope to show.
48543         (dl_open_worker): Update callers.  Move printing scope of new
48544         object to before the relocation.
48545         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48546         * sysdeps/generic/ldsodefs.h: Update declaration.
48548         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48549         string for the scope number.
48551 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48553         * nscd/servicescache.c (cache_addserv): Make sure written is always
48554         initialized.
48556 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48558         * sysdeps/i386/i486/bits/atomic.h
48559         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48560         statement expression, so as to suppress "set but not used" warning.
48561         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48563         * string/strncat.c (STRNCAT): Use prototype definition.
48565         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48566         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48567         -Iprograms here.
48568         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48569         (localedef-modules): Add localedef.
48570         (locale-modules): Add locale.
48572         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48573         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48574         to avoid a warning.
48576 2011-08-14  David S. Miller  <davem@davemloft.net>
48578         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48579         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48581 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48583         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48584         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48585         * elf/rtld.c (dl_main): Set l_name of vDSO.
48586         Call _dl_show_scope when DL_DEBUG_SCOPES.
48587         (process_dl_debug): Recognize scopes flag and also set it for all.
48588         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48589         Declare _dl_show_scope.
48591         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48592         (do_dlopen): Pass caller_dlopen to dl_open.
48593         (__libc_dlopen_mode): Initialize caller_dlopen.
48595         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48596         of libc.  Make tolower call locale-independent.  Optimize a bit by
48597         using isdigit instead of isalnum.
48598         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48600 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48602         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48603         was a dependency or dynamically loaded.
48605 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48607         * intl/l10nflist.c: Allow architecture-specific pop function.
48608         * sysdeps/x86_64/l10nflist.c: New file.
48610         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48611         classification.
48613 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48615         * include/dirent.h: Add libc_hidden_proto for scandirat and
48616         scandirat64.  Don't declare __scandirat64.
48617         * dirent/scandirat.c: Add libc_hidden_def.
48618         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48619         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48621 2011-08-10  David S. Miller  <davem@davemloft.net>
48623         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48624         enum.
48625         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48626         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48627         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48629 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48631         * Versions.def [libc]: Add GLIBC_2.15.
48632         * dirent/Makefile (routines): Add scandirat and scandirat64.
48633         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48634         GLIBC_2.15.
48635         * dirent/dirent.h: Declare scandirat and scandirat64.
48636         * dirent/scandirat.c: New file.
48637         * dirent/scandirat64.c: New file.
48638         * sysdeps/wordsize-64/scandirat.c: New file.
48639         * sysdeps/wordsize-64/scandirat64.c: New file.
48640         * dirent/opendir.c: Define opendirat.
48641         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48642         using scandirat.
48643         * dirent/scandir64.c: Adjust for scandir.c change.
48644         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48645         __scandirat64, and __scandir_cancel_handler.
48646         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48647         additional parameter and use openat instead of open (outside of ld.so).
48648         Add new __opendir as wrapper around __opendirat.
48649         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48650         here without requiring old scandirat implementation.
48652 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48654         * dirent/scandir.c (cancel_handler): Renamed to
48655         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48656         defined.  Adjust users.
48657         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48658         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48660 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48662         * string/test-string.h (IMPL): Use __STRING to expand name and then
48663         stringify it.
48665         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48666         of cleanups.
48668 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48670         * string/Makefile: Update.
48671         (strop-tests): Append strncat.
48672         * string/test-wcscmp.c: New file.
48673         New comprehensive test for wcscmp.
48674         * string/test-strcmp.c: Update.
48675         (WIDE): New define.
48677 2011-07-22  Andreas Schwab  <schwab@redhat.com>
48679         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48680         line.
48682 2011-07-26  Andreas Schwab  <schwab@redhat.com>
48684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48685         encoding to ACE if AI_IDN.
48687 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
48689         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48690         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48692 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48694         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48695         Fix overflow bug in strncat.
48696         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48698         * string/test-strncat.c: Update.
48699         Add new tests for checking overflow bugs.
48701 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48703         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48704         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48705         * sysdeps/i386/i686/multiarch/strcat.S: New file.
48706         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48707         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48708         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48709         * sysdeps/i386/i686/multiarch/strncat.S: New file.
48710         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48711         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48713         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48714         (USE_AS_STRCAT): Define.
48715         Add strcat and strncat support.
48716         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48718 2011-07-25  Andreas Schwab  <schwab@redhat.com>
48720         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48721         __n bigger than INT_MAX+1.
48722         (__strncmp_g): Likewise.
48724 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
48726         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48727         * libio/stido.h: Likewise.
48729         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48730         (AF_NFC): Define.
48731         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48732         (AF_NFC): Define.
48734         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48735         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48736         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48737         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48738         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48740         [BZ #13021]
48741         * scripts/test-installation.pl: Don't expect libnss_test1 to be
48742         installed.
48744         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48745         typo.
48746         (_dl_x86_64_save_sse): Likewise.
48748 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
48750         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48751         OSXSAVE.
48752         (_dl_x86_64_save_sse): Likewise.
48754         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48756         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48758 2011-07-21  Andreas Schwab  <schwab@redhat.com>
48760         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48761         change.
48762         (_dl_x86_64_save_sse): Use correct AVX check.
48764 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48766         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48767         bug in strncpy/strncat.
48768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48770 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
48772         * string/tester.c (test_strcat): Add tests for different alignments
48773         of source and destination.
48774         (test_strncat): Likewise.
48776 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48778         [BZ #12852]
48779         * posix/glob.c (glob): Check passed in values before using them in
48780         expressions to avoid some overflows.
48781         (glob_in_dir): Likewise.
48783         [BZ #13007]
48784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48785         check for AVX enablement so that we don't crash with old kernels and
48786         new hardware.
48787         * elf/tst-audit4.c: Add same checks here.
48788         * elf/tst-audit6.c: Likewise.
48790         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48792 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
48794         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48796 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48798         * po/cs.po: Update from translation team.
48799         * po/bg.po: Likewise.
48801 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
48803         * misc/sys/cdefs.h: Add support for const attribute.
48804         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48805         to gnu_dev_{major,minor,makedev} functions.
48807 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
48809         * intl/dcigettext.c (get_output_charset): Add missing bracket.
48811 2011-07-20  Andreas Schwab  <schwab@redhat.com>
48813         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48814         strlen results.
48816 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48819         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48820         register in order to avoid conflicts with the soft frame pointer
48821         being held in r11 when necessary.
48822         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48823         (INTERNAL_VSYSCALL_NCS): Likewise.
48825 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
48827         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48828         * elf/dl-fini.c (_dl_fini): Adjust caller.
48829         * elf/dl-close.c (_dl_close_worker): Likewise.
48830         * sysdeps/generic/ldsodefs.h: Adjust declaration.
48832 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48834         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48835         "aux_cache->nlibs < 0".
48837         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48838         in the reload-count case.
48840 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48843         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48844         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48845         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48846         * sysdeps/x86_64/multiarch/strcat.S: New file.
48847         * sysdeps/x86_64/multiarch/strncat.S: New file.
48848         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48849         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48850         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48851         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48852         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48853         (USE_AS_STRCAT): Define.
48854         Add strcat and strncat support.
48855         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48856         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48857         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48858         * string/strncat.c: Update.
48859         (USE_AS_STRNCAT): Define.
48860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48861         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48862         and i7.
48863         * sysdeps/x86_64/multiarch/init-arch.h
48864         (bit_Prefer_PMINUB_for_stringop): New.
48865         (index_Prefer_PMINUB_for_stringop): Likewise.
48866         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48867         bit_Prefer_PMINUB_for_stringop.
48869 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48871         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48872         buffer64.
48873         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48874         of casting of buffer.
48875         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48876         buffer32 and buffer64.
48877         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48878         writes instead of casting of buffer.
48879         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48880         buffer32.
48881         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48882         casting of buffer.
48884 2011-07-19  Andreas Schwab  <schwab@redhat.com>
48886         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48888 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48890         * nscd/nscd.c (termination_handler): Don't do anything for a database
48891         if it has not yet been initialized.
48893 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48895         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48897 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48899         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48901 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48903         * po/nl.po: Update from translation team.
48904         * po/sv.po: Likewise.
48906 2011-07-16  Roland McGrath  <roland@hack.frob.com>
48908         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48909         now disallowed by GCC.
48911         * configure.in (use-default-link): Default to yes if a test -shared
48912         link meets our qualifications.
48913         * configure: Regenerated.
48915         * config.make.in (output-format): New variable.
48916         * configure.in: Check for ld --print-output-format support.
48917         * configure: Regenerated.
48918         * Makerules ($(common-objpfx)format.lds)
48919         [$(output-format) != unknown]: Just use $(output-format),
48920         instead of the linker-script munging.
48922 2011-07-14  Roland McGrath  <roland@hack.frob.com>
48924         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48925         of $(common-objpfx)shlib.lds.
48926         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48928         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48929         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48931         * configure.in (-z relro check): Adjust test code to add a large
48932         writable data section after it.
48933         * configure: Regenerated.
48935 2011-07-11  Roland McGrath  <roland@hack.frob.com>
48937         * configure.in (-z relro check): Fix test code to make the variable
48938         truly const.
48939         * configure: Regenerated.
48941 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
48943         * nscd/nscd.h (struct traced_file): Define.
48944         (struct database_dyn): Remove inotify_descr, reset_res, and filename
48945         elements.  Add traced_files.
48946         (inotify_fd): Declare.
48947         (register_traced_file): Declare.
48948         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48949         (inotify_fd): Export.
48950         (resolv_conf_descr): Remove.
48951         (nscd_init): Move inotify descriptor creation to main.
48952         Don't register files for notification here.
48953         (register_traced_file): New function.
48954         (invalidate_cache): Don't use reset_res to determine whether to call
48955         res_init, go through the list of registered files.
48956         (main_loop_poll): The inotify descriptors are now stored in the
48957         structures for the traced files.
48958         (main_loop_epoll): Likewise
48959         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
48960         to __nss_disable_nscd.
48961         * nscd/cache.c (prune_cache): There is no single inotify descriptor
48962         for a database anymore.  Check the records for all the registered
48963         files instead.
48964         * nss/Makefile (libnss_files-routines): Add files-init.
48965         (libnss_db-routines): Add db-init.
48966         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48967         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48968         * nss/nss_db/db-init.c: New file.
48969         * nss/nss_files/files-init.c: New file.
48970         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
48971         __nss_lookup_function.
48972         (__nss_lookup_function): Call nss_load_library.
48973         (nss_load_all_libraries): New function.
48974         (__nss_disable_nscd): Take parameter with callback function for files
48975         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
48976         used for the cached services.
48977         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48978         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48979         options for features to all the files in nscd.
48981         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48983 2011-07-10  Roland McGrath  <roland@hack.frob.com>
48985         * csu/elf-init.c (__libc_csu_init): Comment typo.
48987 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
48989         * po/pl.po: Update from translation team.
48990         * po/ja.po: Likewise.
48991         * po/ru.po: Likewise.
48992         * po/ko.po: Likewise.
48993         * po/fr.po: Likewise.
48995 2011-07-09  Roland McGrath  <roland@hack.frob.com>
48997         * configure.in (.ctors/.dtors header and trailer check):
48998         Use an empirical test on a built program.
48999         * configure: Regenerated.
49001         * configure.in (-z relro check): Use an empirical test on a built DSO.
49002         Detect, but do not require, on ia64.
49003         * configure: Regenerated.
49005         * configure.in (READELF): Find it with AC_CHECK_TOOL.
49006         Update tests that use readelf to use $READELF instead.
49007         * configure: Regenerated.
49009 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
49011         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49012         if the result is not used.
49014 2011-07-05  Andreas Jaeger  <aj@suse.de>
49016         [BZ#9696]
49017         * stdlib/tst-strtod.c: Add testcase.
49019 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
49021         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49022         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49023         The latter has a higher limit.  Take additional parameter to pass to
49024         the new function.
49025         (__pathconf): Pass file to __statfs_link_max.
49026         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49027         __statfs_link_max.
49028         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49029         __statfs_link_max.
49031         [BZ #12868]
49032         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49033         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49034         Handle Lustre.
49035         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49036         (__statfs_filesize_max): Likewise.
49037         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49039 2011-07-05  Andreas Jaeger  <aj@suse.de>
49041         * resolv/res_comp.c (dn_skipname): Remove unused variable.
49043 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
49045         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49046         `status' variable.
49047         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49048         Likewise.
49050 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
49052         * Makefile (strop-tests): Add strncat.
49053         * string/test-strncat.c: New file.
49055 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
49057         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49059 2011-06-21  Andreas Jaeger  <aj@suse.de>
49061         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49062         Copy rule from iconvdata/Makefile.
49064 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49066         [BZ #12922]
49067         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49068         but no long options are defined, just return 'W'.
49070 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
49072         [BZ #9696]
49073         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49075 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49077         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49078         netgroups to read.
49079         (innetgr): Likewise.
49081 2011-07-05  Roland McGrath  <roland@hack.frob.com>
49083         * config.make.in (install_root): Default to $(DESTDIR).
49085 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
49087         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49089 2011-07-02  Roland McGrath  <roland@hack.frob.com>
49091         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49093         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49094         containing directory rather than embedding absolute directory names.
49096         * scripts/check-local-headers.sh: Rewritten using awk.
49097         Match by word, not by line.  Print error messages for matches.
49098         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49100         * Makerules [shlib-lds-flags empty]:
49101         ($(common-objpfx)libc_pic.opts): New target.
49102         ($(common-objpfx)libc_pic.os.clean): New target.
49103         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49105         * config.make.in (OBJCOPY): New variable.
49106         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49107         * configure: Regenerated.
49109         * config.make.in (use-default-link): New variable.
49110         * configure.in (use_default_link): Grok --with-default-link to set it.
49111         * configure: Regenerated.
49112         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49113         (shlib-lds, shlib-lds-flags): Define to empty.
49115         * Makerules (shlib-lds): New variable.
49116         (shlib-lds-flags): New variable.
49117         (build-shlib, build-moduile, build-module-asneeded): Use it.
49118         ($(common-objpfx)libc.so): Use $(shlib-lds).
49119         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49120         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49122         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49123         DT_FLAGS/DT_FLAGS_1 with zero flags.
49125         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49126         linker script munging.
49128 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
49130         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49131         as 128-bit value.
49132         * crypt/sha512.c (sha512_process_block): Perform total addition using
49133         128-bit if possible.
49134         (__sha512_finish_ctx): Likewise.
49135         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49136         as 64-bit value.
49137         * crypt/sha256.c (SWAP64): Define.
49138         (sha256_process_block): Perform total addition using 64-bit if
49139         possible.
49140         (__sha256_finish_ctx): Likewise.
49142 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
49144         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
49145         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49146         * nscd/hstcache.c (cache_addhst): Likewise.
49147         * nscd/grpcache.c (cache_addgr): Likewise.
49148         * nscd/aicache.c (addhstaiX): Likewise
49149         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49151 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
49153         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49154         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49155         * nscd/hstcache.c (cache_addhst): Likewise.
49156         * nscd/grpcache.c (cache_addgr): Likewise.
49157         * nscd/aicache.c (addhstaiX): Likewise
49159 2011-07-01  Andreas Schwab  <schwab@redhat.com>
49161         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49162         domain only when needed.
49164 2011-06-30  Andreas Schwab  <schwab@redhat.com>
49166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49167         is always restored.
49169 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
49171         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49172         are re-adding the entry.
49173         * nscd/servicescache.c (cache_addserv): Likewise.
49175 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
49177         * sysdeps/generic/dl-irel.h: fix protection against multiple
49178         inclusions.
49179         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49181 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
49183         [BZ #12935]
49184         * malloc/memusage.sh: Fix quoting in message.
49185         * debug/xtrace.sh: Likewise.
49187         * configure.in: Remove support for --experimental-malloc option, make
49188         it the default.
49189         * config.make.in: Likewise.
49190         * malloc/Makefile: Likewise.
49192 2011-06-27  Andreas Schwab  <schwab@redhat.com>
49194         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49195         two-byte characters.
49197 2011-06-27  Roland McGrath  <roland@hack.frob.com>
49199         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49200         AC_CACHE_CHECK invocation.
49201         * configure: Regenerated.
49203         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49205 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
49207         [BZ #12350]
49208         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
49209         bit from old_res_options.
49211         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49213         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49214         value type for setfct.
49216 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
49218         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49219         __gettimeofday instead of gettimeofday.
49221 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
49223         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49225 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
49227         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49229         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49230         info.
49232 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49234         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49235         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49236         strcpy-sse2-unaligned strncpy-sse2-unaligned
49237         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49238         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49239         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49240         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49241         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49242         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49243         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49244         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49245         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49246         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49247         (STRCPY): Support SSE2 and SSSE3 versions.
49249 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
49251         [BZ #12874]
49252         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49253         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49254         kernels which artificially limit size of requests.
49256 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49258         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49259         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49260         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49261         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49262         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49263         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49264         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49265         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49266         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49267         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49268         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49269         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49270         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49271         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49272         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49274         Enable unaligned load optimization for Intel Core i3, i5 and i7
49275         processors.
49276         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49277         Define.
49278         (index_Fast_Unaligned_Load): Define.
49279         (HAS_FAST_UNALIGNED_LOAD): Define.
49281 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
49283         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49285 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49287         [BZ #12907]
49288         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49289         until it is clear that the information is realy needed.
49290         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49292 2011-06-22  Andreas Schwab  <schwab@redhat.com>
49294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49296 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49298         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49299         /sys/devices/system/cpu/online if it is usable.
49301         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49302         reading the information from the /proc filesystem to once a second.
49304 2011-06-21  Andreas Jaeger  <aj@suse.de>
49306         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49307         NULL after inclusion of kernel headers.
49309 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
49311         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49312         calls to internal_setent.
49314         [BZ #12885]
49315         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49316         addresses using gethostbyname4_r ignore IPv4 addresses.
49318         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49319         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
49321         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49323 2011-06-20  David S. Miller  <davem@davemloft.net>
49325         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49326         inclusions.
49327         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49329         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49330         (elf_irel): Use it.
49331         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49332         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49333         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49334         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49335         * sysdeps/x86_64/dl-irel.h: Likewise.
49337         * elf/dl-runtime.c: Use elf_ifunc_invoke.
49338         * elf/dl-sym.c: Likewise.
49340 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49342         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
49343         need to dereference resplen2.
49345 2011-06-14  Andreas Schwab  <schwab@redhat.com>
49347         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49349 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49351         * Makeconfig: Define vardbdir and inst_vardbdir.
49352         * nss/Makefile: Add rules to install db-Makefile.
49354         * nss/nss_db/db-XXX.c: Cleanup.
49356         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49357         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49358         GLIBC_PRIVATE.
49359         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49360         * nss/makedb.c: Implement -g option to specify that value strings
49361         are generated and should not be added to table iterated over for
49362         get*ent calls.
49363         * nss/nss_db/db-initgroups.c: New file.
49365         * nss/getent.c: Add support for initgroups lookups through getgrouplist
49366         interface.
49368         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49369         (internal_getgrouplist): Adjust to name change.
49370         Update use_initgroups_entry if this is not the first call.
49371         * nss/databases.def: Add initgroups entry.
49373         * nss/makedb.c (compute_tables): Check result of multiple hash table
49374         sizes to minimize maximum chain length.
49376 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
49378         * Versions.def: Add entry for libnss_db.
49379         * shlib-versions: Likewise.
49380         * nss/Makefile: Add rules to build libnss_db.
49381         * nss/Versions: Add libnss_db information.  Organize libnss_files
49382         entries better.
49383         * nss/db-Makefile: Add gshadow support.  Change rules for the new
49384         makedb progra.  Some minor improvements to generate smaller files.
49385         * nss/nss_db/nss_db.h: Move NSS database header data structures to
49386         here from...
49387         * nss/makedb.c: ...here.
49388         Improve database format to be smaller and require less memory at
49389         runtime.
49390         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
49391         db anymore.
49392         * nss/nss_db/db-netgrp.c: Likewise.
49393         * nss/nss_db/db-open.c: Likewise.
49394         * nss/nss_files/flies-XXX.x: Adjust comments.
49395         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49396         * nss/nss_files/files-grp.c: Likewise.
49397         * nss/nss_files/files-hosts.c: Likewise.
49398         * nss/nss_files/files-network.c: Likewise.
49399         * nss/nss_files/files-proto.c: Likewise.
49400         * nss/nss_files/files-pwd.c: Likewise.
49401         * nss/nss_files/files-rpc.c: Likewise.
49402         * nss/nss_files/files-service.c: Likewise.
49403         * nss/nss_files/files-sgrp.c: Likewise.
49404         * nss/nss_files/files-spwd.c: Likewise.
49405         * nss/nss_db/db-alias.c: Removed.
49406         * nss/nss_db/dummy-db.h: Removed.
49408 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
49410         * nss/makedb.c: Rewritten to not use database library.
49411         * nss/Makefile: Update to build new makedb program.
49413 2011-06-14  Andreas Jaeger  <aj@suse.de>
49415         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49416         memset declaration.
49418 2011-06-10  Andreas Schwab  <schwab@redhat.com>
49420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49421         tmpbuf.
49423 2011-06-10  Roland McGrath  <roland@hack.frob.com>
49425         * Makerules (shlib.lds): Fail if the linker script comes out empty.
49426         * elf/Makefile ($(objpfx)ld.so): Likewise.
49428         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49429         Don't list ld.so twice in dependencies.
49431         * posix/bug-regex31.c: Include <stdlib.h>.
49433         * nscd/hstcache.c (cache_addhst): Remove unused variable.
49435         * nis/nss_compat/compat-spwd.c
49436         (getspent_next_nss_netgr): Remove unused variable.
49437         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49439         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49440         nonmembers" output to use the right array.
49442         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49444         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49446         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49447         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49448         * catgets/gencat.c (read_input_file): Likewise.
49449         * locale/programs/locarchive.c (enlarge_archive): Likewise.
49451         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49452         variable definition inside #if's controlling its use.
49454         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49456         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49458         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49460         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49461         unreachable code.
49463         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49465         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49466         * configure: Regenerated.
49468         * Makerules: Revert last change.
49469         * elf/Makefile: Likewise.
49471 2011-06-09  Roland McGrath  <roland@hack.frob.com>
49473         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49474         * elf/Makefile ($(objpfx)librtld.os): Likewise.
49475         (reloc-link): Likewise.
49477 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49479         * elf/Makefile: Add rules to build pldd.
49480         * elf/pldd.c: New file.
49481         * elf/pldd-xx.c: New file.
49483 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49485         * version.h: Update for 2.15 development version.
49487 2011-06-07  David S. Miller  <davem@davemloft.net>
49489         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49490         ifuncs.
49491         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49492         elf_machine_lazy_rel): Likewise.
49493         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49494         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49495         elf_machine_lazy_rel): Likewise.
49496         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49497         dl_hwcap via passed in argument.
49498         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49499         Likewise.
49501 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49503         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49505 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49507         [BZ #12849]
49508         * manual/fdl-1.1.texi: New file, verbatim from:
49509         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49510         * manual/lgpl-2.1.texi: New file, verbatim from:
49511         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49512         * manual/Makefile (licenses): New variable, list those new file names.
49513         (texis): Use it.
49514         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49516         * manual/fdl.texi: File removed.
49517         * manual/lesser.texi: File removed.
49518         * manual/libc.texinfo (Copying, Documentation License):
49519         Use new @include file names, put @appendix directive before @include.
49521 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49523         [BZ #12841]
49524         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49525         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49526         (mq_open): Add __NTH.
49528 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49531         Assume Intel Core i3/i5/i7 processor if AVX is available.
49533 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49535         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49536         typo.
49538 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49540         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49541         memory.  Use alloca_account.  Fix memory leak when retrying.
49543 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49545         * version.h (RELEASE): Bump for 2.14 release.
49546         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49548         * config.make.in (RANLIB): Remove entry.
49550 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49552         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49553         (libc.pot): Work around missing support for .ksh extension in xgettext.
49555         [BZ #12684]
49556         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49557         if both request failed.
49558         (send_dg): In case of server errors clear resplen or *resplen2.
49560         [BZ #12454]
49561         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49562         when there are multiple maps.
49563         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49564         (_dl_fini): Remove test here.
49566         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49568 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49570         [BZ #12350]
49571         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49572         bit from old_res_options.
49573         (gaih_inet): Likewise.
49575         [BZ #11099]
49576         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49577         as signed.
49579         * resolv/res_init.c (res_setoptions): Make the code more compact.
49581         [BZ #11558]
49582         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49583         set RES_USEVC.
49585         [BZ #11634]
49586         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49588         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49590         [BZ #11781]
49591         * malloc/malloc.h: Declare malloc hook variables as volatile.
49593         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49594         in last patch.
49596         [BZ #11799]
49597         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49598         raise in the comment.
49599         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49600         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49601         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49603 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49605         [BZ #12811]
49606         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49607         grow the buffers more if it already has to be sufficient.
49608         (build_wcs_upper_buffer): Likewise.
49609         * posix/regexec.c (check_matching): Likewise.
49610         (clean_state_log_if_needed): Likewise.
49611         (extend_buffers): Don't enlarge buffers beyond size of the input
49612         buffer.
49613         Patches mostly by Emil Wojak <emil@wojak.eu>.
49614         * posix/bug-regex32.c: New file.
49615         * posix/Makefile (tests): Add bug-regex32.
49617         * locale/findlocale.c (_nl_find_locale): Return right away if
49618         _nl_explode_name failed.
49619         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49621         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49623         * debug/xtrace.sh: Unify messages.
49624         * malloc/memusage.sh: Likewise.
49626         [BZ #12813]
49627         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49628         time symbol from vDSO.  Substitute with vsyscall if not available.
49629         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49630         __vdso_time.
49632         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49633         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49634         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49635         Add sendmmsg and internal_sendmmsg.
49636         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49637         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49638         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49640         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49641         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49642         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49644 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49646         [BZ #12813]
49647         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49648         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49649         available.
49650         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49651         __vdso_getcpu.
49653         [BZ #12814]
49654         * iconvdata/Makefile (tests): Add bug-iconv9.
49655         * iconvdata/bug-iconv9.c: New file.
49657 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49659         [BZ #12814]
49660         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49662 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49664         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49665         (struct user_regs_struct): Change intcs field back to cs.
49667 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49669         * po/ja.po: Update from translation team.
49671 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49673         [BZ #12795]
49674         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49675         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49677 2011-05-20  Andreas Schwab  <schwab@redhat.com>
49679         * stdlib/longlong.h: Update from GCC.
49681 2011-05-23  Andreas Schwab  <schwab@redhat.com>
49683         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49684         parameter name.
49685         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49686         Add parameter name.
49687         (__sysconf): Pass it down.
49689 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
49691         [BZ #12671]
49692         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49693         some situations.
49694         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49695         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49696         add in in __libc_use_alloca calls.  Adjust callers.
49697         (glob): Use malloc in some situations.
49699         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49700         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49701         pltexit.
49703 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
49705         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49706         and CLOCK_BOOTTIME_ALARM.
49708         [BZ #12782]
49709         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49710         is returned.
49712         * string/_strerror.c (__strerror_r): Print negative errors as signed
49713         numbers.
49715         [BZ #12777]
49716         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49717         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49718         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49720         * configure.in: Fix typo in redirection and correct removal of test
49721         files in two cases.
49723         [BZ #12788]
49724         * locale/setlocale.c (new_composite_name): Fix test to check for
49725         identical name of all categories.
49727         [BZ #12792]
49728         * libio/filedoalloc.c (local_isatty): New function.
49729         (_IO_file_doallocate): Use local_isatty.
49730         * stdio-common/perror.c (perror): In case a new stream is used
49731         forward the stream error.
49732         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49733         error flag.
49735 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
49737         [BZ #11869]
49738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49739         alloca.
49740         * include/alloca.h (extend_alloca_account): Define.
49742         [BZ #11857]
49743         * posix/regex.h: Fix comments with documentation of user-accessible
49744         fields after compilation and describe correct free'ing of pattern
49745         after re_compile_pattern.
49746         Patch by Reuben Thomas <rrt@sc3d.org>.
49748 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
49750         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49751         and -mno-altivec to prevent the compiler from using Altivec and/or
49752         VSX instructions when the corresponding registers are not available.
49754 2011-05-19  Andreas Schwab  <schwab@redhat.com>
49756         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49758 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
49760         * libio/freopen.c (freopen): Use __dup2, not dup2.
49761         * libio/freopen64.c (freopen64): Likewise.
49763 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49765         [BZ #12775]
49766         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49767         * math/Makefile (tests): Add test-powl.
49768         (CFLAGS-test-powl.c): Define.
49769         * math/test-powl.c: New file.
49771 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49773         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49775 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
49777         [BZ #11837]
49778         * iconvdata/gb18030.c: Update to GB18020-2005.
49780 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
49782         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49783         RE_SYNTAX_POSIX_AWK): Update to match recent development.
49784         Patch by Aharon Robbins <arnold@skeeve.com>.
49786         [BZ #11892]
49787         * stdlib/putenv.c (putenv): Don't always create copy of the variable
49788         on the stack.
49790         [BZ #11895]
49791         * misc/pselect.c (__pselect): Handle timeout value errors hidden
49792         through underflows.
49794         [BZ #12766]
49795         * misc/error.c (error_at_line): Ensure file_name and old_file_name
49796         point to strings before performing equality test for error_one_per_line
49797         mode.
49799         [BZ #11697]
49800         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49802         [BZ #11820]
49803         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49804         (struct user_fpregs_struct): Avoid __uint*_t types.
49806         [BZ #6420]
49807         * malloc/mtrace.c (tr_where): Add additional parameter to point to
49808         symbol info.  Use it instead of calling _dl_addr locally.
49809         (lock_and_info): New function.
49810         (tr_freehook): Call lock_and_info and pass symbol info as additional
49811         parameter to tr_where.
49812         (tr_mallochook): Likewise.
49813         (tr_reallochook): Likewise.
49814         (tr_memalignhook): Likewise.
49816         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
49817         used and couldn't be at all thread-safe.
49819 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
49821         * libio/freopen.c (freopen): Don't close old file descriptor
49822         before the new one is opened.  Instead dup the new file descriptor
49823         to the old one after the new stream is created.
49824         * libio/freopen64.c (freopen64): Likewise.
49825         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49826         * libio/fileops.c (_IO_new_file_close_it): Handle new
49827         _IO_FLAGS2_NOCLOSE flag.
49828         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49829         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49830         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49831         _IO_FLAGS2_NOCLOSE flag.
49832         * include/unistd.h: Add hidden_proto for dup3.
49833         Define __have_dup3.
49834         * io/dup3.c: Define hidden symbol.
49835         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49837         [BZ #7101]
49838         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49839         when an incomplete long option is used.
49840         * posix/tst-getopt_long1.c: New file.
49841         * posix/Makefile (tests): Add tst-getopt_long1.
49843         [BZ #10138]
49844         * scripts/config.guess: Update from autoconf-2.68.
49845         * scripts/config.sub: Likewise.
49847         [BZ #10157]
49848         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49849         tests into ...
49850         (has_cpuclock): ...this.  New function.
49851         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49852         macro here based on has_cpuclock code.
49854         [BZ #10149]
49855         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49856         First byte (not low byte) is now always NUL.
49857         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49859         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49860         Use non-cancelable interfaces.
49862         [BZ #9809]
49863         * locale/iso-639.def: Add entry for Sorani.
49865         [BZ #11901]
49866         * include/stdlib.h: Move include protection to the right place.
49867         Define abort_msg_s.  Declare __abort_msg with it.
49868         * stdlib/abort.c (__abort_msg): Adjust type.
49869         * assert/assert.c (__assert_fail_base): New function.  Majority
49870         of code from __assert_fail.  Allocate memory for __abort_msg with
49871         mmap.
49872         (__assert_fail): Now call __assert_fail_base.
49873         * assert/assert-perr.c: Remove bulk of implementation.  Use
49874         __assert_fail_base.
49875         * include/assert.hL Declare __assert_fail_base.
49876         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49877         mmap.
49878         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49880 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
49882         [BZ #11952]
49883         [BZ #12453]
49884         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49885         until all modules are registered in the DTV.
49886         * elf/Makefile: Add rules to build and run tst-tls19.
49887         * elf/tst-tls19.c: New file.
49888         * elf/tst-tls19mod1.c: New file.
49889         * elf/tst-tls19mod2.c: New file.
49890         * elf/tst-tls19mod3.c: New file.
49891         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49893         [BZ #12083]
49894         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49895         correctly.
49897         [BZ #12601]
49898         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49899         two-byte sequence errors.
49900         * iconvdata/Makefile (tests): Add bug-iconv8.
49901         * iconvdata/bug-iconv8.c: New file.
49903         [BZ #12626]
49904         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49905         buf2 definition.
49907         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49909         [BZ #12432]
49910         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49911         (dummy_getcfa): New function.
49912         (init): Get _Unwind_GetCFA address, use dummy if not found.
49913         (backtrace_helper): In recursion check, also check whether CFA changes.
49914         (__backtrace): Completely initialize arg.
49916         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49917         storing incomplete byte sequence in state object.  Avoid testing for
49918         guaranteed too small input if we know there is enough data available.
49920 2011-05-11  Andreas Schwab  <schwab@redhat.com>
49922         * Makeconfig (+link-pie): Indent.
49923         * Rules (binaries-pie): Define if $(have-fpie) and
49924         $(build-shared).
49925         (binaries-shared): Also filter out $(binaries-pie).
49926         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49927         * nscd/Makefile (others-pie): Add nscd.
49928         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49929         ($(objpfx)nscd): Remove command override.
49930         * login/Makefile (others-pie): Add pt_chown.
49931         ($(objpfx)pt_chown): Remove command override.
49932         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49933         remove command overrides.
49935 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
49937         * libio/tst_putwc.c: Fix error messages.
49939         [BZ #12724]
49940         * libio/fileops.c (_IO_new_file_close_it): Always flush when
49941         currently writing and seek to current position when not.
49942         * libio/Makefile (tests): Add bug-fclose1.
49943         * libio/bug-fclose1.c: New file.
49945 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
49947         [BZ #12511]
49948         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49949         don't set DF_1_NODELETE here.
49950         (do_lookup_x): When entering new entry test for copy relocation
49951         and if necessary set DF_1_NODELETE flag.
49952         * elf/tst-unique4.cc: New file.
49953         * elf/tst-unique4.h: New file.
49954         * elf/tst-unique4lib.cc: New file.
49955         * elf/Makefile: Add rules to build and run tst-unique4.
49956         Patch by Piotr Bury <pbury@goahead.com>.
49958 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
49960         [BZ #12052]
49961         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49963         [BZ #12625]
49964         * misc/mntent_r.c (addmntent): Flush the stream after the output
49966         [BZ #12393]
49967         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49968         (is_trusted_path_normalize): Skip initial colon.  Append slash
49969         to empty buffer.  Duplicate is_trusted_path code but allow
49970         constructed patch to be prefix.
49971         (is_dst): Allow $ORIGIN followed by /.
49972         (_dl_dst_substitute): Correct clearing of check_for_trusted.
49973         Correct testing of result of is_trusted_path_normalize
49974         (decompose_rpath): Fix warning.
49976 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
49978         [BZ #11257]
49979         * grp/initgroups.c (internal_getgrouplist): When we found the service
49980         list through the initgroups entry in nsswitch.conf do not always
49981         continue on a successful lookup.  Don't always use the
49982         __nss_group_database value if it is set.
49983         * nss/nsswitch.conf (initgroups): Change action for successful db
49984         lookup to continue for compatibility.
49986 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
49988         [BZ #11532]
49989         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49990         and CP774 modules.
49991         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49992         and CP774 modules.
49993         * iconvdata/tst-tables.sh: Likewise.
49994         * iconvdata/cp770.c: New file.
49995         * iconvdata/cp771.c: New file.
49996         * iconvdata/cp772.c: New file.
49997         * iconvdata/cp773.c: New file.
49998         * iconvdata/cp774.c: New file.
49999         * iconvdata/testdata/CP770: New file.
50000         * iconvdata/testdata/CP770..UTF8: New file.
50001         * iconvdata/testdata/CP771: New file.
50002         * iconvdata/testdata/CP771..UTF8: New file.
50003         * iconvdata/testdata/CP772: New file.
50004         * iconvdata/testdata/CP772..UTF8: New file.
50005         * iconvdata/testdata/CP773: New file.
50006         * iconvdata/testdata/CP773..UTF8: New file.
50007         * iconvdata/testdata/CP774: New file.
50008         * iconvdata/testdata/CP774..UTF8: New file.
50010         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50011         END CHARMAP line.
50012         * iconvdata/gen-8bit-gap.sh: Likewise.
50013         * iconvdata/gen-8bit.sh: Likewise.
50015         * locale/iso-639.def: Add ary entry.
50017         [BZ #11258]
50018         * locale/C-translit.h.in: Add U20A1 transliteration.
50020         [BZ #12178]
50021         * locale/iso-639.def: Add wae entry.
50022         Patch by Kevin Bortis <bortis@translate-wae.ch>.
50024         [BZ #12545]
50025         * locale/programs/localedef.c (construct_output_path): Use ssize_t
50026         for n.
50028         [BZ #12711]
50029         * locale/C-translit.h.in: Add entry for U20B9.
50030         Patch by pravin.d.s@gmail.com.
50032 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
50034         [BZ #12713]
50035         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50036         ENAMETOOLONG use generic getcwd.
50037         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
50038         in rtld.  Use *stat64.
50039         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50040         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50041         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50042         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50043         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50044         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50045         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50046         __fstatat64 macros.
50047         * include/dirent.h: Add libc_hidden_proto for rewinddir.
50048         * dirent/rewinddir.c: Add libc_hidden_def.
50049         * sysdeps/mach/hurd/rewinddir.c: Likewise.
50050         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
50052         * include/dirent.h (__alloc_dir): Add flags parameter.
50053         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50054         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50055         __alloc_dir.
50056         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
50057         from fdopendir if O_CLOEXEC is already set.
50059 2011-03-15  Alan Modra  <amodra@gmail.com>
50061         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50062         l_tls_firstbyte_offset non-zero.  Save padding offset in
50063         l_tls_firstbyte_offset for later use.
50064         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50065         freeing static tls block.
50067 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
50069         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50070         where #ifdef was intended.  The intent is to prevent ARG_MAX from
50071         being defined by the kernel headers.
50073 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
50075         [BZ #12734]
50076         * resolv/resolv.h: Define RES_NOTLDQUERY.
50077         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50078         no-tld-query and set RES_NOTLDQUERY.
50079         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50080         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50081         modern BIND to search name as TLD unless forbidden.
50083 2011-05-07  Petr Baudis  <pasky@suse.cz>
50084             Ulrich Drepper  <drepper@gmail.com>
50086         [BZ #12393]
50087         * elf/dl-load.c (fillin_rpath): Move trusted path check...
50088         (is_trusted_path): ...to here.
50089         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50090         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50091         using is_trusted_path_normalize() in setuid scripts.
50093 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50095         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50096         __BEGIN/__END_DECLS.
50098 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
50100         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50101         NSS_STATUS_NOTFOUND if no record was found.
50103 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50105         * sunrpc/Makefile (headers): Add rpc/netdb.h.
50106         (headers-not-in-tirpc): Remove rpc/netdb.h
50107         * resolv/netdb.h: Revert last change.
50109 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50111         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50112         circular dependency between libgcc.a and libc.a.
50114 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50116         * resolv/netdb.h: Don't include <rpc/netdb.h>.
50117         * nis/Makefile: Don't install rpcsvc/*.
50118         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50119         instead of <rpc/types.h>.
50120         (MAXHOSTNAMELEN): Define.
50122 2011-05-03  Andreas Schwab  <schwab@redhat.com>
50124         * elf/ldconfig.c (add_dir): Don't crash on empty path.
50126 2011-04-28  Maciej Babinski  <mbabinski@google.com>
50128         [BZ #12714]
50129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50130         gethostbyname4_r when IPv6 results are possible.
50132 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
50134         [BZ #12723]
50135         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50136         _PC_PIPE_BUF handling.
50138 2011-04-30  Bruno Haible  <bruno@clisp.org>
50140         [BZ #12717]
50141         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50142         * resolv/netdb.h (getnameinfo): Change type of flags parameter
50143         to 'int'.
50144         * inet/getnameinfo.c (getnameinfo): Likewise.
50146 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
50148         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50149         to groups setting in database lookup.
50150         * nss/nsswitch.conf: Add initgroups entry.
50152 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
50154         [BZ #12685]
50155         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50156         mode string.
50157         Patch by Eric Blake <eblake@redhat.com>.
50159 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
50161         * sunrpc/Makefile (need-export-routines): Add svc_run.
50162         (routines): Remove svc_run.
50163         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50164         * sunrpc/clnt_perr.c (clnt_perrno): Export.
50165         * sunrpc/svc_run.c (svc_run): Likewise.
50166         * sunrpc/svc_udp.c (svcudp_create): Likewise.
50168 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
50170         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50171         problem in reallocation in last patch.
50173 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
50175         * sunrpc/Makefile: Move inclusion of Rules.
50177 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50179         * nss/nss_files/files-initgroups.c: New file.
50180         * nss/Makefile (libnss_files-routines): Add files-initgroups.
50181         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50182         _nss_files_initgroups_dyn.
50184 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
50186         * elf/elf.h (R_ARM_IRELATIVE): Define.
50188 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50190         * po/ru.po: Update from translation team.
50192 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50194         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50195         dependencies.
50197 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
50199         [BZ #12653]
50200         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50201         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50202         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50203         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50204         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50206 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
50208         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50209         differing bytes.
50210         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50211         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50212         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50214 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50216         [BZ #12420]
50217         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50218         storing it.
50219         * stdlib/bug-getcontext.c: New file.
50220         * stdlib/Makefile: Add rules to build and run bug-getcontext.
50222 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50224         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50225         instructions into .machine "z9-109".
50226         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50227         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50229 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50231         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50232         between environment variables and auxiliary vector.
50234 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
50236         * Makefile: Add rules to build linkobj/libc.so.
50237         * include/libc-symbols.h: Define libc_hidden_nolink.
50238         * include/rpc/auth.h: Mark functions which are to be hidden.
50239         * include/rpc/auth_des.h: Likewise.
50240         * include/rpc/auth_unix.h: Likewise.
50241         * include/rpc/clnt.h: Likewise.
50242         * include/rpc/des_crypt.h: Likewise.
50243         * include/rpc/key_prot.h: Likewise.
50244         * include/rpc/pmap_clnt.h: Likewise.
50245         * include/rpc/pmap_prot.h: Likewise.
50246         * include/rpc/pmap_rmt.h: Likewise.
50247         * include/rpc/rpc_msg.h: Likewise.
50248         * include/rpc/svc.h: Likewise.
50249         * include/rpc/svc_auth.h: Likewise.
50250         * include/rpc/xdr.h: Likewise.
50251         * nis/Makefile: Link all DSOs against linkobj/libc.so.
50252         * nss/Makefile: Likewise.
50253         * sunrpc/Makefile: Don't install headers.  Build library with normal
50254         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
50255         * sunrpc/auth_des.c: Hide exported symbols by default, export some
50256         for the compat linking library.  Remove use of INTDEF/INTUSE.
50257         * sunrpc/auth_none.c: Likewise.
50258         * sunrpc/auth_unix.c: Likewise.
50259         * sunrpc/authdes_prot.c: Likewise.
50260         * sunrpc/authuxprot.c: Likewise.
50261         * sunrpc/clnt_gen.c: Likewise.
50262         * sunrpc/clnt_perr.c: Likewise.
50263         * sunrpc/clnt_raw.c: Likewise.
50264         * sunrpc/clnt_simp.c: Likewise.
50265         * sunrpc/clnt_tcp.c: Likewise.
50266         * sunrpc/clnt_udp.c: Likewise.
50267         * sunrpc/clnt_unix.c: Likewise.
50268         * sunrpc/des_crypt.c: Likewise.
50269         * sunrpc/des_soft.c: Likewise.
50270         * sunrpc/get_myaddr.c: Likewise.
50271         * sunrpc/key_call.c: Likewise.
50272         * sunrpc/key_prot.c: Likewise.
50273         * sunrpc/netname.c: Likewise.
50274         * sunrpc/pm_getmaps.c: Likewise.
50275         * sunrpc/pm_getport.c: Likewise.
50276         * sunrpc/pmap_clnt.c: Likewise.
50277         * sunrpc/pmap_prot.c: Likewise.
50278         * sunrpc/pmap_prot2.c: Likewise.
50279         * sunrpc/pmap_rmt.c: Likewise.
50280         * sunrpc/publickey.c: Likewise.
50281         * sunrpc/rpc_cmsg.c: Likewise.
50282         * sunrpc/rpc_common.c: Likewise.
50283         * sunrpc/rpc_dtable.c: Likewise.
50284         * sunrpc/rpc_prot.c: Likewise.
50285         * sunrpc/rpc_thread.c: Likewise.
50286         * sunrpc/rtime.c: Likewise.
50287         * sunrpc/svc.c: Likewise.
50288         * sunrpc/svc_auth.c: Likewise.
50289         * sunrpc/svc_authux.c: Likewise.
50290         * sunrpc/svc_raw.c: Likewise.
50291         * sunrpc/svc_run.c: Likewise.
50292         * sunrpc/svc_simple.c: Likewise.
50293         * sunrpc/svc_tcp.c: Likewise.
50294         * sunrpc/svc_udp.c: Likewise.
50295         * sunrpc/svc_unix.c: Likewise.
50296         * sunrpc/svcauth_des.c: Likewise.
50297         * sunrpc/xcrypt.c: Likewise.
50298         * sunrpc/xdr.c: Likewise.
50299         * sunrpc/xdr_array.c: Likewise.
50300         * sunrpc/xdr_float.c: Likewise.
50301         * sunrpc/xdr_intXX_t.c: Likewise.
50302         * sunrpc/xdr_mem.c: Likewise.
50303         * sunrpc/xdr_rec.c: Likewise.
50304         * sunrpc/xdr_ref.c: Likewise.
50305         * sunrpc/xdr_sizeof.c: Likewise.
50306         * sunrpc/xdr_stdio.c: Likewise.
50308 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
50310         [BZ #12650]
50311         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50312         * sysdeps/ia64/dl-tls.h: Likewise.
50313         * sysdeps/powerpc/dl-tls.h: Likewise.
50314         * sysdeps/s390/dl-tls.h: Likewise.
50315         * sysdeps/sh/dl-tls.h: Likewise.
50316         * sysdeps/sparc/dl-tls.h: Likewise.
50317         * sysdeps/x86_64/dl-tls.h: Likewise.
50318         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50320 2011-03-14  Andreas Schwab  <schwab@redhat.com>
50322         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50323         rpath element also skip the following colon.
50324         (expand_dynamic_string_token): Add is_path parameter and pass
50325         down to DL_DST_REQUIRED and _dl_dst_substitute.
50326         (decompose_rpath): Call expand_dynamic_string_token with
50327         non-zero is_path.  Ignore empty rpaths.
50328         (_dl_map_object_from_fd): Call expand_dynamic_string_token
50329         with zero is_path.
50331 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
50333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50334         Make cancelable.
50336 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
50338         [BZ #12655]
50339         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50340         Patch by Filipe David Manana <fdmanana@apache.org>.
50342 2011-04-07  Andreas Schwab  <schwab@redhat.com>
50344         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50345         Maintain aligned stack.
50346         (CHECK_RSP): Remove unused macro.
50348 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
50350         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50351         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50353 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
50355         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50357         * include/features.h: Mention __USE_XOPEN2K8 in comment.
50359 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
50361         [BZ #12518]
50362         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50363         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50364         * sysdeps/x86_64/memmove.c: New file.
50365         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50366         (memcpy): Renamed to ...
50367         (__new_memcpy): This.
50368         (memcpy): Provide GLIBC_2_14 memcpy.
50369         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50370         (memcpy): Provide GLIBC_2_2_5 memcpy.
50372 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50374         [BZ #12631]
50375         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50377 2011-03-30  Andreas Schwab  <schwab@redhat.com>
50379         * misc/syncfs.c: New file.
50380         * misc/Makefile (routines): Add syncfs.
50381         * posix/unistd.h: Declare syncfs.
50382         * sysdeps/unix/syscalls.list: Add syncfs.
50384 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50386         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50387         open_by_handle_at.
50388         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50389         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50391         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50393         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50394         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50396 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50398         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50399         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50400         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50401         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50402         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50403         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50404         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50406         * io/Makefile: Compile fallocate.c, fallocate64.c, and
50407         sync_file_range.c with -fexceptions.
50408         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50409         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50410         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50411         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50412         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50413         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50414         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50415         sync_file_range as cancellation point
50416         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
50417         now a wrapper around __call_sync_file_range with cancellation handling.
50418         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50419         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
50420         function name to __call_sync_file_range.
50421         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50422         Add call_sync_file_range.
50424 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50426         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50427         bits/timex.h.
50429 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50431         * iconv/iconv.h: Fix typo in comment.
50432         * io/fcntl.h: Likewise.
50433         * libio/stdio.h: Likewise.
50434         * posix/spawn.h: Likewise.
50435         * posix/unistd.h: Likewise.
50436         * stdlib/stdlib.h: Likewise.
50437         * time/time.h: Likewise.
50438         * wcsmbs/wchar.h: Likewise.
50440         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50441         open_by_handle): Add.
50442         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50443         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
50444         Augment a few comments.
50445         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50446         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50447         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50449         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50450         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50451         open_by_handle.
50453         * io/fcntl.h (AT_EMPTY_PATH): Define.
50455 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
50457         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50458         * sysdeps/unix/sysv/linux/bits/time.h: New file.
50459         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50460         to...
50461         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
50462         * Versions.def: Add GLIBC_2.14.
50463         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50464         Export.
50466 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
50468         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50469         round counter.
50470         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50472 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50474         [BZ #12597]
50475         * string/test-strncmp.c (do_page_test): New function.
50476         (check2): Likewise.
50477         (test_main): Call check2.
50478         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50480 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50482         [BZ #12587]
50483         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50484         Handle cache information in CPU leaf 4.
50485         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50487 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50489         [BZ #12583]
50490         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50491         character representation.
50492         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50494 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50496         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50497         END(__isnan) to END(__isnanf) to match function entry point/label
50498         EALIGN(__isnanf,...).
50500 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50502         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50504 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50506         [BZ #12510]
50507         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50508         copy from the symbol referenced in the relocation to initialize the
50509         used variable.
50510         Patch by Piotr Bury <pbury@goahead.com>.
50511         * elf/Makefile: Add rules to build and tst-unique3.
50512         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50513         * elf/tst-unique3.cc: New file.
50514         * elf/tst-unique3.h: New file.
50515         * elf/tst-unique3lib.cc: New file.
50516         * elf/tst-unique3lib2.cc: New file.
50518         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50520 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50522         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50523         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50524         to _start.
50526 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50528         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50529         to-be-loaded object along a path to loader is ld.so.
50531 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50532             Ulrich Drepper  <drepper@gmail.com>
50534         * sysdeps/x86_64/memset.S: After aligning destination, code
50535         branches to different locations depending on the value of
50536         misalignment, when multiarch is enabled. Fix this.
50538 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50540         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50541         Set _x86_64_preferred_memory_instruction for AMD processsors.
50542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50543         Set bit_Prefer_SSE_for_memop for AMD processors.
50545 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50547         * libio/fmemopen.c (fmemopen): Optimize a bit.
50549 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50551         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50553 2011-03-03  Roland McGrath  <roland@redhat.com>
50555         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50557 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50559         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50560         __bzero_ultra1 instead of __memset_ultra1.
50562 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50563             Ulrich Drepper  <drepper@gmail.com>
50565         [BZ #12509]
50566         * include/link.h (struct link_map): Add l_orig_initfini.
50567         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50568         returning unsuccessfully.
50569         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50570         close of a file loaded at startup, restore the original l_initfini
50571         list.
50572         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50573         list, store the pointer.
50574         * elf/Makefile ($(objpfx)noload-mem): New rule.
50575         (noload-ENV): Define.
50576         (tests): Add $(objpfx)noload-mem.
50577         * elf/noload.c: Include <memcheck.h>.
50578         (main): Call mtrace.  Close all opened handles.
50580 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50582         [BZ #12454]
50583         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50584         dependencies are missing.
50586 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50588         Fix __if_freereq crash: Unlike the generic version which uses free,
50589         Hurd needs munmap.
50590         * sysdeps/mach/hurd/ifreq.h: New file.
50592 2011-01-27  Petr Baudis  <pasky@suse.cz>
50593             Ulrich Drepper  <drepper@gmail.com>
50595         [BZ 12445]#
50596         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50597         to extend_alloca().
50598         * stdio-common/bug23.c: New file.
50599         * stdio-common/Makefile (tests): Add bug23.
50601 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50602             Ulrich Drepper  <drepper@gmail.com>
50604         [BZ #12489]
50605         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50606         before performing relro protection.  At old place add assertion
50607         to make sure nothing changed.
50609 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50610             Glauber de Oliveira Costa  <glommer@gmail.com>
50612         * elf/elf.h: Add new ARM TLS relocs.
50614 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50617         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50618         cast from r3.
50619         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50620         'tests' variable.
50621         * sysdeps/wordsize-64/tst-writev.c: New file.
50623 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50625         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50626         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50627         insns in _dl_start to prevent a TOC reference before relocs are
50628         resolved.
50630 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50632         [BZ #12469]
50633         * Makeconfig: Remove RANLIB definition.
50634         * Makerules: Don't use RANLIB.
50635         * aclocal.m4: Remove ranlib test.
50636         * configure.in: No need to check for ranlib.
50637         * elf/rtld-Rules: Don't use RANLIB.
50639 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50641         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50642         protection macro.
50643         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50644         inclusion protection macro.
50646         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50647         SIGRTMIN and SIGRTMAX and print information in that case only when
50648         SIGRTMIN is defined.
50650 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50652         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50653         arginfo fn returning -1.
50655         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50656         and thousands string is zero terminated.
50658 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50660         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50661         sysdeps/unix/sysv/linux/bits/socket.h.
50663 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50665         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50666         (__CPU_COUNT): Remove old macros.
50667         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50668         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50669         (__CPU_ALLOC, __CPU_FREE): Add macros.
50670         (__sched_cpualloc, __sched_cpufree): Add declarations.
50672 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50674         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50675         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50676         * nscd/aicache.c (addhstaiX): Return timeout of added value.
50677         (readdhstai): Return value of addhstaiX call.
50678         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50679         (addgrbyX): Return value returned by cache_addgr.
50680         (readdgrbyname): Return value returned by addgrbyX.
50681         (readdgrbygid): Likewise.
50682         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50683         (addpwbyX): Return value returned by cache_addpw.
50684         (readdpwbyname): Return value returned by addhstbyX.
50685         (readdpwbyuid): Likewise.
50686         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50687         (addservbyX): Return value returned by cache_addserv.
50688         (readdservbyname): Return value returned by addservbyX:
50689         (readdservbyport): Likewise.
50690         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50691         (addhstbyX): Return value returned by cache_addhst.
50692         (readdhstbyname): Return value returned by addhstbyX.
50693         (readdhstbyaddr): Likewise.
50694         (readdhstbynamev6): Likewise.
50695         (readdhstbyaddrv6): Likewise.
50696         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50697         (readdinitgroups): Return value returned by addinitgroupsX.
50698         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50699         (prune_cache): Keep track of timeout value of re-added entries.
50700         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50701         * nscd/nscd.h: Adjust prototypes of readd* functions.
50703 2011-02-04  Roland McGrath  <roland@redhat.com>
50705         * nis/nis_server.c (nis_servstate): Use the right name for 0.
50706         (nis_stats): Likewise.
50707         * nis/nis_modify.c (nis_modify): Likewise.
50708         * nis/nis_remove.c (nis_remove): Likewise.
50709         * nis/nis_add.c (nis_add): Likewise.
50711         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50713         * posix/fnmatch_loop.c: Add some consts.
50715         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50717 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
50719         [BZ #12460]
50720         * config.make.in (config-cflags-novzeroupper): Define.
50721         * configure.in: Substitute libc_cv_cc_novzeroupper.
50722         * elf/Makefile (AVX-CFLAGS): Define.
50723         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50724         (CFLAGS-tst-auditmod4a.c): Likewise.
50725         (CFLAGS-tst-auditmod4b.c): Likewise.
50726         (CFLAGS-tst-auditmod6b.c): Likewise.
50727         (CFLAGS-tst-auditmod6c.c): Likewise.
50728         (CFLAGS-tst-auditmod7b.c): Likewise.
50729         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50731 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
50733         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50734         function to the callback.
50735         Patch partly by Jiri Olsa <jolsa@redhat.com>.
50737 2011-02-02  Andreas Schwab  <schwab@redhat.com>
50739         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50740         of errno.
50742 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
50744         [BZ #11724]
50745         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50746         of constructors.
50747         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50748         of destructors.
50749         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50751         [BZ #11724]
50752         * elf/Makefile: Add rules to build and run new test.
50753         * elf/tst-initorder.c: New file.
50754         * elf/tst-initorder.exp: New file.
50755         * elf/tst-initordera1.c: New file.
50756         * elf/tst-initordera2.c: New file.
50757         * elf/tst-initordera3.c: New file.
50758         * elf/tst-initordera4.c: New file.
50759         * elf/tst-initorderb1.c: New file.
50760         * elf/tst-initorderb2.c: New file.
50761         * elf/tst-order-a1.c: New file.
50762         * elf/tst-order-a2.c: New file.
50763         * elf/tst-order-a3.c: New file.
50764         * elf/tst-order-a4.c: New file.
50765         * elf/tst-order-b1.c: New file.
50766         * elf/tst-order-b2.c: New file.
50767         * elf/tst-order-main.c: New file.
50768         New test case by George Gensure <werkt0@gmail.com>.
50770 2010-10-01  Andreas Schwab  <schwab@redhat.com>
50772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50773         decoding ACE if AI_CANONIDN.
50775 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
50777         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50779 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
50781         * version.h (RELEASE): Bump for 2.13 release.
50782         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50784         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50786         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50787         MADV_NOHUGEPAGE.
50788         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50789         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50790         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50791         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50792         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50793         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50795         * posix/getconf.c: Update copyright year.
50796         * catgets/gencat.c: Likewise.
50797         * csu/version.c: Likewise.
50798         * debug/catchsegv.sh: Likewise.
50799         * debug/xtrace.sh: Likewise.
50800         * elf/ldconfig.c: Likewise.
50801         * elf/ldd.bash.in: Likewise.
50802         * elf/sprof.c (print_version): Likewise.
50803         * iconv/iconv_prog.c: Likewise.
50804         * iconv/iconvconfig.c: Likewise.
50805         * locale/programs/locale.c: Likewise.
50806         * locale/programs/localedef.c: Likewise.
50807         * malloc/memusage.sh: Likewise.
50808         * malloc/mtrace.pl: Likewise.
50809         * nscd/nscd.c (print_version): Likewise.
50810         * nss/getent.c: Likewise.
50812         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50813         PF_CAIF, and PF_ALG.
50814         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50816 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
50818         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50819         (modules-names): Use them.
50820         (ifunc-test-modules, ifunc-pie-tests): Define.
50821         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50822         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50823         (test-extras): Likewise.
50824         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50825         $(compile-command.c).
50826         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50827         (all-built-dso): Define.
50828         (check-textrel.out, check-execstack.out): Depend on it.
50830         * configure.in: Don't override --enable-multi-arch.
50832 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
50834         [BZ #6812]
50835         * nscd/hstcache.c (tryagain): Define.
50836         (cache_addhst): Return tryagain not notfound for temporary errors.
50837         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50838         failed.
50840 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
50842         [BZ #10563]
50843         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50844         to make the syscall.
50845         * sysdeps/unix/sysv/linux/setgroups.c: New file.
50847         [BZ #12378]
50848         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50849         and fall back to matching as normal character if the string ends before
50850         the matching ']' is found.  This is what POSIX requires.
50851         * posix/testfnm.c: Adjust test result.
50852         * posix/globtest.sh: Adjust test result.  Add new test.
50853         * posix/tst-fnmatch.input: Likewise.
50854         * posix/tst-fnmatch2.c: Add new test.
50856 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
50858         * elf/Makefile (check-execstack): Revert last change.  Depend on
50859         check-execstack.h.
50860         (check-execstack.h): New target.
50861         (generated): Add check-execstack.h.
50862         * elf/check-execstack.c: Include "check-execstack.h".
50863         (main): Revert last change.
50864         (handle_file): Return zero if GNU_STACK is absent and
50865         DEFAULT_STACK_PERMS doesn't include PF_X.
50867 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
50869         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50870         in child fails because the descriptor is already closed.
50871         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50872         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50873         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50875         [BZ #12397]
50876         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50877         syscall.
50879         [BZ #10484]
50880         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50881         temporary buffer used to handle multi lookups locally.
50882         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50884 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50886         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50887         loader is ld.so.
50889 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
50891         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50892         alignment for SSE2.
50894 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50896         [BZ #12394]
50897         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50898         characters.  When rounding increased number of integer digits recompute
50899         number of groups.
50900         * stdio-common/tst-grouping.c: New file.
50901         * stdio-common/Makefile: Add rules to build and run tst-grouping.
50903 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
50905         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50906         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
50908         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50909         void.
50910         * bits/select.h: Likewise.
50912 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
50914         * po/ja.po: Update from translation team.
50916 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
50918         [BZ #11155]
50919         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50920         implementation just like for lxstat, fxstatat, et al.
50922 2010-12-27  Jim Meyering  <meyering@redhat.com>
50924         [BZ #12348]
50925         * posix/regexec.c (build_trtable): Return failure indication upon
50926         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
50928 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
50930         [BZ #12201]
50931         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50932         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50933         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50934         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50936         [BZ #12207]
50937         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50939         [BZ #12204]
50940         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50941         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50943 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
50945         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50946         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50947         script has SORT_BY_INIT_PRIORITY.
50948         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50949         NO_CTORS_DTORS_SECTIONS is defined.
50950         * elf/soinit.c: Likewise.
50951         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50952         NO_CTORS_DTORS_SECTIONS is defined.
50953         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50954         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50955         * sysdeps/sh/init-first.c: Likewise.
50956         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50958 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
50960         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50961         always use the slow path.
50963 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
50965         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50966         similar rule which adds the sysdep directories to the header search in
50967         order to pick up the correct platform stackinfo.h.
50968         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50969         perform test if it is, otherwise return successfully without testing.
50970         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50971         DEFAULT_STACK_PERMS define in stackinfo.h.
50972         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50973         defined in stackinfo.h.
50974         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50975         DEFAULT_STACK_PERMS defined in stackinfo.h.
50976         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50977         * sysdeps/ia64/stackinfo.h: Likewise.
50978         * sysdeps/s390/stackinfo.h: Likewise.
50979         * sysdeps/sh/stackinfo.h: Likewise.
50980         * sysdeps/sparc/stackinfo.h: Likewise.
50981         * sysdeps/x86_64/stackinfo.h: Likewise.
50982         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50983         PF_X for powerpc64.  Retain PF_X for powerpc32.
50985 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
50987         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50988         accurately.
50989         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50990         GETDENTS_64BIT_ALIGNED.
50992 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
50994         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50996 2010-12-10  Andreas Schwab  <schwab@redhat.com>
50998         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50999         _GNU_SOURCE.
51001         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51002         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51003         Remove __restrict.
51004         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51005         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51007 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
51009         [BZ #11655]
51010         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51011         are initialized.
51013 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
51015         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51017 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
51019         * po/it.po: Update from translation team.
51021 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
51023         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51024         unused codes.
51026 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
51028         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51030 2010-11-24  Andreas Schwab  <schwab@redhat.com>
51032         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51033         specially.
51034         (gaih_getanswer_slice): Likewise.
51036 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
51038         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51040 2010-05-31  Petr Baudis  <pasky@suse.cz>
51042         [BZ #11149]
51043         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51044         silently even in the chroot mode.
51046 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
51048         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51049         last patch a bit.  Pretty printing
51051 2010-05-31  Petr Baudis <pasky@suse.cz>
51053         [BZ #10085]
51054         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51055         initialization of skip_initgroups_dyn.
51057 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
51059         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51060         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51062 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
51064         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51066 2010-11-11  Andreas Schwab  <schwab@redhat.com>
51068         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51069         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51070         (tst-fnmatch-ENV): Set MALLOC_TRACE.
51071         ($(objpfx)tst-fnmatch-mem): New rule.
51072         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51073         * posix/tst-fnmatch.c (main): Call mtrace.
51075 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
51077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51078         Support Intel processor model 6 and model 0x2c.
51080 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
51082         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51083           signed comparison.
51085 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
51087         [BZ #12205]
51088         * string/test-strncasecmp.c (check_result): New function.
51089         (do_one_test): Use it.
51090         (check1): New function.
51091         (test_main): Use it.
51092         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51093         Support strcasecmp and strncasecmp.
51095 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
51097         [BZ #12194]
51098         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51099         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51101 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51103         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51104         IFUNC support.
51105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51106         memset-x86-64.
51107         * sysdeps/x86_64/multiarch/bzero.S: New file.
51108         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51109         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51110         * sysdeps/x86_64/multiarch/memset.S: New file.
51111         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51113         Set bit_Prefer_SSE_for_memop for Intel processors.
51114         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51115         Define.
51116         (index_Prefer_SSE_for_memop): Define.
51117         (HAS_PREFER_SSE_FOR_MEMOP): Define.
51119 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
51121         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51122         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51124 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
51126         [BZ #12191]
51127         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51128         (__x86_64_raw_data_cache_size_half): Likewise.
51129         (__x86_64_raw_shared_cache_size): Likewise.
51130         (__x86_64_raw_shared_cache_size_half): Likewise.
51132         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51133         (__x86_64_raw_data_cache_size_half): Likewise.
51134         (__x86_64_raw_shared_cache_size): Likewise.
51135         (__x86_64_raw_shared_cache_size_half): Likewise.
51136         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51137         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51138         and __x86_64_raw_shared_cache_size_half.  Round
51139         __x86_64_data_cache_size_half, __x86_64_data_cache_size
51140         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51141         to multiple of 256 bytes.
51143 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
51145         [BZ #12167]
51146         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51147         of inacessible symlinks.  Verify result of symlink before returning it.
51148         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51149         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51151 2010-10-28  Erich Ritz  <erichritz@gmail.com>
51153         * math/math.h (isinf): Fix typo in comment.
51155 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
51157         * po/da.po: Update from translation team.
51159 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
51161         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51162         is added to the list.
51164 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51165             Ulrich Drepper  <drepper@gmail.com>
51167         * elf/dl-object.c (_dl_new_object): Don't append the new object to
51168         the global list here.  Move code to...
51169         (_dl_add_to_namespace_list): ...here.  New function.
51170         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51171         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51172         * elf/dl-load.c (lose): Don't remove the element from the list.
51173         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51174         (_dl_map_object): Likewise.
51176 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
51178         [BZ #12159]
51179         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51180         into all bytes of SSE register.
51181         Patch by Richard Li <richardpku@gmail.com>.
51183 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
51185         [BZ #12140]
51186         * malloc/malloc.c (_int_free): Fill correct number of bytes when
51187         perturbing.
51189 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
51191         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51192         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51193         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51194         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51196         submachine.
51197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51199 2010-10-22  Andreas Schwab  <schwab@redhat.com>
51201         * include/dlfcn.h (__RTLD_SECURE): Define.
51202         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
51203         mode & __RTLD_SECURE instead.
51204         (open_path): Rename preloaded parameter to secure.
51205         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51206         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51207         * elf/dl-deps.c (openaux): Likewise.
51208         * elf/rtld.c (struct map_args): Remove is_preloaded.
51209         (map_doit): Don't use it.
51210         (dl_main): Likewise.
51211         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51212         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51214 2010-09-09  Andreas Schwab  <schwab@redhat.com>
51216         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51217         (sysd-rules-targets): Remove duplicates.
51218         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51219         rtld-%.$o dependency.
51221 2010-10-18  Andreas Schwab  <schwab@redhat.com>
51223         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51224         _dl_map_object do it.
51226 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
51228         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51229         fast fma builtins, define the macros in the C99 standard.
51230         (FP_FAST_FMAF): Likewise.
51231         (FP_FAST_FMAL): Likewise.
51232         * sysdeps/x86_64/bits/mathdef.h: Likewise.
51234         * bits/mathdef.h: Update copyright year.
51235         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51237 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
51239         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51240         builtins, define the macros in the C99 standard.
51241         (FP_FAST_FMAF): Likewise.
51242         (FP_FAST_FMAL): Likewise.
51243         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51244         multiply/add.
51245         (FP_FAST_FMAF): Likewise.
51247 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
51249         [BZ #3268]
51250         * math/libm-test.inc (fma_test): Some new testcases.
51251         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51252         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51253         y and infinite z.  Do multiplication by C already in long double.
51254         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51256         y and infinite z.  Do bitwise or of inexact bit into u.d.
51257         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51258         * sysdeps/i386/fpu/s_fmaf.S: Removed.
51259         * sysdeps/i386/fpu/s_fma.S: Removed.
51260         * sysdeps/i386/fpu/s_fmal.S: Removed.
51262 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
51264         [BZ #3268]
51265         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51267         computation is not scheduled after fetestexcept.  Fix value
51268         of minimum denormal long double.
51270 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
51272         [BZ #3268]
51273         * math/libm-test.inc (fma_test): Add some more tests.
51274         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51275         correctly.
51277 2010-10-15  Andreas Schwab  <schwab@redhat.com>
51279         * scripts/data/localplt-s390-linux-gnu.data: New file.
51280         * scripts/data/localplt-s390x-linux-gnu.data: New file.
51282 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
51284         [BZ #3268]
51285         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51286         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51287         instead of dbl-64.
51288         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51289         inlines.
51290         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51292         if one of x and y is very large and the other is subnormal.
51293         * sysdeps/s390/fpu/s_fmaf.c: New file.
51294         * sysdeps/s390/fpu/s_fma.c: New file.
51295         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51296         * sysdeps/powerpc/fpu/s_fma.S: New file.
51297         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51298         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51299         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51301 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
51303         [BZ #3268]
51304         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51305         fma tests.
51306         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51307         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51308         * sysdeps/i386/i686/multiarch/s_fma.c: Include
51309         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51310         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51311         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51312         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51314 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
51316         [BZ #12078]
51317         * posix/regcomp.c (parse_branch): One more memory leak plugged.
51318         * posix/bug-regex31.input: Add test case.
51320 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51322         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51323         * posix/bug-regex31.input: New file.
51325         [BZ #12078]
51326         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51327         (parse_sub_exp): Fix last change, use postorder.
51329         * posix/bug-regex31.c: New file.
51330         * posix/Makefile: Add rules to build and run bug-regex31.
51332         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51334         [BZ #12078]
51335         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51337         [BZ #12108]
51338         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51339         to have entries in sys_siglist.
51341         [BZ #12093]
51342         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51343         be NULL.
51345 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
51347         [BZ #3268]
51348         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51349         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51350         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51351         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51352         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51353         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51354         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51355         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51356         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51357         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51358         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51359         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51360         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51361         * math/ftestexcept.c (fetestexcept): Likewise.
51362         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51363         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51364         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51365         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51366         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51367         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51368         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51370 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51372         [BZ #12107]
51373         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51374         newline.
51376 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
51378         * string/bug-strstr1.c: New file.
51379         * string/Makefile: Add rules to build and run bug-strstr1.
51381 2010-10-05  Eric Blake  <eblake@redhat.com>
51383         [BZ #12092]
51384         * string/str-two-way.h (two_way_long_needle): Always clear memory
51385         when skipping input due to the shift table.
51387 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
51389         [BZ #12005]
51390         * malloc/mcheck.c: Handle large requests.
51392         [BZ #12077]
51393         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51394         for strncmp and strncasecmp.
51395         * string/stratcliff.c: Add tests for strcmp and strncmp.
51396         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51398 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51400         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51401         __set_fpscr.
51403 2010-09-30  Andreas Jaeger  <aj@suse.de>
51405         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51406         (CGROUP_SUPER_MAGIC): Define.
51407         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51408         Handle btrfs and cgroup file systems.
51409         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51410         Likewise.
51412 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
51414         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51415         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51417 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51419         [BZ #12067]
51420         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51421         trying to locate the ELF header.
51423 2010-09-27  Andreas Schwab  <schwab@redhat.com>
51425         [BZ #11611]
51426         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51427         Mask out sign-bit copies when constructing f_fsid.
51429 2010-09-24  Petr Baudis <pasky@suse.cz>
51431         * debug/stack_chk_fail_local.c: Add missing licence exception.
51432         * debug/warning-nop.c: Likewise.
51434 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
51436         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51437         implementing getdents64 using getdents syscall, set d_type if
51438         __ASSUME_GETDENTS32_D_TYPE.
51440 2010-09-16  Andreas Schwab  <schwab@redhat.com>
51442         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51443         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51445 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
51447         [BZ #12037]
51448         * posix/unistd.h: Undo change of feature selection for ftruncate from
51449         2010-01-11.
51451 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
51453         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51454         detection.
51456 2010-09-20  Andreas Schwab  <schwab@redhat.com>
51458         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51459         fanotify_mark.
51460         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51462 2010-09-14  Andreas Schwab  <schwab@redhat.com>
51464         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51465         variables after CHECK_SP call.
51466         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51468 2010-09-13  Andreas Schwab  <schwab@redhat.com>
51469             Ulrich Drepper  <drepper@redhat.com>
51471         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51472         re-relocationg ld.so.
51473         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51474         _dl_init_paths call.
51475         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
51476         here anymore.
51478 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51480         * resolv/res_init.c (__res_vinit): Count the default server we added.
51482 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51483             Ulrich Drepper  <drepper@redhat.com>
51485         [BZ #11968]
51486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51487         (____longjmp_chk): Use %ebx for saving value across system call.
51488         Add unwind info.
51490 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51492         * manual/Makefile: Don't mix pattern rules with normal rules.
51494 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51496         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51497         operation.
51498         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51499         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51500         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51501         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51502         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51503         Likewise.
51505 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51507         [BZ #11979]
51508         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51509         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51511 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51513         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51514         * sysdeps/x86_64/addmul_1.S: Likewise.
51515         * sysdeps/x86_64/lshift.S: Likewise.
51516         * sysdeps/x86_64/mul_1.S: Likewise.
51517         * sysdeps/x86_64/rshift.S: Likewise.
51518         * sysdeps/x86_64/sub_n.S: Likewise.
51519         * sysdeps/x86_64/submul_1.S: Likewise.
51521 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51523         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51524         Define __sched_param instead of SCHED_* and sched_param when
51525         <bits/sched.h> is included with __need_schedparam defined.
51526         * bits/sched.h [__need_schedparam]
51527         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51528         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51529         (__defined_schedparam): Define to 1.
51530         (__sched_param): New structure, identical to sched_param.
51531         (__need_schedparam): Undefine.
51533 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51535         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51536         (epoll_create1): Declare.
51538         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51540 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51542         [BZ #7066]
51543         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51544         shifting retval into place.
51546 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51548         * nis/rpcsvc/nis.h: Update copyright notice.
51549         * nis/rpcsvc/nis.x: Likewise.
51550         * nis/rpcsvc/nis_callback.h: Likewise.
51551         * nis/rpcsvc/nis_callback.x: Likewise.
51552         * nis/rpcsvc/nis_object.x: Likewise.
51553         * nis/rpcsvc/nis_tags.h: Likewise.
51554         * nis/rpcsvc/yp.h: Likewise.
51555         * nis/rpcsvc/yp.x: Likewise.
51556         * nis/rpcsvc/ypupd.h: Likewise.
51557         * nis/yp_xdr.c: Likewise.
51558         * nis/ypupdate_xdr.c: Likewise.
51560         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51561         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51562         (pmap_getport): Use __libc_rpc_getport.
51563         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51564         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51565         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51567 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51570         fanotify_mark.
51572 2010-08-27  Roland McGrath  <roland@redhat.com>
51574         * sysdeps/i386/i686/multiarch/Makefile
51575         (CFLAGS-varshift.c): New variable.
51577 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51579         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51580         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51582         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51584         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51586 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51588         * sysdeps/x86_64/strlen.S: Unroll the loop.
51589         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51590         strlen-sse2 strlen-sse2-bsf.
51591         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51592         __strlen_no_bsf if bit_Slow_BSF is set.
51593         (__strlen_sse42): Removed.
51594         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51595         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51597 2010-08-25  Roland McGrath  <roland@redhat.com>
51599         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51600         * sysdeps/x86_64/multiarch/varshift.c: New file.
51601         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51602         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51603         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51604         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51606 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51608         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51609         strlen-sse2 strlen-sse2-bsf.
51610         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51611         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51612         (__strlen_sse2): Removed.
51613         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51614         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51616         bit_Slow_BSF for Atom.
51617         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51618         (index_Slow_BSF): Define.
51619         (HAS_SLOW_BSF): Define.
51621 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51623         [BZ #10851]
51624         * resolv/res_init.c (__res_vinit): When no server address at all
51625         is given default to loopback.
51627 2010-08-24  Roland McGrath  <roland@redhat.com>
51629         * configure.in: Remove config-name.h generation.
51630         * configure: Regenerated.
51631         * config-name.in: File removed.
51632         * scripts/config-uname.sh: New file.
51633         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51634         ($(objdir)config-name.h): New target.
51636         * sunrpc/rpc_parse.h: Avoid nested comment.
51638 2010-08-24  Richard Henderson  <rth@redhat.com>
51639             Ulrich Drepper  <drepper@redhat.com>
51640             H.J. Lu  <hongjiu.lu@intel.com>
51642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51644         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51645         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51646         _mm_alignr_epi8 with _mm_loadu_si128.
51647         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51648         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51649         (__m128i_shift_right): Removed.
51650         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51651         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51652         * sysdeps/x86_64/multiarch/varshift.h: New file.
51653         * sysdeps/x86_64/multiarch/varshift.S: New file.
51655 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51657         * configure.in: Move assembler checks to before sysdep dir checking.
51659 2010-08-20  Petr Baudis  <pasky@suse.cz>
51661         * LICENSES: Sync the sunrpc license.
51663 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51665         * sunrpc/auth_des.c: Update copyright notice once again.
51666         * sunrpc/auth_none.c: Likewise.
51667         * sunrpc/auth_unix.c: Likewise.
51668         * sunrpc/authdes_prot.c: Likewise.
51669         * sunrpc/authuxprot.c: Likewise.
51670         * sunrpc/bindrsvprt.c: Likewise.
51671         * sunrpc/clnt_gen.c: Likewise.
51672         * sunrpc/clnt_perr.c: Likewise.
51673         * sunrpc/clnt_raw.c: Likewise.
51674         * sunrpc/clnt_simp.c: Likewise.
51675         * sunrpc/clnt_tcp.c: Likewise.
51676         * sunrpc/clnt_udp.c: Likewise.
51677         * sunrpc/clnt_unix.c: Likewise.
51678         * sunrpc/des_crypt.c: Likewise.
51679         * sunrpc/des_soft.c: Likewise.
51680         * sunrpc/get_myaddr.c: Likewise.
51681         * sunrpc/getrpcport.c: Likewise.
51682         * sunrpc/key_call.c: Likewise.
51683         * sunrpc/key_prot.c: Likewise.
51684         * sunrpc/openchild.c: Likewise.
51685         * sunrpc/pm_getmaps.c: Likewise.
51686         * sunrpc/pm_getport.c: Likewise.
51687         * sunrpc/pmap_clnt.c: Likewise.
51688         * sunrpc/pmap_prot.c: Likewise.
51689         * sunrpc/pmap_prot2.c: Likewise.
51690         * sunrpc/pmap_rmt.c: Likewise.
51691         * sunrpc/rpc/auth.h: Likewise.
51692         * sunrpc/rpc/auth_unix.h: Likewise.
51693         * sunrpc/rpc/clnt.h: Likewise.
51694         * sunrpc/rpc/des_crypt.h: Likewise.
51695         * sunrpc/rpc/key_prot.h: Likewise.
51696         * sunrpc/rpc/netdb.h: Likewise.
51697         * sunrpc/rpc/pmap_clnt.h: Likewise.
51698         * sunrpc/rpc/pmap_prot.h: Likewise.
51699         * sunrpc/rpc/pmap_rmt.h: Likewise.
51700         * sunrpc/rpc/rpc.h: Likewise.
51701         * sunrpc/rpc/rpc_des.h: Likewise.
51702         * sunrpc/rpc/rpc_msg.h: Likewise.
51703         * sunrpc/rpc/svc.h: Likewise.
51704         * sunrpc/rpc/svc_auth.h: Likewise.
51705         * sunrpc/rpc/types.h: Likewise.
51706         * sunrpc/rpc/xdr.h: Likewise.
51707         * sunrpc/rpc_clntout.c: Likewise.
51708         * sunrpc/rpc_cmsg.c: Likewise.
51709         * sunrpc/rpc_common.c: Likewise.
51710         * sunrpc/rpc_cout.c: Likewise.
51711         * sunrpc/rpc_dtable.c: Likewise.
51712         * sunrpc/rpc_hout.c: Likewise.
51713         * sunrpc/rpc_main.c: Likewise.
51714         * sunrpc/rpc_parse.c: Likewise.
51715         * sunrpc/rpc_parse.h: Likewise.
51716         * sunrpc/rpc_prot.c: Likewise.
51717         * sunrpc/rpc_sample.c: Likewise.
51718         * sunrpc/rpc_scan.c: Likewise.
51719         * sunrpc/rpc_scan.h: Likewise.
51720         * sunrpc/rpc_svcout.c: Likewise.
51721         * sunrpc/rpc_tblout.c: Likewise.
51722         * sunrpc/rpc_util.c: Likewise.
51723         * sunrpc/rpc_util.h: Likewise.
51724         * sunrpc/rpcinfo.c: Likewise.
51725         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51726         * sunrpc/rpcsvc/key_prot.x: Likewise.
51727         * sunrpc/rpcsvc/klm_prot.x: Likewise.
51728         * sunrpc/rpcsvc/mount.x: Likewise.
51729         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51730         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51731         * sunrpc/rpcsvc/rex.x: Likewise.
51732         * sunrpc/rpcsvc/rstat.x: Likewise.
51733         * sunrpc/rpcsvc/rusers.x: Likewise.
51734         * sunrpc/rpcsvc/sm_inter.x: Likewise.
51735         * sunrpc/rpcsvc/spray.x: Likewise.
51736         * sunrpc/rpcsvc/yppasswd.x: Likewise.
51737         * sunrpc/rtime.c: Likewise.
51738         * sunrpc/svc.c: Likewise.
51739         * sunrpc/svc_auth.c: Likewise.
51740         * sunrpc/svc_authux.c: Likewise.
51741         * sunrpc/svc_raw.c: Likewise.
51742         * sunrpc/svc_run.c: Likewise.
51743         * sunrpc/svc_simple.c: Likewise.
51744         * sunrpc/svc_tcp.c: Likewise.
51745         * sunrpc/svc_udp.c: Likewise.
51746         * sunrpc/svc_unix.c: Likewise.
51747         * sunrpc/svcauth_des.c: Likewise.
51748         * sunrpc/xcrypt.c: Likewise.
51749         * sunrpc/xdr.c: Likewise.
51750         * sunrpc/xdr_array.c: Likewise.
51751         * sunrpc/xdr_float.c: Likewise.
51752         * sunrpc/xdr_mem.c: Likewise.
51753         * sunrpc/xdr_rec.c: Likewise.
51754         * sunrpc/xdr_ref.c: Likewise.
51755         * sunrpc/xdr_sizeof.c: Likewise.
51756         * sunrpc/xdr_stdio.c: Likewise.
51758         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51759         handling.
51761 2010-08-19  Andreas Schwab  <schwab@redhat.com>
51763         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51765 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
51767         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51768         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51769         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51770         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51771         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51772         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51773         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51774         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51775         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51776         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51777         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51778         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51779         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51780         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51782 2010-07-26  Anton Blanchard  <anton@samba.org>
51784         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51785         * malloc/arena.c (heap_trim): Likewise.
51787 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
51789         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51790         here.  Not...
51791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51792         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51794 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
51796         * sysdeps/i386/elf/Makefile: New file.
51798 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51800         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51801         from fanotify_init.
51802         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51803         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51805 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
51807         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51808         of strncasecmp_l.
51809         * sysdeps/multiarch/strcmp.S: Likewise.
51811 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
51813         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51814         strncase_l-nonascii.
51815         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51816         Add strncase_l-ssse3.
51817         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51818         * sysdeps/x86_64/strcmp.S: Likewise.
51819         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51820         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51821         * sysdeps/x86_64/strncase.S: New file.
51822         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51823         * sysdeps/x86_64/strncase_l.S: New file.
51824         * string/Makefile (strop-tests): Add strncasecmp.
51825         * string/test-strncasecmp.c: New file.
51827         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51828         warning.
51830         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51831         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51833 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51835         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51837 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
51839         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51840         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51841         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51843 2010-05-01  Alan Modra  <amodra@gmail.com>
51845         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51846         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51847         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51848         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51849         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51850         tidying.  Don't tail-call __sigjmp_save for static lib.
51851         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51852         save location.
51853         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51854         (CALL_MCOUNT): Add eh info, and nop after bl.
51855         (TAIL_CALL_SYSCALL_ERROR): New macro.
51856         (PSEUDO_RET): Use it.
51857         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51858         Correct save location of integer regs and cr.
51859         (_dl_profile_resolve): Correct cr save location.  Delete nops
51860         after bl when SHARED.  Reduce cfi size a little by better
51861         placement of cfi directives.
51862         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51863         make a stack frame.  Instead use parm save area as a temp.
51864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51865         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
51866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51867         Don't make a stack frame for parent, use parm save area.
51868         Increase child stack frame to 112 bytes.  Don't save unused reg,
51869         and adjust reg usage.  Set up cfi on error recovery and
51870         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51872         (__makecontext): Add dummy nop after jump to exit.
51873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51874         Use correct parm save area and cr save, reduce stack frame.
51875         Correct cfi for possible PSEUDO_RET frame setup.
51876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51877         Branch to local label emitted by PSEUDO_RET rather than
51878         __syscall_error.
51880 2010-08-12  Andreas Schwab  <schwab@redhat.com>
51882         [BZ #11904]
51883         * locale/programs/locale.c (print_assignment): New function.
51884         (show_locale_vars): Use it.
51886 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
51888         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51889         field.
51890         (struct statfs64): Likewise.
51891         (_STATFS_F_FLAGS): Define.
51892         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51893         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51894         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51895         (ST_VALID): Define locally.
51896         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51897         __statvfs_getflags, use the provided value.
51898         * sysdeps/unix/sysv/linux/kernel-features.h: Define
51899         __ASSUME_STATFS_F_FLAGS.
51901         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51903         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51904         Add sys/fanotify.h.
51905         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51906         fanotify_mask for GLIBC_2.13.
51907         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51908         fanotify_init and fanotify_mark.
51909         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51910         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51912         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51913         Add prlimit.
51914         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51915         prlimit64 for GLIBC_2.13.
51916         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51917         prlimit64.
51918         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51919         syscall.
51920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51921         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51922         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51923         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51924         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
51925         add prlimit alias.
51926         * sysdeps/unix/sysv/linux/prlimit.c: New file.
51928         [BZ #11903]
51929         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51930         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51932         * nss/Makefile: Add rules to build and run tst-nss-test1.
51933         * shlib-versions: Add entry for libnss_test1.
51934         * nss/nss_test1.c: New file.
51935         * nss/tst-nss-test1.c: New file.
51937         * nss/nsswitch.c (__nss_database_custom): Define new variable.
51938         (__nss_configure_lookup): Set appropriate entry in
51939         __nss_configure_lookup to true.
51940         * nss/nsswitch.h: Define enum with indeces of databases in
51941         databases and __nss_database_custom arrays.  Declare
51942         __nss_database_custom.
51943         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51944         to avoid using nscd when custom rules are installed.
51945         * nss/getXXbyYY_r.c: Likewise.
51946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51948         * nss/nss_files/files-parse.c: Whitespace fixes.
51950 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
51952         [BZ #11883]
51953         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51954         * posix/fnmatch_loop.c: Likewise.
51956 2010-07-17  Andi Kleen  <ak@linux.intel.com>
51958         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51959         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51960         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51961         * Versions.def [GLIBC_2.13]: Add.
51963 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
51965         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51966         Also fail if tpwd after pwuid call is NULL.
51968 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51970         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51971         when converting to ms.
51973 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51975         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51976         EOPNOTSUPP errors with ENOTTY.
51977         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51978         EOPNOTSUPP errors with ENOTTY.
51980 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
51982         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51983         Add strcasecmp_l-ssse3.
51984         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51985         strcasecmp.
51986         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51987         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51988         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51990 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
51992         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51994         * string/Makefile (strop-tests): Add strcasecmp.
51995         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51996         strcasecmp_l-nonascii.
51997         (gen-as-const-headers): Add locale-defines.sym.
51998         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51999         * sysdeps/x86_64/strcasecmp.S: New file.
52000         * sysdeps/x86_64/strcasecmp_l.S: New file.
52001         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52002         * sysdeps/x86_64/locale-defines.sym: New file.
52003         * string/test-strcasecmp.c: New file.
52005         * string/test-strcasestr.c: Test both ends of the range of characters.
52006         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52008 2010-07-29  Roland McGrath  <roland@redhat.com>
52010         [BZ #11856]
52011         * manual/locale.texi (Yes-or-No Questions): Fix example code.
52013 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
52015         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52016         for ld.so.
52018 2010-07-27  Andreas Schwab  <schwab@redhat.com>
52020         * manual/memory.texi (Malloc Tunable Parameters): Document
52021         M_PERTURB.
52023 2010-07-26  Roland McGrath  <roland@redhat.com>
52025         [BZ #11840]
52026         * configure.in (-fgnu89-inline check): Set and substitute
52027         gnu89_inline, not libc_cv_gnu89_inline.
52028         * configure: Regenerated.
52029         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52031 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
52033         * string/test-strnlen.c: New file.
52034         * string/Makefile (strop-tests): Add strnlen.
52035         * string/tester.c (test_strnlen): Add a few more test cases.
52036         * string/tst-strlen.c: Better error reporting.
52038         * sysdeps/x86_64/strnlen.S: New file.
52040 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
52042         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52043         lower-latency instructions.
52045 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
52047         * string/test-strcasestr.c: New file.
52048         * string/test-strstr.c: New file.
52049         * string/Makefile (strop-tests): Add strstr and strcasestr.
52050         * string/str-two-way.h: Don't undefine MAX.
52051         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52053 2010-07-21  Andreas Schwab  <schwab@redhat.com>
52055         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52056         strcasestr-nonascii.
52057         (CFLAGS-strcasestr-nonascii.c): Define.
52058         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52059         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52060         Remove unused attribute.
52062 2010-07-20  Roland McGrath  <roland@redhat.com>
52064         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52065         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
52066         ld.so.cache was broken.  With it, there is no way to disable dsocaps
52067         like LD_HWCAP_MASK can disable hwcaps.
52069 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52071         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52073 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
52075         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52076         call in strcasestr.
52077         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52078         __strcasestr_sse42_nonascii.
52079         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52080         strcasestr-nonascii.c.
52081         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52083 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
52085         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52086         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52087         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52088         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52090 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
52092         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52093         fcntl.
52095 2010-07-06  Andreas Schwab  <schwab@redhat.com>
52097         [BZ #11577]
52098         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52099         dl_signal_cerror.
52101 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
52103         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52104         _PC_PIPE_BUF using F_GETPIPE_SZ.
52106 2010-07-05  Roland McGrath  <roland@redhat.com>
52108         * manual/arith.texi (Rounding Functions): Fix rint description
52109         implicit in round description.
52111 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
52113         * elf/Makefile: Fix linking for a few tests to make recent linker
52114         happy.
52116 2010-06-30  Andreas Schwab  <schwab@redhat.com>
52118         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52119         $(common-objpfx)libc_nonshared.a.
52121 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
52123         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52124         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52125         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52126         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52127         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52128         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52129         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52130         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52145         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52146         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52147         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52148         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52149         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52150         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52151         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52152         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52153         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52154         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52155         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52156         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52172 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
52174         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52175         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
52176         * string/memmove.c (memmove): Renamed to ...
52177         (MEMMOVE): ...this.  Default to memmove.
52178         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52179         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52180         (END_CHK): Define.
52181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52182         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52183         mempcpy-ssse3-back memmove-ssse3-back.
52184         * sysdeps/x86_64/multiarch/bcopy.S: New file .
52185         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52186         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52187         * sysdeps/x86_64/multiarch/memcpy.S: New file.
52188         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52189         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52190         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52191         * sysdeps/x86_64/multiarch/memmove.c: New file.
52192         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52193         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52194         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52195         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52196         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52197         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52198         Define.
52199         (index_Fast_Copy_Backward): Define.
52200         (HAS_ARCH_FEATURE): Define.
52201         (HAS_FAST_REP_STRING): Define.
52202         (HAS_FAST_COPY_BACKWARD): Define.
52204 2010-06-21  Andreas Schwab  <schwab@redhat.com>
52206         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52207         Restore proper fallback handling.
52209 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
52211         [BZ #11701]
52212         * posix/group_member.c (__group_member): Correct checking loop.
52214         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52215         OOM in getpwuid_r correctly.  Return error number when the caller
52216         should return, otherwise -1.
52217         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52218         call returning > 0 value.
52219         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52221 2010-06-07  Andreas Schwab  <schwab@redhat.com>
52223         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52224         libc_nonshared.a from targets in modules-names.
52226 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
52228         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52229         requires it.
52231 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
52233         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52234         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52235         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52236         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52238 2010-06-02  Andreas Schwab  <schwab@redhat.com>
52240         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52242 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
52244         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52245         and F_GETPIPE_SZ.
52246         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52247         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52248         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52249         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52250         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52251         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52253 2010-06-14  Roland McGrath  <roland@redhat.com>
52255         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52257 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
52259         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52260         __REDIRECT followed by __THROW.
52261         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52262         * posix/getopt.h (getopt): Likewise.
52264 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52266         * hurd/lookup-at.c (__file_name_lookup_at): Accept
52267         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
52268         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52269         in AT_FLAGS.
52270         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52271         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52273 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
52275         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52277 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
52279         [BZ #11640]
52280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52281         Properly check family and model.
52283 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
52285         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52287 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
52289         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52291 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
52293         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52294         symbol reference.
52296 2010-05-19  Andreas Schwab  <schwab@redhat.com>
52298         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52299         symbol reference.
52301 2010-05-21  Andreas Schwab  <schwab@redhat.com>
52303         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52304         and internal_recvmmsg.
52305         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52306         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52307         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52308         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52310         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52311         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52312         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52314 2010-05-20  Andreas Schwab  <schwab@redhat.com>
52316         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52318 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
52320         POWER7 optimizations.
52321         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52322         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52324 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
52326         * version.h: Update for 2.13 development version.
52328 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
52330         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52331         exceptions.  Return 0.
52333 2010-05-07  Roland McGrath  <roland@redhat.com>
52335         * elf/ldconfig.c (main): Add a const.
52337 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
52339         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52340         (args_options): Add no-idn option.
52341         (ahosts_keys_int): Add idn_flags to ai_flags.
52342         (parse_option): Handle 'i' option to clear idn_flags.
52344         * malloc/malloc.c (_int_free): Possible race in the most recently
52345         added check.  Only act on the data if no current modification
52346         happened.
52348 See ChangeLog.17 for earlier changes.