6199b7e692da79e4777a28037f79e144754156b6
[platform/upstream/glibc.git] / ChangeLog
1 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2
3         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4         the sched_priority value here.  It was already checked when the user
5         called pthread_attr_setschedparam.
6
7         * nptl/tst-bad-schedattr.c: New file.
8         * nptl/Makefile (tests): Add it.
9
10 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11             Florian Weimer  <fweimer@redhat.com>
12             Joseph Myers  <joseph@codesourcery.com>
13             Adam Conrad  <adconrad@0c3.net>
14             Andreas Schwab  <schwab@suse.de>
15             Brooks  <bmoses@google.com>
16
17         [BZ #17625]
18         * wordexp-test.c (__dso_handle): Add prototype.
19         (__register_atfork): Likewise.
20         (__app_register_atfork): New function.
21         (registered_forks): New global.
22         (register_fork): New function.
23         (test_case): Add 3 new tests for WRDE_CMDSUB.
24         (main): Call __app_register_atfork.
25         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26         fork count is non-zero fail the test.
27         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28         is set.
29         (parse_dollars): Remove check for WRDE_NOCMD.
30         (parse_dquote): Likewise.
31
32 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33
34         * Makeconfig (built-modules): List non-library modules to be
35         built.
36         (module-cppflags): Include libc-modules.h for
37         everything except shlib-versions.v.i.
38         (CPPFLAGS): Use it.
39         (before-compile): Add libc-modules.h.
40         ($(common-objpfx)libc-modules.h,
41         $(common-objpfx)libc-modules.stmp): New targets.
42         (common-generated): Add libc-modules.h and libc-modules.stmp.
43         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44         * include/libc-symbols.h: Don't include libc-modules.h.
45         * include/libc-modules.h: Remove file.
46         * scripts/gen-libc-modules.awk: New script to generate
47         libc-modules.h.
48         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
49         Depend on libc-modules.stmp.
50
51         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
52
53         * Makeconfig (in-module): Get value of libof set for the
54         translation unit.
55         (CPPFLAGS): Use $(in-module).
56         * Makerules: Don't suffix routine names for nonlib.
57         * include/libc-modules.h: New file.
58         * include/libc-symbols.h: Include libc-modules.h
59         (IS_IN): New macro to replace IS_IN_* macros.
60         * elf/Makefile: Set libof-* for each routine.
61         * elf/rtld-Rules: Likewise.
62         * extra-modules.mk: Likewise.
63         * iconv/Makefile: Likewise.
64         * iconvdata/Makefile: Likewise.
65         * locale/Makefile: Likewise.
66         * malloc/Makefile: Likewise.
67         * nss/Makefile: Likewise.
68         * sysdeps/gnu/Makefile: Likewise.
69         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
70         * sysdeps/unix/sysv/linux/Makefile: Likewise.
71         * sysdeps/s390/s390-64/Makefile: Likewise.
72         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
73         CPPFLAGS for nscd instead of nonlib.
74
75 2014-11-18  Roland McGrath  <roland@hack.frob.com>
76
77         * nptl/createthread.c: New file.
78
79         * nptl/createthread.c: Moved ...
80         * sysdeps/unix/sysv/linux/createthread.c: ... here.
81
82         * nptl/createthread.c: Add proper top-line comment.
83         (do_clone): Folded into ...
84         (create_thread): ... here.  Take new arguments STOPPED_START and
85         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
86         increment __nptl_threads, do event-reporting logic, do
87         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
88         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
89         resource cleanup if sched_setaffinity or sched_setscheduler fails,
90         just send SIGCANCEL.
91         * nptl/pthread_create.c: Forward-declare create_thread before
92         including createthread.c.
93         (start_thread): Use new macro START_THREAD_DEFN to replace defining
94         declaration, and new macro START_THREAD_SELF to replace argument.
95         Remove return statement.
96         (report_thread_creation): New function.
97         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
98         synchronization logic, and __nptl_nthreads increment here, around
99         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
100         PD->parent_cancelhandling here, before create_thread.  When
101         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
102         __deallocate_stack, and ENOMEM translation here.
103
104 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
105
106         [BZ #17616]
107         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
108         (mptwo): Rename to __mptwo.
109         (__inv): Use __mptwo instead of mptwo.
110         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
111         (mptwo): Rename to __mptwo.
112         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
113         of mpone and __mptwo instead of mptwo.
114         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
115         instead of mpone.
116         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
117         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
118         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
119         of mpone and __mptwo instead of mptwo.
120         (__mpranred): Use __mpone instead of mpone.
121         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
122         variable.
123         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
124         (test-xfail-ISO99/math.h/linknamespace): Likewise.
125         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
126         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
127         (test-xfail-ISO11/math.h/linknamespace): Likewise.
128         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
129         (test-xfail-XPG3/math.h/linknamespace): Likewise.
130         (test-xfail-XPG4/math.h/linknamespace): Likewise.
131         (test-xfail-POSIX/math.h/linknamespace): Likewise.
132         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
133         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
134         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
135         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
136         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
137         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
138         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
139         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
140         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
141         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
142
143 2014-11-18  Tom de Vries  <tom@codesoucery.com>
144
145         * manual/signal.texi (Primitives Interrupted by Signals): In section,
146         replace BSD Handler xref with BSD Signal Handling.
147
148 2014-11-17  Richard Henderson  <rth@redhat.com>
149
150         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
151         (_FP_PACK_RAW_2): Remove.
152         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
153         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
154         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
155         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
156         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
157         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
158         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
159         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
160         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
161         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
162         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
163         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
164         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
165         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
166         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
167         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
168
169 2014-11-14  Roland McGrath  <roland@hack.frob.com>
170
171         * signal/signal.h [__USE_MISC]
172         (struct sigvec): Remove type.
173         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
174         (sigvec): Remove declaration.
175         * sysdeps/posix/sigvec.c: Moved ...
176         * signal/sigvec.c: ... here, replacing old file.
177         (struct sigvec): New type, copied from old signal.h definition.
178         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
179         (__sigvec): Convert definition to prototype.
180         (sigvec): Replace weak_alias with compat_symbol.
181         * signal/Versions (libc: GLIBC_2.21): New version set.
182         * include/signal.h: Remove __sigvec declaration.
183         * sysdeps/unix/bsd/sigvec.c: Remove file.
184         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
185         * manual/signal.texi (BSD Handler): Remove subsection.
186         Move siginterrupt up to ...
187         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
188         (Blocking in BSD): Fold subsection into its parent.
189         * NEWS: Mention sigvec removal.
190
191 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
192
193         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
194         (DLA_FMS): Make definition conditional only on [__FMA4__].
195         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
196         definition.
197
198         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
199         Make definition conditional only on [PROF].
200         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
201         definition.
202         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
203         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
204
205         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
206         !__GNUC__].
207         * include/signal.h (__sigpause): Move declaration above call to
208         libc_hidden_proto.
209         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
210         variable.
211         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
212         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
213
214 2014-11-14  David S. Miller  <davem@davemloft.net>
215
216         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
217         Define before including <string/memcpy.c> and <string/mempcpy.c>.
218
219 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
220
221         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
222         * configure: Regenerated.
223         * manual/install.texi (Tools for Compilation): Document a
224         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
225         compiler verified to work.
226         * INSTALL: Regenerated.
227
228         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
229         redeclare with asm name.
230         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
231         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
232         including <string.h>.
233         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
234         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
235         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
236         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
237         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
238         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
239         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
240
241 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
242
243         * stdlib/strtol.c (__strtol): Use prototype definition.
244
245         [BZ #17594]
246         * stdlib/strtol.c (SYM__): New macro.
247         (SYM__1): Likewise.
248         (__strtol): Likewise.
249         (strtol): Rename to __strtol and define as weak alias of
250         __strtol.  Use libc_hidden_weak.
251
252 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
253
254         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
255         Use numbered labels in inline assembly.
256
257 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
258
259         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
260         Add setjmp LIBC_PROBE.
261         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
262         Likewise.
263         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
264         Add longjmp, longjmp_target LIBC_PROBE.
265         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
266         Likewise.
267
268 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
269
270         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
271         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
272         to get rid of unused variable warning.
273
274 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
275
276         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
277         Check for unwind_backtrace ==  NULL only in SHARED case.
278         (__backchain_backtrace): Compile only in SHARED case.
279         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
280         Likewise.
281         (__backchain_backtrace): Declare as static.
282
283 2014-11-12  Roland McGrath  <roland@hack.frob.com>
284
285         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
286         (__libc_multiple_threads_ptr): Variable moved ...
287         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
288
289 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
290
291         * conform/GlibcConform.pm: New file.
292         * conform/conformtest.pl: Use GlibcConform module.
293         * conform/linknamespace.pl: New file.
294         * conform/list-header-symbols.pl: Likewise.
295         * conform/Makefile (linknamespace-symlists-base): New variable.
296         (linknamespace-symlists-tests): Likewise.
297         (linknamespace-header-base): Likewise.
298         (linknamespace-header-tests): Likewise.
299         (tests-special): Add new tests.
300         ($(linknamespace-symlists-tests)): New rule.
301         (linknamespace-libs): New variable.
302         ($(objpfx)symlist-stdlibs): New rule.
303         ($(linknamespace-header-tests)): Likewise.
304         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
305         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
306         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
307         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
308         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
309         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
310         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
311         (test-xfail-ISO/math.h/linknamespace): Likewise.
312         (test-xfail-ISO/signal.h/linknamespace): Likewise.
313         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
314         (test-xfail-ISO/time.h/linknamespace): Likewise.
315         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
316         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
317         (test-xfail-ISO99/math.h/linknamespace): Likewise.
318         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
319         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
320         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
321         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
322         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
323         (test-xfail-ISO11/math.h/linknamespace): Likewise.
324         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
325         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
326         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
327         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
328         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
329         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
330         (test-xfail-XPG3/math.h/linknamespace): Likewise.
331         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
332         (test-xfail-XPG3/search.h/linknamespace): Likewise.
333         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
334         (test-xfail-XPG3/time.h/linknamespace): Likewise.
335         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
336         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
337         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
338         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
339         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
340         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
341         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
342         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
343         (test-xfail-XPG4/math.h/linknamespace): Likewise.
344         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
345         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
346         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
347         (test-xfail-XPG4/search.h/linknamespace): Likewise.
348         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
349         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
350         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
351         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
352         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
353         (test-xfail-XPG4/time.h/linknamespace): Likewise.
354         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
355         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
356         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
357         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
358         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
359         (test-xfail-POSIX/math.h/linknamespace): Likewise.
360         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
361         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
362         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
363         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
364         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
365         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
366         (test-xfail-POSIX/time.h/linknamespace): Likewise.
367         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
368         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
369         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
370         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
371         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
372         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
373         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
374         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
375         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
376         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
377         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
378         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
379         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
380         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
381         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
382         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
383         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
384         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
385         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
386         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
387         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
388         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
389         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
390         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
391         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
392         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
393         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
394         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
395         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
396         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
397         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
398         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
399         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
400         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
401         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
402         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
403         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
404         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
405         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
406         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
407         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
408         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
409         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
410         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
411         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
412         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
413         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
414         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
415         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
416         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
417         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
418         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
419         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
420         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
421         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
422         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
423         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
424         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
425         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
426         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
427         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
428         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
429         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
430         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
431         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
432         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
433         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
434         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
435         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
436         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
437         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
438         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
439         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
440         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
441         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
442         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
443         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
444         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
445         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
446         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
447         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
448         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
449         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
450         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
451         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
452         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
453         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
454         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
455         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
456         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
457         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
458         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
459         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
460         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
461         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
462         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
463         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
464         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
465
466         [BZ #17589]
467         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
468         of fgets_unlocked.
469
470         [BZ #17585]
471         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
472         (memmem): Rename to __memmem and define as weak alias of
473         __memmem.  Use libc_hidden_weak.
474         (__memmem): Use libc_hidden_def.
475         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
476         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
477         memmem.
478
479         [BZ #17582]
480         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
481         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
482         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
483         and define as weak alias of __fgets_unlocked.  Use
484         libc_hidden_weak.
485         (__fgets_unlocked): Use libc_hidden_def.
486         * include/stdio.h (__fgets_unlocked): Declare.  Use
487         libc_hidden_proto.
488         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
489         __fgets_unlocked instead of fgets_unlocked.
490         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
491         (GET_NPROCS_CONF_PARSER): Likewise.
492         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
493         (GET_NPROCS_CONF_PARSER): Likewise.
494
495         [BZ #17574]
496         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
497         weak alias of __wmemset.  Use libc_hidden_weak.
498         (__wmemset): Use libc_hidden_def.
499         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
500         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
501         of wmemset.
502
503         [BZ #17573]
504         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
505         with asm name __mempcpy.
506         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
507
508         [BZ #17572]
509         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
510         and define as weak alias of __rawmemchr.
511         (__rawmemchr): Do not define as strong alias of rawmemchr.
512
513         [BZ #17571]
514         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
515         alias of __qsort_r.
516         (qsort): Call __qsort_r instead of qsort_r.
517         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
518         (__qsort_r): Declare.  Call libc_hidden_proto.
519         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
520         instead of qsort_r.
521         * nscd/gai.c (__qsort_r): Define to qsort_r.
522         * posix/tst-rfc3484.c (__qsort_r): Likewise.
523         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
524         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
525
526         [BZ #17570]
527         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
528         define as weak alias of __malloc_info.
529
530         [BZ #17584]
531         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
532         as weak alias of __rewinddir.  Don't use libc_hidden_def.
533         (__rewinddir): Use libc_hidden_def.
534         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
535         as weak alias of __rewinddir.  Don't use libc_hidden_def.
536         (__rewinddir): Use libc_hidden_def.
537         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
538         weak alias of __rewinddir.  Don't use libc_hidden_def.
539         (__rewinddir): Use libc_hidden_def.
540         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
541         (__rewinddir): Use libc_hidden_proto.
542         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
543         rewinddir.
544         (__getcwd): Use __rewinddir instead of rewinddir.
545
546         [BZ #17583]
547         * libio/fileno.c (fileno): Rename to __fileno and define as weak
548         alias of __fileno.  Use libc_hidden_weak.
549         (__fileno): Use libc_hidden_def.
550         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
551         * libio/ftello.c (ftello): Rename to __ftello and define as weak
552         alias of __ftello.
553         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
554         __ftello.
555         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
556         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
557         libc_hidden_def.
558         (fread_unlocked): Don't use libc_hidden_ver.
559         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
560         and define as weak alias of __fread_unlocked.  Don't use
561         libc_hidden_def.
562         (__fread_unlocked): Use libc_hidden_def.
563         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
564         (ftello): Don't use libc_hidden_proto.
565         (__ftello): Declare.  Use libc_hidden_proto.
566         (fread_unlocked): Don't use libc_hidden_proto.
567         (__fread_unlocked): Declare.  Use libc_hidden_proto.
568         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
569         and __ftello instead of fileno, fread_unlocked and ftello.
570
571 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
572
573         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
574         GOT12.
575         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
576         Likewise.
577         (_dl_start_user): Likewise.
578         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
579
580 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
581             Siddhesh Poyarekar  <siddhesh@redhat.com>
582
583         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
584         Move argv and envp down instead of moving argc up.
585         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
586
587 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
588
589         [BZ #17506]
590         * test-skeleton.c (main): Return successful if one of
591         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
592         * string/tst-strcoll-overflow.c: Define expected status.
593
594 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
595
596         [BZ #17475]
597         * locale/iso-639.def: Define Bhili and Tulu language codes.
598
599 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
600
601         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
602
603 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
604
605         [BZ #17555]
606         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
607
608 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
609
610         * configure.ac: Updated check of minimal required version to
611         2.22.
612         * manual/install.texi (Tools for Compilation): Updated version
613         number.
614         * configure: Regenerated.
615         * INSTALL: Likewise.
616
617 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
618
619         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
620         __tls_get_addr.
621
622 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
623
624         * include/sys/wait.h (__libc_waitpid): Remove declaration.
625         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
626         (__waitpid): Don't define as alias.  Use libc_hidden_def not
627         libc_hidden_weak.
628         (waitpid): Define as alias of __waitpid.
629         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
630         __waitpid.
631         (__waitpid): Don't define as alias.  Use libc_hidden_def not
632         libc_hidden_weak.
633         (waitpid): Define as alias of __waitpid.
634         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
635         __libc_waitpid alias.
636         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
637         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
638         Likewise.
639         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
640         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
641         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
642         alias.
643         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
644         __waitpid.
645         (__waitpid): Don't define as alias.  Use libc_hidden_def not
646         libc_hidden_weak.
647         (waitpid): Define as alias of __waitpid.
648
649 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
650
651         * manual/llio.texi: Add comment that write safety has been
652         fixed in Linux.
653
654         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
655         (localplt-build-dso): Add elf/ld.so.
656         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
657         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
658         and free for ld.so.
659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
660         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
662         Likewise.
663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
664         Likewise.
665         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
666         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
667         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
668         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
669         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
670         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
671         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
672         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
673         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
674         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
675         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
676
677 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
678
679         [BZ #14132]
680         * include/libc-symbols.h (INTUSE): Remove macro.
681         (INTDEF): Likewise.
682         (INTVARDEF): Likewise.
683         (_INTVARDEF): Likewise.
684         (INTDEF2): Likewise.
685         (INTVARDEF2): Likewise.
686         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
687         rtld_hidden_def instead of INTVARDEF.
688         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
689         (_dl_starting_up_internal): Remove declaration.
690         (_dl_starting_up): Use rtld_hidden_proto.
691         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
692         declaration.
693         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
694         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
695         _dl_starting_up.
696         * elf/dl-writev.h (_dl_writev): Likewise.
697         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
698         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
699         _dl_starting_up_internal.
700
701 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
702
703         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
704         test-skeleton.c.
705
706 2014-11-05  Will Newton  <will.newton@linaro.org>
707
708         * benchtests/Makefile: (bench-malloc): Add malloc thread
709         scalability benchmark.
710         * benchtests/bench-malloc-threads.c: New file.
711
712 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
713
714         * sysdeps/aarch64/strchrnul.S: New file.
715
716 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
717
718         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
719         definition.
720         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
721         Likwise.
722         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
723         Likewise.
724         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
725         Likewise.
726         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
727         Likewise.
728         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
729         Likewise.
730
731 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
732
733         * catgets/test-gencat.c: Use test-skeleton.c.
734         * catgets/tst-catgets.c: Likewise.
735         * csu/tst-empty.c: Likewise.
736         * elf/tst-audit2.c: Likewise.
737         * elf/tst-global1.c: Likewise.
738         * elf/tst-pathopt.c: Likewise.
739         * elf/tst-piemod1.c: Likewise.
740         * elf/tst-tls10.c: Likewise.
741         * elf/tst-tls11.c: Likewise.
742         * elf/tst-tls12.c: Likewise.
743         * gnulib/tst-gcc.c: Likewise.
744         * iconvdata/tst-e2big.c: Likewise.
745         * iconvdata/tst-loading.c: Likewise.
746         * iconv/tst-iconv1.c: Likewise.
747         * iconv/tst-iconv2.c: Likewise.
748         * inet/test-inet6_opt.c: Likewise.
749         * inet/tst-gethnm.c: Likewise.
750         * inet/tst-network.c: Likewise.
751         * inet/tst-ntoa.c: Likewise.
752         * intl/tst-codeset.c: Likewise.
753         * intl/tst-gettext2.c: Likewise.
754         * intl/tst-gettext3.c: Likewise.
755         * intl/tst-ngettext.c: Likewise.
756         * intl/tst-translit.c: Likewise.
757         * io/test-stat.c: Likewise.
758         * libio/test-fmemopen.c: Likewise.
759         * libio/tst-freopen.c: Likewise.
760         * libio/tst-sscanf.c: Likewise.
761         * libio/tst-ungetwc1.c: Likewise.
762         * libio/tst-ungetwc2.c: Likewise.
763         * libio/tst-widetext.c: Likewise.
764         * localedata/tst-ctype.c: Likewise.
765         * localedata/tst-digits.c: Likewise.
766         * localedata/tst-leaks.c: Likewise.
767         * localedata/tst-mbswcs1.c: Likewise.
768         * localedata/tst-mbswcs2.c: Likewise.
769         * localedata/tst-mbswcs3.c: Likewise.
770         * localedata/tst-mbswcs4.c: Likewise.
771         * localedata/tst-mbswcs5.c: Likewise.
772         * localedata/tst-setlocale.c: Likewise.
773         * localedata/tst-trans.c: Likewise.
774         * localedata/tst-wctype.c: Likewise.
775         * localedata/tst-xlocale1.c: Likewise.
776         * login/tst-grantpt.c: Likewise.
777         * malloc/tst-calloc.c: Likewise.
778         * malloc/tst-malloc.c: Likewise.
779         * malloc/tst-mallocstate.c: Likewise.
780         * malloc/tst-mcheck.c: Likewise.
781         * malloc/tst-mtrace.c: Likewise.
782         * malloc/tst-obstack.c: Likewise.
783         * math/atest-exp2.c: Likewise.
784         * math/atest-exp.c: Likewise.
785         * math/atest-sincos.c: Likewise.
786         * math/test-matherr.c: Likewise.
787         * math/test-misc.c: Likewise.
788         * math/test-powl.c: Likewise.
789         * math/tst-definitions.c: Likewise.
790         * misc/tst-dirname.c: Likewise.
791         * misc/tst-efgcvt.c: Likewise.
792         * misc/tst-fdset.c: Likewise.
793         * misc/tst-hsearch.c: Likewise.
794         * misc/tst-mntent2.c: Likewise.
795         * nptl/tst-sem7.c: Likewise.
796         * nptl/tst-sem8.c: Likewise.
797         * nptl/tst-sem9.c: Likewise.
798         * nss/test-netdb.c: Likewise.
799         * posix/tst-fnmatch.c: Likewise.
800         * posix/tst-getlogin.c: Likewise.
801         * posix/tst-gnuglob.c: Likewise.
802         * posix/tst-mmap.c: Likewise.
803         * pwd/tst-getpw.c: Likewise.
804         * resolv/tst-inet_ntop.c: Likewise.
805         * rt/tst-timer.c: Likewise.
806         * stdio-common/test-fseek.c: Likewise.
807         * stdio-common/test-popen.c: Likewise.
808         * stdio-common/test-vfprintf.c: Likewise.
809         * stdio-common/tst-cookie.c: Likewise.
810         * stdio-common/tst-fileno.c: Likewise.
811         * stdio-common/tst-gets.c: Likewise.
812         * stdio-common/tst-obprintf.c: Likewise.
813         * stdio-common/tst-perror.c: Likewise.
814         * stdio-common/tst-sprintf2.c: Likewise.
815         * stdio-common/tst-sprintf3.c: Likewise.
816         * stdio-common/tst-sprintf.c: Likewise.
817         * stdio-common/tst-swprintf.c: Likewise.
818         * stdio-common/tst-tmpnam.c: Likewise.
819         * stdio-common/tst-unbputc.c: Likewise.
820         * stdio-common/tst-wc-printf.c: Likewise.
821         * stdlib/tst-environ.c: Likewise.
822         * stdlib/tst-fmtmsg.c: Likewise.
823         * stdlib/tst-limits.c: Likewise.
824         * stdlib/tst-rand48-2.c: Likewise.
825         * stdlib/tst-rand48.c: Likewise.
826         * stdlib/tst-random2.c: Likewise.
827         * stdlib/tst-random.c: Likewise.
828         * stdlib/tst-strtol.c: Likewise.
829         * stdlib/tst-strtoll.c: Likewise.
830         * stdlib/tst-tls-atexit.c: Likewise.
831         * stdlib/tst-xpg-basename.c: Likewise.
832         * string/test-ffs.c: Likewise.
833         * string/tst-bswap.c: Likewise.
834         * string/tst-inlcall.c: Likewise.
835         * string/tst-strtok.c: Likewise.
836         * string/tst-strxfrm.c: Likewise.
837         * sysdeps/x86_64/tst-audit10.c: Likewise.
838         * sysdeps/x86_64/tst-audit3.c: Likewise.
839         * sysdeps/x86_64/tst-audit4.c: Likewise.
840         * sysdeps/x86_64/tst-audit5.c: Likewise.
841         * time/tst-ftime_l.c: Likewise.
842         * time/tst-getdate.c: Likewise.
843         * time/tst-mktime3.c: Likewise.
844         * time/tst-mktime.c: Likewise.
845         * time/tst-posixtz.c: Likewise.
846         * time/tst-strptime2.c: Likewise.
847         * time/tst-strptime3.c: Likewise.
848         * wcsmbs/tst-btowc.c: Likewise.
849         * wcsmbs/tst-mbrtowc.c: Likewise.
850         * wcsmbs/tst-mbsrtowcs.c: Likewise.
851         * wcsmbs/tst-wchar-h.c: Likewise.
852         * wcsmbs/tst-wcpncpy.c: Likewise.
853         * wcsmbs/tst-wcrtomb.c: Likewise.
854         * wcsmbs/tst-wcsnlen.c: Likewise.
855         * wcsmbs/tst-wcstof.c: Likewise.
856
857 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
858
859         [BZ #14132]
860         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
861         INTDEF.
862         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
863         declaration.
864         (_dl_mcount): Use rtld_hidden_proto.
865         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
866         _dl_mcount.
867         * elf/rtld.c (_rtld_global_ro): Likewise.
868
869         [BZ #14132]
870         * elf/dl-init.c (_dl_init): Don't use INTDEF.
871         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
872         of _dl_init_internal.
873         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
874         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
875         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
876         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
877         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
878         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
879         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
880         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
881         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
882         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
883         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
884         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
885         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
886         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
887         * sysdeps/tile/dl-start.S (_start): Likewise.
888         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
889         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
890
891         [BZ #14132]
892         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
893         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
894         (rtld_progname): Make macro definition unconditional.
895         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
896         INTDEF.
897         (dlmopen_doit): Do not use INTUSE with _dl_argv.
898         (dl_main): Likewise.
899         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
900         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
901         instead of _dl_argv_internal.
902         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
903         __GI__dl_argv instead of INTUSE(_dl_argv).
904         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
905         __GI__dl_argv instead of _dl_argv_internal.
906
907         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
908         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
909         macro.
910         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
911         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
912         New macro.
913         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
914         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
915         macro.
916         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
917         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
918
919 2014-11-04  Andreas Schwab  <schwab@suse.de>
920
921         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
922
923 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
924
925         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
926         mtvsrd instruction in binary form.
927
928 2014-11-03  Andreas Schwab  <schwab@suse.de>
929
930         [BZ #17522]
931         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
932         for less than MB_LEN_MAX use a local buffer of that size.
933         * libio/tst-fputws.c: New file.
934         * libio/Makefile (tests): Add tst-fputws.
935
936 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
937
938         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
939         the size of the fpu_fr.fpu_dregs[] array.
940
941 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
942
943         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
944         (__nanosleep): Do not define as alias.
945         (nanosleep): Define as alias of __nanosleep.
946         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
947         __libc_nanosleep name.
948
949 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
950
951         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
952         install.texi in comment.
953
954 2014-10-31  Torvald Riegel  <triegel@redhat.com>
955
956         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
957         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
958         ... add here and use lwsync or sync ...
959         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
960         ... and add here using lwsync.
961
962 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
963
964         * elf/dl-machine-reject-phdr.h: New file.
965         * elf/dl-load.c: #include that.
966         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
967         if that returned true.
968
969 2014-10-31  Roland McGrath  <roland@hack.frob.com>
970
971         [BZ #17496]
972         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
973         gen-as-const-headers chunk.  Add a big scare comment after the last
974         safe place to touch before-compile.
975
976 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
977
978         * manual/install.texi (Tools for Compilation): Update autoconf
979         version requirements.
980         * INSTALL: Regenerated.
981
982         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
983         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
984         (__libc_pselect): Likewise.
985
986         [BZ #14138]
987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
991
992 2014-10-31  Torvald Riegel  <triegel@redhat.com>
993
994         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
995         correct barrier instruction.
996         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
997         Likewise.
998         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
999         Likewise.
1000
1001 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1002
1003         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1004         after defining inlines.  Instead, just use parens to defeat macro
1005         expansion of __isctype in its declaration.
1006
1007 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1008
1009         * include/sys/uio.h (__libc_readv): Remove declaration.
1010         (__libc_writev): Likewise.
1011         * misc/readv.c (__libc_readv): Rename to __readv.
1012         (__readv): Do not define as alias.
1013         (readv): Define as alias of __readv.
1014         * misc/writev.c (__libc_writev): Rename to __writev.
1015         (__writev): Do not define as alias.
1016         (writev): Define as alias of __writev.
1017         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1018         (__readv): Do not define as alias.
1019         (readv): Define unconditionally as alias of __readv.
1020         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1021         (__writev): Do not define as alias.
1022         (writev): Define unconditionally as alias of __writev.
1023         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1024         name.
1025         (writev): Do not define __libc_writev name.
1026
1027 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1028
1029         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1030         (convert_charseq): New function, broken out of ...
1031         (use_from_charmap): ... here.  Call it.
1032         (use_to_charmap): Use convert_charseq and free instead of duplicating
1033         its code with a variable-length stack struct.
1034
1035 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1036
1037         * include/fcntl.h (__libc_creat): Remove declaration.
1038         * io/creat.c (__libc_creat): Rename to creat.
1039         (creat): Do not define as alias.
1040         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1041         of creat instead of __libc_creat.
1042         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1043         to creat.
1044         (creat): Do not define as alias.
1045         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1046         __libc_creat.
1047         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1048         __libc_creat name.
1049         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1050         Likewise.
1051
1052 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
1053
1054         * manual/llio.texi: Add comments discussing why write() may be
1055         considered MT-unsafe on Linux.
1056
1057 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
1058
1059         * dl-load.c (local_strdup): Remove.
1060         (expand_dynamic_string_token): Use __strdup.
1061         (decompose_rpath): Likewise.
1062         (_dl_map_object): Likewise.
1063
1064 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
1065
1066         [BZ #14132]
1067         * sysdeps/generic/unwind-dw2-fde.c
1068         (__register_frame_info_bases_internal): Do not declare.
1069         (__register_frame_info_table_bases_internal): Likewise.
1070         (__deregister_frame_info_bases_internal): Likewise.
1071         (__register_frame_info_bases): Declare and use hidden_proto before
1072         definition.  Use hidden_def instead of INTDEF.
1073         (__register_frame_info_table_bases): Likewise.
1074         (__deregister_frame_info_bases): Likewise.
1075         (__register_frame_info): Do not use INTUSE.
1076         (__register_frame): Likewise.
1077         (__register_frame_info_table): Likewise.
1078         (__register_frame_table): Likewise.
1079         (__deregister_frame_info): Likewise.
1080         (__deregister_frame): Likewise.
1081
1082 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
1083
1084         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1085         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1086         not undefine.
1087         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1088         Likewise.
1089         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1090         Likewise.
1091
1092 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
1093
1094         [BZ #14138]
1095         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1096         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1097         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1098         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1099         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1100         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1101         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1102         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1103         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1104         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1105         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1106         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1107         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1108         syscall.
1109         (setfsuid): Likewise.
1110         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1111         (setfsuid): Likewise.
1112         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1113         (setfsuid): Likewise.
1114         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1115         Likewise.
1116         (setfsuid): Likewise.
1117         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1118         (setfsuid): Likewise.
1119         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1120         Likewise.
1121         (setfsuid): Likewise.
1122
1123 2014-10-27  Andreas Schwab  <schwab@suse.de>
1124
1125         [BZ #17501]
1126         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1127         check for Slow_SSE4_2 feature bit.
1128         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1129         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1130         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1131         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
1132
1133 2014-10-24  Roland McGrath  <roland@hack.frob.com>
1134
1135         * configure.ac: Validate compiler version with a empirical test of
1136         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1137         $CC -v output.
1138         * configure: Regenerated.
1139
1140         * inet/htons.c (htons): Prototypify.
1141         * inet/htonl.c (htonl): Likewise.
1142
1143 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1144
1145         * string/strncat.c (strncat): Improve performance by using strlen.
1146
1147 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1148
1149         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1150
1151 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1152
1153         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1154         Call libc_fetestexcept_aarch64.
1155
1156 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1157
1158         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1159         Call libc_feholdexcept_aarch64.
1160
1161 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1162
1163         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1164         Call get_rounding_mode.
1165
1166 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1167
1168         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1169         Simplify logic.
1170
1171 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1172
1173         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1174         Simplify logic.
1175
1176 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
1177
1178         [BZ #14138]
1179         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1180         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1181         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1182         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1183         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1184         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1185         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1186         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1187         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1188         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1189         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1190         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1191         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1192         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1193         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1194         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1195         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1196         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1197         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1198         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1199         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1200         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1201         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1202         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1203         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1204         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1205         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1206         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1207         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1208         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1209         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1210         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1211         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1212         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1213         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1214         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1215         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1216         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1217         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1218         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1219         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1220         syscall.
1221         (geteuid): Likewise.
1222         (getgid): Likewise.
1223         (getuid): Likewise.
1224         (getresgid): Likewise.
1225         (getresuid): Likewise.
1226         (getgroups): Likewise.
1227         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1228         (geteuid): Likewise.
1229         (getgid): Likewise.
1230         (getuid): Likewise.
1231         (getresgid): Likewise.
1232         (getresuid): Likewise.
1233         (getgroups): Likewise.
1234         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1235         (geteuid): Likewise.
1236         (getgid): Likewise.
1237         (getuid): Likewise.
1238         (getresgid): Likewise.
1239         (getresuid): Likewise.
1240         (getgroups): Likewise.
1241         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1242         Likewise.
1243         (geteuid): Likewise.
1244         (getgid): Likewise.
1245         (getuid): Likewise.
1246         (getresgid): Likewise.
1247         (getresuid): Likewise.
1248         (getgroups): Likewise.
1249         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1250         (geteuid): Likewise.
1251         (getgid): Likewise.
1252         (getuid): Likewise.
1253         (getresgid): Likewise.
1254         (getresuid): Likewise.
1255         (getgroups): Likewise.
1256         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1257         Likewise.
1258         (geteuid): Likewise.
1259         (getgid): Likewise.
1260         (getuid): Likewise.
1261         (getgroups): Likewise.
1262
1263         [BZ #14138]
1264         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1265         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1266         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1267         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1268         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1269         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1270         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1271         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1272         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1273         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1274         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1275         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1276         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1277         __chown.
1278         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1279         (lchown): Likewise.
1280         (fchown): Likewise.
1281         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1282         Likewise.
1283         (lchown): Likewise.
1284         (fchown): Likewise.
1285         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1286         (lchown): Likewise.
1287         (fchown): Likewise.
1288         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1289         Likewise.
1290         (lchown): Likewise.
1291         (fchown): Likewise.
1292
1293 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1294
1295         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1296         Simplify logic.
1297
1298 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1299
1300         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1301         Cleanup logic.
1302
1303 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1304
1305         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1306         Remove unused include.
1307
1308 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1309
1310         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1311         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1312         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1313         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1314
1315 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
1316             Helge Deller <deller@gmx.de>
1317
1318         [BZ #17508]
1319         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1320         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1321         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1322
1323 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
1324
1325         [BZ #14132]
1326         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1327         Remove macro definition.
1328         (__ashrdi3_v_glibc20): Likewise.
1329         (__lshrdi3_v_glibc20): Likewise.
1330         (__cmpdi2_v_glibc20): Likewise.
1331         (__ucmpdi2_v_glibc20): Likewise.
1332         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1333         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1334         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1335         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1336         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1337         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1338
1339 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1340
1341         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1342         old GNU extension [0] syntax.
1343         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1344         alloca rather than an array member with variable length.
1345         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1346         * nscd/nscd.c (invalidate_db): New function, broken out of ...
1347         (parse_opt): ... here.  Likewise use alloca there.
1348         Validate the -i argument before checking for rootness.
1349         (send_shutdown): New function, broken out of ...
1350         (parse_opt): ... here.
1351
1352 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1353
1354         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1355         macro to get at the _rt_local_ro field.
1356         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1357         ([PIC] case) or _dl_hwcap ([!PIC] case).
1358         * sysdeps/arm/setjmp.S: Likewise.
1359
1360         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1361         * sysdeps/arm/configure.ac: New check to define it.
1362         * sysdeps/arm/configure: Regenerated.
1363         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1364         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1365         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1366         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1367         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1368         Use move/movt pair instead of a load.
1369         (LDST_GLOBAL): Macro removed.
1370         (LDR_GLOBAL): New macro replaces it.
1371         (LDR_HIDDEN): New macro.
1372         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1373         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1374
1375         * setjmp/tst-setjmp-static.c: New file.
1376         * setjmp/Makefile (tests): Add it.
1377         (tests-static): New variable.
1378
1379 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
1380
1381         [BZ #17485]
1382         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1383
1384 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
1385
1386         [BZ #14132]
1387         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1388
1389 2014-10-21  Roland McGrath  <roland@hack.frob.com>
1390
1391         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1392
1393 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1394
1395         * io/fts.c (dirent_not_directory): New function.
1396         (fts_build): Call it.
1397
1398 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1399
1400         * nptl/version.c (__nptl_main): Use normal __write rather than
1401         INTERNAL_SYSCALL.
1402         (banner): Update copyright years.
1403
1404         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1405         gettimeofday.
1406         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1407         * nptl/pthread_cond_timedwait.c: Likewise.
1408         * nptl/pthread_mutex_timedlock.c: Likewise.
1409         * nptl/sem_timedwait.c: Likewise.
1410
1411         * sysdeps/nptl/bits/libc-lock.h
1412         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1413         (__libc_lock_init_recursive): Return void, not 0.
1414         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1415         (__libc_rwlock_init): Likewise.
1416         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1417
1418 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1419
1420         [BZ #15215]
1421         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1422         (__pthread_once_slow): ... here.
1423         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1424         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1425
1426 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1427
1428         [BZ #15215]
1429         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1430         __PTHREAD_ONCE_FORK_GEN_INCR): New.
1431         * sysdeps/nptl/fork.c (__libc_fork): Use them.
1432         * nptl/pthread_once.c (__pthread_once): Likewise.
1433         Update comments.
1434
1435 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
1436
1437         [BZ #14138]
1438         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1439         name.
1440         (writev): Use __libc_writev as strong name.
1441         * sysdeps/unix/sysv/linux/readv.c: Remove file.
1442         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1443
1444 2014-10-17  Roland McGrath  <roland@hack.frob.com>
1445
1446         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1447
1448         * sysdeps/i386/nptl/tls.h
1449         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1450         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1451         New macros.
1452         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1453         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1454         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1455         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1456         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1457         Call CHECK_THREAD_SYSINFO instead of doing an assert.
1458
1459         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1460         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1461         on [__NR_futex].
1462         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1463         broken out of ...
1464         (__pthread_mutex_init): ... here.  Call it.
1465         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1466         Conditionalize PI cases on [__NR_futex].
1467         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1468         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1469         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1470
1471         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1472         conditional on [SIGSETXID].
1473         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1474         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1475         is defined.  Likewise for SIGSETXID.
1476         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1477         Conditionalize definitions on [SIGSETXID].
1478         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1479         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1480         unblocking on [SIGCANCEL].
1481
1482         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1483         [__NR_set_robust_list].
1484
1485 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1486
1487         * string/strcoll_l.c (get_next_seq): Fix up formatting.
1488         (do_compare): Likewise.
1489
1490 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
1491
1492         [BZ #15884]
1493         * string/strcoll_l.c: Don't include stdio.h.
1494         (coll_seq): Remove members idxarr and rulearr.
1495         (get_next_seq_cached): Remove function.
1496         (get_next_seq): Likewise.
1497         (get_next_seq_nocache): Rename to get_next_seq.
1498         (do_compare): Remove function.
1499         (do_compare_nocache): Rename to do_compare.
1500         (STRCOLL): Remove weight and rules cache.
1501
1502 2014-10-16  Roland McGrath  <roland@hack.frob.com>
1503
1504         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1505         * sysdeps/arm/sfp-machine.h: ... to here.
1506         * sysdeps/arm/Implies: Remove arm/soft-fp.
1507
1508 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
1509
1510         * conform/data/sys/utsname.h-data (*_t): Allow.
1511         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1512         [POSIX] (WEXITED): Do not expect constant.
1513         [POSIX] (WSTOPPED): Likewise.
1514         [POSIX] (WNOHANG): Likewise.
1515         [POSIX] (WNOWAIT): Likewise.
1516         [POSIX] (siginfo_t): Do not expect type or elements.
1517         [POSIX] (pid_t): Do not expect type.
1518         [POSIX] (signal.h): Do not allow header.
1519         [POSIX] (sys/resource.h): Likewise.
1520         [POSIX] (si_*): Do not allow pattern.
1521         [POSIX] (W*): Likewise.
1522         [POSIX] (P_*): Likewise.
1523         [POSIX] (BUS_*): Likewise.
1524         [POSIX] (CLD_*): Likewise.
1525         [POSIX] (FPE_*): Likewise.
1526         [POSIX] (ILL_*): Likewise.
1527         [POSIX] (POLL_*): Likewise.
1528         [POSIX] (SEGV_*): Likewise.
1529         [POSIX] (SI_*): Likewise.
1530         [POSIX] (TRAP_*): Likewise.
1531         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1532         variable.
1533
1534 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1535
1536         [BZ #12926]
1537         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1538         infinite loop when __recvmsg returns 0.
1539
1540 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
1541
1542         * CANCEL-FCT-WAIVE: Remove file.
1543         * CANCEL-FILE-WAIVE: Likewise.
1544
1545         [BZ #14132]
1546         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1547         instead of INTVARDEF.
1548         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1549         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1550         rtld_hidden_data_def instead of INTVARDEF.
1551         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1552         * elf/dl-deps.c (expand_dst): Likewise.
1553         * elf/dl-load.c (_dl_dst_count): Likewise.
1554         (_dl_dst_substitute): Likewise.
1555         (decompose_rpath): Likewise.
1556         (_dl_init_paths): Likewise.
1557         (open_path): Likewise.
1558         (_dl_map_object): Likewise.
1559         * elf/rtld.c (dl_main): Likewise.
1560         (process_dl_audit): Likewise.
1561         (process_envvars): Likewise.
1562         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1563         Remove declaration.
1564         (__libc_enable_secure): Use rtld_hidden_proto.
1565
1566 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1567
1568         * elf/dl-load.c
1569         (add_path): New function broken out of _dl_rtld_di_serinfo.
1570         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
1571
1572 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1573
1574         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1575         parentheses around macro arguments.
1576         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1577         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1578         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1579         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1580         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1581         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1582         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1583         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1584         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1585         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1586         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1587         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1588         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1589         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1590         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1591         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1592         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1593         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1594         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1595         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1596         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1597         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1598         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1599         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1600         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1601         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1602         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1603         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1604         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1605         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1606         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1607         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1608         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1609         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1610         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1611         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1612         Likewise.
1613         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1614         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1615         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1616         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1617         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1618         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1619         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1620         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1621         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1622         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1623         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1624         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1625         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1626         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1627         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1629         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1630         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1631         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1632         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1633         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1634         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1635         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1636         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1637         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1638         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1639         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1640         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1641         (_FP_FRAC_SRS_1): Likewise.
1642         (_FP_FRAC_CLZ_1): Likewise.
1643         (_FP_MUL_MEAT_1_imm): Likewise.
1644         (_FP_MUL_MEAT_1_wide): Likewise.
1645         (_FP_MUL_MEAT_1_hard): Likewise.
1646         (_FP_SQRT_MEAT_1): Likewise.
1647         (_FP_FRAC_ASSEMBLE_1): Likewise.
1648         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1649         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1650         (__FP_CLZ_2): Likewise.
1651         (_FP_MUL_MEAT_2_wide): Likewise.
1652         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1653         (_FP_MUL_MEAT_2_gmp): Likewise.
1654         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1655         (_FP_SQRT_MEAT_2): Likewise.
1656         (_FP_FRAC_ASSEMBLE_2): Likewise.
1657         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1658         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1659         (_FP_FRAC_CLZ_4): Likewise.
1660         (_FP_MUL_MEAT_4_wide): Likewise.
1661         (_FP_MUL_MEAT_4_gmp): Likewise.
1662         (_FP_SQRT_MEAT_4): Likewise.
1663         (_FP_FRAC_ASSEMBLE_4): Likewise.
1664         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1665         * soft-fp/op-common.h (_FP_CMP): Likewise.
1666         (_FP_CMP_EQ): Likewise.
1667         (_FP_CMP_UNORD): Likewise.
1668         (_FP_TO_INT): Likewise.
1669         (_FP_FROM_INT): Likewise.
1670         [!__FP_CLZ] (__FP_CLZ): Likewise.
1671         (_FP_DIV_HELP_imm): Likewise.
1672         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1673         Likewise.
1674         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1675         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1676         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1677         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1678         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1679         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1680         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1681         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1682         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1683         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1684         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1685         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1686         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1687         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1688         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1689         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1690         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1691         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1692         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1693         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1694         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1696         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1697         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1698         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1699         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1700         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1701         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1702         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1703         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1704         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1705         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1706         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1707         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1708         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1709         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1710         (FP_UNPACK_RAW_SP): Likewise.
1711         (FP_PACK_RAW_S): Likewise.
1712         (FP_PACK_RAW_SP): Likewise.
1713         (FP_UNPACK_S): Likewise.
1714         (FP_UNPACK_SP): Likewise.
1715         (FP_UNPACK_SEMIRAW_S): Likewise.
1716         (FP_UNPACK_SEMIRAW_SP): Likewise.
1717         (FP_PACK_S): Likewise.
1718         (FP_PACK_SP): Likewise.
1719         (FP_PACK_SEMIRAW_S): Likewise.
1720         (FP_PACK_SEMIRAW_SP): Likewise.
1721         (_FP_SQRT_MEAT_S): Likewise.
1722         (FP_CMP_S): Likewise.
1723         (FP_CMP_EQ_S): Likewise.
1724         (FP_CMP_UNORD_S): Likewise.
1725         (FP_TO_INT_S): Likewise.
1726         (FP_FROM_INT_S): Likewise.
1727
1728         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1729
1730         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1731         (FP_EX_INVALID_IMZ): Likewise.
1732         (FP_EX_INVALID_IMZ_FMA): Likewise.
1733         (FP_EX_INVALID_ISI): Likewise.
1734         (FP_EX_INVALID_ZDZ): Likewise.
1735         (FP_EX_INVALID_IDI): Likewise.
1736         (FP_EX_INVALID_SQRT): Likewise.
1737         (FP_EX_INVALID_CVI): Likewise.
1738         (FP_EX_INVALID_VC): Likewise.
1739         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1740         "invalid" exceptions.
1741         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1742         (_FP_ADD_INTERNAL): Likewise.
1743         (_FP_MUL): Likewise.
1744         (_FP_FMA): Likewise.
1745         (_FP_DIV): Likewise.
1746         (_FP_CMP_CHECK_NAN): Likewise.
1747         (_FP_SQRT): Likewise.
1748         (_FP_TO_INT): Likewise.
1749         (FP_EXTEND): Likewise.
1750
1751 2014-10-09  Allan McRae  <allan@archlinux.org>
1752
1753         * po/fr.po: Update French translation from translation project.
1754
1755 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1756
1757         [BZ #14132]
1758         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1759         of INTDEF.
1760         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1761         (__cxa_atexit): Use libc_hidden_proto.
1762         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1763
1764         [BZ #14132]
1765         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1766         declaration.
1767         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1768         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1769         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1770         [!_ISOMAC] (__iswctype_internal): Likewise.
1771         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1772         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1773         alias.
1774         (fcntl): Remove __fcntl_internal alias.
1775         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1776         __connect_internal alias.
1777         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1778         Likewise.
1779
1780         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1781         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1782         FP_DENORM_ZERO.
1783         (_FP_CHECK_FLUSH_ZERO): New macro.
1784         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1785         (_FP_CMP): Likewise.
1786         (_FP_CMP_EQ): Likewise.
1787         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1788         FP_DENORM_ZERO.
1789         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1790         (FP_TRUNC): Likewise.
1791
1792         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1793         treated as invalid conversion, not as normal exponent.
1794
1795         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1796         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1797         (_FP_CMP_EQ): Likewise.
1798         (_FP_CMP_UNORD): Likewise.
1799         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1800         (FP_CMP_EQ_D): Likewise.
1801         (FP_CMP_UNORD_D): Likewise.
1802         * soft-fp/extended.h (FP_CMP_E): Likewise.
1803         (FP_CMP_EQ_E): Likewise.
1804         (FP_CMP_UNORD_E): Likewise.
1805         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1806         (FP_CMP_EQ_Q): Likewise.
1807         (FP_CMP_UNORD_Q): Likewise.
1808         * soft-fp/single.h (FP_CMP_S): Likewise.
1809         (FP_CMP_EQ_S): Likewise.
1810         (FP_CMP_UNORD_S): Likewise.
1811         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1812         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1813         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1814         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1815         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1816         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1817         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1818         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1819         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1820         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1821         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1822         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1823         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1824         to FP_CMP_Q.
1825         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1826         FP_CMP_Q.
1827         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1828         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1829         FP_CMP_EQ_Q.
1830         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1831         FP_CMP_Q.
1832         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1833         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1834         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1835         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1836         FP_CMP_EQ_Q.
1837         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1838         FP_CMP_Q.
1839         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1840         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1841         FP_CMP_EQ_Q.
1842         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1843         FP_CMP_Q.
1844         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1845         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1846         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1847         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1848         FP_CMP_EQ_Q.
1849
1850         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1851         a subnormal result, set the underflow exception if trapping on
1852         underflow is enabled.
1853         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1854         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1855         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1856         redefine to 0.
1857         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1858         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1859         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1860         * soft-fp/extendxftf2.c (__extendxftf2): Use
1861         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1862
1863         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1864         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1865         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1866         FP_HANDLE_EXCEPTIONS.
1867         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1868         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1869         FP_HANDLE_EXCEPTIONS.
1870         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1871         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1872         FP_HANDLE_EXCEPTIONS.
1873         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1874         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1875         FP_HANDLE_EXCEPTIONS.
1876
1877 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
1878
1879         [BZ #14132]
1880         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1881         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1882         use INTUSE.
1883         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1884         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1885         Remove alias.
1886         (__adjtimex): Define using libc_hidden_ver.
1887         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1888         Remove declaration.
1889         (ntp_gettime): Call __adjtimex directly.
1890         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1891         Remove declaration.
1892         (ntp_gettimex): Call __adjtimex directly.
1893         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1894         __adjtimex_internal alias.
1895
1896 2014-10-08  Roland McGrath  <roland@hack.frob.com>
1897
1898         [BZ #17460]
1899         * nscd/nscd.c (more_help): Rewrite list of tables collection
1900         using xstrdup and asprintf.
1901
1902         * nscd/nscd_conf.c: Remove local xstrdup declaration.
1903
1904 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1905             Roland McGrath  <roland@hack.frob.com>
1906
1907         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1908         (do_lookup_unique): ... local function 'enter' here; update callers.
1909
1910 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
1911
1912         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1913         compat_symbol calls on [SHARED].
1914         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1915         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1916         Remove.
1917         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1918         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1919         (oldsetrlimit): Remove.
1920         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1922         (lchown): New syscall entry.
1923         (oldsetrlimit): Remove.
1924         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1925         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1926         (oldsetrlimit): Remove.
1927         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1928
1929         [BZ #14138]
1930         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1931         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1932         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1933         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1934         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1935         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1936         (fchown): Likewise.
1937         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1938         (fchown): Likewise.
1939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1940         Likewise.
1941
1942 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1943
1944         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1945         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1946         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1947         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1948         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1949         Likewise.
1950         (__old_sem_post): Likewise.
1951
1952 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
1953
1954         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1955         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1956         HAVE_CLOCK_GETTIME_VSYSCALL macros.
1957         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1958         Use INLINE_VSYSCALL macro.
1959         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1960         __vdso_clock_gettime.
1961         * sysdeps/unix/sysv/linux/tile/init-first.c
1962         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1963         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1964         __vdso_clock_gettime.
1965
1966         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1967         to set up frame more cleanly.
1968
1969         * sysdeps/tile/memcmp.c: New file.
1970
1971         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1972
1973         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1974         * sysdeps/tile/tilegx/strcasestr.c: New file.
1975         * sysdeps/tile/tilegx/strnlen.c: New file.
1976         * sysdeps/tile/tilegx/strstr.c: New file.
1977
1978         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1979
1980 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
1981
1982         * nptl/tst-setuid3.c: Write errors to stdout.
1983
1984 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1985
1986         * elf/dl-deps.c
1987         (preload): New functions broken out of _dl_map_object_deps.
1988         (_dl_map_object_deps):  Remove a nested function. Update call sites.
1989
1990 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
1991
1992         [BZ #14138]
1993         * sysdeps/unix/sysv/linux/execve.c: Remove file.
1994         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1995
1996 2014-10-01  Steve Ellcey  <sellcey@mips.com>
1997
1998         * sysdeps/mips/strcmp.S: New.
1999
2000 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
2001
2002         [BZ #14138]
2003         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2004         (linkat): Likewise.
2005         (mkdirat): Likewise.
2006         (readlinkat): Likewise.
2007         (renameat): Likewise.
2008         (symlinkat): Likewise.
2009         (unlinkat): Likewise.
2010         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2011         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2012         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2013         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2014         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2015         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2016         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2017
2018 2014-09-30  Will Newton  <will.newton@linaro.org>
2019
2020         * math/math.h: Define long double math functions if
2021         _LIBC_TEST is defined.
2022         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2023
2024         * localedata/Makefile: Move assignment to tests-special
2025         into an ifdef testing run-built-tests.
2026         * timezone/Makefile: Likewise.
2027
2028 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
2029
2030         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2031         with $(BASH) not $(SHELL).
2032
2033 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
2034             Matthew LeGendre  <legendre1@llnl.gov>
2035
2036         [BZ #17411]
2037         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2038         l_reloc_result.
2039
2040 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2041
2042         * stdio-common/printf_fp.c
2043         (hack_digit): New function, broken out of ...
2044         (__printf_fp): ... local function here.  Update call sites.
2045         hack_digit now takes an additional parameter that is a pointer
2046         to a struct of the referenced locals.  Those locals moved inside
2047         the struct and references updated.
2048
2049 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2050
2051         * aclocal.m4: Require autoconf 2.69.
2052         * configure: Regenerated.
2053         * sysdeps/aarch64/configure: Likewise.
2054         * sysdeps/alpha/configure: Likewise.
2055         * sysdeps/arm/armv7/configure: Likewise.
2056         * sysdeps/arm/configure: Likewise.
2057         * sysdeps/ia64/configure: Likewise.
2058         * sysdeps/mach/configure: Likewise.
2059         * sysdeps/mips/configure: Likewise.
2060         * sysdeps/s390/configure: Likewise.
2061         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2063
2064         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2065         file.
2066         * sysdeps/ia64/configure.ac: Likewise.
2067
2068 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
2069
2070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2071         specify symbol version for ld.so.  Do not include entry for
2072         libpthread.
2073         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2074         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2075         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2076
2077         [BZ #14171]
2078         * Makeconfig [$(build-shared) = yes]
2079         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2080         makefiles.
2081         [$(build-shared) = yes && $(soversions.mk-done) = t]
2082         ($(common-objpfx)gnu/lib-names.h): Remove rule.
2083         [$(build-shared) = yes && $(soversions.mk-done) = t]
2084         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
2085         to Makerules.
2086         [$(build-shared) = yes && $(soversions.mk-done) = t]
2087         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2088         here.
2089         [$(build-shared) = yes && $(soversions.mk-done) = t]
2090         (common-generated): Don't append gnu/lib-names.h and
2091         gnu/lib-names.stmp here.
2092         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2093         (lib-names-h-abi): New variable.
2094         [$(build-shared) = yes && $(soversions.mk-done) = t]
2095         (lib-names-stmp-abi): Likewise.
2096         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2097         abi-variants] (before-compile): Append
2098         $(common-objpfx)$(lib-names-h-abi).
2099         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2100         abi-variants] (common-generated): Append gnu/lib-names.h.
2101         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2102         abi-variants] (install-others-nosubdir): Depend on
2103         $(inst_includedir)/$(lib-names-h-abi).
2104         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2105         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2106         [$(build-shared) = yes && $(soversions.mk-done) = t]
2107         ($(common-objpfx)$(lib-names-h-abi)): New rule.
2108         [$(build-shared) = yes && $(soversions.mk-done) = t]
2109         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2110         [$(build-shared) = yes && $(soversions.mk-done) = t]
2111         (common-generated): Append $(lib-names-h-abi) and
2112         $(lib-names-stmp-abi).
2113         * scripts/lib-names.awk: Do not handle multi being set.
2114         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2115         Remove variable.
2116         (abi-lp64_be-ld-soname): Likewise.
2117         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2118         Likewise.
2119         (abi-hard-ld-soname): Likewise.
2120         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2121         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2122         Remove variable.
2123         (abi-o32_hard-ld-soname): Likewise.
2124         (abi-o32_soft_2008-ld-soname): Likewise.
2125         (abi-o32_hard_2008-ld-soname): Likewise.
2126         (abi-n32_soft-ld-soname): Likewise.
2127         (abi-n32_hard-ld-soname): Likewise.
2128         (abi-n32_soft_2008-ld-soname): Likewise.
2129         (abi-n32_hard_2008-ld-soname): Likewise.
2130         (abi-n64_soft-ld-soname): Likewise.
2131         (abi-n64_hard-ld-soname): Likewise.
2132         (abi-n64_soft_2008-ld-soname): Likewise.
2133         (abi-n64_hard_2008-ld-soname): Likewise.
2134         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2135         Likewise.
2136         (abi-64-v2-ld-soname): Likewise.
2137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2138         ld.so entries.
2139         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2140         variable.
2141         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2142         entry.
2143         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2144         variable.
2145         (abi-64-ld-soname): Likewise.
2146         (abi-x32-ld-soname): Likewise.
2147         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2148         entry.
2149         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2150
2151 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
2152
2153         [BZ #14138]
2154         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2155         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2156         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2157         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2158         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2159         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2160         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2161         syscall entry for GLIBC_2.2 symbol version.
2162         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2163         Likewise.
2164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2165         (setrlimit): Likewise.
2166         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2167         Likewise.
2168
2169 2014-09-23  Will Newton  <will.newton@linaro.org>
2170
2171         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2172         _LINUX_ARM_SYSDEP_H include guard too.
2173         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2174         define.
2175
2176 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2177
2178         * sysdeps/unix/sysv/linux/eventfd.c:
2179         Make first argument unsigned.
2180         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2181         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2182
2183 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
2184
2185         * socket/recvmmsg.c (recvmmsg): Drop const argument.
2186         * socket/sys/socket.h: Likewise
2187         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2188
2189 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2190
2191         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2192
2193 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
2194
2195         * time/tst-ftime.c: New test.
2196         * time/Makefile (tests): Add tst-ftime.
2197
2198 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
2199
2200         * soft-fp/extended.h: Fix comment formatting.
2201         * soft-fp/op-1.h: Likewise.
2202         * soft-fp/op-2.h: Likewise.
2203         * soft-fp/op-4.h: Likewise.
2204         * soft-fp/op-8.h: Likewise.
2205         * soft-fp/op-common.h: Likewise.
2206         * soft-fp/soft-fp.h: Likewise.
2207
2208         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2209
2210 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
2211
2212         [BZ #6652]
2213         * Makeconfig (soversions-default-setname): Remove variable.
2214         ($(common-objpfx)soversions.i): Don't pass default_setname to
2215         soversions.awk.
2216         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2217         oldest_abi to abi-versions.awk.
2218         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2219         * config.make.in (oldest-abi): Remove variable.
2220         * configure.ac (--enable-oldest-abi): Remove configure option.
2221         * configure: Regenerated.
2222         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2223         text.
2224         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2225         * scripts/soversions.awk: Do not handle default_setname variable.
2226         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2227         variable.
2228         * sysdeps/mach/hurd/configure: Regenerated.
2229         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2230         variable.
2231         * sysdeps/unix/sysv/linux/configure: Regenerated.
2232
2233 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2234
2235         * elf/Makefile (CFLAGS-interp.c): Remove.
2236         ($(elf-objpfx)runtime-linker.h): Generate header with linker
2237         path string.
2238         * elf/interp.c: Include generated runtime-linker.h
2239
2240         * Makerules (lib%.so): Don't include $(+interp) in
2241         prerequisites.
2242         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2243         * dlfcn/eval.c: Remove file.
2244
2245         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2246         macros.
2247
2248         [BZ #17266]
2249         * misc/sys/cdefs.h: Define __extern_always_inline for clang
2250         4.2 and newer.
2251
2252         [BZ #17370]
2253         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2254
2255 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2256             Jakub Jelinek  <jakub@redhat.com>
2257
2258         [BZ #17266]
2259         * libio/stdio.h: Check definition of __fortify_function
2260         instead of __extern_always_inline to include bits/stdio2.h.
2261         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2262         check if __extern_always_inline is defined.
2263         [__USE_MISC || __USE_XOPEN]: Likewise.
2264         [__USE_ISOC99] Likewise.
2265         * misc/sys/cdefs.h (__fortify_function): Define only if
2266         __extern_always_inline is defined.
2267         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2268         __extern_always_inline and __extern_inline only for g++-4.3
2269         and newer or a compatible gcc.
2270
2271 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
2272
2273         [BZ #17371]
2274         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2275         last change to handle zero prefix length.
2276
2277 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2278
2279         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2280         _SC_REGEX_VERSION.
2281
2282         * posix/getconf.c (vars): Add _POSIX_IPV6 and
2283         _POSIX_RAW_SOCKETS.
2284
2285 2014-09-13  Allan McRae  <allan@archlinux.org>
2286
2287         * po/ru.po: Update Russian translation from translation project.
2288
2289 2014-09-12  Roland McGrath  <roland@hack.frob.com>
2290
2291         * locale/programs/locale.c (show_locale_vars): Inline local function
2292         into its sole call site.  Clean up some style nits.
2293         (print_item): New function, broken out of ...
2294         (show_info): ... local function here.  Clean up style nits.
2295
2296         * locale/programs/ld-ctype.c (set_one_default): New function, broken
2297         out of ...
2298         (set_class_defaults): ... local function set_default here.
2299         Define set_default as a macro locally to pass constant parameters.
2300         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2301         rather than a shared local.
2302
2303         * stdlib/rpmatch.c (try): New function, broken out of ...
2304         (rpmatch): ... local function here.  Also, prototypify definition.
2305
2306 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2307
2308         * scripts/soversions.awk: Do not handle configuration names.
2309         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2310         vendor and os variables to soversions.awk.
2311         * configure.ac: Do not modify gnu-* host_os.
2312         * configure: Regenerated
2313         * shlib-versions: Remove first column with configuration names.
2314         * nptl/shlib-versions: Likewise.
2315         * nptl_db/shlib-versions: Likewise.
2316         * sysdeps/hppa/shlib-versions: Likewise.
2317         * sysdeps/m68k/shlib-versions: Likewise.
2318         * sysdeps/mach/hurd/shlib-versions: Likewise.
2319         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2320         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2321         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2322         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2323         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2324         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2325         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2326         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2328         Likewise.
2329         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2330         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2331         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2332         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2333         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2334         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2335         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2336         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2337
2338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2339         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2341         Regenerated.
2342         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2344         Condition symbol version definitions on [HAVE_ELFV2_ABI].
2345
2346         * shlib-versions: Remove OS-specific entries.  Moved to files in
2347         sysdeps.
2348         * sysdeps/mach/hurd/shlib-versions: New file.
2349         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2350
2351         * nptl/shlib-versions: Remove architecture-specific entries.
2352         Moved to files in sysdeps.
2353         * shlib-versions: Likewise.
2354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2355         file.
2356         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2357         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2358         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2359         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2360
2361         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2362         (UDP_NO_CHECK6_RX): Likewise.
2363
2364 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2365
2366         * sysdeps/posix/sysconf.c (__sysconf): Spell
2367         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2368
2369 2014-08-12  Florian Weimer  <fweimer@redhat.com>
2370
2371         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2372         loading.
2373         * iconv/Versions (__gconv_transliterate): Export for use from
2374         gconv modules.
2375         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2376         (struct __gconv_trans_data, __gconv_trans_fct,
2377         __gconv_trans_context_fct, __gconv_trans_query_fct,
2378         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2379         definitions.
2380         (struct __gconv_step_data): Remove __trans member.
2381         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
2382         longer hidden.  Remove unused trans_data argument.
2383         * iconv/gconv_int.h (struct trans_struct): Remove definition.
2384         (__gconv_translit_find): Remove declaration.
2385         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
2386         prototype.
2387         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2388         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2389         trans_data argument.  Add hidden definition.
2390         (__gconv_translit_find): Remove.
2391         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2392         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2393         * iconv/skeleton.c: Remove transliteration initialization.
2394         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2395         __gconv_step_data initialization.
2396         * libio/iofwide.c (__libio_translit_): Remove.
2397         (_IO_fwide): Adjust struct __gconv_step_data initialization.
2398         * wcsmbs/btowc.c (__btowc): Likewise.
2399         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2400         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2401         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2402         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2403         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2404         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2405         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2406         * wcsmbs/wctob.c (wctob): Likewise.
2407
2408 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2409
2410         [BZ #16194]
2411         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2412         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
2413         register usage.
2414         * sysdeps/x86/Makefile: Adjust.
2415
2416 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2417             Roland McGrath  <roland@hack.frob.com>
2418
2419         * locale/weight.h: Add include guard.
2420         (findidx): Make static rather than auto; take new parameters
2421         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2422         * locale/weightwc.h: Likewise.
2423         * posix/fnmatch_loop.c
2424         (FCT): Change type of EXTRA from int32_t to wint_t.
2425         Don't include either header inside the function.
2426         Call FINDIDX rather than findidx, and pass new arguments.
2427         #undef FINDIDX at the end of the file.
2428         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2429         FINDIDX before including fnmatch_loop.c for the non-wide version.
2430         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2431         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2432         for the wide version.
2433         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2434         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2435         Pass new arguments to findidx.
2436         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2437         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2438         Don't #include it inside the function.  Pass new arguments to findidx.
2439         * posix/regex_internal.h
2440         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2441         (re_string_elem_size_at): Don't #include it inside the function.
2442         Pass new arguments to findidx.
2443         * string/strcoll_l.c: #include WEIGHT_H at top level.
2444         (get_next_seq): Don't #include it inside the function.
2445         Pass new arguments to findidx.
2446         (get_next_seq_nocache): Likewise.
2447         * string/strxfrm_l.c: #include WEIGHT_H at top level.
2448         (STRXFRM): Don't #include it inside the function.
2449         Pass new arguments to findidx.
2450
2451 2014-09-11  Florian Weimer  <fweimer@redhat.com>
2452
2453         [BZ #17344]
2454         * malloc/malloc.c (unlink): Turn asserts into a call to
2455         malloc_printerr.
2456
2457 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
2458
2459         [BZ #17370]
2460         * libio/wfileops (do_ftell_wide): Free OUT.
2461
2462 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
2463
2464         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2465
2466 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2467
2468         [BZ #17363]
2469         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2470         group if the current group is empty.
2471
2472 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2473
2474         * benchtests/bench-memset.c (test_main): Add more test from size
2475         from 32 to 512 bytes.
2476         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2477         Add POWER8 memset object.
2478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2479         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2480         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2481         implementation.
2482         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2483         Likewise.
2484         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2485         multiarch POWER8 memset optimization.
2486         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2487         POWER8 memset optimization.
2488
2489         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2490         Remove bzero multiarch objects.
2491         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2492         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2493         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2494         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2495         Remove define.
2496         [__bzero]: Redefine to specific name.
2497         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2498         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2499         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2500         define.
2501         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2502         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2503
2504 2014-09-10  Florian Weimer  <fweimer@redhat.com>
2505
2506         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2507         warnings into errors.
2508
2509         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2510         __cxa_thread_atexit_impl prototype.
2511
2512 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2513
2514         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2515         Fix capitalization of error message.
2516
2517 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2518
2519         * sysdeps/mips/preconfigure: Modify ABI tests.
2520
2521 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
2522
2523         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2524
2525 2014-09-07  Roland McGrath  <roland@hack.frob.com>
2526             Carlos O'Donell  <carlos@systemhalted.org>
2527
2528         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2529         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2530         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2531         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2532         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2533         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2534         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2535         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2536         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2537         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2538         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2539         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2540         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2541         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2542         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2543         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2544         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2545         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2546         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2547         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2548         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2549         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2550         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2551         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2552         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2553         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2554         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2555         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2556         Deconditionalize the code that was previously under [RESET_PID].
2557         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2558         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2559         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2560         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2561         include sysdep.h.
2562
2563 2014-09-08  Allan McRae  <allan@archlinux.org>
2564
2565         * version.h (RELEASE): Set to "development".
2566         (VERSION): Set to "2.20.90"
2567
2568 2014-09-07  Allan McRae  <allan@archlinux.org
2569
2570         * version.h (RELEASE): Set to "stable".
2571         (VERSION): Set to "2.20"
2572         * include/features.h (__GLIBC_MINOR__): Set to 20.
2573
2574         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2575         Liebler.
2576
2577         * po/ko.po: Update Korean translation from translation project.
2578
2579 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
2580
2581         [BZ #17354]
2582         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2583         macro for handling signed relocations.
2584
2585 2014-09-03  Florian Weimer  <fweimer@redhat.com>
2586
2587         [BZ #17325]
2588         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2589         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2590         assert.
2591         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2592         * iconvdata/ibm935.c (BODY): Likewise.
2593         * iconvdata/ibm937.c (BODY): Likewise.
2594         * iconvdata/ibm939.c (BODY): Likewise.
2595         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2596         assert.
2597         * iconvdata/Makefile (iconv-test.out): Pass module list to test
2598         script.
2599         * iconvdata/run-iconv-test.sh: New test loop for checking for
2600         decoder crashers.
2601
2602 2014-09-02  Khem Raj  <raj.khem@gmail.com>
2603
2604         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2605         libm_hidden_ver.
2606
2607 2014-09-01  Allan McRae  <allan@archlinux.org>
2608
2609         * po/eo.po: Update Esperanto translation from translation project.
2610
2611         * po/ca.po: Update Catalan translation from translation project.
2612
2613 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2614
2615         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2616         __proc_dostop call.
2617
2618 2014-08-27  Mark Wielaard  <mjw@redhat.com>
2619
2620         [BZ #17319]
2621         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2622         to call set_thread_area instead of hand written asm.
2623         (__NR_set_thread_area): Removed define.
2624         (TLS_FLAG_WRITABLE): Likewise.
2625         (__ASSUME_SET_THREAD_AREA): Remove check.
2626         (TLS_EBX_ARG): Remove define.
2627         (TLS_LOAD_EBX): Likewise.
2628
2629 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2630
2631         Simplify atomicity of socket creation in bind.
2632
2633         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2634         looking up the name after linking the file.
2635
2636 2014-08-27  Allan McRae  <allan@archlinux.org>
2637
2638         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2639
2640 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2641
2642         [BZ #17187]
2643         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2644         trans_compare, open_translit, __gconv_translit_find):
2645         Remove module loading code.
2646
2647 2014-08-26  Allan McRae  <allan@archlinux.org>
2648
2649         * po/vi.po: Update Vietnamese translation from translation project.
2650
2651         * po/uk.po: Update Ukrainian translation from translation project.
2652
2653         * po/fr.po: Update French translation from translation project.
2654
2655         * po/ru.po: Update Russian translation from translation project.
2656
2657         * po/pl.po: Update Polish translation from translation project.
2658
2659         * po/cs.po: Update Czech translation from translation project.
2660
2661         * po/de.po: Update German translation from translation project.
2662
2663         * po/bg.po: Update Bulgarian translation from translation project.
2664
2665         * po/sv.po: Update Sweedish translation from translation project.
2666
2667         * po/nl.po: Update Dutch translation from translation project.
2668
2669         * po/es.po: Update Spanish translation from translation project.
2670
2671 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2672
2673         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2674
2675         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2676         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2677         (CPPFLAGS-iconvconfig): Likewise.
2678         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2679
2680         * include/libc-symbols.h: Remove unnecessary check for
2681         NOT_IN_libc.
2682         * nptl/pthreadP.h: Likewise.
2683         * sysdeps/aarch64/setjmp.S: Likewise.
2684         * sysdeps/alpha/setjmp.S: Likewise.
2685         * sysdeps/arm/sysdep.h: Likewise.
2686         * sysdeps/i386/setjmp.S: Likewise.
2687         * sysdeps/m68k/setjmp.c: Likewise.
2688         * sysdeps/posix/getcwd.c: Likewise.
2689         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2690         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2691         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2692         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2693         * sysdeps/sh/sh3/setjmp.S: Likewise.
2694         * sysdeps/sh/sh4/setjmp.S: Likewise.
2695         * sysdeps/unix/alpha/sysdep.h: Likewise.
2696         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2697         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2698         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2699         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2702         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2704         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2706         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2707         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2708         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2709         * sysdeps/x86_64/setjmp.S: Likewise.
2710
2711 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2712
2713         [BZ #17263]
2714         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2715         <stdint.h>.
2716         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2717         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2718
2719 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2720
2721         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2722
2723         [BZ #17262]
2724         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2725         and __x86_64__ when disabling x87 inline functions.
2726
2727 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2728
2729         [BZ #17259]
2730         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2731         asm statement with __cpuid_count.
2732
2733 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2734
2735         * configure.ac: Change __ehdr_start code to dereference the struct.
2736         Run readelf on the output to look for relocations.
2737         * configure: Regenerated.
2738
2739 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2740
2741         [BZ #17261]
2742         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2743         value to 0.
2744         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2745
2746 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2747
2748         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2749
2750 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2751
2752         [BZ #16892]
2753         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2754         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2755
2756 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2757
2758         * malloc/malloc.c: Fix typo in comment.
2759
2760 2014-08-09  Allan McRae  <allan@archlinux.org>
2761
2762         * Regenerate libc.po.
2763
2764 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2765
2766         * intl/tst-gettext2.sh: Check every lang file for creation.
2767
2768 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2769
2770         * sysdeps/aarch64/fpu/math_private.h
2771         (libc_feholdsetround_noex_aarch64_ctx): New function.
2772
2773 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2774
2775         * sysdeps/arm/armv6/strcpy.S (strcpy):
2776         Fix performance issue in misaligned cases.
2777
2778 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2779
2780         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2781         Move definition from termios.h.
2782         (struct termio): Likewise.
2783         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2784         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2785         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2786         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2787         Likewise.
2788         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2789         Move definition to ioctl-types.h
2790         (struct termio): Likewise.
2791         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2792         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2793         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2794         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2795         Likewise.
2796
2797 2014-08-05  Richard Henderson  <rth@redhat.com>
2798
2799         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2800         exceptions.
2801         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2802         Add fraiseexcpt.
2803         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2804         Use __feraiseexcept.
2805         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2806         Protect libm symbols with IS_IN_libm.
2807
2808         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2809
2810 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2811
2812         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2813
2814 2014-08-04  Will Newton  <will.newton@linaro.org>
2815
2816         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2817         file.
2818
2819 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
2820
2821         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2822         variants for each function.
2823
2824 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2825
2826         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2827         appended ...
2828         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2829         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2830         appended ...
2831         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2832         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2833         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2834         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2835         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2836         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2837         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2838         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2839         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2840         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2841         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2842         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2843         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2844         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2845         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2846         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2847         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2848         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2849         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2850         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2851         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2852         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2853         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2854         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2855         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2856         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2857         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2858         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2859         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2860         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2861         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2862         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2863         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2864         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2865         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2867         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2868         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2869         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2870         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2871         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2872         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2873         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2874         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2875         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2876         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2877         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2878         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2879         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2880         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2881         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2882         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2883         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2884         Update #include.
2885         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2886         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2887
2888 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2889
2890         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2891         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2892         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2893         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2894         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2895         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2896
2897 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2898
2899         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2900         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2901         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2902         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2903
2904 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2905
2906         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2907         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2908         (__libc_vfork): Define function under this name.
2909         (__vfork): Define as an alias.
2910         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2911         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2912
2913 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2914
2915         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2916         that was previously under [RESET_PID].
2917         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2918
2919 2014-08-04  Andreas Schwab  <schwab@suse.de>
2920
2921         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2922
2923 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
2924
2925         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2926         (main): Likewise.
2927
2928 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2929
2930         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2931
2932 2014-08-01  Richard Henderon  <rth@redhat.com>
2933
2934         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2935         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2936         typo in exact zero test.
2937         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2938         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2939         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2940
2941 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2942
2943         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2944         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2945         * sysdeps/arm/sysdep.h: ... here.
2946         [!__ASSEMBLER__]: Include <stdint.h>.
2947
2948 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2949
2950         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2951         (HAVE_WCTYPE_H): Likewise.
2952         (HAVE_ISWCTYPE): Likewise.
2953         (ENABLE_NLS): Likewise.
2954         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2955         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2956
2957         * posix/regex_internal.c: Check if DEBUG is defined and is
2958         set.
2959
2960         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2961         (HAVE_MBSRTOWCS): Likewise.
2962         * posix/fnmatch.c: Include string.h unconditionally.
2963
2964 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2965
2966         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2967         reversal.
2968
2969 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2970
2971         * sysdeps/generic/safe-fatal.h: New file.
2972         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2973         * nptl/forward.c: Include it.
2974         (__pthread_unwind): Use __safe_fatal as default action, rather
2975         than a bogus use of INTERNAL_SYSCALL that could never work.
2976
2977         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2978         * configure.ac (libc_cv_builtin_trap): New test.
2979         * configure: Regenerated.
2980         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2981         (ABORT_INSTRUCTION): Define using __builtin_trap.
2982
2983         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2984         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2985         * sysdeps/nptl/nptl-signals.h: New file.
2986         * nptl/pthreadP.h: Include <nptl-signals.h>.
2987
2988 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2989
2990         * sysdeps/s390/s390-64/utf16-utf32-z9.c
2991         (ONE_DIRECTION): Define.
2992         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2993         (ONE_DIRECTION): Define.
2994         * sysdeps/s390/s390-64/utf8-utf32-z9.c
2995         (ONE_DIRECTION): Define.
2996
2997 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2998
2999         * sysdeps/s390/Makefile: Delete file.
3000         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3001         * sysdeps/s390/__longjmp.c: Delete file.
3002         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3003         Remove fields __flags and __reserved.
3004         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3005         and add versioning.
3006         * sysdeps/s390/rtld-__longjmp.c: Delete file.
3007         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3008         * sysdeps/s390/rtld-setjmp.S: Likewise.
3009         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3010         * sysdeps/s390/s390-32/__longjmp.c: ... here.
3011         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3012         * sysdeps/s390/s390-32/setjmp.S: ... here.
3013         Add versioning.
3014         (__sigsetjmp): Remove setting __flags field.
3015         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3016         * sysdeps/s390/s390-64/__longjmp.c: ... here.
3017         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3018         * sysdeps/s390/s390-64/setjmp.S: ... here.
3019         Add versioning.
3020         (__sigsetjmp): Remove setting __flags field.
3021         * sysdeps/s390/setjmp.S: Delete file.
3022         * sysdeps/s390/sigjmp.c: Likewise.
3023         * sysdeps/s390/v1-longjmp.c: Likewise.
3024         * sysdeps/s390/v1-setjmp.h: Likewise.
3025         * sysdeps/s390/v1-sigjmp.c: Likewise.
3026         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3027         Remove v1-longjmp_chk.
3028         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3029         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3030         Include debug/longjmp_chk.c and add versioning.
3031         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3032         Include nptl/pt-longjmp.c and add versioning.
3033         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3034         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3035         Include __longjmp.c.
3036         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3037         Move to ...
3038         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3039         (__getcontext): Remove setting __flags field.
3040         Add versioning.
3041         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3042         Don't restore upper high grps.
3043         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3044         Likewise.
3045         (__swapcontext): Remove setting uc_flags field.
3046         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3047         Delete file.
3048         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3049         Include __longjmp.c.
3050         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3051         Move to ...
3052         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3053         (__getcontext): Remove setting __flags field.
3054         Add versioning.
3055         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3056         (__swapcontext): Remove setting uc_flags field.
3057         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3058         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3059         Remove fields uc_high_gprs and __reserved.
3060         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3061         New file with reverted content.
3062         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3063         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3064         Regenerated.
3065         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3066         Regenerated.
3067
3068 2014-07-31  Andreas Schwab  <schwab@suse.de>
3069
3070         * config.h.in (HAVE_IFUNC): Define to 0.
3071         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3072         definedness.
3073
3074 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
3075
3076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3077         memmove-avx-unaligned, memcpy-avx-unaligned and
3078         mempcpy-avx-unaligned.
3079         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3080         Add tests for AVX memcpy functions.
3081         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3082         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3083         memcpy_chk.
3084         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3085         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3086         memmove_chk.
3087         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3088         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3089         mempcpy_chk.
3090         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3091         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3092         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3093
3094 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3095
3096         [BZ #17213]
3097         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3098         powerpc64le.
3099
3100 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
3101
3102         [BZ #16839]
3103         * manual/llio.texi: Add section about open file description locks.
3104         * manual/examples/ofdlocks.c: Example of open file description
3105         lock usage.
3106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3107         F_OFD_SETLK, and F_OFD_SETLKW.
3108
3109 2014-07-23  Allan McRae  <allan@archlinux.org>
3110
3111         * po/es.po: Update Spanish translation from translation project.
3112
3113 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
3114
3115         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3116
3117 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
3118
3119         [BZ #17078]
3120         * sysdeps/arm/dl-machine.h (elf_machine_rela)
3121         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3122         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3123
3124 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
3125
3126         [BZ #17088]
3127         * math/fesetenv.c (__fesetenv)
3128         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3129         * math/feupdateenv.c (__feupdateenv)
3130         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3131
3132         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3133         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3134         (__ASSUME_SOCKETCALL): Do not define.
3135
3136         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3137         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3138         (__ASSUME_SOCKETCALL): Do not define.
3139         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3140         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3141         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3142         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3143         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3144         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3145         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3146         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3147
3148         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3149         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3150         (__ASSUME_SOCKETCALL): Do not define.
3151         (__ASSUME_IPC64): Define unconditionally.
3152         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3153         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3154         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3155         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3156         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3157         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3158         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3159         Likewise.
3160
3161         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3162         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3163         (__ASSUME_SOCKETCALL): Do not define.
3164         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3165         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3166         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3167         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3168         (__ASSUME_REQUEUE_PI): Define unconditionally.
3169         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3170         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3171         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3172         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3173         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3174         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3175
3176         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3177         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3178         (__ASSUME_SOCKETCALL): Do not define.
3179         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3180         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3181         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3182         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3183         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3184         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3185
3186         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3187         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3188         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3189         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3190         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3191         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3192         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3193         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3194         (__ASSUME_GETCPU_SYSCALL): Likewise.
3195
3196         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3197         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
3198         cases for individual architectures.
3199         * sysdeps/gnu/configure: Regenerated.
3200         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3201         LIBC_SLIBDIR_RTLDDIR.
3202         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3203         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3204         LIBC_SLIBDIR_RTLDDIR.
3205         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3207         LIBC_SLIBDIR_RTLDDIR.
3208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3209         Regenerated.
3210         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3211         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3212         file.
3213         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3214         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3215         file.
3216         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3217         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3218         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3219         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3220
3221         * sysdeps/aarch64/shlib-versions: Move to ...
3222         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3223         * sysdeps/alpha/shlib-versions: Move to ...
3224         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3225         * sysdeps/arm/shlib-versions: Move to ...
3226         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3227         * sysdeps/hppa/shlib-versions: Move all contents except for
3228         libgcc_s entry to ...
3229         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
3230         entry from ...
3231         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
3232         * sysdeps/ia64/shlib-versions: Move to ...
3233         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
3234         entry from ...
3235         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
3236         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3237         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3238         * sysdeps/microblaze/shlib-versions: Move to ...
3239         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3240         * sysdeps/mips/shlib-versions: Move to ...
3241         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
3242         entry from ...
3243         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
3244         * sysdeps/tile/shlib-versions: Move to ...
3245         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3246         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3247         from ...
3248         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
3249         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3250         entry from ...
3251         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
3252
3253 2014-07-17  Will Newton  <will.newton@linaro.org>
3254
3255         * sysdeps/arm/bits/atomic.h
3256         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3257         (__arch_compare_and_exchange_bool_16_int): Likewise.
3258         (__arch_compare_and_exchange_bool_64_int): Likewise.
3259
3260         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3261         into an #else block.
3262
3263 2014-07-16  Roland McGrath  <roland@hack.frob.com>
3264
3265         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3266         just Linux configurations.  Test empirically that the compiler sets
3267         __ARM_EABI__, rather than using the tuple to decide.
3268         * sysdeps/arm/preconfigure: Regenerated.
3269         * sysdeps/unix/sysv/linux/arm/configure: File removed.
3270         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3271         contents appended ...
3272         * sysdeps/arm/configure.ac: ... here.
3273         * sysdeps/arm/configure: Regenerated.
3274
3275 2014-07-15  Roland McGrath  <roland@hack.frob.com>
3276
3277         * nptl/pthread_kill.c: New file.
3278         * nptl/pthread_sigmask.c: New file.
3279         * nptl/pthread_sigqueue.c: New file.
3280
3281         * sysdeps/nptl/lowlevellock.h: New file.
3282         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3283         * sysdeps/nptl/lowlevellock-futex.h: New file.
3284
3285         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3286         Remove dead declarations.
3287
3288 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
3289
3290         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3291         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3292         config-cflags-avx2.
3293         * sysdeps/x86_64/configure.ac: Likewise.
3294         * sysdeps/i386/configure: Regenerated.
3295         * sysdeps/x86_64/configure: Likewise.
3296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3297         memset-avx2 only if config-cflags-avx2 is yes.
3298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3299         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3300         defined.
3301         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3302         only if HAVE_AVX2_SUPPORT is defined.
3303         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3304
3305 2014-07-14  Alan Modra  <amodra@gmail.com>
3306
3307         [BZ #17153]
3308         * elf/elf.h (DT_PPC64_NUM): Correct value.
3309         * NEWS: Add to fixed bug list.
3310
3311 2014-07-13  Jim Meyering  <meyering@fb.com>
3312
3313         [BZ 17150]
3314         regex: don't deref NULL upon heap allocation failure
3315         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3316         failure in one more place.
3317         To trigger the segfault, configure grep -with-included-regex,
3318         build it, and run these commands:
3319         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3320
3321 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3322
3323         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3324
3325 2014-07-11  Richard Henderson  <rth@redhat.com>
3326
3327         * sysdeps/aarch64/libm-test-ulps: Update.
3328
3329 2014-07-10  Florian Weimer  <fweimer@redhat.com>
3330
3331         [BZ #17135]
3332         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3333         * nptl/allocatestack.c (__nptl_setxid_error): New function.
3334         (__nptl_setxid): Initialize error member.  Call
3335         __nptl_setxid_error.
3336         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3337         * nptl/descr.h (struct xid_command): Add error member.
3338         * nptl/tst-setuid3.c: New file.
3339         * nptl/Makefile (tests): Add it.
3340
3341 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3342
3343         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3344         New define.
3345         (__lll_trylock): Use __lll_base_trylock.
3346         (__lll_cond_trylock): Likewise.
3347
3348 2014-07-10  Roland McGrath  <roland@hack.frob.com>
3349
3350         * nptl/pthread_create.c (start_thread): Use atomic_or and
3351         lll_futex_wake directly rather than lll_robust_dead.
3352         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3353         (lll_robust_dead): Macro removed.
3354         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3355         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3356         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3357         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3358         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3359         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3360         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3361         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3362         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3363         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3364         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3365         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3366         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3367         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3368         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3369
3370         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3371         Use atomic_compare_and_exchange_val_acq directly rather than
3372         lll_robust_trylock.
3373         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3374         (__lll_robust_trylock, lll_robust_trylock): Removed.
3375         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3376         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3377         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3378         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3379         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3380         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3381         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3382         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3383         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3384         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3385         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3386         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3387         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3388         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3389
3390 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3391
3392         * manual/locale.texi (Locale Names): New section documenting
3393         locale name syntax.  Adjust menu and node chaining accordingly.
3394         (Choosing Locale): Reference Locale Names, Locale Categories.
3395         Mention setting LC_ALL=C.  Reflect that name syntax is now
3396         documented.
3397         (Locale Categories): New section title.  Reference Locale Names.
3398         LC_ALL is an environment variable, but not a category.
3399         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3400         description, now in Locale Name.  Reference that section.  Locale
3401         name syntax is now documented.
3402
3403 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3404
3405         [BZ #17137]
3406         * locale/findlocale.c (name_present, valid_locale_name): New
3407         functions.
3408         (_nl_find_locale): Use the loc_name variable to store name
3409         candidates.  Call name_present and valid_locale_name to check and
3410         validate locale names.  Return an error if the locale is invalid.
3411
3412 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3413
3414         * locale/setlocale.c (setlocale): Use strdup for allocating
3415         composite name copy.
3416
3417 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3418
3419         Sync up with gnulib.
3420         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3421         [!_LIBC && ENABLE_NLS]: Include gettext.h.
3422         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3423         and _GL_ARG_NONNULL.
3424         [USE_UNLOCKED_IO]: Include unlocked-io.h.
3425         [!_LIBC]: Include code for Windows and Cygwin.
3426         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3427         Include prototype for int strerror_r.
3428         [!_LIBC] (is_open): New function.
3429         (flush_stdout): New function.
3430         (print_errno_message): Use it.
3431         (error): Likewise.
3432         (error_at_line): Likewise.
3433         (error_tail) Add function attribute macros.  Use
3434         __builtin_expect.
3435
3436         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3437
3438         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3439
3440         * io/ftw.c: Include sys/param.h unconditionally.
3441
3442         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3443
3444         [BZ #17125]
3445         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3446         libc_freeres_ptr.
3447         (freecache): New function to free CACHE on exit.
3448
3449         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3450         initialization.
3451
3452 2014-07-09  David S. Miller  <davem@davemloft.net>
3453
3454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3455
3456         * sysdeps/sparc/nptl/internaltypes.h: Delete.
3457         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3458         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3459         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3460         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3461         * sysdeps/sparc/nptl/sem_init.c: Likewise.
3462         * sysdeps/sparc/nptl/sem_post.c: Likewise.
3463         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3464         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3465         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3466         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3467         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3468         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3469
3470 2014-07-09  Andreas Schwab  <schwab@suse.de>
3471
3472         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3473         output.
3474         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3475         (do_test): Likewise.
3476
3477         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3478
3479 2014-07-09  Will Newton  <will.newton@linaro.org>
3480
3481         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3482         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3483         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3484         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3485         * sysdeps/hppa/start.S (_start): Likewise.
3486
3487 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3488
3489         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3490
3491         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3492         defined.
3493
3494 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3495
3496         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3497         after checking that it is non-NULL.
3498
3499         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3500
3501 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3502
3503         * sysdeps/powerpc/memmove.c: Remove file.
3504         * sysdeps/powerpc/powerpc32/power4/memcopy.h
3505         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3506         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3507         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3508         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3509         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3510         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3511         string memmove instead of removed powerpc one.
3512
3513         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3514         [weak_alias]: Fix compiler warning due trailing data.
3515         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3516         [weak_alias]: Likewise.
3517         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3518         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3519
3520         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3521         (__libc_ifunc_impl_list): Add memmove functions.
3522
3523 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3524
3525         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3526         Remove code.
3527         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3528         Likewise
3529         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3530         Likewise
3531         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3532         Likewise
3533         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3534         Likewise
3535         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3536         Likewise
3537         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3538         Likewise
3539         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3540         Likewise
3541         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3542         Likewise
3543         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3544         Likewise
3545         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3546         Likewise
3547         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3548         Likewise
3549         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3550         Likewise
3551         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3552         Likewise
3553         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3554         Likewise
3555         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3556         Likewise
3557         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3558         Likewise
3559
3560 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3561
3562         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3563         to avoid alignment traps in non-cacheable memory.
3564         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3565
3566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3567         multiarch objects.
3568         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3569         file: multiarch power7 memmove.
3570         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3571         multiarch default memmove.
3572         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3573         multiarch memove for powerpc32/power4.
3574
3575         * string/bcopy.c: Use full path to include memmove.c.
3576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3577         multiarch objects.
3578         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3579         bcopy for powerpc64.
3580         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3581         bcopy for powerpc64.
3582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3583         and memmove implementations.
3584         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3585         optimized multiarch memmove for POWER7/powerpc64.
3586         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3587         default multiarch memmove for powerpc64.
3588         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3589         multiarch for powerpc64.
3590         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3591         for POWER7/powerpc64.
3592         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3593         memmove for POWER7/powerpc64.
3594
3595         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3596         glibc default one.
3597
3598         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3599         __ELF_NATIVE_CLASS equal to 64.
3600
3601 2014-07-07  Roland McGrath  <roland@hack.frob.com>
3602
3603         * sysdeps/nptl/lowlevellock.h: File removed.
3604
3605         * NEWS: NPTL is no longer an add-on!
3606         * nptl/internaltypes.h: Moved ...
3607         * sysdeps/nptl/internaltypes.h: ... here.
3608         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3609         * sysdeps/nptl/fork.c: Likewise.
3610         * sysdeps/nptl/gai_misc.h: Likewise.
3611         * sysdeps/nptl/librt-cancellation.c: Likewise.
3612         * sysdeps/nptl/jmp-unwind.c: Likewise.
3613         * sysdeps/nptl/setxid.h: Likewise.
3614         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3615         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3616         * sysdeps/unix/sysv/linux/arm/Implies: New file.
3617         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3618         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3619         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3620         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3621         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3622         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3623         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3624         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3625         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3626         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3627         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3628         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3629         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3630         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3631         * nptl/Makeconfig: Moved ...
3632         * sysdeps/nptl/Makeconfig: ... here.
3633         * nptl/configure: File removed.
3634         * nptl/ANNOUNCE: File removed.
3635         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3636         * sysdeps/unix/sysv/linux/configure: Regenerated.
3637
3638         * nptl/Makefile (routines): Add libc_pthread_init,
3639         libc_multiple_threads, register-atfork and unregister-atfork.
3640         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3641         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3642         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3643         pthread-pi-defines.sym, structsem.sym.
3644         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3645         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3646         [$(subdir) = nptl] (tests): Add tst-setgetname.
3647         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3648         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3649         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3650         [!LIBC_SIGACTION]: Remove aliases.
3651         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3652         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3653         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3654         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3655         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3656         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3657         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3658         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3659         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3660         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3661         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3662         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3663         __libc_allocate_rtsig_private.
3664         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3665         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3666         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3667         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3668         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3669         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3670         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3671         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3672         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3673         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3674         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3675         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3676         * nptl/internaltypes.h: ... here.
3677         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3678         * sysdeps/nptl/jmp-unwind.c: ... here.
3679         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3680         * nptl/libc-lowlevellock.c: ... here.
3681         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3682         * nptl/libc_multiple_threads.c: ... here.
3683         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3684         * nptl/libc_pthread_init.c: ... here.
3685         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3686         * nptl/lowlevelbarrier.sym: ... here.
3687         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3688         * nptl/lowlevelcond.sym: ... here.
3689         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3690         * nptl/lowlevellock.c: ... here.
3691         * nptl/lowlevellock.h: Moved ...
3692         * sysdeps/nptl/lowlevellock.h: ... here.
3693         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3694         * nptl/lowlevelrobustlock.c: ... here.
3695         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3696         * nptl/lowlevelrobustlock.sym: ... here.
3697         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3698         * nptl/lowlevelrwlock.sym: ... here.
3699         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3700         * nptl/pt-fork.c: ... here.
3701         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3702         * nptl/pthread-pi-defines.sym: ... here.
3703         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3704         * nptl/pthread_attr_getaffinity.c: ... here.
3705         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3706         * nptl/pthread_attr_setaffinity.c: ... here.
3707         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3708         * nptl/pthread_mutex_cond_lock.c: ... here.
3709         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3710         Update #include.
3711         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3712         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3713         * nptl/pthread_once.c: ... here, replacing old file.
3714         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3715         * nptl/pthread_yield.c: ... here.
3716         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3717         * nptl/register-atfork.c: ... here.
3718         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3719         * nptl/sem_post.c: ... here.
3720         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3721         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3722         * nptl/sem_timedwait.c: ... here.
3723         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3724         * nptl/sem_trywait.c: ... here.
3725         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3726         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3727         * nptl/sem_wait.c: ... here.
3728         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3729         * nptl/structsem.sym: ... here.
3730         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3731         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3732         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3733         * nptl/unregister-atfork.c: ... here.
3734         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3735         * nptl/unwindbuf.sym: ... here.
3736         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3737         * sysdeps/nptl/fork.c: ... here.
3738         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3739         * sysdeps/nptl/fork.h: ... here.
3740         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3741         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3742         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3743         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3744         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3745         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3746         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3747         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3748         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3749         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3750         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3751         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3752         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3753         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3754         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3755         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3756         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3757         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3758         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3759         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3760         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3761         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3762         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3763         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3764         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3765         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3766         * sysdeps/unix/sysv/linux/raise.c: ... here.
3767         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3768         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3769         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3770         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3771         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3772         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3773         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3774         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3775         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3776         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3777         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3778         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3779         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3780         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3781         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3782
3783 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3784
3785         * sysdeps/generic/memcopy.h: Add comment for
3786         MEMCPY_OK_FOR_FWD_MEMMOVE.
3787
3788 2014-07-04  Will Newton  <will.newton@linaro.org>
3789
3790         * string/memchr.c: Merge from gnulib.
3791         [_LIBC]: Remove conditionals.
3792         (__ptr_t): Remove define.
3793         (LONG_MAX_32_BITS): Likewise.
3794         (LONG_MAX): Likewise.
3795         (MEMCHR): Use ANSI prototype and optimize algorithm.
3796
3797         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3798
3799 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3800
3801         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3802         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3803
3804         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3805         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3806         in a bare environment with no <stdlib.h> installed.
3807         * sysdeps/nptl/configure: Regenerated.
3808
3809         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3810
3811         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3812         AC_EGREP_CPP for kernel header checks, so they only succeed if
3813         including <linux/version.h> actually works right.
3814         * sysdeps/unix/sysv/linux/configure: Regenerated.
3815
3816         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3817         value so it's not diagnosed as unused.
3818
3819         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3820         thing) with "ifeq ($(subdir),rt)".
3821
3822 2014-07-03  Richard Henderson  <rth@redhat.com>
3823
3824         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3825         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3826         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3827
3828         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3829         (math_force_eval): New.
3830
3831         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3832         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3833
3834         * sysdeps/alpha/fpu/s_round.c: Remove file.
3835         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3836
3837         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3838         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3839         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3840         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3841         (_dl_start, print_statistics): Likewise.
3842         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3843         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3844
3845         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3846         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3847         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3848         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3849         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3850         (HP_SMALL_TIMING_AVAIL): Define.
3851         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3852         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3853         (HP_SMALL_TIMING_AVAIL): Define.
3854         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3855         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3856
3857         * sysdeps/aarch64/hp-timing.h: New file.
3858
3859         * sysdeps/generic/hp-timing.h: Remove dead comment.
3860         * sysdeps/generic/hp-timing-common.h: New file.
3861         * sysdeps/alpha/hp-timing.h: Include it.
3862         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3863         * sysdeps/i386/i686/hp-timing.h: Likewise.
3864         * sysdeps/ia64/hp-timing.h: Likewise.
3865         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3866         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3867         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3868         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3869         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3870         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3871         (hp_timing_t): New.
3872
3873         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3874         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3875         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3876         * elf/rtld.c (_dl_start_final): Likewise.
3877         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3878         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3879         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3880         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3881         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3882         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3883         (HP_TIMING_DIFF_INIT): Remove.
3884         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3885         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3886         (HP_TIMING_DIFF_INIT): Remove.
3887         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3888         * sysdeps/i386/i686/hp-timing.c: Remove file.
3889         * sysdeps/x86_64/hp-timing.c: Remove file.
3890         * sysdeps/ia64/hp-timing.c: Remove file.
3891         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3892         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3893         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3894         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3895
3896         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3897         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3898         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3899         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3900         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3901         (HP_TIMING_ACCUM): Remove.
3902         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3903         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3904         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3905
3906         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3907         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3908         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3909         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3910         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3911         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3912         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3913         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3914
3915         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3916
3917 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
3918
3919         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3920
3921 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3922
3923         Sync up with gettext.
3924         * intl/loadmsgcat.c: Define O_BINARY if not defined.
3925         [_MSC_VER]: Include malloc.h
3926         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3927         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3928         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
3929         TEMP_FAILURE_RETRY.  Cast return of alloca.
3930         [!_LIBC] Call gl_rwlock_init.
3931         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3932
3933 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3934
3935         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3936         before checking its value.
3937
3938 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3939
3940         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3941
3942         * debug/memcpy_chk.c: Don't include pagecopy.h.
3943         * debug/mempcpy_chk.c: Likewise.
3944         * string/memcpy.c: Likewise.
3945         * string/memmove.c: Likewise.
3946         * sysdeps/powerpc/memmove.c: Likewise.
3947         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
3948         definition of PAGE_COPY_FWD_MAYBE here...
3949         * sysdeps/generic/pagecopy.h: ... from here.
3950         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3951
3952 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3953             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3954
3955         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3957         optimizations.
3958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3959         (__libc_ifunc_impl_list): Likewise.
3960         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3961         multiarch strcat for PPC64.
3962         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3963         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3964
3965 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3966
3967         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3968
3969 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3970
3971         * intl/loadmsgcat.c: Remove declaration of
3972         get_sysdep_segment_value.
3973         (get_sysdep_segment_value): Use ISO C style.
3974         (_nl_load_domain): Use ISO C style.  Get rid of redundant
3975         semicolon.  Fix typo and formatting in comment.
3976         (_nl_unload_domain): Use ISO C style.
3977
3978         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3979
3980 2014-07-02  Will Newton  <will.newton@linaro.org>
3981
3982         * malloc/obstack.c: Merge from gnulib master.
3983         [HAVE_CONFIG_H]: Remove conditional code.
3984         [!_LIBC]: Include config.h.
3985         [!ELIDE_CODE]: Don't include inttypes.h, include
3986         stdint.h unconditionally.
3987         (print_and_abort): Mark as _Noreturn.
3988         (_obstack_allocated_p): Mark as __attribute_pure__.
3989         (obstack_free): Rename to __obstack_free.
3990         [!__attribute__]: Remove conditional code.
3991         * malloc/obstack.h: Merge from gnulib master.
3992         [__cplusplus]: Move conditional down.
3993         [!__attribute_pure__]: Define __attribute_pure__ here
3994         if it is not already defined.
3995         (_obstack_memory_used): Mark as __attribute_pure__.
3996         [!__obstack_free]: Define as obstack_free.
3997         [__GNUC__]: Remove check for ancient NeXT gcc.
3998
3999 2014-07-02  Will Newton  <will.newton@linaro.org>
4000             Paul Eggert  <eggert@cs.ucla.edu>
4001
4002         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4003
4004 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4005
4006         * resolv/gethnamaddr.c: Add comment warning that the file is
4007         not maintained.
4008
4009 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
4010
4011         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4012         entries.
4013
4014         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4015         entry for aio_cancel and aio_cancel64.
4016         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4017         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4018         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4019         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4020         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4021         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4022         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4023         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4024         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4025         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4026         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4027         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4028         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4029
4030 2014-07-01  Roland McGrath  <roland@hack.frob.com>
4031
4032         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4033         * nptl/pthread_mutex_lock.c: Likewise.
4034         * nptl/pthread_mutex_timedlock.c: Likewise.
4035         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4036
4037 2014-07-01  Richard henderson  <rth@redhat.com>
4038
4039         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4040         (__isnan, __isnanl): Remove.
4041         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4042
4043         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4044
4045 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4046
4047         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4048
4049 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4050
4051         * resolv/nss_dns/dns-host.c (getanswer_r)
4052         [MULTI_PTRS_ARE_ALIASES]: Remove code.
4053
4054 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
4055
4056         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4057         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4058         undefine.
4059         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4060         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4061
4062 2014-07-01  Roland McGrath <roland@hack.frob.com>
4063
4064         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4065         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4066
4067         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4068         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4069
4070         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4071         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4072         ... here.
4073         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4074         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4075
4076         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4077         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4078         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4079         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4080
4081         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4082         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4083         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4084         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4085         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4086         Moved ...
4087         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4088         ... here.
4089         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4090         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4091         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4092         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4093         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4094         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4095         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4096         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4097         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4098         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4099         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4100         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4101         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4102         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4103         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4104         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4105         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4106         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4107         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4108         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4109         ... here.
4110         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4111         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4112         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4113         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4114         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4115         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4116         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4117         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4118
4119 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
4120
4121         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4122         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4123         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4124         Add sysdep.
4125
4126 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4127
4128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4129
4130 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4131
4132         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4133         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4134
4135         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4136
4137         * sysdeps/arm/libm-test-ulps: Regenerated.
4138
4139 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4140             Roland McGrath <roland@hack.frob.com>
4141
4142         * test-skeleton.c (signal_handler): Kill the whole process group
4143         before killing the child individually.
4144         (main): Report any failure on `setpgid'.
4145
4146 2014-06-30  Roland McGrath  <roland@hack.frob.com>
4147
4148         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4149         from _TLS_H to _ARM_NPTL_TLS_H.
4150         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4151         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4152
4153 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4154
4155         [BZ #16539]
4156         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4157         (__expm1l): Return argument unchanged when small but not
4158         subnormal.
4159
4160         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4161         include macro name.
4162         (_FP_UNPACK_RAW_1_P): Likewise.
4163         (_FP_PACK_RAW_1): Likewise.
4164         (_FP_PACK_RAW_1_P): Likewise.
4165         (_FP_MUL_MEAT_1_wide): Likewise.
4166         (_FP_MUL_MEAT_DW_1_hard): Likewise.
4167         (_FP_MUL_MEAT_1_hard): Likewise.
4168         (_FP_DIV_MEAT_1_imm): Likewise.
4169         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4170         (_FP_DIV_MEAT_1_udiv): Likewise.
4171         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4172         (_FP_UNPACK_RAW_2): Likewise.
4173         (_FP_UNPACK_RAW_2_P): Likewise.
4174         (_FP_PACK_RAW_2): Likewise.
4175         (_FP_PACK_RAW_2_P): Likewise.
4176         (_FP_MUL_MEAT_DW_2_wide): Likewise.
4177         (_FP_MUL_MEAT_2_wide): Likewise.
4178         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4179         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4180         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4181         (_FP_MUL_MEAT_2_gmp): Likewise.
4182         (_FP_DIV_MEAT_2_udiv): Likewise.
4183         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4184         (_FP_FRAC_SRL_4): Likewise.
4185         (_FP_FRAC_SRST_4): Likewise.
4186         (_FP_FRAC_SRS_4): Likewise.
4187         (_FP_UNPACK_RAW_4): Likewise.
4188         (_FP_UNPACK_RAW_4_P): Likewise.
4189         (_FP_PACK_RAW_4): Likewise.
4190         (_FP_PACK_RAW_4_P): Likewise.
4191         (_FP_MUL_MEAT_DW_4_wide): Likewise.
4192         (_FP_MUL_MEAT_4_wide): Likewise.
4193         (_FP_MUL_MEAT_4_gmp): Likewise.
4194         (umul_ppppmnnn): Likewise.
4195         (_FP_DIV_MEAT_4_udiv): Likewise.
4196         (__FP_FRAC_ADD_4): Likewise.
4197         (__FP_FRAC_SUB_3): Likewise.
4198         (__FP_FRAC_SUB_4): Likewise.
4199         (__FP_FRAC_DEC_3): Likewise.
4200         (__FP_FRAC_DEC_4): Likewise.
4201         (__FP_FRAC_ADDI_4): Likewise.
4202         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4203         (_FP_FRAC_SRL_8): Likewise.
4204         (_FP_FRAC_SRS_8): Likewise.
4205
4206         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4207         include macro name.
4208         (FP_UNPACK_RAW_EP): Likewise.
4209         (FP_PACK_RAW_E): Likewise.
4210         (FP_PACK_RAW_EP): Likewise.
4211         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4212         (_FP_ISSIGNAN): Likewise.
4213         (_FP_ADD_INTERNAL): Likewise.
4214         (_FP_FMA): Likewise.
4215         (_FP_CMP): Likewise.
4216         (_FP_SQRT): Likewise.
4217         (_FP_TO_INT): Likewise.
4218         (_FP_FROM_INT): Likewise.
4219         (FP_EXTEND): Likewise.
4220         (_FP_DIV_MEAT_N_loop): Likewise.
4221
4222 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4223
4224         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4225         throughout.
4226
4227 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
4228
4229         [BZ #17097]
4230         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4231         result with correct sign in case of exponents that produce
4232         overflow except for X very close to 1.
4233
4234 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
4235
4236         mktime: merge #if/#ifdef usage from glibc
4237         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4238         as that works with both Glibc's and Gnulib's style.
4239         See thread starting at Siddhesh Poyarekar's bug report at:
4240         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4241
4242 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4243
4244         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4245         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4246         * sysdeps/tile/tilegx/memmove.c: Remove file.
4247
4248 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4249
4250         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4251         abi-name definition.
4252         * scripts/soversions.awk: Do not handle or generate ABI lines.
4253         * shlib-versions: Remove ABI entries.
4254         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4255         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4256
4257 2014-06-27  Roland McGrath  <roland@hack.frob.com>
4258
4259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4260         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4261         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4262         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4264         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4265         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4266         Moved ...
4267         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4268         ... here.
4269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4270         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4272         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4274         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4276         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4278         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4280         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4281         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4282         Moved ...
4283         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4285         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4287         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4289         Moved ...
4290         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4292         Moved ...
4293         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4295         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4297         Moved ...
4298         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4300         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4302         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4304         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4306         Moved ...
4307         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4309         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4310         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4311         Moved ...
4312         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4313         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4314         Moved ...
4315         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4317         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4319         Moved ...
4320         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4321         ... here.
4322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4323         Identical file removed.
4324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4325         Moved ...
4326         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4328         Identical file removed.
4329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4330         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4332         Moved ...
4333         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4334         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4335         Identical file removed.
4336         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4337         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4338         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4339         Identical file removed.
4340         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4341         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4343         Identical file removed.
4344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4345         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4346         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4347         Identical file removed.
4348         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4349         Moved ...
4350         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4351         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4352         Identical file removed.
4353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4354         Moved ...
4355         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4356         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4357         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4359         Identical file removed.
4360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4361         Moved ...
4362         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4363         ... here.
4364         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4365         Identical file removed.
4366         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4367         Moved ...
4368         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4369         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4370         Identical file removed.
4371         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4372         Moved ...
4373         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4374         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4375         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4376         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4377         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4378         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4379         Moved ...
4380         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4381         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4382         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4383
4384         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4385         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4386         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4387         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4388         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4389
4390 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
4391
4392         [BZ #17092]
4393         * nscd/nscd.c (monitor_child): Return exit status of child
4394         instead of return value from wait syscall.
4395
4396 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4397
4398         * configure.ac (libc_commonpagesize): Remove variable.
4399         (libc_relro_required): Likewise.
4400         (libc_cv_z_relro): Remove configure test.
4401         * configure: Regenerated.
4402         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4403         variable.
4404         (libc_relro_required): Likewise.
4405         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4406         (libc_relro_required): Likewise.
4407         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4408         (libc_relro_required): Likewise.
4409         * sysdeps/arm/preconfigure: Regenerated.
4410         * sysdeps/ia64/preconfigure: Remove file.
4411         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4412         variable.
4413         (libc_relro_required): Likewise.
4414
4415         [BZ #16561]
4416         [BZ #16562]
4417         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4418         (__ieee754_yn): Set FE_TONEAREST mode internally and then
4419         recompute overflowing results in original rounding mode.
4420         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4421         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4422         recompute overflowing results in original rounding mode.
4423         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4424         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4425         recompute overflowing results in original rounding mode.
4426         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4427         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4428         recompute overflowing results in original rounding mode.
4429         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4430         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4431         recompute overflowing results in original rounding mode.
4432         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4433         (libc_feholdsetround_ctx): New macro.
4434         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4435         * sysdeps/i386/fpu/libm-test-ulps: Update.
4436         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4437
4438 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4439
4440         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4441         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4442         corresponding .cpsetup call.
4443
4444 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4445
4446         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4447         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4448         * sysdeps/arm/Makefile [$(subdir) = csu]
4449         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4450         (static-only-routines): Add aeabi_read_tp here.
4451         (shared-only-routines): Add libc-aeabi_read_tp here.
4452         (CFLAGS-libc-start.c): Add -fexceptions here.
4453         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4454         (sysdep_routines, static-only-routines, shared-only-routines):
4455         Don't add to these here.
4456         (CFLAGS-libc-start.c): Likewise.
4457
4458         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4459         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4460         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4461         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4462         * sysdeps/arm/Makefile [$(subdir) = rt]
4463         (librt-sysdep_routines, librt-shared-only-routines):
4464         Append rt-aeabi_unwind_cpp_pr1 here.
4465         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4466         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4467         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4468         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4469         Append nptl-aeabi_unwind_cpp_pr1 here.
4470         (tests): Filter out tst-cleanupx4 here.
4471         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4472         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4473         Don't do those here.
4474
4475 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4476
4477         * scripts/list-sources.sh: Do not handle ports specially.
4478
4479 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4480
4481         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4482         * sysdeps/arm/feupdateenv.c: Likewise.
4483
4484         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4485
4486 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4487
4488         * manual/texinfo.tex: Update to version 2014-05-05.10 with
4489         trailing whitespace removed.
4490         * scripts/config.guess: Update to version 2014-03-23.
4491         * scripts/config.sub: Update to version 2014-05-01
4492         * scripts/install-sh: Update to version 2013-12-25.23.
4493         * scripts/move-if-change: Update from gnulib.
4494
4495 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4496
4497         * debug/memmove_chk.c: Remove pagecopy.h include.
4498
4499 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
4500
4501         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
4502         identical to gnulib mktime.
4503
4504 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4505
4506         * configure.ac: Do not test for machine being rs6000.  Do not test
4507         for powerpc*-*soft.
4508         * configure: Regenerated.
4509
4510         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4511         test.
4512         * configure: Regenerated.
4513         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4514         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4515         Remove configure test.
4516         * sysdeps/arm/configure: Regenerated.
4517         * sysdeps/nptl/configure.ac: Do not check
4518         libc_cv_asm_cfi_directives.
4519         * sysdeps/nptl/configure: Regenerated.
4520         * sysdeps/x86_64/nptl/configure.ac: Remove file.
4521         * sysdeps/x86_64/nptl/configure: Remove generated file.
4522         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4523         unconditional.
4524         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4525
4526 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4527
4528         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4529         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4530         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4531         it is defined.
4532
4533         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4534         instead of whether it is defined.
4535         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4536         * sysdeps/hppa/dl-machine.h: Likewise.
4537         * sysdeps/ia64/dl-machine.h: Likewise.
4538         * sysdeps/m68k/dl-machine.h: Likewise.
4539         * sysdeps/microblaze/dl-machine.h: Likewise.
4540         * sysdeps/mips/dl-machine.: Likewise.
4541         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4542         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4543         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4544         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4545         * sysdeps/sh/dl-machine.h: Likewise.
4546         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4547         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4548         * sysdeps/tile/dl-machine.h: Likewise.
4549         * sysdeps/x86_64/dl-machine.h: Likewise.
4550
4551         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4552         code.
4553         (verify_persistent_db): Likewise.
4554
4555 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4556
4557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4558         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4560         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4562         Moved ...
4563         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4564         ... here.
4565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4566         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4568         Identical file removed.
4569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4570         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4572         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4574         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4576         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4578         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4580         Moved ...
4581         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4583         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4585         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4587         Moved ...
4588         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4590         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4592         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4594         Identical file removed.
4595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4596         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4598         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4600         Moved ...
4601         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4602         ... here.
4603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4604         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4606         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4608         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4610         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4612         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4614         Moved ...
4615         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4617         Moved ...
4618         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4620         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4622         Moved ...
4623         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4625         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4626
4627         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4628         folded into ...
4629         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4630         * sysdeps/unix/sysv/linux/s390/Versions
4631         (libpthread: GLIBC_2.19): New version set.
4632         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4633         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4634         (librt: GLIBC_2.3.3): New version set.
4635         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4636         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4637         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4638         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4639         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4640         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4641         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4642         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4643         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4644         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4645         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4646         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4647         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4648         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4649         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4650         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4651         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4652         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4653         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4654         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4655         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4656         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4657         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4658         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4659         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4660         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4661         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4662         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4663         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4664         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4665         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4666         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4668         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4671         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4673         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4674         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4675         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4676         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4677         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4678         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4679         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4680
4681         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4682         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4683         (__libc_vfork): Define the function under this name.
4684         [!NOT_IN_libc] (__vfork): Make this an alias.
4685         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4686         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4687         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4688         (__libc_vfork): Define the function under this name.
4689         [!NOT_IN_libc] (__vfork): Make this an alias.
4690         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4691         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4692         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4694         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4695         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4696
4697         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4698         code that was previously under [RESET_PID].
4699         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4700         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4702
4703         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4704         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4705         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4706         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4707         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4708         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4709         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4710         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4711         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4712         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4713         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4714         Moved ...
4715         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4716         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4717         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4718         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4719         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4720         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4721         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4722         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4723         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4724         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4725         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4726         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4727         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4728         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4729         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4730         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4731         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4732         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4733         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4734         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4735         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4736         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4737         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4738         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4739         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4740         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4741         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4742         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4743         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4744
4745 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4746
4747         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4748         that was previously under [RESET_PID].
4749         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4750
4751 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4752
4753         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4754         not undefine and redefine.
4755         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4756         [O_CLOEXEC]: Make code unconditional.
4757         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4758         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4759         <kernel-features.h>.
4760         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4761         conditional variable definition.
4762         (shm_open) [O_CLOEXEC]: Make code unconditional.
4763         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4764         code.
4765
4766         * configure.ac (USE_REGPARMS): Don't define here.
4767         * configure: Regenerated.
4768         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4769         * sysdeps/i386/configure: Regenerated.
4770
4771         * nptl/createthread.c: Don't include kernel-features.h.
4772         * nptl/pthread_cancel.c: Likewise.
4773         * nptl/pthread_condattr_setclock.c: Likewise.
4774         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4775         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4776         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4777         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4778         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4779         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4780         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4781         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4782         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4783         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4784         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4785         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4786         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4787         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4788         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4789         * nscd/gai.c: Likewise.
4790         * nss/nss_db/db-open.c: Likewise.
4791         * sysdeps/generic/ldsodefs.h: Likewise.
4792         * sysdeps/sh/nptl/tls.h: Likewise.
4793         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4794         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4795         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4796         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4797         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4798         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4799         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4800         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4801         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4802         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4803         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4804         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4805         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4806         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4807         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4808         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4809         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4810         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4811         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4812         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4813         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4814         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4815         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4816         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4817         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4821         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4822         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4823         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4824         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4825         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4826         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4827         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4828         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4829         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4830         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4831         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4832         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4833         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4834         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4835         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4836         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4837         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4838         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4839         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4840         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4841         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4842         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4843         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4844         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4845         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4846         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4847         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4848         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4849         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4850         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4873         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4874         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4875         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4876         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4877         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4878         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4879         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4880         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4881         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4882         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4883         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4884         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4885         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4886         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4887         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4888         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4889         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4890         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4891         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4892         * sysdeps/unix/sysv/linux/system.c: Likewise.
4893         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4894         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4895         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4896         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4897         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4898         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4899         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4900
4901         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4902         * configure: Regenerated.
4903         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4904
4905         * configure.ac (base_machine): Do not set specially for particular
4906         machines here.
4907         * configure: Regenerated.
4908         * sysdeps/powerpc/preconfigure: Move machine and base_machine
4909         settings from configure.ac.
4910         * sysdeps/i386/preconfigure: New file.
4911         * sysdeps/s390/preconfigure: Likewise.
4912         * sysdeps/sh/preconfigure: Likewise.
4913         * sysdeps/sparc/preconfigure: Likewise.
4914
4915 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4916
4917         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4918         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4919         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4920         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4921         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4922         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4923         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4924         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4925         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4926         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4927         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4928         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4929         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4930         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4931         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4932         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4933         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4934         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4935         * sysdeps/sparc/sparc64/Makefile: ... appended here.
4936
4937         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4938         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4939         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4940         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4941         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4942         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4943         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4944         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4945         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4946         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4947         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4948         * sysdeps/sparc/sparc32/sem_post.c: ... here.
4949         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4950         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4951         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4952         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4953         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4954         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4955         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4956         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4957         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4958         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4959         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4960         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4961         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4962         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4963         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4964         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4965         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4966         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4967         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4968         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4969         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4970         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4971         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4972         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4973         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4974         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4975
4976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4977         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4979         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4981         Moved ...
4982         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4983         ... here.
4984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4985         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4987         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4989         Moved ...
4990         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4992         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4994         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4996         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4998         Moved ...
4999         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5001         Moved ...
5002         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5004         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5006         Moved ...
5007         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5009         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5011         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5013         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5015         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5017         Moved ...
5018         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5019         ... here.
5020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5021         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5023         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5025         Moved ...
5026         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5028         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5030         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5032         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5034         Moved ...
5035         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5037         Moved ...
5038         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5040         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5042         Moved ...
5043         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5045         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5047         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5048
5049 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5050
5051         * timezone/checktab.awk: Update from tzcode 2014e.
5052         * timezone/private.h: Likewise.
5053         * timezone/tzfile.h: Likewise.
5054         * timezone/zdump.c: Likewise.
5055         * timezone/zic.c: Likewise.
5056
5057         * sysdeps/unix/sysv/linux/kernel-features.h
5058         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5059         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5060         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5061         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5062         Remove conditional code.
5063
5064 2014-06-25  Will Newton  <will.newton@linaro.org>
5065
5066         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5067         (_dl_arm_cap_flags): Add HWCAP2 values.
5068         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5069         (_DL_HWCAP_COUNT): Increase to 37.
5070         (_DL_HWCAP_LAST): New define.
5071         (_DL_HWCAP2_LAST): New define.
5072         (_dl_procinfo): Add support for printing
5073         AT_HWCAP2 entries.
5074         (_dl_string_hwcap): Use _dl_hwcap_string.
5075
5076 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5077
5078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5079
5080 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5081
5082         * README: Do not mention ports directory.
5083
5084         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5085         Remove macro.
5086         * sysdeps/unix/sysv/linux/futimes.c: Do not include
5087         <kernel-features.h>.
5088         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5089         conditional variable definition.
5090         (__futimes): Update comment.
5091         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5092         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5093
5094         [BZ #16560]
5095         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5096         arguments close to 0.
5097         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5098         Likewise.
5099         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5100         Likewise.
5101         * math/auto-libm-test-in: Add more tests of exp10.
5102         * math/auto-libm-test-out: Regenerated.
5103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5104
5105         * sysdeps/unix/sysv/linux/kernel-features.h
5106         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5107         * sysdeps/unix/sysv/linux/readv.c: Do not include
5108         <kernel-features.h>.
5109         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5110         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5111         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5112         unconditional.
5113         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5114         conditional code.
5115         * sysdeps/unix/sysv/linux/writev.c: Do not include
5116         <kernel-features.h>.
5117         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5118         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5119         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5120         unconditional.
5121         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5122         conditional code.
5123
5124 2014-06-25  Will Newton  <will.newton@linaro.org>
5125
5126         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5127         comment changes throughout the file.  Remove checks
5128         for HAVE_*_H definitions that are not required.
5129         (__gen_tempname): Call abort if an unknown kind value is
5130         passed.
5131
5132 2014-06-25  Andreas Schwab  <schwab@suse.de>
5133
5134         [BZ #17086]
5135         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5136         scalbln, scalblnf, scalblnl in libc.
5137
5138 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5139
5140         [BZ #17086]
5141         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5142         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5143         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5144
5145 2014-06-24  Roland McGrath  <roland@hack.frob.com>
5146
5147         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5148         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5149         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5150         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5151         Update #include.
5152         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5153         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5154         Update #include.
5155         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5156         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5157         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5158         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5159         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5160         * sysdeps/x86/bits/pthreadtypes.h: ... here.
5161         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5162         * sysdeps/x86/bits/semaphore.h: ... here.
5163         * sysdeps/x86/nptl/elide.h: Moved ...
5164         * sysdeps/x86/elide.h: ... here.
5165         * sysdeps/x86_64/nptl/Implies: File removed.
5166         * sysdeps/i386/nptl/Implies: File removed.
5167
5168 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
5169
5170         [BZ #16539]
5171         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5172         return the argument for normal arguments with exponent below -64.
5173         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5174         Likewise.
5175         * math/auto-libm-test-in: Add another test of expm1.
5176         * math/auto-libm-test-out: Regenerated.
5177
5178         [BZ #16287]
5179         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5180         calling __erfcl for arguments at least 16.
5181         * math/auto-libm-test-in: Add more tests of erf.
5182         * math/auto-libm-test-out: Regenerated.
5183
5184         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5185         individual architectures.
5186         * sysdeps/unix/sysv/linux/configure: Regenerated.
5187         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5188         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5189         * sysdeps/unix/sysv/linux/powerpc/configure.ac
5190         (ldd_rewrite_script): Define variable.
5191         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5193         file.
5194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5195         generated file.
5196         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5197         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5198         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5199         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5200         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5201         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5202         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5203         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5204
5205 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5206
5207         [BZ #17084]
5208         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5209         Rename member __data.d to __data.__elision_data.
5210
5211 2014-06-24  Wilco  <wdijkstr@arm.com>
5212
5213         * NEWS: Add 16918 to fixed bug list.
5214
5215 2014-06-24  Wilco  <wdijkstr@arm.com>
5216
5217         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5218
5219 2014-06-24  Wilco  <wdijkstr@arm.com>
5220
5221         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5222         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5223         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5224         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5225         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5226         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5227         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5228         Use _FPU_MASK_RM.
5229
5230 2014-06-24  Wilco  <wdijkstr@arm.com>
5231
5232         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5233
5234 2014-06-24  Wilco  <wdijkstr@arm.com>
5235
5236         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5237         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5238         * sysdeps/arm/fesetround.c (fesetround): Remove space.
5239         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5240
5241 2014-06-24  Wilco  <wdijkstr@arm.com>
5242
5243         [BZ #16918]
5244         * sysdeps/arm/feupdateenv.c (feupdateenv):
5245         Rewrite to reduce FPSCR accesses and fix return value.
5246
5247 2014-06-24  Wilco  <wdijkstr@arm.com>
5248
5249         * sysdeps/arm/fclrexcpt.c (feclearexcept):
5250         Optimize to avoid unnecessary FPSCR writes.
5251         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5252         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5253         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5254         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5255
5256 2014-06-24  Wilco  <wdijkstr@arm.com>
5257
5258         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5259         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5260         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5261         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5262         Call libc_fetestexcept_vfp.
5263         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5264         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5265         __SOFTFP__ ifdef so that they can be built for softfp.
5266
5267 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5268
5269         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5270         argument type signed char.
5271
5272         * Makerules (check-abi): Dump diff of symlist if the test
5273         fails.
5274
5275 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5276
5277         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5278         using abort.
5279
5280         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5281         Remove unused variable ST.
5282
5283 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5284
5285         [BZ #16354]
5286         [BZ #17061]
5287         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5288         small arguments before calling __expm1.
5289         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5290         small arguments before calling __expm1f.
5291         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5292         small arguments before calling __expm1l.
5293         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5294         Likewise.
5295         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5296         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
5297         spurious underflow for some cosh tests.
5298         * math/auto-libm-test-out: Regenerated.
5299         * sysdeps/i386/fpu/libm-test-ulps: Update.
5300
5301         [BZ #17050]
5302         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5303         (__ieee754_y1): Set errno if return value overflows.
5304         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5305         (__ieee754_y1f): Set errno if return value overflows.
5306         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5307         (__ieee754_y1l): Set errno if return value overflows.
5308         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5309         (__ieee754_y1l): Set errno if return value overflows.
5310         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5311         * math/auto-libm-test-out: Regenerated.
5312
5313         * math/gen-auto-libm-tests.c: Document use of
5314         ignore-zero-inf-sign.
5315         (input_flag_type): Add value flag_ignore_zero_inf_sign.
5316         (input_flags): Add ignore-zero-inf-sign.
5317         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5318         * math/gen-libm-test.pl (generate_testfile): Handle
5319         ignore-zero-inf-sign.
5320         * math/auto-libm-test-in: Mark some cpow tests with
5321         ignore-zero-inf-sign and some with xfail-rounding.
5322         * math/auto-libm-test-out: Regenerated.
5323         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5324         * sysdeps/i386/fpu/libm-test-ulps: Update.
5325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5326
5327         [BZ #16315]
5328         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5329         overflowing or underflowing operations take place with sign of
5330         result.
5331         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5332         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5333         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5334         (__ieee754_pow): Recompute overflowing and underflowing results in
5335         original rounding mode.
5336         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5337         (__powl_helper): Allow negative argument X and scale negated value
5338         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
5339         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5340         overflowing or underflowing operations take place with sign of
5341         result.
5342         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5343         Include <math.h>.
5344         * math/auto-libm-test-in: Add more tests of pow.
5345         * math/auto-libm-test-out: Regenerated.
5346         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5347         (pow_tonearest_test_data): Remove.
5348         (pow_test_tonearest): Likewise.
5349         (pow_towardzero_test_data): Likewise.
5350         (pow_test_towardzero): Likewise.
5351         (pow_downward_test_data): Likewise.
5352         (pow_test_downward): Likewise.
5353         (pow_upward_test_data): Likewise.
5354         (pow_test_upward): Likewise.
5355         (main): Don't call removed functions.
5356         * sysdeps/i386/fpu/libm-test-ulps: Update.
5357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5358
5359 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5360
5361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5362         Moved ...
5363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5365         Moved ...
5366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5368         Moved ...
5369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5371         Moved ...
5372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5374         File removed.
5375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5376         File removed.
5377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5378         File removed.
5379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5380         File removed.
5381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5382         File removed.
5383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5384         File removed.
5385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5386         File removed.
5387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5388         File removed.
5389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5390         File removed.
5391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5392         File removed.
5393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5394         File removed.
5395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5396         File removed.
5397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5398         Moved ...
5399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5401         Moved ...
5402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5403         ... here.
5404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5405         Moved ...
5406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5408         Moved ...
5409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5411         Moved ...
5412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5414         Moved ...
5415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5417         Moved ...
5418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5420         Moved ...
5421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5423         Moved ...
5424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5427         ... here.
5428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5429         Moved ...
5430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5432         Moved ...
5433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5434         ... here.
5435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5436         Moved ...
5437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5438         ... here.
5439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5440         Moved ...
5441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5442         ... here.
5443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5444         Moved ...
5445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5447         Moved ...
5448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5452         Moved ...
5453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5454         ... here.
5455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5456         Moved ...
5457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5458         ... here.
5459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5460         Moved ...
5461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5463         Moved ...
5464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5466         Moved ...
5467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5469         Moved ...
5470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5472         Moved ...
5473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5474         ... here.
5475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5476         Moved ...
5477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5479         Moved ...
5480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5482         Moved ...
5483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5485         Moved ...
5486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5490         Moved ...
5491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5493         Moved ...
5494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5496         Moved ...
5497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5498         ... here.
5499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5500         Moved ...
5501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5502         ... here.
5503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5504         Moved ...
5505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5506         ... here.
5507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5508         Moved ...
5509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5511         Moved ...
5512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5514         Moved ...
5515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5517         Moved ...
5518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5519         ... here.
5520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5521         Moved ...
5522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5523         ... here.
5524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5525         Moved ...
5526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5527         ... here.
5528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5529         Moved ...
5530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5532         Moved ...
5533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5534
5535 2014-06-23  Will Newton  <will.newton@linaro.org>
5536             Wilco  <wdijkstr@arm.com>
5537
5538         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5539         implementation.  Include get-rounding-mode.h.
5540         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5541         [!libc_feholdsetround_noex_ctx]: Define
5542         libc_feholdsetround_noex_ctx.
5543         [!libc_feholdsetround_noexf_ctx]: Define
5544         libc_feholdsetround_noexf_ctx.
5545         [!libc_feholdsetround_noexl_ctx]: Define
5546         libc_feholdsetround_noexl_ctx.
5547         (libc_feholdsetround_ctx): New function.
5548         (libc_feresetround_ctx): New function.
5549         (libc_feholdsetround_noex_ctx): New function.
5550         (libc_feresetround_noex_ctx): New function.
5551
5552 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5553
5554         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5555         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5556         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5557         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5558         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5559         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5560
5561         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5562         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5563         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5564         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5565         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5566         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5568         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5569         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5570         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5571         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5572         Moved ...
5573         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5574         ... here.
5575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5576         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5577         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5578         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5579         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5580         Moved ...
5581         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5582         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5583         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5584         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5585         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5586         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5587         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5588         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5589         Moved ...
5590         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5592         Moved ...
5593         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5595         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5596         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5597         Moved ...
5598         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5600         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5601         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5602         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5603         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5604         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5606         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5608         Moved ...
5609         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5610         ... here.
5611         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5612         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5613         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5614         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5615         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5616         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5617         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5618         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5619         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5620         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5621         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5622         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5623         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5624         Moved ...
5625         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5626         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5627         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5628         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5629         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5630         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5631         Moved ...
5632         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5633         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5634         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5635         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5636         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5637
5638         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5639         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5640         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5641         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5642         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5643         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5644         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5645         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5646         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5647         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5648         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5649         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5650         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5651         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5652         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5653         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5654         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5655         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5656         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5657         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5658         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5659         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5660         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5661         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5662         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5663         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5664         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5665         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5666
5667 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5668
5669         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5670         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5671         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5672         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5673         (IPV6_PMTUDISC_INTERFACE): Likewise.
5674         (IPV6_PMTUDISC_OMIT): Likewise.
5675
5676 2014-06-23  Andreas Schwab  <schwab@suse.de>
5677
5678         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5679         Remove unused errout label.
5680
5681 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5682
5683         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5684         macro: hardware supports Vector Crypto instructions.
5685
5686 2014-06-23  Will Newton  <will.newton@linaro.org>
5687
5688         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5689         rather than __builtin_expect.
5690
5691         * elf/dl-lookup.c (undefined_msg): Remove variable.
5692         (_dl_lookup_symbol_x): Replace undefined_msg with string
5693         literal.
5694
5695         * elf/dl-lookup.c (do_lookup_unique): New function.
5696         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5697         to a separate function.
5698
5699 2014-06-23  Andreas Schwab  <schwab@suse.de>
5700
5701         [BZ #17079]
5702         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5703         before reading the next line.
5704
5705 2014-06-23  Will Newton  <will.newton@linaro.org>
5706
5707         * test-skeleton.c (signal_handler): Use printf and %m
5708         rather than perror.  Use printf rather than fprintf to
5709         stderr.  Use puts rather than fputs to stderr.
5710         (main): Likewise.
5711
5712 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5713
5714         * nscd/nscd.c (thread_info_t): Remove typedef.
5715         (thread_info): Remove variable.
5716
5717 2014-06-21  Allan McRae  <allan@archlinux.org>
5718
5719         * NEWS: Mention CVE-2014-4043.
5720
5721 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5722
5723         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5724         * nptl/smp.h: ... here.
5725
5726         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5727
5728         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5729         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5730         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5731         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5732
5733         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5734         * nptl/stack-aliasing.h: New file.
5735         * sysdeps/i386/i686/stack-aliasing.h: New file.
5736         * sysdeps/i386/i686/nptl/Makefile: File removed.
5737         * sysdeps/x86_64/stack-aliasing.h: New file.
5738         * sysdeps/x86_64/nptl/Makefile
5739         (CFLAGS-pthread_create.c): Variable removed.
5740
5741         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5742         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5743         old file.
5744         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5745         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5746         old file.
5747
5748 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5749
5750         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5751         (__ASSUME_SIGFRAME_V2): Remove macro.
5752         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5753         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5754         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5755         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5756         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5757         Declare as function.  Remove conditional macro definitions.
5758         (__default_rt_sa_restorer): Likewise.
5759         (__default_sa_restorer_v1): Remove declaration.
5760         (__default_sa_restorer_v2): Likewise.
5761         (__default_rt_sa_restorer_v1): Likewise.
5762         (__default_rt_sa_restorer_v2): Likewise.
5763         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5764         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5765         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5766
5767 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5768
5769         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5770         (libpthread-routines): Add sysdep.
5771         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5772         * sysdeps/unix/sysv/linux/sparc/Versions
5773         (libpthread: GLIBC_2.3.3): New version set.
5774         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5775         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5776         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5777         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5778         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5779         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5780         Moved ...
5781         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5782         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5783         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5784         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5785         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5786         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5787         * sysdeps/sparc/nptl/sem_init.c: ... here.
5788         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5789         * sysdeps/sparc/nptl/sem_post.c: ... here.
5790         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5791         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5792         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5793         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5794         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5795         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5796         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5797         (libpthread-routines): Add cpu_relax.
5798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5799         File removed.
5800         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5801         (librt: GLIBC_2.3.3): New version set.
5802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5803         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5804         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5805         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5808         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5810         Moved ...
5811         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5813         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5815         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5817         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5819         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5821         Moved ...
5822         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5823         Update #include.
5824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5825         Moved ...
5826         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5827         Update #include.
5828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5829         Moved ...
5830         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5831         Update #include.
5832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5833         Moved ...
5834         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5835         Update #include.
5836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5837         Moved ...
5838         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5839         Update #include.
5840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5841         Moved ...
5842         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5843         Update #include.
5844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5845         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5847         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5849         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5851         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5853         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5855         Moved ...
5856         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5858         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5860         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5861
5862 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5863
5864         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5865         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5866         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5867         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5868         * nscd/nscd.c: Likewise.
5869         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5870         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5871         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5872         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5873
5874         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5875         <kernel-features.h>.
5876         (init_mq_netlink): Remove conditional have_sock_cloexec
5877         definitions.  Remove code conditional on have_sock_cloexec < 0.
5878         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5879         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5880         * sysdeps/unix/sysv/linux/opensock.c: Do not include
5881         <kernel-features.h>.
5882         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5883         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5884
5885 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5886
5887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5888         Add tests for memset_chk and memset.
5889
5890         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5891         with AVX2_Usable.
5892
5893 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5894
5895         [BZ #16046]
5896         * elf/tst-dl-iter-static.c: New file.
5897         * elf/Makefile (tests-static): Add tst-dl-iter-static.
5898
5899         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5900         error.
5901
5902 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5903
5904         * sysdeps/unix/sysv/linux/kernel-features.h
5905         (__ASSUME_F_GETOWN_EX): Remove macro.
5906         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5907         <kernel-features.h>.
5908         (miss_F_GETOWN_EX): Remove variable or macro.
5909         (do_fcntl): Do not check miss_F_GETOWN_EX.
5910         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5911
5912         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5913         Remove macro.
5914         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5915         [!__ASSUME_AT_RANDOM]: Remove conditional code.
5916         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5917
5918         * sysdeps/unix/sysv/linux/kernel-features.h
5919         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5920         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5921         [ADJ_OFFSET_SS_READ]: Make code unconditional.
5922         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5923
5924 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5925
5926         [BZ #17075]
5927         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5928         Fix calculation of the symbol's value.
5929         * sysdeps/arm/tst-armtlsdescloc.c: New file.
5930         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5931         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5932         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5933         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5934         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5935         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5936         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5937         (modules-names): Add `tst-armtlsdescmod',
5938         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5939         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5940         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5941         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5942         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5943         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5944         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5945         ($(objpfx)tst-armtlsdescloc): New dependency.
5946         ($(objpfx)tst-armtlsdescextnow): Likewise.
5947         ($(objpfx)tst-armtlsdescextlazy): Likewise.
5948         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5949         TLS scheme support.
5950         * sysdeps/arm/configure: Regenerate.
5951
5952 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5953
5954         * include/fcntl.h (__atfct_seterrno): Remove prototype.
5955         (__atfct_seterrno_2): Likewise.
5956         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5957         <kernel-features.h>.
5958         (__ASSUME_ATFCTS): Do not undefine and redefine.
5959         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5960         (__have_atfcts): Remove conditional definition.
5961         (__fxstatat([__NR_fstatat64]: Make code unconditional.
5962         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5963         unreachable if [__ASSUME_ATFCTS].
5964         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5965         not undefine and redefine.
5966         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5967         <kernel-features.h>.
5968         (faccessat) [__NR_faccessat]: Make code unconditional.
5969         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5970         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5971         <kernel-features.h>.
5972         (fchmodat) [__NR_fchmodat]: Make code unconditional.
5973         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5974         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5975         <kernel-features.h>.
5976         (fchownat) [__NR_fchownat]: Make code unconditional.
5977         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5978         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5979         <kernel-features.h>.
5980         (futimesat) [__NR_futimesat]: Make code unconditional.
5981         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5982         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5983         <kernel-features.h>.
5984         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5985         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5986         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5987         <kernel-features.h>.
5988         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5989         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5990         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5991         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5992         <kernel-features.h>.
5993         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5994         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5995         * sysdeps/unix/sysv/linux/linkat.c: Do not include
5996         <kernel-features.h>.
5997         (linkat) [__NR_linkat]: Make code unconditional.
5998         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5999         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6000         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6001         <kernel-features.h>.
6002         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6003         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6004         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6005         <kernel-features.h>.
6006         (mkdirat) [__NR_mkdirat]: Make code unconditional.
6007         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6008         * sysdeps/unix/sysv/linux/openat.c: Do not include
6009         <kernel-features.h>.
6010         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6011         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6012         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6013         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6014         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6015         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6016         <kernel-features.h>.
6017         (readlinkat) [__NR_readlinkat]: Make code unconditional.
6018         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
6019         result of INLINE_SYSCALL directly, not via int variable.
6020         * sysdeps/unix/sysv/linux/renameat.c: Do not include
6021         <kernel-features.h>.
6022         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6023         (renameat) [__NR_renameat]: Make code unconditional.
6024         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6025         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6026         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6027         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6028         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6029         (__ASSUME_ATFCTS): Do not undefine and redefine.
6030         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6031         <kernel-features.h>.
6032         (symlinkat) [__NR_symlinkat]: Make code unconditional.
6033         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6034         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6035         <kernel-features.h>.
6036         (unlinkat) [__NR_unlinkat]: Make code unconditional.
6037         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6038         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6039         (__ASSUME_ATFCTS): Do not undefine and redefine.
6040         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6041         <kernel-features.h>.
6042         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6043         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6044         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6045         <kernel-features.h>.
6046         (__xmknodat) [__NR_mknodat]: Make code unconditional.
6047         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6048
6049 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6050
6051         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6052
6053 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
6054
6055         [BZ #17069]
6056         * posix/regcomp.c (parse_reg_exp): Deallocate partially
6057         constructed tree before returning error.
6058         * posix/bug-regexp36.c: Expand test case.
6059
6060 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6061
6062         [BZ #6803]
6063         * math/libm-test.inc (scalbln_test_date):
6064         Add errno expectations.
6065         * math/w_scalblnf.c: New File.
6066         Add wrapper which checks for setting errno to ERANGE.
6067         Add weak_alias for corresponding scalbln function.
6068         * math/w_scalbln.c: Likewise.
6069         * math/w_scalblnl.c: Likewise.
6070         * math/Makefile (libm-calls): Add w_scalbln.
6071         * sysdeps/ieee754/flt-32/s_scalblnf.c:
6072         Remove weak_alias for corresponding scalbln function.
6073         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6074         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6075         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6076         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6077         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6078         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6079         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6080         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6081         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6082         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6083         Remove long_double_symbol for scalblnl function in libm, libc.
6084         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6085         Add wrapper which checks for setting errno to ERANGE.
6086         Add long_double_symbol for scalblnl function in libm, libc.
6087         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6088         Remove long_double_symbol for scalblnl in libm.
6089         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6090         Add wrapper which checks for setting errno to ERANGE.
6091         Add long_double_symbol for scalblnl function in libm.
6092         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6093         Do not use wrapper because of own implementation.
6094
6095 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
6096
6097         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6098         3 bytes for __pad1 for x32.
6099         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6100
6101 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
6102             H.J. Lu  <hongjiu.lu@intel.com>
6103
6104         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6105         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6106         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6107         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6108         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6109
6110 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
6111
6112         [BZ #17069]
6113         * posix/regcomp.c (parse_expression): Deallocate partially
6114         constructed tree before returning error.
6115         * posix/Makefile.c (tests): Add bug-regex36.
6116         (generated): Add bug-regex36.mtrace.
6117         (tests-special): Add $(objpfx)bug-regex36-mem.out
6118         (bug-regex36-ENV): New variable.
6119         ($(objpfx)bug-regex36-mem.out): New rule.
6120         * posix/bug-regex36.c: New file.
6121
6122 2014-06-19  Will Newton  <will.newton@linaro.org>
6123
6124         * malloc/malloc.c (systrim): If extra is zero then return
6125         early.
6126
6127 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6128
6129         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6130
6131 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
6132
6133         * sysdeps/aarch64/strchr.S: New file.
6134
6135 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6136
6137         [BZ #17022]
6138         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6139         from arguments -2 or below.
6140         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6141         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6142
6143 2014-06-18  Andreas Schwab  <schwab@suse.de>
6144
6145         [BZ #17062]
6146         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6147         of a bracket expr not to run off the end of the string.
6148         * posix/Makefile (tests): Add tst-fnmatch3.
6149         * posix/tst-fnmatch3.c: New file.
6150
6151 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6152
6153         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6154         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6155         [$(cross-compiling) = no]: Likewise.
6156         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6157         [$(cross-compiling) = no]: Likewise.
6158
6159 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6160
6161         [BZ #17031]
6162         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6163         double, adjusted for any remainder from the high double.
6164         * math/libm-test.inc (nearbyint): Add tests.
6165         (rint): Likewise.
6166
6167 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6168
6169         * nptl/sysdeps/powerpc/Makefile: Moved ...
6170         * sysdeps/powerpc/nptl/Makefile: ... here.
6171         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6172         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6173         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6174         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6175         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6176         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6177         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6178         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6179         * nptl/sysdeps/powerpc/tls.h: Moved ...
6180         * sysdeps/powerpc/nptl/tls.h: ... here.
6181
6182 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
6183
6184         [BZ #16681]
6185         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6186         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6187         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6188         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6189         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6190         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6191         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6192         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6193         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6194
6195 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
6196
6197         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6198
6199 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
6200
6201         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6202         defined operator.
6203
6204         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6205         $TIMEOUTFACTOR.
6206
6207 2014-06-16  Florian Weimer  <fweimer@redhat.com>
6208
6209         [BZ #17058]
6210         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6211         non-executed part of the test.
6212
6213 2014-06-16  Andreas Schwab  <schwab@suse.de>
6214
6215         * string/bits/string2.h (strdup, strndup): Update feature guard.
6216
6217 2014-06-14  David S. Miller  <davem@davemloft.net>
6218
6219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6220
6221 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
6222
6223         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6224         that was previously under [RESET_PID].
6225         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6226
6227         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6228         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6229         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6230         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6231         (__libc_vfork): New strong alias.
6232         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6233
6234 2014-06-14 Andi Kleen  <ak@linux.intel.com>
6235
6236         * sysdeps/generic/elide.h: New file.
6237
6238 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6239
6240         * Makefile (installed-headers): Adjust path of pthread.h header.
6241
6242 2014-06-13  Roland McGrath  <roland@hack.frob.com>
6243
6244         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6245         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6246         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6247         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6248
6249         * nptl/sysdeps/s390/Makefile: Moved ...
6250         * sysdeps/s390/nptl/Makefile: ... here.
6251         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6252         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6253         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6254         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6255         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6256         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6257         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6258         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6259         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6260         * sysdeps/s390/nptl/pthreaddef.h: ... here.
6261         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6262         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6263         * nptl/sysdeps/s390/tls.h: Moved ...
6264         * sysdeps/s390/nptl/tls.h: ... here.
6265
6266         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6267         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6268
6269 2014-06-13  David S. Miller  <davem@davemloft.net>
6270
6271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6274         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6278         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6279         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6280         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6281         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6282         Remove RESET_PID cpp guards.
6283         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6284         Remove RESET_PID cpp guards.
6285         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6286
6287 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
6288
6289         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6290         __sp to uintptr_t.
6291
6292 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6293
6294         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6295         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6296         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6297         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6298         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6299         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6300         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6301         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6302         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6303         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6304         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6305         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6306         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6307         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6308         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6309         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6310         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6311         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6312         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6313         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6314
6315         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6316         (pthread_rwlock_rdlock): Add elision.
6317         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6318         (pthread_rwlock_wrlock): Add elision.
6319         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6320         (pthread_rwlock_trywrlock): Add elision.
6321         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6322         (pthread_rwlock_tryrdlock): Add elision.
6323         * nptl/pthread_rwlock_unlock.c: Include elide.h.
6324         (pthread_rwlock_tryrdlock): Add elision unlock.
6325         * nptl/sysdeps/pthread/pthread.h:
6326         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6327         (PTHREAD_RWLOCK_INITIALIZER,
6328         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6329         Handle new elision field.
6330         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6331         * sysdeps/arm/nptl/bits/pthreadtypes.h
6332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6333         * sysdeps/sh/nptl/bits/pthreadtypes.h
6334         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6335         * sysdeps/tile/nptl/bits/pthreadtypes.h
6336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6337         * sysdeps/a/nptl/bits/pthreadtypes.h
6338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6339         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6340         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6341         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6342         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6343         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6344         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6345         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6346         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6347         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6348         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6349         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6350         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6351         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6352         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6353         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6354         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6355         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6356         (elision_init): Set try_xbegin to zero when no RTM.
6357         * sysdeps/x86/nptl/bits/pthreadtypes.h
6358         (pthread_rwlock_t): Change __pad1 to __rwelision.
6359         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6360
6361 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6362
6363         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6364         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6365         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6366         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6367
6368 2014-06-13  Meador Inge  <meadori@codesourcery.com>
6369
6370         [BZ #16996]
6371         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6372         that the cached result has been set before returning it.
6373
6374 2014-06-12  Roland McGrath  <roland@hack.frob.com>
6375
6376         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6377         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6378         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6379         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6380         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6381         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6382
6383         * nptl/sysdeps/sparc/Makefile: Moved ...
6384         * sysdeps/sparc/nptl/Makefile: ... here.
6385         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6386         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6387         * nptl/sysdeps/sparc/tls.h: Moved ...
6388         * sysdeps/sparc/nptl/tls.h: ... here.
6389         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6390         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6391         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6392         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6393         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6394         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6395         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6396         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6397         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6398         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6399         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6400         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6401         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6402         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6403         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6404         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6405         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6406         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6407         Update #include.
6408         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6409         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6410         Update #include.
6411         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6412         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6413         Update #include.
6414         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6415         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6416         Update #include.
6417
6418         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6419
6420         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6421         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6422
6423         * sysdeps/pthread/posix-timer.h: Include <list.h>.
6424         (struct list_links): Type removed.
6425         (struct thread_node, struct timer_node): Replace struct list_links
6426         with struct list_head.
6427         (list_unlink_ip): Likewise.
6428         * sysdeps/pthread/timer_routines.c
6429         (timer_free_list, thread_free_list, thread_active_list): Likewise.
6430         (list_append, list_insbefore): Likewise.
6431         (list_init): Function removed.
6432         (thread_init, init_module): Use INIT_LIST_HEAD instead.
6433         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6434         * sysdeps/pthread/Makefile: ... here, new file.
6435
6436         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6437         * sysdeps/nptl/Implies: ... here.
6438         * sysdeps/unix/sysv/linux/Implies: Add nptl.
6439         * nptl/sysdeps/pthread/list.h: Moved ...
6440         * include/list.h: ... here.
6441         * nptl/sysdeps/pthread/createthread.c: Moved ...
6442         * nptl/createthread.c: ... here.
6443         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6444         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6445         * nptl/pt-longjmp.c: ... here.
6446         * nptl/sysdeps/pthread/Makefile: Moved ...
6447         * sysdeps/nptl/Makefile: ... here.
6448         * nptl/sysdeps/pthread/Subdirs: Moved ...
6449         * sysdeps/nptl/Subdirs: ... here.
6450         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6451         * sysdeps/nptl/aio_misc.h: ... here.
6452         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6453         * sysdeps/nptl/bits/libc-lock.h: ... here.
6454         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6455         * sysdeps/nptl/bits/libc-lockP.h: ... here.
6456         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6457         * sysdeps/nptl/bits/stdio-lock.h: ... here.
6458         * nptl/sysdeps/pthread/configure: Moved ...
6459         * sysdeps/nptl/configure: ... here.
6460         * nptl/sysdeps/pthread/configure.ac: Moved ...
6461         * sysdeps/nptl/configure.ac: ... here.
6462         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6463         * sysdeps/nptl/gai_misc.h: ... here.
6464         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6465         * sysdeps/nptl/librt-cancellation.c: ... here.
6466         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6467         * sysdeps/nptl/malloc-machine.h: ... here.
6468         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6469         * sysdeps/nptl/pthread-functions.h: ... here.
6470         * nptl/sysdeps/pthread/pthread.h: Moved ...
6471         * sysdeps/nptl/pthread.h: ... here.
6472         * nptl/sysdeps/pthread/setxid.h: Moved ...
6473         * sysdeps/nptl/setxid.h: ... here.
6474         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6475         * sysdeps/nptl/sigfillset.c: ... here.
6476         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6477         * sysdeps/nptl/tcb-offsets.h: ... here.
6478         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6479         * sysdeps/nptl/tst-mqueue8x.c: ... here.
6480         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6481         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6482         * nptl/sysdeps/pthread/allocalim.h: Moved ...
6483         * sysdeps/pthread/allocalim.h: ... here.
6484         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6485         * sysdeps/pthread/bits/sigthread.h: ... here.
6486         * nptl/sysdeps/pthread/flockfile.c: Moved ...
6487         * sysdeps/pthread/flockfile.c: ... here.
6488         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6489         * sysdeps/pthread/ftrylockfile.c: ... here.
6490         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6491         * sysdeps/pthread/funlockfile.c: ... here.
6492         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6493         * sysdeps/pthread/posix-timer.h: ... here.
6494         * nptl/sysdeps/pthread/timer_create.c: Moved ...
6495         * sysdeps/pthread/timer_create.c: ... here.
6496         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6497         * sysdeps/pthread/timer_delete.c: ... here.
6498         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6499         * sysdeps/pthread/timer_getoverr.c: ... here.
6500         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6501         * sysdeps/pthread/timer_gettime.c: ... here.
6502         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6503         * sysdeps/pthread/timer_routines.c: ... here.
6504         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6505         * sysdeps/pthread/timer_settime.c: ... here.
6506         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6507         * sysdeps/pthread/tst-timer.c: ... here.
6508         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6509         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6510
6511         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6512         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6513
6514         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6515         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6516         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6517         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6518         Update #include target.
6519         * nptl/sysdeps/i386/i686/Makefile: Moved ...
6520         * sysdeps/i386/i686/nptl/Makefile: ... here.
6521         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6522         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6523         Update #include target.
6524         * nptl/sysdeps/i386/i686/tls.h: Moved ...
6525         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
6526         * nptl/sysdeps/i386/Makefile: Moved ...
6527         * sysdeps/i386/nptl/Makefile: ... here.
6528         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6529         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6530         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6531         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6532         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6533         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6534         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6535         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6536         * sysdeps/i386/nptl/pthreaddef.h: ... here.
6537         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6538         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6539         * nptl/sysdeps/i386/tls.h: Moved ...
6540         * sysdeps/i386/nptl/tls.h: ... here.
6541
6542         * sysdeps/sh/Makefile [$(subdir) = csu]
6543         (gen-as-const-headers): Add tcb-offsets.sym.
6544         * nptl/sysdeps/sh/Makefile: File removed.
6545         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6546         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6547         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6548         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6549         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6550         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6551         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6552         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6553         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6554         * sysdeps/sh/nptl/pthreaddef.h: ... here.
6555         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6556         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6557         * nptl/sysdeps/sh/tls.h: Moved ...
6558         * sysdeps/sh/nptl/tls.h: ... here.
6559         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6560         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6561         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6562         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6563         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6564         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6565         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6566         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6567         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6568         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6569         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6570         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6571         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6572         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6573         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6574         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6575         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6576         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6577         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6578         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6579         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6580         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6581         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6582         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6583         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6584         Moved ...
6585         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6586         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6587         Moved ...
6588         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6589         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6590         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6591         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6592         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6593         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6594         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6595         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6596         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6597         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6598         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6599         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6600         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6601         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6602         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6603         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6604         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6605         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6606         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6607
6608 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6609
6610         * posix/spawn_faction_addopen.c: Include string.h.
6611
6612 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6613
6614         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6615         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6616         * nptl/sysdeps/x86_64/Makefile: Moved ...
6617         * sysdeps/x86_64/nptl/Makefile: ... here.
6618         * nptl/sysdeps/x86_64/configure: Moved ...
6619         * sysdeps/x86_64/nptl/configure: ... here.
6620         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6621         * sysdeps/x86_64/nptl/configure.ac: ... here.
6622         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6623         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6624         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6625         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6626         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6627         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6628         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6629         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6630         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6631         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6632         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6633         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6634         * nptl/sysdeps/x86_64/tls.h: Moved ...
6635         * sysdeps/x86_64/nptl/tls.h: ... here.
6636         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6637         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6638         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6639         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6640
6641         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6642
6643 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6644
6645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6646
6647 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6648
6649         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6650         type.
6651         [POSIX] (off_t): Likewise.
6652         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6653         [POSIX] (S_ISBLK): Require macro.
6654         [POSIX] (S_ISCHR): Likewise.
6655         [POSIX] (S_ISDIR): Likewise.
6656         [POSIX] (S_ISFIFO): Likewise.
6657         [POSIX] (S_ISREG): Likewise.
6658         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6659         optional-macro.
6660         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6661         type.
6662         [POSIX] (time_t): Likewise.
6663         [POSIX] (timer_t): Likewise.
6664
6665 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6666
6667         [BZ #17048]
6668         * posix/spawn_int.h (struct __spawn_action): Make the path string
6669         non-const to support deallocation.
6670         * posix/spawn_faction_addopen.c
6671         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6672         * posix/spawn_faction_destroy.c
6673         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6674         path in all spawn_do_open actions.
6675         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6676         posix_spawn_file_actions_addopen.
6677
6678 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6679
6680         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6681         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6682         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6683         conditional code always true.
6684         (__libc_vfork): New alias.
6685
6686 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6687
6688         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6689         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6690
6691         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6692
6693         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6694         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6695
6696         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6697         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6698
6699         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6700         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6701
6702 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6703
6704         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6705         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6706         multiarch strcmp for PPC64.
6707         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6708         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6710         multiarch optimizations.
6711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6712         (__libc_ifunc_impl_list): Likewise.
6713
6714 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6715
6716         * benchtests/scripts/validate_benchout.py: New script.
6717         * benchtests/Makefile (bench-func): Call it.
6718         * benchtests/scripts/benchout.schema.json: New file.
6719
6720 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6721
6722         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6723         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6724         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6725         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6726         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6727         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6728         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6729         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6730         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6731         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6732         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6733         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6734         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6735         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6736         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6737         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6739         Moved ...
6740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6741         ... here.
6742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6743         Moved ...
6744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6746         Moved ...
6747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6748         ... here.
6749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6750         Moved ...
6751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6752         ... here.
6753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6754         Moved ...
6755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6757         Moved ...
6758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6759         ... here.
6760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6761         Moved ...
6762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6763         ... here.
6764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6765         Moved ...
6766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6768         Moved ...
6769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6770         ... here.
6771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6772         Moved ...
6773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6774         ... here.
6775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6776         Moved ...
6777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6778         ... here.
6779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6780         Moved ...
6781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6783         Moved ...
6784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6785         ... here.
6786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6787         Moved ...
6788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6789         ... here.
6790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6791         Moved ...
6792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6793         ... here.
6794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6795         Moved ...
6796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6798         Moved ...
6799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6800         ... here.
6801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6802         Moved ...
6803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6804         ... here.
6805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6806         Moved ...
6807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6809         Moved ...
6810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6811         ... here.
6812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6813         Moved ...
6814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6816         Moved ...
6817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6819         Moved ...
6820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6821         ... here.
6822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6823         Moved ...
6824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6825         ... here.
6826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6827         Moved ...
6828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6829         ... here.
6830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6831         Moved ...
6832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6834         Moved ...
6835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6836         ... here.
6837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6838         Moved ...
6839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6840         ... here.
6841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6842         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6844         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6845         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6846         Moved ...
6847         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6848         ... here.
6849         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6850         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6852         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6853         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6854         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6855         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6856         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6857         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6858         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6859         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6860         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6861         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6862         Moved ...
6863         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6864         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6865         Moved ...
6866         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6868         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6869         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6870         Moved ...
6871         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6872         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6873         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6874         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6875         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6876         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6877         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6878
6879 2014-06-10  Wilco  <wdijkstr@arm.com>
6880
6881         * math/test-fenv-return.c: New file.
6882         * math/Makefile: Add new test test-fenv-return.
6883
6884 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
6885
6886         [BZ #17042]
6887         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6888         when x - 1 is zero.
6889         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6890         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6891         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6892         0.0L for an argument of 1.0L.
6893         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6894         Likewise.
6895         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6896         value when x - 1 is zero.
6897         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6898         * sysdeps/i386/fpu/libm-test-ulps: Update.
6899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6900
6901 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
6902
6903         [BZ #15119]
6904         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6905
6906 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6907
6908         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6909         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6910
6911 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6912
6913         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6914         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6915
6916         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6917         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6918
6919         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6920         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6921
6922         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6923         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6924
6925         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6926         if not already defined.
6927         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6928         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6929         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6930         (TLS_INIT_TP): Use it.
6931         (TLS_DEFINE_INIT_TP): New macro.
6932         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6933
6934 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
6935
6936         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6937         constant.
6938         [POSIX] (IXANY): Likewise.
6939         [POSIX] (OLCUC): Likewise.
6940         [POSIX || POSIX2008] (CBAUD): Do not allow.
6941         [POSIX || POSIX2008] (DEFECHO): Likewise.
6942         [POSIX || POSIX2008] (ECHOCTL): Likewise.
6943         [POSIX || POSIX2008] (ECHOKE): Likewise.
6944         [POSIX || POSIX2008] (ECHOPRT): Likewise.
6945         [POSIX || POSIX2008] (EXTA): Likewise.
6946         [POSIX || POSIX2008] (EXTB): Likewise.
6947         [POSIX || POSIX2008] (FLUSHO): Likewise.
6948         [POSIX || POSIX2008] (LOBLK): Likewise.
6949         [POSIX || POSIX2008] (PENDIN): Likewise.
6950         [POSIX || POSIX2008] (SWTCH): Likewise.
6951         [POSIX || POSIX2008] (VDISCARD): Likewise.
6952         [POSIX || POSIX2008] (VDSUSP): Likewise.
6953         [POSIX || POSIX2008] (VLNEXT): Likewise.
6954         [POSIX || POSIX2008] (VREPRINT): Likewise.
6955         [POSIX || POSIX2008] (VSTATUS): Likewise.
6956         [POSIX || POSIX2008] (VWERASE): Likewise.
6957         (B*): Change to B[0123456789]*.
6958         * conform/data/time.h-data [POSIX || UNIX98]
6959         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6960         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6961         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6962         [POSIX] (tm_*): Do not allow.
6963
6964 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
6965
6966         * Makefile (install): Don't set LANGUAGE.
6967         * Makefile.in (install): Likewise.
6968         * assert/Makefile (test-assert-ENV): Remove variable.
6969         (test-assert-perr-ENV): Likewise.
6970         * elf/Makefile (neededtest4-ENV): Likewise.
6971         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6972         [$(cross-compiling) = no]: Don't set LANGUAGE.
6973         * io/ftwtest-sh (LANG): Remove variable.
6974         * libio/Makefile (tst-widetext-ENV): Likewise.
6975         * manual/install.texi (Running make install): Don't refer to
6976         environment settings for make install.
6977         * INSTALL: Regenerated.
6978         * nptl/tst-tls6.sh: Don't set LANG.
6979         * posix/globtest.sh (LANG): Remove variable.
6980         * string/Makefile (tester-ENV): Likewise.
6981         (inl-tester-ENV): Likewise.
6982         (noinl-tester-ENV): Likewise.
6983         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6984         [$(cross-compiling) = no]: Don't set LANGUAGE.
6985         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6986         without explicit environment settings.
6987
6988 2014-06-06  Roland McGrath  <roland@hack.frob.com>
6989
6990         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6991         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6992         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6993         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6994
6995 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
6996
6997         * crypt/crypt-private.h [DOS]: Add some includes taken from the
6998         other files in the crypt directory.
6999         * crypt/crypt.c: Remove duplicate includes.
7000         * crypt/crypt-entry.c: Likewise.
7001         * crypt/crypt_util.c: Likewise.
7002
7003 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
7004
7005         * Makeconfig (run-program-env): New variable.
7006         (run-program-prefix-before-env): Likewise.
7007         (run-program-prefix-after-env): Likewise.
7008         (run-program-prefix): Define in terms of new variables.
7009         (built-program-cmd-before-env): New variable.
7010         (built-program-cmd-after-env): Likewise.
7011         (built-program-cmd): Define in terms of new variables.
7012         (test-program-prefix-before-env): New variable.
7013         (test-program-prefix-after-env): Likewise.
7014         (test-program-prefix): Define in terms of new variables.
7015         (test-program-cmd-before-env): New variable.
7016         (test-program-cmd-after-env): Likewise.
7017         (test-program-cmd): Define in terms of new variables.
7018         * Rules (make-test-out): Use $(run-program-env).
7019         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7020         (help): Do not mention environment variables.  Mention
7021         --timeoutfactor option.
7022         (timeoutfactor): New variable.
7023         (blacklist_exports): Remove function.
7024         (exports): Remove variable.
7025         (command): Do not include ${exports}.
7026         * manual/install.texi (Configuring and compiling): Do not mention
7027         test wrappers preserving environment variables.  Mention that last
7028         assignment to a variable must take precedence.
7029         * INSTALL: Regenerated.
7030         * benchtests/Makefile (run-bench): Use $(run-program-env).
7031         * catgets/Makefile ($(objpfx)test1.cat): Use
7032         $(built-program-cmd-before-env), $(run-program-env) and
7033         $(built-program-cmd-after-env).
7034         ($(objpfx)test2.cat): Do not specify environment variables
7035         explicitly.
7036         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7037         $(run-program-env) and $(built-program-cmd-after-env).
7038         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7039         $(run-program-env) and $(test-program-cmd-after-env).
7040         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7041         explicitly.
7042         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7043         run_program_env and test_program_cmd_after_env arguments.
7044         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7045         * elf/tst-pathopt.sh: Use run_program_env argument.
7046         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7047         $(test-wrapper-env) and $(run-program-env).
7048         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7049         run_program_env arguments.
7050         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7051         * intl/Makefile ($(objpfx)tst-gettext.out): Use
7052         $(test-program-prefix-before-env), $(run-program-env) and
7053         $(test-program-prefix-after-env).
7054         ($(objpfx)tst-gettext2.out): Likewise.
7055         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7056         run_program_env and test_program_prefix_after_env arguments.
7057         * intl/tst-gettext2.sh: Likewise.
7058         * intl/tst-gettext4.sh: Do not set environment variables
7059         explicitly.
7060         * intl/tst-gettext6.sh: Likewise.
7061         * intl/tst-translit.sh: Likewise.
7062         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7063         $(test-program-prefix-before-env), $(run-program-env) and
7064         $(test-program-prefix-after-env).
7065         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7066         run_program_env and test_program_prefix_after_env arguments.
7067         * math/Makefile (run-regen-ulps): Use $(run-program-env).
7068         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7069         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
7070         explicitly with each use of ${test_wrapper_env}.
7071         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7072         $(test-program-prefix-before-env), $(run-program-env) and
7073         $(test-program-prefix-after-env).
7074         * posix/tst-getconf.sh: Do not set environment variables
7075         explicitly.
7076         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7077         run_program_env and test_program_prefix_after_env arguments.
7078         * stdio-common/tst-printf.sh: Do not set environment variables
7079         explicitly.
7080         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7081         $(test-program-prefix-before-env), $(run-program-env) and
7082         $(test-program-prefix-after-env).
7083         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7084         run_program_env and test_program_prefix_after_env arguments.
7085         Split $test calls into $test_pre and $test.
7086         * timezone/Makefile (build-testdata): Use
7087         $(built-program-cmd-before-env), $(run-program-env) and
7088         $(built-program-cmd-after-env).
7089
7090 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7091
7092         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7093         strlen for non SHARED builds.
7094
7095 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7096
7097         * nptl/allocatestack.c (check_list): Inlined function...
7098         (__reclaim_stacks): ... here.
7099
7100 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7101
7102         [BZ #15698]
7103         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7104         memory overrun.
7105
7106 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
7107
7108         * Rules (make-test-out): Include
7109         LOCPATH=$(common-objpfx)localedata in default environment.
7110         * debug/Makefile (tst-chk1-ENV): Remove variable.
7111         (tst-chk2-ENV): Likewise.
7112         (tst-chk3-ENV): Likewise.
7113         (tst-chk4-ENV): Likewise.
7114         (tst-chk5-ENV): Likewise.
7115         (tst-chk6-ENV): Likewise.
7116         (tst-lfschk1-ENV): Likewise.
7117         (tst-lfschk2-ENV): Likewise.
7118         (tst-lfschk3-ENV): Likewise.
7119         (tst-lfschk4-ENV): Likewise.
7120         (tst-lfschk5-ENV): Likewise.
7121         (tst-lfschk6-ENV): Likewise.
7122         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7123         (tst-iconv7-ENV): Likewise.
7124         * intl/Makefile (LOCPATH-ENV): Likewise.
7125         (tst-codeset-ENV): Likewise.
7126         (tst-gettext3-ENV): Likewise.
7127         (tst-gettext5-ENV): Likewise.
7128         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7129         (tst-fopenloc-ENV): Likewise.
7130         (tst-fgetws-ENV): Remove variable.
7131         (tst-ungetwc1-ENV): Likewise.
7132         (tst-ungetwc2-ENV): Likewise.
7133         (bug-ungetwc2-ENV): Likewise.
7134         (tst-swscanf-ENV): Likewise.
7135         (bug-ftell-ENV): Likewise.
7136         (tst-fgetwc-ENV): Likewise.
7137         (tst-fseek-ENV): Likewise.
7138         (tst-ftell-partial-wide-ENV): Likewise.
7139         (tst-ftell-active-handler-ENV): Likewise.
7140         (tst-ftell-append-ENV): Likewise.
7141         * posix/Makefile (tst-fnmatch-ENV): Likewise.
7142         (tst-regexloc-ENV): Likewise.
7143         (bug-regex1-ENV): Likewise.
7144         (tst-regex-ENV): Likewise.
7145         (tst-regex2-ENV): Likewise.
7146         (bug-regex5-ENV): Likewise.
7147         (bug-regex6-ENV): Likewise.
7148         (bug-regex17-ENV): Likewise.
7149         (bug-regex18-ENV): Likewise.
7150         (bug-regex19-ENV): Likewise.
7151         (bug-regex20-ENV): Likewise.
7152         (bug-regex22-ENV): Likewise.
7153         (bug-regex23-ENV): Likewise.
7154         (bug-regex25-ENV): Likewise.
7155         (bug-regex26-ENV): Likewise.
7156         (bug-regex30-ENV): Likewise.
7157         (bug-regex32-ENV): Likewise.
7158         (bug-regex33-ENV): Likewise.
7159         (bug-regex34-ENV): Likewise.
7160         (bug-regex35-ENV): Likewise.
7161         (tst-rxspencer-ENV): Likewise.
7162         (tst-rxspencer-no-utf8-ENV): Likewise.
7163         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7164         (tst-sscanf-ENV): Likewise.
7165         (tst-swprintf-ENV): Likewise.
7166         (tst-swscanf-ENV): Likewise.
7167         (test-vfprintf-ENV): Likewise.
7168         (scanf13-ENV): Likewise.
7169         (bug14-ENV): Likewise.
7170         (tst-grouping-ENV): Likewise.
7171         * stdlib/Makefile (tst-strtod-ENV): Likewise.
7172         (tst-strtod3-ENV): Likewise.
7173         (tst-strtod4-ENV): Likewise.
7174         (tst-strtod5-ENV): Likewise.
7175         (testmb2-ENV): Likewise./
7176         * string/Makefile (tst-strxfrm-ENV): Likewise.
7177         (tst-strxfrm2-ENV): Likewise.
7178         (bug-strcoll1-ENV): Likewise.
7179         (test-strcasecmp-ENV): Likewise.
7180         (test-strncasecmp-ENV): Likewise.
7181         * time/Makefile (tst-strptime-ENV): Likewise.
7182         (tst-ftime_l-ENV): Likewise.
7183         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7184         (tst-mbrtowc-ENV): Likewise.
7185         (tst-wcrtomb-ENV): Likewise.
7186         (tst-mbrtowc2-ENV): Likewise.
7187         (tst-c16c32-1-ENV): Likewise.
7188         (tst-mbsnrtowcs-ENV): Likewise.
7189
7190 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7191
7192         * manual/resource.texi (How to get information about the memory
7193         subsystem?): Fix typo.
7194         Reported by Peon de la Parra Ivan <peon@keba.com>
7195
7196 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
7197
7198         [BZ #16882]
7199         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7200         (pthread_spin_lock): Branch out of spin loop to proper location.
7201         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7202         (pthread_spin_lock): Likewise.
7203
7204         * nptl/tst-spin4.c: New test.
7205         * nptl/Makefile (tests): Add tst-spin4.
7206
7207 2014-06-03  Andreas Schwab  <schwab@suse.de>
7208
7209         [BZ #15946]
7210         * resolv/res_send.c (send_dg): Reload file descriptor after
7211         calling reopen.
7212
7213 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
7214
7215         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7216
7217 2014-06-03  Richard Henderson  <rth@redhat.com>
7218
7219         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7220         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7221         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7222         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
7223         in the SAVE_PID block.
7224         (__libc_vfork): New alias.
7225         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7226
7227         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7228         child in registers, not on the stack.  Remove RESET_PID conditionals.
7229         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7230
7231 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7232
7233         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7234
7235 2014-06-03  Wilco  <wdijkstr@arm.com>
7236
7237         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7238         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7239         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7240         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7241         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7242         Likewise.
7243
7244 2014-06-03  Wilco  <wdijkstr@arm.com>
7245
7246         * sysdeps/aarch64/fpu/math_private.h
7247         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7248         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7249         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7250         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7251         Fix declarations.
7252
7253 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7254
7255         * crypt/crypt-private.h: Include ufc-crypt.h.
7256         (__b64_from_24bit): Declare extern.
7257         * crypt/crypt_util.c(__b64_from_24bit): New function.
7258         (b64t): New static const variable.
7259         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7260         (b64t): Remove variable.
7261         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7262         * crypt/sha256-crypt.c: Include crypt-private.h.
7263         (b64t): Remove variable.
7264         (__sha256_crypt_r): Remove b64_from_24bit and replace
7265         with __b64_from_24bit.
7266         * crypt/sha512-crypt.c: Likewise.
7267
7268 2014-06-02  Roland McGrath  <roland@hack.frob.com>
7269
7270         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7271         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7272         Label the code __libc_vfork rather than __vfork.
7273         [!NOT_IN_libc] (vfork): Define as weak alias.
7274         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7275         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7276         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7277
7278 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7279
7280         * malloc/malloc.c (malloc_info): Fix format specifier for
7281         n_mmaps.
7282
7283 2014-06-02  Wilco  <wdijkstr@arm.com>
7284
7285         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7286         FPCR write.
7287
7288 2014-06-02  Wilco  <wdijkstr@arm.com>
7289
7290         [BZ #17009]
7291         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7292         Rewrite to reduce FPCR/FPSR accesses.
7293
7294 2014-06-01  David S. Miller  <davem@davemloft.net>
7295
7296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7297
7298 2014-05-31  David S. Miller  <davem@davemloft.net>
7299
7300         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7301         to occur in round to nearest mode when |x| >= 2.0
7302
7303 2014-05-30  Richard Henderson  <rth@twiddle.net>
7304
7305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7306         (PSEUDO_RET_NOERRNO): Remove.
7307         (ret): Don't redefine.
7308         (ret_NOERRNO): Define in terms of ret.
7309         (ret_ERRVAL): Likewise.
7310
7311         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7312         use of PSEUDO_RET; perform the error check directly.
7313
7314 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
7315
7316         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7317         with __int128_t.
7318
7319 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7320
7321         * malloc/malloc (malloc_info): Fix formatting.
7322
7323 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7324             Roland McGrath  <roland@hack.frob.com>
7325
7326         * malloc/malloc (malloc_info): Also print mmapped statistics.
7327
7328 2014-05-30  Roland McGrath  <roland@hack.frob.com>
7329
7330         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7331         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7332
7333 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
7334
7335         * malloc/malloc.c (malloc_info): Inline mi_arena.
7336
7337 2014-05-29  Richard Henderson  <rth@twiddle.net>
7338
7339         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7340         Remove comma before expanding ASM_ARGS_##nr.
7341         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7342         Make _x0 a strict output; make _x8 a strict input; adjust expansion
7343         of ASM_ARGS_##nr.
7344         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7345         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7346         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7347         (ASM_ARGS_1): Add leading comma.
7348
7349         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7350         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7351         to __errno_location.
7352         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7353         Remove the expected plt for __errno_location.
7354
7355         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7356         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7357         call to __read_tp.
7358
7359         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7360         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
7361         it and break it down.
7362         (DOCARGS_0, DOCARGS_1): Do nothing.
7363         (DOCARGS_2): Update to store into the new stack frame.
7364         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7365         (UNDOCARGS_1): Update to restore from the new stack frame.
7366         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7367         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7368
7369         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7370         (SINGLE_THREAD_P): New parameter for result regno.
7371         (PSEUDO): Update to match; use cbz instead of beq.
7372
7373         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7374         Use ENTRY to define the _nocancel entry point.  Share the syscall
7375         and syscall error check paths with the cancel path.
7376         (PSEUDO_END): New.
7377
7378         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7379         whitespace; tabs before and after asm mnemonics.
7380
7381 2014-05-29  Eric Wong  <normalperson@yhbt.net>
7382
7383         [BZ #15132]
7384         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7385         Call fstat64 or stat64 internally, depending on arguments passed.
7386         Replace stat buffer argument with file descriptor argument.
7387         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7388         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7389         Pass fd to __internal_statvfs instead of calling fstat64.
7390         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7391         Pass fd to __internal_statvfs64 instead of calling fstat64.
7392         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7393         Pass -1 to __internal_statvfs instead of calling stat64.
7394         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7395         Pass -1 to __internal_statvfs64 instead of calling stat64.
7396
7397 2014-05-28  Roland McGrath  <roland@hack.frob.com>
7398
7399         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7400         that was previously under [RESET_PID].
7401         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7402
7403         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7404         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7405
7406 2014-05-27  Roland McGrath  <roland@hack.frob.com>
7407
7408         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7409
7410         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7411         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7412
7413 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
7414
7415         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7416
7417 2014-05-27  Andreas Schwab  <schwab@suse.de>
7418
7419         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7420         TLS_INIT_TP macro.
7421         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7422         * elf/rtld.c (init_tls, dl_main): Likewise.
7423         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7424         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7425         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7426         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7427         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7428         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7429         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7430         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7431         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7432         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7433         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7434         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7435         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7436         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7437         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7438         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7439         * sysdeps/generic/tls.h: Update description.
7440
7441 2014-05-27  Will Newton  <will.newton@linaro.org>
7442
7443         [BZ #16990]
7444         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7445         and restore r2 rather than just restoring.
7446
7447 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7448
7449         [BZ #16724]
7450         * libio/tst-ftell-append.c: New test case.
7451         * libio/Makefile (tests): Add test case.
7452         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7453         append mode.
7454         * libio/wfileops.c (do_ftell_wide): Likewise.
7455
7456 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7457
7458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7459
7460         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7461         ...
7462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7464         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7465         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7466         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7467         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7468         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7469         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7471         Moved ...
7472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7474         Moved ...
7475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7476         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7477         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7478         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7479         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7480         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7481         ...
7482         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7483         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7484         Moved ...
7485         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7486         here.
7487         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7488         ...
7489         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7490         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7491         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7492
7493         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7494         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7495         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7496         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7497
7498         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7499         merge into ...
7500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7501         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7502         ...
7503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7504         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7505         ...
7506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7508         Moved ...
7509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7510         here.
7511         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7512         Moved ...
7513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7515         Moved ...
7516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7517
7518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7519         conditional [RESET_PID].
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7522         removed.
7523         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7524         removed.
7525
7526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7527         <tcb-offsets.h>.
7528         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7529         (__libc_vfork): New strong alias.
7530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7531         removed.
7532         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7533         Removed.
7534
7535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7536         <tcb-offsets.h>.
7537         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7538         (__libc_vfork): New strong alias.
7539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7540         removed.
7541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7542         removed.
7543
7544 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
7545
7546         * malloc/malloc.c (mi_arena): New function.
7547         (malloc_info): Remove nested function mi_arena. Call non-nosted
7548         function mi_arena.
7549
7550 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7551
7552         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7553         by insrwi.
7554         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7555         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7556         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7557         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7558         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7559         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7560         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7561
7562 2014-05-26  Andreas Schwab  <schwab@suse.de>
7563
7564         [BZ #16984]
7565         * locale/programs/repertoire.c (repertoire_read): Add slash
7566         between I18NPATH element and file name.
7567         * locale/programs/locfile.c (locfile_read): Likewise.
7568
7569 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7570
7571         * nptl/pthread_mutexattr_settype.c
7572         (__pthread_mutexattr_settype):
7573         Disable lock elision for PTHREAD_MUTEX_NORMAL.
7574
7575 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7576
7577         * nptl/tst-mutex5 (do_test):
7578         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7579
7580 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7581
7582         * benchtests/README: Document 'init' directive.
7583         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7584         BENCH_INIT.
7585         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7586         (parse_file): Recognize 'init' directive.
7587
7588 2014-05-26  Kyle McMartin  <kyle@redhat.com>
7589
7590         [BZ #16796]
7591         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7592         alignment of struct pthread.
7593
7594 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7595
7596         [BZ #16878]
7597         * nscd/netgroupcache.c (addgetnetgrentX): Look for
7598         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7599         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7600         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7601
7602 2014-05-25  Richard Henderson  <rth@twiddle.net>
7603
7604         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7605         (SINGLE_THREAD_P_PIC): Remove.
7606         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7607         (SINGLE_THREAD_P_PIC): Remove.
7608
7609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7610         branch to syscall error ...
7611         (PSEUDO): ... here.
7612         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7613         from __local_syscall_error to .Lsyscall_error.
7614         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7615         (SYSCALL_ERROR): Update label name.
7616
7617         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7618         Do not use DOARGS/UNDOARGS.
7619         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7620         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7621         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7622         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7623         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7624
7625         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7626         block comment.
7627
7628         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7629         define if !NOT_IN_libc.
7630         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7631         define with non-default symbol versions.
7632
7633 2014-05-23  Richard Henderson  <rth@twiddle.net>
7634
7635         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7636         (vfork, __vfork): Define via compat_symbol.
7637
7638         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7639         [!HAVE_IFUNC] (vfork_compat): Remove.
7640         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7641
7642 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7643
7644         [BZ #16978]
7645         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7646         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7647         variable.
7648
7649 2014-05-23  Richard Henderson  <rth@twiddle.net>
7650
7651         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7652         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7653         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7654         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7655
7656         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7657         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7658         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7659         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7660         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7661         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7662         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7663         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7664         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7665         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7666         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7667         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7668         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7669         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7670         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7671         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7672         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7673         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7674         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7675         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7676         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7677         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7678         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7679         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7680         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7681         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7682         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7683         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7684         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7685         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7686         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7687         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7688         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7689         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7690         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7691         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7692         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7693         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7694         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7695         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7696         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7697         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7698         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7699         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7700         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7701         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7702         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7703         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7704         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7705         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7706         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7707         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7708         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7709         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7710         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7711         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7712
7713         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7714         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7715         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7716         before exiting on error.
7717         (__libc_vfork): New strong alias.
7718         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7719         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7720
7721         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7722         that was previously under [RESET_PID].
7723         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7724
7725         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7726
7727 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7728
7729         [BZ #16977]
7730         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7731         value when x - 1 is zero.
7732         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7733         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7734         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7735         0.0L for an argument of 1.0L.
7736         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7737         Likewise.
7738         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7739         value when x - 1 is zero.
7740         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7741         * sysdeps/i386/fpu/libm-test-ulps: Update.
7742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7743
7744 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7745
7746         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7747         alphasort and versionsort.
7748
7749 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7750
7751         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7752         macro.
7753         [copysignf]: Likewise.
7754
7755 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7756
7757         * crypt/md5-crypt.c: Fix formatting.
7758
7759 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7760
7761         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7762         (b64_from_24bit): New function.
7763
7764 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7765
7766         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7767         libc_hidden_builtin_def to ifunc.
7768         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7769         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7770
7771 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7772
7773         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7774         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7775
7776 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7777
7778         * nscd/Depend (linuxthreads): Remove.
7779         (nptl): Add.
7780         * resolv/Depend (linuxthreads): Remove.
7781         * rt/Depend (linuxthreads): Remove.
7782
7783         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7784         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7785         $(common-objpfx)elf/.
7786         (link-libc-before-gnulib): Likewise.
7787         (elfobjdir): Remove variable.
7788         * Makefile (install): Use $(elf-objpfx) instead of
7789         $(common-objpfx)elf/.
7790         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7791         $(elfobjdir)/.
7792         (link-libc-deps): Likewise.
7793         ($(common-objpfx)libc.so): Likewise.
7794         ($(common-objpfx)linkobj/libc.so): Likewise.
7795         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7796         instead of $(common-objpfx)elf/.
7797         (symbolic-link-list): Likewise.
7798         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7799         [$(cross-compiling) = no]: Likewise.
7800         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7801         $(elfobjdir)/.
7802         (static-gnulib-arch): Likewise.
7803         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7804         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7805         $(common-objpfx)elf/.
7806
7807 2014-05-21  Richard Henderson  <rth@redhat.com>
7808
7809         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7810         (SINGLE_THREAD_P): Use the correct width load.  Fold
7811         into the ldr offset.
7812
7813         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7814         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7815
7816 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
7817
7818         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7819         (libgcc_s_resume): Use __attribute_used__.
7820         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7821         Likewise.
7822
7823 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7824
7825         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7826         optimization when used with float constants.
7827
7828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7829
7830 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
7831
7832         [BZ #16915]
7833         * locale/nl_langinfo_l.c: Make direct reference to every
7834         _nl_current_CATEGORY symbol.
7835         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7836         (tests-static): Add tst-langinfo-static.
7837         (tests-special): Add tst-langinfo-static.out.
7838         ($(objpfx)tst-langinfo.out): Redirect output.
7839         ($(objpfx)tst-langinfo-static.out): New.
7840         * localedata/tst-langinfo.sh: Send output to stdout.
7841         * localedata/tst-langinfo-static.c: New file.
7842
7843         [BZ #16965]
7844         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7845         when the shift amount is modulo the limb size.
7846
7847 2014-05-20  Richard Henderson  <rth@redhat.com>
7848
7849         [BZ #16967]
7850         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7851         Change type of sa_flags from unsigned int to int.
7852
7853         [BZ #16966]
7854         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7855
7856         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7857
7858 2014-05-20  Will Newton  <will.newton@linaro.org>
7859
7860         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7861         Test the return value of the system call in the nocancel case.
7862
7863 2014-05-20  Will Newton  <will.newton@linaro.org>
7864             Yvan Roux  <yvan.roux@linaro.org>
7865
7866         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7867         #include of asm/ptrace.h.
7868         (PTRACE_GET_THREAD_AREA): Remove #undef.
7869         (PTRACE_GETHBPREGS): Likewise.
7870         (PTRACE_SETHBPREGS): Likewise.
7871         (struct user_regs_struct): New structure.
7872         (struct user_fpsimd_struct): New structure.
7873         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7874         #include of asm/ptrace.h and second #include of sys/user.h.
7875         (PTRACE_GET_THREAD_AREA): Remove #undef.
7876         (PTRACE_GETHBPREGS): Likewise.
7877         (PTRACE_SETHBPREGS): Likewise.
7878         (ELF_NGREG): Use new struct user_regs_struct.
7879         (elf_fpregset_t): Use new struct user_fpsimd_struct.
7880
7881 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7882
7883         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7884         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7885
7886 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
7887
7888         [BZ #16958]
7889         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7890         membar to avoid block loads/stores to overlap previous stores.
7891
7892 2014-05-17  Richard Henderson  <rth@redhat.com>
7893
7894         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7895         Create the __##syscall_name##_nocancel entry point.
7896         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7897         Remove; let the sysdep-cancel.h code create it.
7898
7899 2014-05-17  David S. Miller  <davem@davemloft.net>
7900
7901         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7902         Protect with __USE_GNU.
7903         (TIOCSET_TEMPT): Likewise.
7904         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7905         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7906         these are already provided in bits/ioctl-types.h
7907
7908 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7909
7910         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7911         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7912
7913         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7914         Use wait4 regardless of [__NR_waitpid].
7915
7916 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7917
7918         PR libgcc/60166
7919         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7920         (_FP_NANSIGN_Q): Set the quiet bit.
7921
7922 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
7923
7924         * benchtests/Makefile
7925         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7926         not $(common-objpfx)math/libm.so.
7927         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7928         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7929         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7930         $(common-objpfx)dlfcn/libdl.so.
7931         ($(objpfx)tst-audit8): Depend on $(libm), not
7932         $(common-objpfx)math/libm.so.
7933         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7934         not $(common-objpfx)dlfcn/libdl.so.
7935         * math/Makefile
7936         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7937         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
7938         [$(build-shared) = yes].
7939         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7940         $(common-objpfx)nptl/libpthread.so.
7941         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7942         $(common-objpfx)math/libm.so$(libm.so-version) or
7943         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7944         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7945         $(common-objpfx)dlfcn/libdl.so.
7946         * setjmp/Makefile (link-libm): Remove variable.
7947         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7948         * stdio-common/Makefile (link-libm): Remove variable.
7949         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7950         * stdlib/Makefile (link-libm): Remove variable.
7951         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7952         ($(objpfx)tst-strtod-round): Likewise.
7953         ($(objpfx)tst-tininess): Likewise.
7954         ($(objpfx)tst-strtod-underflow): Likewise.
7955         ($(objpfx)tst-strtod6): Likewise.
7956         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7957         $(libdl), not $(common-objpfx)nptl/libpthread.so and
7958         $(common-objpfx)dlfcn/libdl.so.
7959
7960 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7961
7962         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7963         BSD terminal modes definitions.
7964
7965 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7966
7967         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7968         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7969
7970         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7971         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7972         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7973         Don't do #include_next.
7974         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7975         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7976         Don't do #include_next.
7977         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7978         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7979         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7980         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7981
7982 2014-05-16  Allan McRae  <allan@archlinux.org>
7983
7984         * po/sv.po: Update Swedish translation from translation project.
7985
7986         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7987         in sed expression.
7988
7989 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
7990
7991         [BZ #16917]
7992         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7993         errno if the TIOCGPTN ioctl fails with an error different than
7994         EINVAL.
7995         * login/tst-ptsname.c: New file.
7996         * login/Makefile (tests): Add tst-ptsname.
7997
7998         [BZ #16943]
7999         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8000         and prlimit64.
8001
8002 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8003
8004         [BZ #16849]
8005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8006         herrno to return EAI_AGAIN.
8007
8008 2014-05-14  Roland McGrath  <roland@hack.frob.com>
8009
8010         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8011         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8012         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8013         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8014         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8015         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8016         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8017         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8018         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8019         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8020         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8021         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8022         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8023         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8024         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8025         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8026         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8027         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8028         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8029         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8030         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8031         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8032         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8033         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8034         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8035         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8036         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8037         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8038         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8039         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8041         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8043         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8045         Moved ...
8046         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8048         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8050         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8052         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8054         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8056         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8058         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8060         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8062         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8064         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8066         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8068         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8070         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8072         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8074         Moved ...
8075         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8077         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8079         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8081         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8083         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8085         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8087         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8089         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8091         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8093         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8095         Moved ...
8096         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8098         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8099
8100         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8101         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8102         (libpthread-sysdep_routines): Add elision-related stuff here instead.
8103         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8104         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8105         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8106         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8107         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8108         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8109         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8110         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8111         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8112         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8113         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8114         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8115         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8116         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8117         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8118         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8119         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8120         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8121         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8122         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8123         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8124         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8125         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8126         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8127         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8128         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8129         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8130         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8131
8132         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8133         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8134
8135         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8136         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8137         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8138         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8139         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8140         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8141         Moved ...
8142         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8143         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8144         Moved ...
8145         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8146         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8147         Moved ...
8148         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8149         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8150         Moved ...
8151         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8152         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8153         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8154         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8155         Moved ...
8156         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8157         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8158         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8159         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8160         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8161         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8162         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8163         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8164         Moved ...
8165         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8166         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8167         Moved ...
8168         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8169         ... here.
8170         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8171         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8172         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8173         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8174         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8175         Moved ...
8176         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8177         ... here.
8178         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8179         Moved ...
8180         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8181         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8182         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8183         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8184         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8185         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8186         Moved ...
8187         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8188         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8189         Moved ...
8190         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8191         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8192         Moved ...
8193         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8194         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8195         Moved ...
8196         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8197         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8198         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8199         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8200         Moved ...
8201         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8202         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8203         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8204         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8205         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8206         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8207         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8208         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8209         Moved ...
8210         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8211         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8212         Moved ...
8213         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8214         ... here.
8215         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8216         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8217         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8218         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8219         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8220         Moved ...
8221         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8222         ... here.
8223         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8224         Moved ...
8225         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8226         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8227         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8228         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8229         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8230         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8231         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8232         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8233         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8234         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8235         Moved ...
8236         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8237         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8238         Moved ...
8239         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8240         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8241         Moved ...
8242         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8243         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8244         Moved ...
8245         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8246         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8247         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8248         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8249         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8250         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8251         Moved ...
8252         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8253         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8254         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8255         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8256         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8257         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8258         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8259         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8260         Moved ...
8261         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8262         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8263         Moved ...
8264         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8265         ... here.
8266         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8267         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8268         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8269         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8270         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8271         Moved ...
8272         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8273         ... here.
8274         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8275         Moved ...
8276         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8277         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8278         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8279         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8280         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8281         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8282         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8283         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8284         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8285         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8286         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8287
8288         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8289         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8290
8291         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8292         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8293
8294         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8295         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8296         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8297         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8298         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8299         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8300         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8301         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8302         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8303         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8304         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8305         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8306         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8307         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8308         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8310         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8312         Moved ...
8313         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8315         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8316         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8317         Moved ...
8318         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8320         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8321         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8322         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8323         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8324         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8325         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8326         Moved ...
8327         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8328         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8329         Moved ...
8330         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8331         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8332         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8333         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8334         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8335         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8336         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8337         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8338         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8339         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8340         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8341         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8342         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8343         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8344         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8345         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8346         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8347
8348         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8349         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8350         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8351         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8352         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8353
8354         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8355         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8356         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8357         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8358         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8359         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8360         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8361         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8362         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8363         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8364
8365         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8366         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8367
8368         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8369         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8370         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8371         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8372         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8373         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8374         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8375         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8376         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8377         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8378         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8379         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8380         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8381         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8382         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8383         Update #include.
8384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8385         Likewise.
8386         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8387         Likewise.
8388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8389         Likewise.
8390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8391         Likewise.
8392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8393         Likewise.
8394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8395         Likewise.
8396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8397         Likewise.
8398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8399         Likewise.
8400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8401         Likewise.
8402         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8404         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8407         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8408         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8409         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8410         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8411         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8412         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8413         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8414         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8415         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
8416         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
8417
8418         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8419         that was previously under [RESET_PID].
8420         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8421         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8422         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8423
8424         * sysdeps/i386/nptl/Implies: New file.
8425         * sysdeps/x86_64/nptl/Implies: New file.
8426         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8427         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8428         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8429         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8430
8431         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8432         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8433         (__libc_vfork): New strong alias.
8434         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8435         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8436
8437         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8438         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8439         (__libc_vfork): New strong alias.
8440         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8441         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8442
8443         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8444         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8445         (__libc_vfork): New strong alias.
8446         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8447         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8448         * nptl/pt-vfork.c: New file.
8449         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8450         (libpthread: GLIBC_2.20): New version set (empty).
8451
8452 2014-05-14  Will Newton  <will.newton@linaro.org>
8453
8454         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8455         rather than #if.
8456
8457 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8458
8459         [BZ #16564]
8460         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8461         arguments with exponent 65 or above.
8462         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8463         arguments 0x1p113L or above.
8464         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8465         to arguments 0x1p107L or above.
8466         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8467         positive arguments with exponent 65 or above.
8468         * math/auto-libm-test-in: Add more tests of log1p.
8469         * math/auto-libm-test-out: Regenerated.
8470
8471         [BZ #16928]
8472         * math/s_cacos.c (__cacos): Ensure zero real part of result from
8473         non-finite arguments is +0.
8474         * math/s_cacosf.c (__cacosf): Likewise.
8475         * math/s_cacosl.c (__cacosl): Likewise.
8476         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8477         * sysdeps/i386/fpu/libm-test-ulps: Update.
8478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8479
8480         [BZ #16927]
8481         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8482         value.
8483         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8484         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8485         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8486         for explicit high bit of mantissa when testing for argument equal
8487         to 1.
8488         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8489         * sysdeps/i386/fpu/libm-test-ulps: Update.
8490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8491
8492         [BZ #16516]
8493         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8494         (__erf): Scale by 16 instead of 8 in potentially underflowing
8495         case.  Ensure exception if result actually underflows.
8496         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8497         (__erff): Scale by 16 instead of 8 in potentially underflowing
8498         case.  Ensure exception if result actually underflows.
8499         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8500         (efx8): Remove variable.
8501         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8502         case.  Ensure exception if result actually underflows.
8503         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8504         (efx8): Remove variable.
8505         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8506         case.  Ensure exception if result actually underflows.
8507         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8508         (efx8): Remove variable.
8509         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8510         case.  Ensure exception if result actually underflows.
8511         * math/auto-libm-test-in: Add more tests of erf.
8512         * math/auto-libm-test-out: Regenerated.
8513
8514 2014-05-14  Andreas Schwab  <schwab@suse.de>
8515
8516         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8517         Remove code conditionalized on USE___THREAD.
8518
8519         * config.h.in (HAVE_PT_CHOWN): Define as 0.
8520         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8521         not definedness.
8522
8523 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8524
8525         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8526         Define unconditionally.
8527         (__ASSUME_O_CLOEXEC): Likewise.
8528         (__ASSUME_SOCK_CLOEXEC): Likewise.
8529         (__ASSUME_IN_NONBLOCK): Likewise.
8530         (__ASSUME_PIPE2): Likewise.
8531         (__ASSUME_EVENTFD2): Likewise.
8532         (__ASSUME_SIGNALFD4): Likewise.
8533         (__ASSUME_DUP3): Likewise.
8534         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8535         (__ASSUME_DUP3): Do not define.
8536         (__ASSUME_EVENTFD2): Likewise.
8537         (__ASSUME_IN_NONBLOCK): Likewise.
8538         (__ASSUME_O_CLOEXEC): Likewise.
8539         (__ASSUME_PIPE2): Likewise.
8540         (__ASSUME_SIGNALFD4): Likewise.
8541         (__ASSUME_SOCK_CLOEXEC): Likewise.
8542         (__ASSUME_UTIMES): Undefine.
8543         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8544         (__ASSUME_UTIMES): Do not define.
8545         (__ASSUME_O_CLOEXEC): Likewise.
8546         (__ASSUME_SOCK_CLOEXEC): Likewise.
8547         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8548         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8549         0x020621].
8550         (__ASSUME_PIPE2): Likewise.
8551         (__ASSUME_EVENTFD2): Likewise.
8552         (__ASSUME_SIGNALFD4): Likewise.
8553         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8554         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8555         Do not define.
8556         (__ASSUME_EVENTFD2): Likewise.
8557         (__ASSUME_SIGNALFD4): Likewise.
8558         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8559         (__ASSUME_32BITUIDS): Likewise.
8560         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8561         (__ASSUME_IPC64): Likewise.
8562         (__ASSUME_ST_INO_64_BIT): Likewise.
8563         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8564         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8565         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8566         (__ASSUME_UTIMES): Do not define.
8567         (__ASSUME_PSELECT): Likewise.
8568         (__ASSUME_PPOLL): Likewise.
8569         (__ASSUME_O_CLOEXEC): Likewise.
8570         (__ASSUME_SOCK_CLOEXEC): Likewise.
8571         (__ASSUME_IN_NONBLOCK): Likewise.
8572         (__ASSUME_PIPE2): Likewise.
8573         (__ASSUME_EVENTFD2): Likewise.
8574         (__ASSUME_SIGNALFD4): Likewise.
8575         (__ASSUME_DUP3): Likewise.
8576         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8577         (__ASSUME_UTIMES): Likewise.
8578         (__ASSUME_O_CLOEXEC): Likewise.
8579         (__ASSUME_SOCK_CLOEXEC): Likewise.
8580         (__ASSUME_IN_NONBLOCK): Likewise.
8581         (__ASSUME_PIPE2): Likewise.
8582         (__ASSUME_EVENTFD2): Likewise.
8583         (__ASSUME_SIGNALFD4): Likewise.
8584         (__ASSUME_DUP3): Likewise.
8585         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8586         (__ASSUME_UTIMES): Likewise.
8587         (__ASSUME_O_CLOEXEC): Likewise.
8588         (__ASSUME_SOCK_CLOEXEC): Likewise.
8589         (__ASSUME_IN_NONBLOCK): Likewise.
8590         (__ASSUME_PIPE2): Likewise.
8591         (__ASSUME_EVENTFD2): Likewise.
8592         (__ASSUME_SIGNALFD4): Likewise.
8593         (__ASSUME_DUP3): Likewise.
8594         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8595         Likewise.
8596         (__ASSUME_UTIMES): Likewise.
8597         (__ASSUME_EVENTFD2): Likewise.
8598         (__ASSUME_SIGNALFD4): Likewise.
8599         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8600         (__ASSUME_O_CLOEXEC): Likewise.
8601         (__ASSUME_SOCK_CLOEXEC): Likewise.
8602         (__ASSUME_IN_NONBLOCK): Likewise.
8603         (__ASSUME_PIPE2): Likewise.
8604         (__ASSUME_EVENTFD2): Likewise.
8605         (__ASSUME_SIGNALFD4): Likewise.
8606         (__ASSUME_DUP3): Likewise.
8607         (__ASSUME_UTIMES): Undefine.
8608
8609         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8610         feclearexcept.  Remove symbol versioning code.
8611         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
8612         symbol versioning code.
8613         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
8614         symbol versioning code.
8615         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8616         feupdateenv.  Remove symbol versioning code.
8617         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8618         fegetexceptflag.  Remove symbol versioning code.
8619         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8620         fesetexceptflag.  Remove symbol versioning code.
8621         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8622         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8623         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8624         (__posix_fadvise64_l32): Remove prototype.
8625         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8626         code.
8627
8628 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8629
8630         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8631         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8632         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8633         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8634
8635 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8636
8637         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8638         current working directory
8639
8640 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8641
8642         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8643         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8644         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8645         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8646         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8647         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8648         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8649         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8650         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8651         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8652         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8653         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8654         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8655         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8656         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8657         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8658         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8659         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8660         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8661         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8662         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8663         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8664         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8665         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8666         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8667         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8668         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8669         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8670         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8671         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8672         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8673         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8674         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8675         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8676         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8677         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8678         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8679         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8680         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8681         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8682         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8683         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8684
8685         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8686         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8687
8688         * sysdeps/unix/sysv/linux/arm/Makefile
8689         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8690         Add rt-aeabi_unwind_cpp_pr1.
8691         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8692         Add nptl-aeabi_unwind_cpp_pr1.
8693         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8694         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8695         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8696         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8697         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8698         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8699
8700         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8701         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8702         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8703         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8704
8705         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8706         Deconditionalize the code that was previously under [RESET_PID].
8707         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8708
8709         * sysdeps/generic/exit-thread.h: New file.
8710         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8711         * include/unistd.h (__exit_thread): Remove declaration.
8712         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8713         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8714         * csu/libc-start.c: Include <exit-thread.h>.
8715         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8716         * nptl/pthread_create.c: Include <exit-thread.h>.
8717         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8718         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8719         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8720         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8721         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8722         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8723         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8724         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8725         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8726         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8727         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8728         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8729         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8730         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8731         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8732         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8733         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8734
8735 2014-05-13  Andreas Schwab  <schwab@suse.de>
8736
8737         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8738
8739 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8740
8741         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8742         (__ASSUME_UTIMES): Do not condition on kernel version.
8743         (__ASSUME_PSELECT): Define unconditionally.
8744         (__ASSUME_PPOLL): Likewise.
8745         (__ASSUME_ATFCTS): Likewise.
8746         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8747         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8748         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8749         (__ASSUME_UTIMENSAT): Define unconditionally.
8750         (__ASSUME_PRIVATE_FUTEX): Likewise.
8751         (__ASSUME_FALLOCATE): Likewise.
8752         (__ASSUME_O_CLOEXEC): Likewise.
8753         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8754         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8755         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8756         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8757         (__ASSUME_IN_NONBLOCK): Likewise.
8758         (__ASSUME_PIPE2): Likewise.
8759         (__ASSUME_EVENTFD2): Likewise.
8760         (__ASSUME_SIGNALFD4): Likewise.
8761         (__ASSUME_DUP3): Likewise.
8762         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8763         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8764         (__ASSUME_AT_RANDOM): Likewise.
8765         (__ASSUME_PREADV): Likewise.
8766         (__ASSUME_PWRITEV): Likewise.
8767         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8768         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8769         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8770         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8771         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8772         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8773         (__ASSUME_O_CLOEXEC): Define unconditionally.
8774         (__ASSUME_PSELECT): Do not undefine conditionally.
8775         (__ASSUME_PPOLL): Likewise.
8776         (__ASSUME_ATFCTS): Likewise.
8777         (__ASSUME_SET_ROBUST_LIST): Likewise.
8778         (__ASSUME_UTIMENSAT): Likewise.
8779         (__ASSUME_FDATASYNC): Define unconditionally.
8780         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8781         (__ASSUME_SIGFRAME_V2): Likewise.
8782         )__ASSUME_EVENTFD2): Likewise.
8783         (__ASSUME_SIGNALFD4): Likewise.
8784         (__ASSUME_PSELECT): Do not undefine conditionally.
8785         (__ASSUME_PPOLL): Likewise.
8786         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8787         (__ASSUME_PSELECT): Define unconditionally.
8788         (__ASSUME_PPOLL): Likewise.
8789         (__ASSUME_O_CLOEXEC): Likewise.
8790         (__ASSUME_SOCK_CLOEXEC): Likewise.
8791         (__ASSUME_IN_NONBLOCK): Likewise.
8792         (__ASSUME_PIPE2): Likewise.
8793         (__ASSUME_EVENTFD2): Likewise.
8794         (__ASSUME_SIGNALFD4): Likewise.
8795         (__ASSUME_DUP3): Likewise.
8796         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8797         (__ASSUME_O_CLOEXEC): Likewise.
8798         (__ASSUME_SOCK_CLOEXEC): Likewise.
8799         (__ASSUME_IN_NONBLOCK): Likewise.
8800         (__ASSUME_PIPE2): Likewise.
8801         (__ASSUME_EVENTFD2): Likewise.
8802         (__ASSUME_SIGNALFD4): Likewise.
8803         (__ASSUME_DUP3): Likewise.
8804         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8805         (__ASSUME_EVENTFD2): Likewise.
8806         (__ASSUME_SIGNALFD4): Likewise.
8807         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8808
8809 2014-05-12  Andreas Schwab  <schwab@suse.de>
8810
8811         [BZ #16932]
8812         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8813         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8814         than maximum RPC packet size.
8815         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8816         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8817         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8818         (_nss_nis_getservbyport_r): Likewise.
8819
8820 2014-05-12  Will Newton  <will.newton@linaro.org>
8821
8822         * malloc/Makefile (tests): Add tst-mallopt.
8823         * malloc/tst-mallopt.c: New file.
8824
8825 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8826
8827         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8828         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8829
8830 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8831
8832         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8833         (tst-tlsmod6.so): Likewise.
8834
8835 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8836
8837         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8838
8839 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
8840
8841         [BZ #16064]
8842         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8843         and <dl-procinfo.h>.
8844         (__fegetenv): Save SSE state in envp->__eip if supported.
8845         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8846         envp->__eip if supported.
8847         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8848         and <dl-procinfo.h>.
8849         (__fesetenv): Always set __eip, __cs_selector, __opcode,
8850         __data_offset and __data_selector in environment to 0.  Set SSE
8851         state if supported.
8852         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8853         test-fenv-sse.
8854         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8855         -mfpmath=sse.
8856         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8857
8858 2014-05-09  Will Newton  <will.newton@linaro.org>
8859
8860         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8861         and libc_relro_required for ARM.
8862         * sysdeps/arm/preconfigure: Regenerate.
8863
8864 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8865             Stefan Liebler  <stli@linux.vnet.ibm.com>
8866
8867         * config.make.in (enable-lock-elision): New Makefile variable.
8868         * configure.ac: Likewise.
8869         * configure: Regenerate.
8870         * sysdeps/s390/configure.ac:
8871         Add check for gcc transactions support.
8872         * sysdeps/s390/configure: Regenerate.
8873         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8874         Build elision files if enabled.
8875         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8876         Add lock elision support for s390.
8877         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8878         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8879         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8880         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8881         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8882         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8883         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8884         Likewise.
8885         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8886         Likewise.
8887         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8888         Likewise.
8889         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8890         Likewise.
8891         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8892         (__lll_timedlock_elision, __lll_lock_elision)
8893         (__lll_unlock_elision, __lll_trylock_elision)
8894         (lll_timedlock_elision, lll_lock_elision)
8895         (lll_unlock_elision, lll_trylock_elision): Add.
8896         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8897         (pthread_mutex_t): Add lock elision support for s390.
8898
8899 2014-05-14  Wilco  <wdijkstr@arm.com>
8900
8901         * sysdeps/arm/fclrexcpt.c: Cleanup.
8902         * sysdeps/arm/fedisblxcpt.c: Cleanup.
8903         * sysdeps/arm/feenablxcpt.c: Cleanup.
8904         * sysdeps/arm/fegetenv.c: Cleanup.
8905         * sysdeps/arm/fegetexcept.c: Cleanup.
8906         * sysdeps/arm/fegetround.c: Cleanup.
8907         * sysdeps/arm/feholdexcpt.c: Cleanup.
8908         * sysdeps/arm/fesetenv.c: Cleanup.
8909         * sysdeps/arm/fesetround.c: Cleanup.
8910         * sysdeps/arm/feupdateenv.c: Cleanup.
8911         * sysdeps/arm/fgetexcptflg.c: Cleanup.
8912         * sysdeps/arm/fraiseexcpt.c: Cleanup.
8913         * sysdeps/arm/fsetexcptflg.c: Cleanup.
8914         * sysdeps/arm/ftestexcept.c: Cleanup.
8915         * sysdeps/arm/get-rounding-mode.h: Cleanup.
8916         * sysdeps/arm/setfpucw.c: Cleanup.
8917
8918 2014-05-09  Will Newton  <will.newton@linaro.org>
8919
8920         * sysdeps/arm/armv7/strcmp.S: New file.
8921         * NEWS: Mention addition of ARMv7 optimized strcmp.
8922
8923 2014-05-08  Roland McGrath  <roland@hack.frob.com>
8924
8925         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8926         look for %.ac rather than %.in.
8927
8928         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8929         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8930         * sysdeps/mach/hurd/configure: Regenerated.
8931         * sysdeps/unix/sysv/linux/configure: Regenerated.
8932
8933         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8934
8935 2014-05-07  Steve Ellcey  <sellcey@mips.com>
8936
8937         [BZ# 16922]
8938         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8939         (LONG_SUB): Ditto.
8940         (PTR_SUB): Ditto.
8941
8942 2014-05-07  Andreas Schwab  <schwab@suse.de>
8943
8944         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8945         when skipping over non-matching result from nscd.
8946
8947 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
8948
8949         [BZ #16876]
8950         * nptl/sockperf.c (client): Check socket return value.
8951
8952         [BZ #16877]
8953         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8954         nscd security class.
8955
8956 2014-05-06  Roland McGrath  <roland@hack.frob.com>
8957
8958         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8959         * sysdeps/arm/unwind.h: ... here.
8960
8961 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
8962
8963         [BZ# 16916]
8964         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8965         Define.
8966
8967 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8968
8969         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8970         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8971         multiarch strncpy for PPC64.
8972         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8973         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8975         multiarch optimizations.
8976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8977         (__libc_ifunc_impl_list): Likewise.
8978         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8979         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8980         multiarch stpncpy for PPC64.
8981         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8982         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8983
8984 2014-05-06  Andreas Schwab  <schwab@suse.de>
8985
8986         [BZ #16912]
8987         * gmon/mcount.c (_MCOUNT_DECL): Use
8988         atomic_compare_and_exchange_bool_acq instead of
8989         catomic_compare_and_exchange_bool_acq.
8990
8991 2014-05-05  Roland McGrath  <roland@hack.frob.com>
8992
8993         * elf/Makefile (others, install-bin): Remove pldd.
8994         (pldd-modules): Variable removed.
8995         ($(objpfx)pldd): Target removed.
8996         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8997         (others, install-bin): Append pldd here.
8998         ($(objpfx)pldd): New target.
8999
9000         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9001         to 0, so the first #if test emitted later doesn't see it undefined.
9002         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9003         * sysdeps/gnu/errlist.c: Regenerated.
9004
9005 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9006
9007         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9008         [libc_hidden_builtin_def]: Define to empty value.
9009         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9010         [libc_hidden_builtin_def]: Likewise.
9011         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9012         [libc_hidden_builtin_def]: Likewise.
9013         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9014         [libc_hidden_builtin_def]: Likewise.
9015         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9016         __redirect_memcpy and define ifunc as default hidden symbol.
9017         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9018         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9019
9020 2014-05-04  Adam Conrad  <adconrad@0c3.net>
9021
9022         * locale/iso-4217.def: Reintroduce XDR currency.
9023
9024 2014-05-04  Allan McRae  <allan@archlinux.org>
9025
9026         * po/eo.po: Update Esperanto translation from translation project.
9027
9028 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
9029
9030         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9031         and FEATURE_INDEX_MAX to 1.
9032         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9033
9034 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9035
9036         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9037         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9038         * iconvdata/big5.c (ONE_DIRECTION): Define.
9039         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9040         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9041         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9042         * iconvdata/cp932.c (ONE_DIRECTION): Define.
9043         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9044         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9045         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9046         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9047         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9048         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9049         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9050         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9051         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9052         * iconvdata/gbk.c (ONE_DIRECTION): Define.
9053         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9054         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9055         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9056         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9057         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9058         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9059         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9060         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9061         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9062         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9063         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9064         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9065         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9066         * iconvdata/iso646.c (ONE_DIRECTION): Define.
9067         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9068         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9069         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9070         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9071         * iconvdata/johab.c (ONE_DIRECTION): Define.
9072         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9073         * iconvdata/sjis.c (ONE_DIRECTION): Define.
9074         * iconvdata/t.61.c (ONE_DIRECTION): Define.
9075         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9076         * iconvdata/tscii.c (ONE_DIRECTION): Define.
9077         * iconvdata/uhc.c (ONE_DIRECTION): Define.
9078         * iconvdata/unicode.c (ONE_DIRECTION): Define.
9079         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9080         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9081         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9082
9083 2014-05-01  Roland McGrath  <roland@hack.frob.com>
9084
9085         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9086         (_IO_JUMPS_OFFSET): Define to 0.
9087
9088         * nptl/sysdeps/pthread/bits/libc-lock.h
9089         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9090         (__libc_lock_define_initialized_recursive): Always define using
9091         initializer.  Modern compilers treat uninitialized (implicit zero) and
9092         explicit zero initializers the same (i.e. put the datum in bss).
9093
9094 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9095
9096         * nscd/nscd-client.h: Include <string.h>.
9097
9098 2014-05-01  David S. Miller  <davem@davemloft.net>
9099
9100         [BZ #16885]
9101         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9102         multiple zero bytes exist at the end of a string.
9103         Reported by Aurelien Jarno <aurelien@aurel32.net>
9104
9105         * string/test-strcmp.c (check): Add explicit test for situations where
9106         there are multiple zero bytes after the first.
9107
9108 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9109
9110         [BZ #16890]
9111         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9112         when compiling wprintf.
9113         * stdio-common/tstdiomisc.c (t3): New function.
9114         (main): Call it.
9115
9116 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9117
9118         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9119         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9120         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9121         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9122
9123 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9124
9125         * stdlib/longlong.h: Updated from GCC.
9126
9127 2014-05-01  Will Newton  <will.newton@linaro.org>
9128             Bernard Ogden  <bernie.ogden@linaro.org>
9129
9130         * NEWS: Update fixed bug list.
9131
9132         [BZ #15119]
9133         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9134
9135 2014-04-30  David S. Miller  <davem@davemloft.net>
9136
9137         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9138         (libc_feholdexcept_setround_sparc_ctx): New function.
9139         (libc_fesetenv_sparc_ctx): Likewise.
9140         (libc_feupdateenv_sparc_ctx): Likewise.
9141         (libc_feholdsetround_sparc_ctx): Likewise.
9142         (libc_feholdexcept_setround_ctx): Define.
9143         (libc_feholdexcept_setroundf_ctx): Likewise.
9144         (libc_feholdexcept_setroundl_ctx): Likewise.
9145         (libc_fesetenv_ctx): Likewise.
9146         (libc_fesetenvf_ctx): Likewise.
9147         (libc_fesetenvl_ctx): Likewise.
9148         (libc_feupdateenv_ctx): Likewise.
9149         (libc_feupdateenvf_ctx): Likewise.
9150         (libc_feupdateenvl_ctx): Likewise.
9151         (libc_feresetround_ctx): Likewise.
9152         (libc_feresetroundf_ctx): Likewise.
9153         (libc_feresetroundl_ctx): Likewise.
9154         (libc_feholdsetround_ctx): Likewise.
9155         (libc_feholdsetroundf_ctx): Likewise.
9156         (libc_feholdsetroundl_ctx): Likewise.
9157
9158         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9159         with __USE_GNU instead of XOPEN cpp guards.
9160
9161         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9162         0.
9163
9164         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9165         with XOPEN cpp guards.
9166
9167 2014-04-30  Julian Brown  <julian@codesourcery.com>
9168
9169         [BZ #16888]
9170         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9171         handling.
9172
9173 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
9174
9175         [BZ #9894]
9176         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9177         Change to 2.6.32.
9178         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9179         * sysdeps/unix/sysv/linux/configure: Regenerated.
9180         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9181         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9182         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9183         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9184         * README: Update reference to required Linux kernel version.
9185         * manual/install.texi (Linux): Update reference to required Linux
9186         kernel headers version.
9187         * INSTALL: Regenerated.
9188
9189         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9190         header inclusion.
9191         [POSIX] (limits.h): Likewise.
9192         [POSIX] (math.h): Likewise.
9193         [POSIX] (sys/wait.h): Likewise.
9194         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9195         function.
9196         [POSIX] (stddef.h): Do not allow header inclusion.
9197
9198 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9199
9200         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9201
9202 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
9203
9204         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9205         Return immediately after lll_futex_wake.
9206
9207 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9208
9209         [BZ #16791]
9210         * nscd/nscd-client.h (datahead_init_common): Initialize entire
9211         structure.
9212         (datahead_init_pos): Call datahead_init_common early.
9213         (datahead_init_neg): Likewise.
9214
9215         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9216         datahead_init_neg): New functions.
9217         * nscd/aicache.c (addhstaiX): Use them.
9218         * nscd/grpcache.c (cache_addgr): Likewise.
9219         * nscd/hstcache.c (cache_addhst): Likewise.
9220         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9221         * nscd/netgroupcache.c (do_notfound): Likewise.
9222         (addgetnetgrentX): Likewise.
9223         (addinnetgrX): Likewise.
9224         * nscd/pwdcache.c (cache_addpw): Likewise.
9225         * nscd/servicescache.c (cache_addserv): Likewise.
9226
9227 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9228             Atsushi Onoe  <atsushi@onoe.org>
9229
9230         [BZ #14308]
9231         [BZ #12994]
9232         [BZ #13651]
9233         * resolv/res_query.c (__libc_res_nsearch): Return if at least
9234         one response is valid.
9235         * resolv/res_send.c (send_dg): Check for validity of other
9236         response if the current response is a referral.
9237
9238 2014-04-29  Steve Ellcey  <sellcey@mips.com>
9239
9240         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9241
9242 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
9243
9244         [BZ #16823]
9245         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9246         Always divide by positive zero when computing -Inf result.
9247         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9248         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9249
9250 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9251
9252         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9253         FPSCR if value do not change.
9254         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9255         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9256         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9257         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9258         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9259         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9260         function.
9261
9262 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
9263
9264         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9265         * sysdeps/unix/sysv/linux/hppa: Move directory from
9266         ports/systeps/unix/sysv/linux/hppa.
9267         * README: Update listing for hppa-*-linux-gnu.
9268
9269 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
9270
9271         [BZ #16754]
9272         * manual/stdio.texi (Hook functions): Fix types of stream hook
9273         functions.
9274         [BZ #16854]
9275         * socket/sys/socket.h: Fix typo in comment.
9276
9277 2014-04-28  Wilco  <wdijkstr@arm.com>
9278
9279         * sysdeps/arm/fenv_private.h: New file.
9280         * sysdeps/arm/math_private.h: New file.
9281         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9282
9283 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
9284
9285         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9286         with __int128_t.
9287         (La_x86_64_retval): Likewise.
9288
9289 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
9290
9291         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9292         fpsr if value didn't change.
9293         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9294         to fpcr if value didn't change.
9295         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9296         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9297         fpsr or fpcr if value didn't change.
9298         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9299         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9300         fpcr if value didn't change.
9301         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9302         to fpsr if value didn't change.
9303
9304 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9305
9306         * nptl/tst-sem3.c: Use test-skeleton.c
9307         (main): Rename to do_test.  Use return instead of
9308         exit.
9309         * nptl/tst-sem4.c: Use test-skeleton.c
9310         (main): Rename to do_test.
9311
9312 2014-04-22  David S. Miller  <davem@davemloft.net>
9313
9314         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9315         (struct sigaction): New struct member __glibc_reserved0, change
9316         type of sa_flags to int.
9317
9318 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
9319
9320         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9321         (COUNT_LEADING_ZEROS_0): Define for AArch64.
9322
9323 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9324
9325         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9326         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9327
9328 2014-04-22  Will Newton  <will.newton@linaro.org>
9329             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
9330
9331         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9332         (__longjmp): Add longjmp and longjmp_target SystemTap
9333         probes.
9334         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9335         (__sigsetjmp): Add setjmp SystemTap probe.
9336
9337 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
9338
9339         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9340         match manual order.
9341
9342 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9343
9344         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9345
9346         * sysdeps/powerpc/fpu/fenv_private.h
9347         (libc_feholdexcept_setroundl_ctx): Define to
9348         libc_feholdexcept_setround_ppc_ctx.
9349         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9350         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9351         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9352         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9353
9354 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9355
9356         * sysdeps/aarch64/math-tests.h: New file.
9357
9358 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
9359
9360         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9361         New.
9362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9363         Check and set bit_AVX2_Usable.
9364         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9365         macro.
9366         (bit_AVX2): Likewise.
9367         (index_AVX2_Usable): Likewise.
9368         (CPUID_AVX2): Likewise.
9369         (HAS_AVX2): Likewise.
9370
9371 2014-04-17  Will Newton  <will.newton@linaro.org>
9372
9373         * manual/setjmp.texi (System V contexts): Add note that
9374         calling setcontext on a context created by a call to a
9375         signal handler is undefined.  Update text to note that
9376         setcontext from a signal handler is possible but not
9377         recommended.
9378
9379         [BZ #16629]
9380         * stdlib/tst-setcontext.c: Include signal.h.
9381         (main): Check that the signal stack before and
9382         after swapcontext is the same.
9383
9384         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9385         Re-implement to restore registers in user code and avoid
9386         rt_sigreturn system call.
9387
9388 2014-04-17  Wilco  <wdijkstr@arm.com>
9389
9390         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9391         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9392         * math/test-fenv.c: Skip exception trap tests on targets which only
9393         support non-stop mode.
9394
9395 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9396             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9397
9398         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9399         (libc_feholdsetround_aarch64_ctx)
9400         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9401         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9402         (libc_feresetround_ctx, libc_feresetroundf_ctx)
9403         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9404         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9405         (libc_feresetround_noexl_ctx): Define.
9406
9407 2014-04-16  Richard Henderson  <rth@redhat.com>
9408
9409         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9410
9411         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9412         unwind tables.
9413
9414         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9415         const from the non-libc, non-ldso copy.
9416
9417         * sysdeps/alpha/libm-test-ulps: Regenerate.
9418
9419 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
9420             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9421
9422         * sysdeps/aarch64/fpu/math_private.h: New file.
9423
9424 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9425
9426         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9427
9428 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
9429
9430         [BZ #16275]
9431         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9432         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9433         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9434         Intel MPX bound registers before _dl_profile_fixup.
9435         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9436         registers after _dl_profile_fixup.  Save and restore bound
9437         registers bnd0/bnd1 when calling _dl_call_pltexit.
9438         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9439         (LR_BND_OFFSET): Likewise.
9440         (LRV_BND0_OFFSET): Likewise.
9441         (LRV_BND1_OFFSET): Likewise.
9442
9443 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9444
9445         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9446         to...
9447         * sysdeps/mach/hurd/i386/tls.h: ... here.
9448         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9449         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9450         fields.
9451
9452 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9453
9454         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9455
9456 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9457
9458         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9459
9460 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9461
9462         [BZ #14770]
9463         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9464         * sysdeps/s390/configure: Regenerate.
9465
9466         [BZ #16824]
9467         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9468         Set round-to-nearest internally to reduce error accumulation.
9469
9470 2014-04-16  Alan Modra  <amodra@gmail.com>
9471
9472         [BZ #16740]
9473         [BZ #16619]
9474         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9475         * math/libm-test.inc (frexp_test_data): Add tests.
9476         * NEWS: Update fixed bug list.
9477
9478 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9479
9480         * benchtests/Makefile: Depend on libraries in build directory.
9481         (bench-math): Separate out math tests.
9482         (bench-pthread): Separate out pthread tests.
9483         (bench): Include math and pthread tests.
9484
9485 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
9486
9487         [BZ #16831]
9488         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9489         _dl_debug_initialize.
9490
9491         * configure.ac: Remove SELinux header check.
9492         * configure: Regenerate.
9493         * nscd/selinux.c (perms): Array of const char* to permission names.
9494         (nscd_request_avc_has_perm): Call security_deny_unknown to find
9495         default policy. Call string_to_security_class and string_to_av_perm to
9496         translate strings. Enforce default policy and call avs_has_perm with
9497         results of translated strings.
9498
9499 2014-04-13  David S. Miller  <davem@davemloft.net>
9500
9501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9502
9503 2014-04-12  Allan McRae  <allan@archlinux.org>
9504
9505         [BZ #16838]
9506         * manual/string.texi (Collation Functions): Fix qsort argument
9507         order in example.
9508         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9509
9510 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
9511
9512         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9513         Make the test a no-op if there are no exceptions defined.
9514
9515 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9516
9517         * elf/Makefile (tests): make tst-dlopen-aout conditional on
9518         enable-hardcoded-path-in-tests
9519
9520 2014-04-11  Will Newton  <will.newton@linaro.org>
9521
9522         * benchtests/Makefile (extra-objs): Add json-lib.o.
9523         (bench-func): Tidy up JSON output.
9524         * benchtests/bench-skeleton.c: Include json-lib.h.
9525         (main): Use JSON library functions to do output of
9526         benchmark results.
9527         * benchtests/bench-timing-type.c (main): Output the
9528         timing type simply, leaving formatting to the user.
9529         * benchtests/json-lib.c: New file.
9530         * benchtests/json-lib.h: Likewise.
9531
9532 2014-04-11  Torvald Riegel  <triegel@redhat.com>
9533
9534         [BZ #15215]
9535         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9536         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
9537         memory barriers.  Add comments.
9538         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9539         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9540         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9541         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9542         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9543         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9544
9545 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9546
9547         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9548         * sysdeps/s390/s390-64/configure.ac: ... this ...
9549         * sysdeps/s390/configure.ac: ... to here.
9550         * sysdeps/s390/s390-32/configure: Delete file.
9551         * sysdeps/s390/s390-64/configure: Delete file.
9552         * sysdeps/s390/configure: Regenerate.
9553
9554 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
9555
9556         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9557
9558 2014-04-11  Will Newton  <will.newton@linaro.org>
9559
9560         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9561         to zero if it is not defined elsewhere.  (mtrim): Test
9562         the value of MALLOC_DEBUG with #if rather than #ifdef.
9563
9564 2014-04-10 Torvald Riegel  <triegel@redhat.com>
9565
9566         * benchtests/pthread_once-inputs: New file.
9567         * benchtests/pthread_once-source.c: New file.
9568         * benchtests/README: Update documentation.
9569
9570 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9571             H.J. Lu  <hongjiu.lu@intel.com>
9572
9573         [BZ #16275]
9574         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9575         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9576         * sysdeps/x86_64/configure: Regenerated.
9577         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9578         macro.
9579         (REGISTER_SAVE_RAX): Likewise.
9580         (REGISTER_SAVE_RCX): Likewise.
9581         (REGISTER_SAVE_RDX): Likewise.
9582         (REGISTER_SAVE_RSI): Likewise.
9583         (REGISTER_SAVE_RDI): Likewise.
9584         (REGISTER_SAVE_R8): Likewise.
9585         (REGISTER_SAVE_R9): Likewise.
9586         (REGISTER_SAVE_BND0): Likewise.
9587         (REGISTER_SAVE_BND1): Likewise.
9588         (REGISTER_SAVE_BND2): Likewise.
9589         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
9590         bound registers when calling _dl_fixup.
9591
9592 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9593
9594         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9595         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9596         of its definition.
9597         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9598         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9599         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9600         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9601         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9602         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9603         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9604
9605 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
9606
9607         [BZ #15514]
9608         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9609         pathconf(_PC_NAME_MAX).
9610
9611 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9612
9613         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9614         Remove macro usage.
9615         (__PTHREAD_SPINS): Move definition to ...
9616         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9617         (__PTHREAD_SPINS): ... here.
9618         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9619         (__PTHREAD_SPIN): Likewise.
9620         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9621         (__PTHREAD_SPIN): Likewise.
9622         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9623         (__PTHREAD_SPIN): Likewise.
9624         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9625         (__PTHREAD_SPIN): Likewise.
9626         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9627         (__PTHREAD_SPIN): Likewise.
9628         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9629         (__PTHREAD_SPIN): Likewise.
9630         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9631         (__PTHREAD_SPIN): Likewise.
9632         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9633         (__PTHREAD_SPIN): Likewise.
9634         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9635         (__PTHREAD_SPIN): Likewise.
9636         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9637         (__PTHREAD_SPIN): Likewise.
9638         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9639         (__PTHREAD_SPIN): Likewise.
9640         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9641         (__PTHREAD_SPIN): Likewise.
9642
9643         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9644         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9645         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9646         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9647         imply folder.
9648         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9649         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9650         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9651         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9652         correct imply path.
9653         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9654         strlen symbol for non multi-arch builds.
9655         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9656         missing hidden_def and weak_alias.
9657
9658 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9659
9660         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9661
9662 2014-04-07  Will Newton  <will.newton@linaro.org>
9663
9664         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9665         and contents.  [!_LIBC] Remove #ifndef and contents.
9666         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9667         * string/memccpy.c (__memccpy): Use ANSI prototype.
9668         * string/memfrob.c (memfrob): Likewise.
9669         * string/strcoll.c (STRCOLL): Likewise.
9670         * string/strlen.c (strlen): Likewise.
9671         * string/strtok.c (STRTOK): Likewise.
9672         * string/strcat.c: Remove unused #include of memcopy.h.
9673         (strcat): Use ANSI prototype.
9674         * string/strchr.c: Remove unused #include of memcopy.h.
9675         (strchr): Use ANSI prototype.
9676         * string/strcmp.c: Remove unused #include of memcopy.h.
9677         (strcmp): Use ANSI prototype.
9678         * string/strcpy.c: Remove unused #include of memcopy.h.
9679         (strcpy): Use ANSI prototype.
9680
9681 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9682
9683         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9684         * config.make.in (config-extra-cppflags): Set it from
9685         libc_extra_cppflags.
9686         * configure.ac (libc_extra_cflags): Make it accumulate over
9687         configure fragments.
9688         (libc_extra_cppflags): New flag.
9689         * configure. Regenerate.
9690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9691         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9692         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9694
9695         [BZ #16815]
9696         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9697         result for FE_DOWNWARD rounding mode.
9698         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9699         Likewise.
9700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9701
9702 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9703
9704         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9705         in function argument name.
9706
9707 2014-04-03  David Svoboda  <svoboda@cert.org>
9708
9709         [BZ #5666]
9710         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9711         explicitly.
9712
9713 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9714
9715         * elf/dl-unmap-segments.h: New file.
9716         * sysdeps/generic/ldsodefs.h
9717         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9718         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9719         * elf/dl-fptr.c: Likewise.
9720         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9721         * sysdeps/aarch64/tlsdesc.c: Likewise.
9722         * sysdeps/arm/tlsdesc.c: Likewise.
9723         * sysdeps/i386/tlsdesc.c: Likewise.
9724         * sysdeps/tile/dl-runtime.c: Likewise.
9725         * sysdeps/x86_64/tlsdesc.c: Likewise.
9726         * elf/dl-load.h: New file.
9727         * elf/dl-load.c: Include it.
9728         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9729         Macros moved to dl-load.h.
9730         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9731         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9732         Use _dl_unmap_segments in place of __munmap.
9733         Break out segment-mapping loop into ...
9734         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9735
9736 2014-04-03  Will Newton  <will.newton@linaro.org>
9737
9738         * elf/dl-lookup.c (do_lookup_x): Remove comment
9739         referring to nested function and move variable
9740         declarations down to before first use.
9741
9742 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9743
9744         [BZ #16799]
9745         [BZ #16800]
9746         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9747         with 0 numerator.
9748         * math/s_catanf.c (__catanf): Likewise.
9749         * math/s_catanh.c (__catanh): Likewise.
9750         * math/s_catanhf.c (__catanhf): Likewise.
9751         * math/s_catanhl.c (__catanhl): Likewise.
9752         * math/s_catanl.c (__catanl): Likewise.
9753         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9754         by positive zero when computing -Inf result.
9755         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9756         (catanh_test): Likewise.
9757         * sysdeps/i386/fpu/libm-test-ulps: Update.
9758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9759
9760         [BZ #16789]
9761         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9762         instead of using underflowing value in computing result.
9763         * math/s_clog10.c (__clog10): Likewise.
9764         * math/s_clog10f.c (__clog10f): Likewise.
9765         * math/s_clog10l.c (__clog10l): Likewise.
9766         * math/s_clogf.c (__clogf): Likewise.
9767         * math/s_clogl.c (__clogl): Likewise.
9768         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9769         (clog10_test): Likewise.
9770         * sysdeps/i386/fpu/libm-test-ulps: Update.
9771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9772
9773 2014-04-02  Alan Modra  <amodra@gmail.com>
9774
9775         [BZ #16739]
9776         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9777         output when value is near a power of two.  Use int64_t for lx and
9778         remove casts.  Use decimal rather than hex exponent constants.
9779         Don't use long double multiplication when double will suffice.
9780         * math/libm-test.inc (nextafter_test_data): Add tests.
9781         * NEWS: Add 16739 and 16786 to bug list.
9782
9783         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9784
9785         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9786
9787 2014-04-01  Will Newton  <will.newton@linaro.org>
9788
9789         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9790         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9791
9792 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9793
9794         [BZ #13347]
9795         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9796         * nptl/tst-setuid2.c: New file.
9797         * nptl/Makefile (xtests): Add tst-setuid2.
9798
9799 2014-04-01  Alan Modra  <amodra@gmail.com>
9800
9801         [BZ #16786]
9802         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9803
9804 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9805
9806         [BZ #6803]
9807         [BZ #6804]
9808         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9809         set errno as appropriate.
9810         * math/w_scalbf.c (__scalbf): Likewise.
9811         * math/w_scalbl.c (__scalbl): Likewise.
9812         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9813         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9814         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9815         Add more NaN tests.
9816
9817         [BZ #16349]
9818         * math/w_atan2.c: Include <errno.h>.
9819         (__atan2): Set errno for result underflowing to zero.
9820         * math/w_atan2f.c: Include <errno.h>.
9821         (__atan2f): Set errno for result underflowing to zero.
9822         * math/w_atan2l.c: Include <errno.h>.
9823         (__atan2l): Set errno for result underflowing to zero.
9824         * math/auto-libm-test-in: Don't allow missing errno for some atan2
9825         tests.
9826         * math/auto-libm-test-out: Regenerated.
9827
9828 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9829
9830         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9831         Encode instruction correctly in little endian.
9832         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9833         Likewise.
9834         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9835         Likewise.
9836         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9837         Likewise.
9838         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9839         Likewise.
9840
9841 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9842
9843         [BZ #9894]
9844         * sysdeps/unix/sysv/linux/kernel-features.h
9845         [__sparc__ && !__arch64__ && !__sparc_v9__]
9846         (__ASSUME_SET_ROBUST_LIST): Do not define.
9847         [__sparc__ && !__arch64__ && !__sparc_v9__]
9848         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9849         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9850         Likewise.
9851         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9852         (__ASSUME_FUTEX_LOCK_PI): Undefine.
9853         (__ASSUME_REQUEUE_PI): Likewise.
9854         (__ASSUME_SET_ROBUST_LIST): Likewise.
9855         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9856         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9857         Undefine.
9858         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9859         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9860         Likewise.
9861         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9862         Likewise.
9863         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9864         Likewise.
9865         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9866         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9867         Undefine.
9868         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9869         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9870         Likewise.
9871
9872         [BZ #16648]
9873         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9874         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9875         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9876
9877 2014-03-31  Will Newton  <will.newton@linaro.org>
9878
9879         * benchtests/Makefile (bench): Add ffs and ffsll to list
9880         of tests.
9881         * benchtests/ffs-inputs: New file.
9882         * benchtests/ffsll-inputs: Likewise.
9883
9884 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
9885
9886         [BZ #16770]
9887         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9888         too large before casting to int.
9889         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9890         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9891         * math/libm-test.inc (scalb_test_data): Add more tests.
9892
9893 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9894
9895         * benchtests/Makefile (DETAILED_OPT): New make option.
9896         (bench-func): Run benchmark program with -d if DETAILED_OPT is
9897         set.
9898         * benchtests/bench-skeleton.c: Include stdbool.h.
9899         (main): Store and print timings per input.
9900         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9901         member to each argument value.
9902         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9903         (_print_arg_data): Initialize per-input timing to 0.
9904
9905         * benchtests/Makefile (timing-type): New binary.
9906         (bench-clean): Also remove bench-timing-type.
9907         (bench): New target for timing-type.
9908         (bench-func): Print output in JSON format.
9909         * benchtests/bench-skeleton.c (main): Print output in JSON
9910         format.
9911         * benchtests/bench-timing-type.c: New file.
9912         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9913         (TIMING_PRINT_STATS): Remove.
9914         * benchtests/scripts/bench.py (_print_arg_data): Store variant
9915         name separately.
9916
9917         * benchtests/bench-modf.c: Remove.
9918         * benchtests/modf-inputs: New inputs file.
9919
9920 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
9921
9922         [BZ #16362]
9923         * math/s_clog10.c (M_PI_LOG10E): New macro.
9924         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9925         imaginary parts are 0.
9926         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9927         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9928         imaginary parts are 0.
9929         * math/s_clog10l.c (M_PI_LOG10El): New macro.
9930         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9931         imaginary parts are 0.
9932         * math/libm-test.inc (clog10_test_data): Update expected results
9933         for when real and imaginary parts are 0.
9934
9935 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
9936
9937         * elf/dl-load.c: Finish conversion of __builtin_expect into
9938         __glibc_{un}likely.
9939
9940 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
9941
9942         [BZ #16348]
9943         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9944         1+x for argument with exponent below -67.
9945         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9946         Likewise.
9947         * math/auto-libm-test-in: Add more tests of exp.
9948         * math/auto-libm-test-out: Regenerated.
9949
9950 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9951
9952         [BZ #16759]
9953         * inet/getnetgrent_r.c (get_nonempty_val): New function.
9954         (nscd_getnetgrent): Use it.
9955
9956         [BZ #16760]
9957         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9958         of stpcpy.
9959
9960 2014-03-27  Andi Kleen  <ak@linux.intel.com>
9961
9962         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9963         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9964         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9965         (lll_robust_unlock): Remove out of line section. Use cfi
9966         intrinsics.
9967         (LLL_STUB_UNWIND_INFO*): Remove.
9968         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9969         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9970         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9971         (lll_robust_unlock): Remove out of line section. Use cfi
9972         intrinsics.
9973         (LLL_STUB_UNWIND_INFO*): Remove.
9974
9975 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9976
9977         [BZ #16758]
9978         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9979         blank values.
9980
9981 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9982
9983         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9984
9985 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
9986
9987         [BZ #16198]
9988         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9989         fnstenv.
9990         * math/test-fenv-preserve.c: New file.
9991         * math/Makefile (tests): Add test-fenv-preserve.
9992
9993 2014-03-26  Will Newton <will.newton@linaro.org>
9994
9995         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9996
9997 2014-03-25  Roland McGrath  <roland@hack.frob.com>
9998
9999         * scripts/versionlist.awk: Partition the version sets and emit all
10000         GLIBC_* (sorted) before all others (sorted).
10001
10002 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10003
10004         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10005         GLIBC_2.2.5 version.
10006
10007 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10008
10009         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10010         calls.
10011
10012         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10013         previous change.
10014
10015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10016
10017 2014-03-25  Andreas Schwab  <schwab@suse.de>
10018
10019         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10020         label to be used after in6ailist is initialized.
10021
10022 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10023
10024         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10025         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10026
10027 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10028
10029         [BZ #16357]
10030         [BZ #16599]
10031         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10032         min_plus_half.
10033         (fp_formats): Update initializers.
10034         (init_fp_formats): Initialize new field.
10035         (output_for_one_input_case): Allow underflow for results up to
10036         min_plus_half.
10037         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10038         * math/auto-libm-test-in: Don't mark some underflows from asin and
10039         atanh as spurious.
10040         * math/auto-libm-test-out: Regenerated.
10041         * sysdeps/i386/fpu/libm-test-ulps: Update.
10042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10043
10044 2014-03-25  Andreas Schwab  <schwab@suse.de>
10045
10046         * libio/Makefile (tst-ftell-partial-wide-ENV)
10047         (tst-ftell-active-handler-ENV): Define.
10048
10049 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
10050
10051         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10052
10053 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10054
10055         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10056
10057 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10058
10059         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10060         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10061         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10062
10063 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10064
10065         [BZ #16634]
10066         * elf/dl-load.c (open_verify): Add mode parameter.
10067         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10068         (open_path): Change from boolean 'secure' to complete flag 'mode'
10069         (_dl_map_object): Adjust.
10070         * elf/Makefile (tests): Add tst-dlopen-aout.
10071         * elf/tst-dlopen-aout.c: New test.
10072
10073 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
10074
10075         [BZ #16714]
10076         * sysdeps/unix/sysv/linux/s390/bits/stat.h
10077         (struct stat): Rename member pad0 to __glibc_reserved0.
10078
10079         [BZ #16712]
10080         * sysdeps/s390/s390-32/bits/wordsize.h
10081         (__WORDSIZE32_SIZE_ULONG): New define.
10082         * sysdeps/s390/s390-64/bits/wordsize.h
10083         (__WORDSIZE32_SIZE_ULONG): Likewise.
10084         * sysdeps/generic/stdint.h (SIZE_MAX):
10085         Define as UL if __WORDSIZE32_SIZE_ULONG.
10086
10087         [BZ #16713]
10088         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10089         (__glibc_reserved0): New variable.
10090         (sa_flags): Change type to int.
10091
10092         * posix/Makefile (before-compile): Use += before-compile instead
10093         of a :=.
10094
10095         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10096         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10097
10098 2014-03-20  Andreas Schwab  <schwab@suse.de>
10099
10100         [BZ #16743]
10101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10102         non-matching result from nscd.
10103
10104 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10105
10106         * scripts/bench.py: Moved to ...
10107         * benchtests/scripts/bench.py: ... here.
10108         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10109
10110 2014-03-24  Andreas Schwab  <schwab@suse.de>
10111
10112         [BZ #16002]
10113         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10114         alloca_account and account alloca use for struct in6ailist.
10115
10116 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10117
10118         [BZ #16284]
10119         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10120         rounding mode to recompute results that overflow to infinity or
10121         underflow to zero.
10122         * math/auto-libm-test-in: Don't mark tests as expected to fail for
10123         bug 16284.
10124         * math/auto-libm-test-out: Regenerated.
10125         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10126         (ccosh_test): Likewise.
10127         (csin_test_data): Use plus_oflow.
10128         (csin_test): Use ALL_RM_TEST.
10129         (csinh_test_data): Use plus_oflow.
10130         (csinh_test): Use ALL_RM_TEST.
10131         * sysdeps/i386/fpu/libm-test-ulps: Update.
10132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10133
10134 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
10135
10136         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10137         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10138         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10139
10140         [BZ #16731]
10141         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10142         when x - 1 is zero.
10143         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10144         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10145         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10146         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10147         argument is 1.
10148         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10149         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10150         zero.
10151         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10152         * sysdeps/i386/fpu/libm-test-ulps: Update.
10153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10154
10155 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10156
10157         * scripts/bench.pl: Remove file.
10158         * scripts/bench.py: New benchmark script.
10159         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10160         * benchtests/README: Mention python dependency.
10161         * scripts/pylintrc: New file.
10162         * scripts/pylint: New file.
10163
10164         * bits/mathdef.h: Use #ifdef instead of #if.
10165         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10166         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10167         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10168         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10169         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10170         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10171
10172 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10173             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10174
10175         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10177         and strpbrk-ppc64 objects.
10178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10179         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10180         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10181         multiarch strpbrk for POWER7.
10182         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10183         multiarch strpbrk for PPC64.
10184         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10185         ifunc selector.
10186         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10187         strpbrk for POWER7.
10188
10189 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10190
10191         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10192         (atan_test): Likewise.
10193         (atanh_test_data): Use NO_TEST_INLINE for two tests.
10194         (atanh_test): Use ALL_RM_TEST.
10195         (atan2_test_data): Likewise.
10196         (cabs_test): Likewise.
10197         (cacosh_test): Likewise.
10198         (carg_test): Likewise.
10199         (casin_test): Likewise.
10200         (casinh_test): Likewise.
10201         (cbrt_test): Likewise.
10202         (csqrt_test): Likewise.
10203         (erf_test): Likewise.
10204         (erfc_test): Likewise.
10205         (pow10_test): Likewise.
10206         (exp2_test): Likewise.
10207         (hypot_test): Likewise.
10208         (j0_test): Likewise.
10209         (j1_test): Likewise.
10210         (lgamma_test): Likewise.
10211         (gamma_test): Likewise.
10212         (sincos_test): Likewise.
10213         (tanh_test): Likewise.
10214         (y0_test): Likewise.
10215         (y1_test): Likewise.
10216         * sysdeps/i386/fpu/libm-test-ulps: Update.
10217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10218
10219 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10220
10221         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10223         and strcspn-ppc64 objects.
10224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10225         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10226         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10227         multiarch strcspn for POWER7.
10228         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10229         multiarch strcspn for PPC64.
10230         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10231         ifunc selector.
10232         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10233         strcspn for POWER7.
10234
10235 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10236
10237         * math/gen-libm-test.pl (generate_testfile): Expect only function
10238         name as argument to AUTO_TESTS_* and pass results for all rounding
10239         modes to parse_args.
10240         (parse_auto_input): Separate inputs of automatic tests from
10241         outputs before storing in %auto_tests.
10242         * math/libm-test.inc (acos_test_data): Update call to
10243         AUTO_TESTS_f_f.
10244         (acos_test): Use ALL_RM_TEST.
10245         (acos_tonearest_test_data): Remove.
10246         (acos_test_tonearest): Likewise.
10247         (acos_towardzero_test_data): Likewise.
10248         (acos_test_towardzero): Likewise.
10249         (acos_downward_test_data): Likewise.
10250         (acos_test_downward): Likewise.
10251         (acos_upward_test_data): Likewise.
10252         (acos_test_upward): Likewise.
10253         (acosh_test_data): Update call to AUTO_TESTS_f_f.
10254         (asin_test_data): Likewise.
10255         (asin_test): Use ALL_RM_TEST.
10256         (asin_tonearest_test_data): Remove.
10257         (asin_test_tonearest): Likewise.
10258         (asin_towardzero_test_data): Likewise.
10259         (asin_test_towardzero): Likewise.
10260         (asin_downward_test_data): Likewise.
10261         (asin_test_downward): Likewise.
10262         (asin_upward_test_data): Likewise.
10263         (asin_test_upward): Likewise.
10264         (asinh_test_data): Update call to AUTO_TESTS_f_f.
10265         (atan_test_data): Likewise.
10266         (atanh_test_data): Likewise.
10267         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10268         (cabs_test_data): Update call to AUTO_TESTS_c_f.
10269         (carg_test_data): Likewise.
10270         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10271         (ccos_test_data): Update call to AUTO_TESTS_c_c.
10272         (ccosh_test_data): Likewise.
10273         (cexp_test_data): Likewise.
10274         (clog_test_data): Likewise.
10275         (clog10_test_data): Likewise.
10276         (cos_test_data): Update call to AUTO_TESTS_f_f.
10277         (cos_test): Use ALL_RM_TEST.
10278         (cos_tonearest_test_data): Remove.
10279         (cos_test_tonearest): Likewise.
10280         (cos_towardzero_test_data): Likewise.
10281         (cos_test_towardzero): Likewise.
10282         (cos_downward_test_data): Likewise.
10283         (cos_test_downward): Likewise.
10284         (cos_upward_test_data): Likewise.
10285         (cos_test_upward): Likewise.
10286         (cosh_test_data): Update call to AUTO_TESTS_f_f.
10287         (cosh_test): Use ALL_RM_TEST.
10288         (cosh_tonearest_test_data): Remove.
10289         (cosh_test_tonearest): Likewise.
10290         (cosh_towardzero_test_data): Likewise.
10291         (cosh_test_towardzero): Likewise.
10292         (cosh_downward_test_data): Likewise.
10293         (cosh_test_downward): Likewise.
10294         (cosh_upward_test_data): Likewise.
10295         (cosh_test_upward): Likewise.
10296         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10297         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10298         (ctan_test_data): Likewise.
10299         (ctan_test): Use ALL_RM_TEST.
10300         (ctan_tonearest_test_data): Remove.
10301         (ctan_test_tonearest): Likewise.
10302         (ctan_towardzero_test_data): Likewise.
10303         (ctan_test_towardzero): Likewise.
10304         (ctan_downward_test_data): Likewise.
10305         (ctan_test_downward): Likewise.
10306         (ctan_upward_test_data): Likewise.
10307         (ctan_test_upward): Likewise.
10308         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10309         (ctanh_test): Use ALL_RM_TEST.
10310         (ctanh_tonearest_test_data): Remove.
10311         (ctanh_test_tonearest): Likewise.
10312         (ctanh_towardzero_test_data): Likewise.
10313         (ctanh_test_towardzero): Likewise.
10314         (ctanh_downward_test_data): Likewise.
10315         (ctanh_test_downward): Likewise.
10316         (ctanh_upward_test_data): Likewise.
10317         (ctanh_test_upward): Likewise.
10318         (erf_test_data): Update call to AUTO_TESTS_f_f.
10319         (erfc_test_data): Likewise.
10320         (exp_test_data): Likewise.
10321         (exp_test): Use ALL_RM_TEST.
10322         (exp_tonearest_test_data): Remove.
10323         (exp_test_tonearest): Likewise.
10324         (exp_towardzero_test_data): Likewise.
10325         (exp_test_towardzero): Likewise.
10326         (exp_downward_test_data): Likewise.
10327         (exp_test_downward): Likewise.
10328         (exp_upward_test_data): Likewise.
10329         (exp_test_upward): Likewise.
10330         (exp10_test_data): Update call to AUTO_TESTS_f_f.
10331         (exp10_test): Use ALL_RM_TEST.
10332         (exp10_tonearest_test_data): Remove.
10333         (exp10_test_tonearest): Likewise.
10334         (exp10_towardzero_test_data): Likewise.
10335         (exp10_test_towardzero): Likewise.
10336         (exp10_downward_test_data): Likewise.
10337         (exp10_test_downward): Likewise.
10338         (exp10_upward_test_data): Likewise.
10339         (exp10_test_upward): Likewise.
10340         (exp2_test_data): Update call to AUTO_TESTS_f_f.
10341         (expm1_test_data): Likewise.
10342         (expm1_test): Use ALL_RM_TEST.
10343         (expm1_tonearest_test_data): Remove.
10344         (expm1_test_tonearest): Likewise.
10345         (expm1_towardzero_test_data): Likewise.
10346         (expm1_test_towardzero): Likewise.
10347         (expm1_downward_test_data): Likewise.
10348         (expm1_test_downward): Likewise.
10349         (expm1_upward_test_data): Likewise.
10350         (expm1_test_upward): Likewise.
10351         (fma_test_data): Update call to AUTO_TESTS_fff_f.
10352         (fma_test): Use ALL_RM_TEST.
10353         (fma_towardzero_test_data): Remove.
10354         (fma_test_towardzero): Likewise.
10355         (fma_downward_test_data): Likewise.
10356         (fma_test_downward): Likewise.
10357         (fma_upward_test_data): Likewise.
10358         (fma_test_upward): Likewise.
10359         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10360         (j0_test_data): Update call to AUTO_TESTS_f_f.
10361         (j1_test_data): Likewise.
10362         (jn_test_data): Update call to AUTO_TESTS_if_f.
10363         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10364         (log_test_data): Update call to AUTO_TESTS_f_f.
10365         (log10_test_data): Likewise.
10366         (log1p_test_data): Likewise.
10367         (log2_test_data): Likewise.
10368         (pow_test_data): Update call to AUTO_TESTS_ff_f.
10369         (pow_tonearest_test_data): Likewise.
10370         (sin_test_data): Update call to AUTO_TESTS_f_f.
10371         (sin_test): Use ALL_RM_TEST.
10372         (sin_tonearest_test_data): Remove.
10373         (sin_test_tonearest): Likewise.
10374         (sin_towardzero_test_data): Likewise.
10375         (sin_test_towardzero): Likewise.
10376         (sin_downward_test_data): Likewise.
10377         (sin_test_downward): Likewise.
10378         (sin_upward_test_data): Likewise.
10379         (sin_test_upward): Likewise.
10380         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10381         (sinh_test_data): Update call to AUTO_TESTS_f_f.
10382         (sinh_test): Use ALL_RM_TEST.
10383         (sinh_tonearest_test_data): Remove.
10384         (sinh_test_tonearest): Likewise.
10385         (sinh_towardzero_test_data): Likewise.
10386         (sinh_test_towardzero): Likewise.
10387         (sinh_downward_test_data): Likewise.
10388         (sinh_test_downward): Likewise.
10389         (sinh_upward_test_data): Likewise.
10390         (sinh_test_upward): Likewise.
10391         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10392         (sqrt_test): Use ALL_RM_TEST.
10393         (sqrt_tonearest_test_data): Remove.
10394         (sqrt_test_tonearest): Likewise.
10395         (sqrt_towardzero_test_data): Likewise.
10396         (sqrt_test_towardzero): Likewise.
10397         (sqrt_downward_test_data): Likewise.
10398         (sqrt_test_downward): Likewise.
10399         (sqrt_upward_test_data): Likewise.
10400         (sqrt_test_upward): Likewise.
10401         (tan_test_data): Update call to AUTO_TESTS_f_f.
10402         (tan_test): Use ALL_RM_TEST.
10403         (tan_tonearest_test_data): Remove.
10404         (tan_test_tonearest): Likewise.
10405         (tan_towardzero_test_data): Likewise.
10406         (tan_test_towardzero): Likewise.
10407         (tan_downward_test_data): Likewise.
10408         (tan_test_downward): Likewise.
10409         (tan_upward_test_data): Likewise.
10410         (tan_test_upward): Likewise.
10411         (tanh_test_data): Update call to AUTO_TESTS_f_f.
10412         (tgamma_test_data): Likewise.
10413         (y0_test_data): Likewise.
10414         (y1_test_data): Likewise.
10415         (yn_test_data): Update call to AUTO_TESTS_if_f.
10416         (main): Do not call removed functions.
10417
10418 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10419
10420         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10421         (ldexp_test_data): Remove.
10422         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
10423         scalbn_test_data.
10424         (scalb_test): Use ALL_RM_TEST.
10425
10426 2014-03-19  Andreas Schwab  <schwab@suse.de>
10427
10428         * nscd/nscd.service: Also invalidate netgroup cache on reload.
10429
10430 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10431
10432         [BZ #16649]
10433         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10434         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10435         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10437         (__ASSUME_PREADV): Undefine.
10438         (__ASSUME_PWRITEV): Likewise.
10439
10440 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10441
10442         * bits/mman-linux.h: Add comment about non-Linux use.
10443         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10444         bits/mman-linux.h resting place.
10445
10446         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10447         * bits/mman-linux.h: ... here.
10448
10449 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10450
10451         * conform/conformtest.pl: Add standard definition when calling C
10452         preprocessor on data files.
10453         (checknamespace): Remove unused variable.
10454
10455 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10456
10457         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10458         minus_oflow, plus_uflow and minus_uflow in expected results.
10459         * math/libm-test.inc (scalbn_test_data): Add more tests of
10460         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
10461         minus_uflow.
10462         (scalbn_test): Use ALL_RM_TEST.
10463         (scalbln_test_data): Add more tests of negative arguments.  Use
10464         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10465         (scalbln_test): Use ALL_RM_TEST.
10466
10467 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10468
10469         * scripts/abilist.awk: Ignore symbols marked with .hidden.
10470
10471 2014-03-18  Will Newton  <will.newton@linaro.org>
10472
10473         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10474         inaccurate comment.
10475
10476 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10477
10478         * Makerules [!subdir] (check-abi): Exit with error status if a
10479         test failed.
10480
10481 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10482
10483         * math/libm-test.inc (nearbyint_test_data): Include all tests used
10484         for rint.  Include results for all rounding modes.
10485         (nearbyint_test): Use ALL_RM_TEST.
10486         (rint_test_data): Include all tests used for nearbyint.
10487
10488 2014-03-17  Will Newton  <will.newton@linaro.org>
10489
10490         * nptl/sysdeps/pthread/pthread.h: Revert previous
10491         change.
10492
10493         * sysdeps/generic/ldsodefs.h: Revert previous
10494         change.
10495
10496         * libio/genops.c: Revert previous change.
10497         * libio/libioP.h: Likewise.
10498         * stdio-common/vfprintf.c: Likewise.
10499
10500         * sysdeps/generic/math_private.h: Revert previous
10501         change.
10502
10503         * sysdeps/generic/math_private.h: Check whether
10504         HAVE_RM_CTX is defined with #ifdef rather
10505         than #if.
10506
10507         * argp/argp-fmtstream.h: Check whether
10508         __STRICT_ANSI__ is defined with #ifdef rather
10509         than #if.
10510         * argp/argp.h: Likewise.
10511
10512         * libio/genops.c: Check whether
10513         _IO_JUMPS_OFFSET is defined with #ifdef rather
10514         than #if.
10515         * libio/libioP.h: Likewise.
10516         * stdio-common/vfprintf.c: Likewise.
10517
10518         * sysdeps/generic/ldsodefs.h: Check whether
10519         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10520         than #if.
10521
10522         * nptl/sysdeps/pthread/pthread.h: Check
10523         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10524         its value.
10525
10526 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10527
10528         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10529         setting O_APPEND.
10530         * libio/tst-ftell-active-handler.c (do_append_test): Add a
10531         test case.
10532
10533         [BZ #16680]
10534         * libio/fileops.c (_IO_file_open): Seek to end of file but
10535         don't cache the offset.
10536         (get_file_offset): Remove function.
10537         (do_ftell): Use cached offset when available.
10538         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10539         don't cache the offset.
10540         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10541         case.
10542         (do_one_test): Call it.
10543         (do_ftell_test): Fix up expected old offset for a+ mode.
10544         * libio/wfileops.c (do_ftell_wide): Used cached offset when
10545         available.
10546
10547         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10548         up test status with function return status.
10549         (do_write_test): Likewise.
10550         (do_append_test): Likewise.
10551
10552         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10553         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10554         Remove.
10555
10556 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10557
10558         * math/gen-libm-test.pl (parse_args): Handle results specified for
10559         each rounding mode separately.
10560         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10561         tests and results from lrint_tonearest_test_data,
10562         lrint_towardzero_test_data, lrint_downward_test_data and
10563         lrint_upward_test_data.
10564         (lrint_test): Use ALL_RM_TEST.
10565         (lrint_tonearest_test_data): Remove.
10566         (lrint_test_tonearest): Likewise.
10567         (lrint_towardzero_test_data): Likewise.
10568         (lrint_test_towardzero): Likewise.
10569         (lrint_downward_test_data): Likewise.
10570         (lrint_test_downward): Likewise.
10571         (lrint_upward_test_data): Likewise.
10572         (lrint_test_upward): Likewise.
10573         (llrint_test_data): Merge in per-rounding-mode tests and results
10574         from llrint_tonearest_test_data, llrint_towardzero_test_data,
10575         llrint_downward_test_data and llrint_upward_test_data.
10576         (llrint_test): Use ALL_RM_TEST.
10577         (llrint_tonearest_test_data): Remove.
10578         (llrint_test_tonearest): Likewise.
10579         (llrint_towardzero_test_data): Likewise.
10580         (llrint_test_towardzero): Likewise.
10581         (llrint_downward_test_data): Likewise.
10582         (llrint_test_downward): Likewise.
10583         (llrint_upward_test_data): Likewise.
10584         (llrint_test_upward): Likewise.
10585         (rint_test_data): Merge in per-rounding-mode tests and results
10586         from rint_tonearest_test_data, rint_towardzero_test_data,
10587         rint_downward_test_data and rint_upward_test_data.  Add
10588         per-rounding-mode results for tests not in those arrays.
10589         (rint_test): Use ALL_RM_TEST.
10590         (rint_tonearest_test_data): Remove.
10591         (rint_test_tonearest): Likewise.
10592         (rint_towardzero_test_data): Likewise.
10593         (rint_test_towardzero): Likewise.
10594         (rint_downward_test_data): Likewise.
10595         (rint_test_downward): Likewise.
10596         (rint_upward_test_data): Likewise.
10597         (rint_test_upward): Likewise.
10598         (main): Don't call removed functions.
10599
10600 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10601
10602         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10603         "Compiled on ..." crapola.  It is anti-useful.
10604
10605 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
10606
10607         * scripts/evaluate-test.sh: Handle fourth argument to determine
10608         whether test run should stop on failure.
10609         * Makeconfig (stop-on-test-failure): New variable.
10610         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10611         $(stop-on-test-failure).
10612         * Makefile (tests): Give a summary of results from testing and
10613         exit with failure status if they include an ERROR or FAIL.
10614         (xtests): Likewise.
10615         * manual/install.texi (Configuring and compiling): Mention
10616         stop-on-test-failure=y.
10617         * INSTALL: Regenerated.
10618
10619 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10620
10621         * scripts/versionlist.awk: New file.
10622         * Makerules [$(build-shared) = yes]
10623         (postclean-generated): Add Versions.def, not Versions.def.v and
10624         Versions.def.v.i.
10625         ($(common-objpfx)Versions.def.v.i): Target removed.
10626         ($(common-objpfx)Versions.def): New target.
10627         ($(common-objpfx)Versions.all): Depend on that rather that
10628         $(common-objpfx)Versions.def.v.
10629         * Versions.def: File removed.
10630
10631         * Makeconfig (+gccwarn): Add -Wundef.
10632         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10633         a dl-sysdep.h breaking its contract.
10634         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10635         * include/stackinfo.h: New file.
10636         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10637         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10638         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10639         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10640         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10641         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10642         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10643         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10644         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10645         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10646         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10647         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10648         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10649         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10650         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10651
10652 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10653
10654         [BZ #16707]
10655         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10656         implementation.
10657         * math/libm-test.inc (round_test_data): Add more tests.
10658
10659         [BZ #16706]
10660         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10661         implementation.
10662         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10663
10664         [BZ #16701]
10665         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10666         implementation.
10667         * math/libm-test.inc (ceil_test_data): Add more tests.
10668
10669         * math/libm-test.inc (trunc_test_data): Add more tests related to
10670         BZ#16414.
10671
10672 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10673
10674         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10675         with #if rather than #ifdef.
10676         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10677
10678 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10679
10680         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10681         first.  Disable AVX-512 GCC support if assembler doesn't support
10682         it.
10683         * sysdeps/x86_64/configure: Regenerated.
10684
10685 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10686
10687         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10688         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10689         (__old_pthread_attr_setstack): Likewise.
10690         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10691         [!_STACK_GROWS_DOWN]: Likewise.
10692
10693 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10694
10695         * config.make.in (have-bash2): Delete.
10696         * configure.ac (libc_cv_have_bash2): Delete.
10697         * configure: Regenerate.
10698         * elf/Makefile (common-ldd-rewrite): Rename to ...
10699         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10700         (sh-ldd-rewrite): Delete.
10701         (bash-ldd-rewrite): Delete.
10702         (have-bash2): Delete checks.
10703         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10704         ldd-rewrite.
10705
10706         * config.make.in (have-ksh): Delete.
10707         (KSH): Delete.
10708         * configure.ac (libc_cv_have_ksh): Delete.
10709         * configure: Regenerate.
10710
10711         * elf/Makefile: Delete $(have-ksh) check.
10712         ($(objpfx)sotruss): Change KSH to BASH.
10713         * elf/sotruss.ksh: Rename to ...
10714         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10715         function style to match POSIX.  Drop ksh vim mode setting.
10716
10717         * manual/time.texi (Specifying the Time Zone with TZ): Change
10718         Tuesday to Thursday.
10719
10720         * debug/tst-longjmp_chk2.c: Update header comment.
10721         (stackoverflow_handler): Add comment.  Call assert on pass value.
10722
10723 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10724
10725         [BZ #16194]
10726         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10727         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10728         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10729         (La_x86_64_vector): Add zmm.
10730         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10731         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10732         ($(objpfx)tst-audit10): New target.
10733         ($(objpfx)tst-audit10.out): Likewise.
10734         (tst-audit10-ENV): New.
10735         (AVX512-CFLAGS): Likewise.
10736         (CFLAGS-tst-audit10.c): Likewise.
10737         (CFLAGS-tst-auditmod10a.c): Likewise.
10738         (CFLAGS-tst-auditmod10b.c): Likewise.
10739         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10740         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10741         * sysdeps/x86_64/configure: Regenerated.
10742         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10743         AVX-512 zmm register support.
10744         (_dl_x86_64_save_sse): Likewise.
10745         (_dl_x86_64_restore_sse): Likewise.
10746         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10747         size vector registers.
10748         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10749         (ZMM_SIZE): Likewise.
10750         * sysdeps/x86_64/tst-audit10.c: New file.
10751         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10752         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10753
10754 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10755
10756         * configure.ac (HAVE_EHDR_START): New check.
10757         * configure: Regenerated.
10758         * config.h.in (HAVE_EHDR_START): New #undef.
10759         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10760         assuming the lowest-addressed segment maps the start of the file.
10761
10762 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10763
10764         * INSTALL: Regenerated.
10765
10766 2014-03-13  Will Newton  <will.newton@linaro.org>
10767
10768         * manual/setjmp.texi (System V contexts): Improve
10769         clarity and grammar of documentation.
10770
10771 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10772
10773         [BZ #16381]
10774         * elf/Makefile (tests): Add tst-pie2.
10775         (tests-pie): Add tst-pie2.
10776         * elf/tst-pie2.c: New file.
10777         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10778         for ET_EXEC.
10779         * elf/rtld.c (map_doit): Load executable as lt_executable.
10780         (dl_main): Likewise.
10781
10782 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10783
10784         [BZ #16642]
10785         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10786         (__ASSUME_PSELECT): Undefine.
10787
10788 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10789
10790         [BZ #16689]
10791         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10792         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10793         static build.
10794         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10795         selector for static builds.
10796
10797 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10798
10799         [BZ #16695]
10800         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10801         key in the buffer.
10802
10803 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10804
10805         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10806         IFUNC selector for static builds.
10807
10808 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10809
10810         * sysdeps/mips/math_private.h [__mips_hard_float]
10811         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10812         libc_feresetround_mips_ctx.
10813         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10814         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10815         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10816
10817         [BZ #16677]
10818         * math/s_nextafter.c (__nextafter): Do not return value from
10819         overflowing computation.
10820         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10821         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10822         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10823         Likewise.
10824         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10825         Likewise.
10826         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10827         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10828
10829 2014-03-11  Roland McGrath  <roland@hack.frob.com>
10830
10831         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10832         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10833         Move sfi_sp use from the load-multiple (that no longer sets sp) to
10834         the new mov targetting sp.
10835
10836 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10837
10838         [BZ #16683]
10839         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10840         Define it for static builds as well.
10841         (NO_BZERO_IMPL): Likewise.
10842
10843 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10844
10845         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10846         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10847         multiarch strspn for PPC64.
10848         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10849         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10851         (__libc_ifunc_impl_list): Likewise.
10852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10853         multiarch optimizations
10854         * string/strspn.c (strspn): Using macro to redefine symbol name.
10855
10856 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10857             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10858
10859         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10860         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10861         multiarch strncat for PPC64.
10862         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10863         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10865         (__libc_ifunc_impl_list): Likewise.
10866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10867         multiarch optimizations
10868
10869 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10870
10871         [BZ #16639]
10872         * nscd/nscd.service: Make service type forking.
10873
10874 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10875
10876         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10877         sign in non default rounding modes.
10878         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10879
10880 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
10881
10882         * math/libm-test.inc (ALL_RM_TEST): New macro.
10883         (ceil_test): Use ALL_RM_TEST.
10884         (cimag_test): Likewise.
10885         (conj_test): Likewise.
10886         (copysign_test): Likewise.
10887         (cproj_test): Likewise.
10888         (creal_test): Likewise.
10889         (fabs_test): Likewise.
10890         (floor_test): Likewise.
10891         (fmax_test): Likewise.
10892         (fmin_test): Likewise.
10893         (fmod_test): Likewise.
10894         (fpclassify_test): Likewise.
10895         (frexp_test): Likewise.
10896         (ilogb_test): Likewise.
10897         (isfinite_test): Likewise.
10898         (finite_test): Likewise.
10899         (isgreater_test): Likewise.
10900         (isgreaterequal_test): Likewise.
10901         (isinf_test): Likewise.
10902         (isless_test): Likewise.
10903         (islessequal_test): Likewise.
10904         (islessgreater_test): Likewise.
10905         (isnan_test): Likewise.
10906         (isnormal_test): Likewise.
10907         (issignaling_test): Likewise.
10908         (isunordered_test): Likewise.
10909         (logb_test): Likewise.
10910         (logb_downward_test_data): Remove.
10911         (logb_test_downward): Likewise.
10912         (lround_test): Use ALL_RM_TEST.
10913         (llround_test): Likewise.
10914         (modf_test): Likewise.
10915         (nexttoward_test): Likewise.
10916         (remainder_test): Likewise.
10917         (drem_test): Likewise.
10918         (remainder_tonearest_test_data): Likewise.
10919         (remainder_test_tonearest): Likewise.
10920         (drem_test_tonearest): Likewise.
10921         (remainder_towardzero_test_data): Likewise.
10922         (remainder_test_towardzero): Likewise.
10923         (drem_test_towardzero): Likewise.
10924         (remainder_downward_test_data): Likewise.
10925         (remainder_test_downward): Likewise.
10926         (drem_test_downward): Likewise.
10927         (remainder_upward_test_data): Likewise.
10928         (remainder_test_upward): Likewise.
10929         (drem_test_upward): Likewise.
10930         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
10931         (round_test): Use ALL_RM_TEST.
10932         (signbit_test): Likewise.
10933         (trunc_test): Likewise.
10934         (significand_test): Likewise.
10935         (main): Don't call removed functions.
10936
10937 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10938
10939         [BZ #16674]
10940         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10941         || __USE_XOPEN2K8].
10942         (ILL_ILLOPN): Likewise.
10943         (ILL_ILLADR): Likewise.
10944         (ILL_ILLTRP): Likewise.
10945         (ILL_PRVOPC): Likewise.
10946         (ILL_PRVREG): Likewise.
10947         (ILL_COPROC): Likewise.
10948         (ILL_BADSTK): Likewise.
10949         (FPE_INTDIV): Likewise.
10950         (FPE_INTOVF): Likewise.
10951         (FPE_FLTDIV): Likewise.
10952         (FPE_FLTOVF): Likewise.
10953         (FPE_FLTUND): Likewise.
10954         (FPE_FLTRES): Likewise.
10955         (FPE_FLTINV): Likewise.
10956         (FPE_FLTSUB): Likewise.
10957         (SEGV_MAPERR): Likewise.
10958         (SEGV_ACCERR): Likewise.
10959         (BUS_ADRALN): Likewise.
10960         (BUS_ADRERR): Likewise.
10961         (BUS_OBJERR): Likewise.
10962         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10963         (TRAP_TRACE): Likewise.
10964         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10965         __USE_XOPEN2K8].
10966         (CLD_KILLED): Likewise.
10967         (CLD_DUMPED): Likewise.
10968         (CLD_TRAPPED): Likewise.
10969         (CLD_STOPPED): Likewise.
10970         (CLD_CONTINUED): Likewise.
10971         (POLL_IN): Likewise.
10972         (POLL_OUT): Likewise.
10973         (POLL_MSG): Likewise.
10974         (POLL_ERR): Likewise.
10975         (POLL_PRI): Likewise.
10976         (POLL_HUP): Likewise.
10977         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10978         Likewise.
10979         (ILL_ILLOPN): Likewise.
10980         (ILL_ILLADR): Likewise.
10981         (ILL_ILLTRP): Likewise.
10982         (ILL_PRVOPC): Likewise.
10983         (ILL_PRVREG): Likewise.
10984         (ILL_COPROC): Likewise.
10985         (ILL_BADSTK): Likewise.
10986         (FPE_INTDIV): Likewise.
10987         (FPE_INTOVF): Likewise.
10988         (FPE_FLTDIV): Likewise.
10989         (FPE_FLTOVF): Likewise.
10990         (FPE_FLTUND): Likewise.
10991         (FPE_FLTRES): Likewise.
10992         (FPE_FLTINV): Likewise.
10993         (FPE_FLTSUB): Likewise.
10994         (SEGV_MAPERR): Likewise.
10995         (SEGV_ACCERR): Likewise.
10996         (BUS_ADRALN): Likewise.
10997         (BUS_ADRERR): Likewise.
10998         (BUS_OBJERR): Likewise.
10999         (BUS_MCEERR_AR): Likewise.
11000         (BUS_MCEERR_AO): Likewise.
11001         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11002         (TRAP_TRACE): Likewise.
11003         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11004         __USE_XOPEN2K8].
11005         (CLD_KILLED): Likewise.
11006         (CLD_DUMPED): Likewise.
11007         (CLD_TRAPPED): Likewise.
11008         (CLD_STOPPED): Likewise.
11009         (CLD_CONTINUED): Likewise.
11010         (POLL_IN): Likewise.
11011         (POLL_OUT): Likewise.
11012         (POLL_MSG): Likewise.
11013         (POLL_ERR): Likewise.
11014         (POLL_PRI): Likewise.
11015         (POLL_HUP): Likewise.
11016         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11017         (ILL_ILLOPN): Likewise.
11018         (ILL_ILLADR): Likewise.
11019         (ILL_ILLTRP): Likewise.
11020         (ILL_PRVOPC): Likewise.
11021         (ILL_PRVREG): Likewise.
11022         (ILL_COPROC): Likewise.
11023         (ILL_BADSTK): Likewise.
11024         (FPE_INTDIV): Likewise.
11025         (FPE_INTOVF): Likewise.
11026         (FPE_FLTDIV): Likewise.
11027         (FPE_FLTOVF): Likewise.
11028         (FPE_FLTUND): Likewise.
11029         (FPE_FLTRES): Likewise.
11030         (FPE_FLTINV): Likewise.
11031         (FPE_FLTSUB): Likewise.
11032         (SEGV_MAPERR): Likewise.
11033         (SEGV_ACCERR): Likewise.
11034         (BUS_ADRALN): Likewise.
11035         (BUS_ADRERR): Likewise.
11036         (BUS_OBJERR): Likewise.
11037         (BUS_MCEERR_AR): Likewise.
11038         (BUS_MCEERR_AO): Likewise.
11039         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11040         (TRAP_TRACE): Likewise.
11041         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11042         __USE_XOPEN2K8].
11043         (CLD_KILLED): Likewise.
11044         (CLD_DUMPED): Likewise.
11045         (CLD_TRAPPED): Likewise.
11046         (CLD_STOPPED): Likewise.
11047         (CLD_CONTINUED): Likewise.
11048         (POLL_IN): Likewise.
11049         (POLL_OUT): Likewise.
11050         (POLL_MSG): Likewise.
11051         (POLL_ERR): Likewise.
11052         (POLL_PRI): Likewise.
11053         (POLL_HUP): Likewise.
11054         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11055         Likewise.
11056         (ILL_ILLOPN): Likewise.
11057         (ILL_ILLADR): Likewise.
11058         (ILL_ILLTRP): Likewise.
11059         (ILL_PRVOPC): Likewise.
11060         (ILL_PRVREG): Likewise.
11061         (ILL_COPROC): Likewise.
11062         (ILL_BADSTK): Likewise.
11063         (ILL_BADIADDR): Likewise.
11064         (ILL_BREAK): Likewise.
11065         (FPE_INTDIV): Likewise.
11066         (FPE_INTOVF): Likewise.
11067         (FPE_FLTDIV): Likewise.
11068         (FPE_FLTOVF): Likewise.
11069         (FPE_FLTUND): Likewise.
11070         (FPE_FLTRES): Likewise.
11071         (FPE_FLTINV): Likewise.
11072         (FPE_FLTSUB): Likewise.
11073         (FPE_DECOVF): Likewise.
11074         (FPE_DECDIV): Likewise.
11075         (FPE_DECERR): Likewise.
11076         (FPE_INVASC): Likewise.
11077         (FPE_INVDEC): Likewise.
11078         (SEGV_MAPERR): Likewise.
11079         (SEGV_ACCERR): Likewise.
11080         (SEGV_PSTKOVF): Likewise.
11081         (BUS_ADRALN): Likewise.
11082         (BUS_ADRERR): Likewise.
11083         (BUS_OBJERR): Likewise.
11084         (BUS_MCEERR_AR): Likewise.
11085         (BUS_MCEERR_AO): Likewise.
11086         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11087         (TRAP_TRACE): Likewise.
11088         (TRAP_BRANCH): Likewise.
11089         (TRAP_HWBKPT): Likewise.
11090         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11091         __USE_XOPEN2K8].
11092         (CLD_KILLED): Likewise.
11093         (CLD_DUMPED): Likewise.
11094         (CLD_TRAPPED): Likewise.
11095         (CLD_STOPPED): Likewise.
11096         (CLD_CONTINUED): Likewise.
11097         (POLL_IN): Likewise.
11098         (POLL_OUT): Likewise.
11099         (POLL_MSG): Likewise.
11100         (POLL_ERR): Likewise.
11101         (POLL_PRI): Likewise.
11102         (POLL_HUP): Likewise.
11103         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11104         (ILL_ILLOPN): Likewise.
11105         (ILL_ILLADR): Likewise.
11106         (ILL_ILLTRP): Likewise.
11107         (ILL_PRVOPC): Likewise.
11108         (ILL_PRVREG): Likewise.
11109         (ILL_COPROC): Likewise.
11110         (ILL_BADSTK): Likewise.
11111         (FPE_INTDIV): Likewise.
11112         (FPE_INTOVF): Likewise.
11113         (FPE_FLTDIV): Likewise.
11114         (FPE_FLTOVF): Likewise.
11115         (FPE_FLTUND): Likewise.
11116         (FPE_FLTRES): Likewise.
11117         (FPE_FLTINV): Likewise.
11118         (FPE_FLTSUB): Likewise.
11119         (SEGV_MAPERR): Likewise.
11120         (SEGV_ACCERR): Likewise.
11121         (BUS_ADRALN): Likewise.
11122         (BUS_ADRERR): Likewise.
11123         (BUS_OBJERR): Likewise.
11124         (BUS_MCEERR_AR): Likewise.
11125         (BUS_MCEERR_AO): Likewise.
11126         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11127         (TRAP_TRACE): Likewise.
11128         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11129         __USE_XOPEN2K8].
11130         (CLD_KILLED): Likewise.
11131         (CLD_DUMPED): Likewise.
11132         (CLD_TRAPPED): Likewise.
11133         (CLD_STOPPED): Likewise.
11134         (CLD_CONTINUED): Likewise.
11135         (POLL_IN): Likewise.
11136         (POLL_OUT): Likewise.
11137         (POLL_MSG): Likewise.
11138         (POLL_ERR): Likewise.
11139         (POLL_PRI): Likewise.
11140         (POLL_HUP): Likewise.
11141         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11142         (ILL_ILLOPN): Likewise.
11143         (ILL_ILLADR): Likewise.
11144         (ILL_ILLTRP): Likewise.
11145         (ILL_PRVOPC): Likewise.
11146         (ILL_PRVREG): Likewise.
11147         (ILL_COPROC): Likewise.
11148         (ILL_BADSTK): Likewise.
11149         (FPE_INTDIV): Likewise.
11150         (FPE_INTOVF): Likewise.
11151         (FPE_FLTDIV): Likewise.
11152         (FPE_FLTOVF): Likewise.
11153         (FPE_FLTUND): Likewise.
11154         (FPE_FLTRES): Likewise.
11155         (FPE_FLTINV): Likewise.
11156         (FPE_FLTSUB): Likewise.
11157         (SEGV_MAPERR): Likewise.
11158         (SEGV_ACCERR): Likewise.
11159         (BUS_ADRALN): Likewise.
11160         (BUS_ADRERR): Likewise.
11161         (BUS_OBJERR): Likewise.
11162         (BUS_MCEERR_AR): Likewise.
11163         (BUS_MCEERR_AO): Likewise.
11164         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11165         (TRAP_TRACE): Likewise.
11166         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11167         __USE_XOPEN2K8].
11168         (CLD_KILLED): Likewise.
11169         (CLD_DUMPED): Likewise.
11170         (CLD_TRAPPED): Likewise.
11171         (CLD_STOPPED): Likewise.
11172         (CLD_CONTINUED): Likewise.
11173         (POLL_IN): Likewise.
11174         (POLL_OUT): Likewise.
11175         (POLL_MSG): Likewise.
11176         (POLL_ERR): Likewise.
11177         (POLL_PRI): Likewise.
11178         (POLL_HUP): Likewise.
11179         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11180         (ILL_ILLOPN): Likewise.
11181         (ILL_ILLADR): Likewise.
11182         (ILL_ILLTRP): Likewise.
11183         (ILL_PRVOPC): Likewise.
11184         (ILL_PRVREG): Likewise.
11185         (ILL_COPROC): Likewise.
11186         (ILL_BADSTK): Likewise.
11187         (FPE_INTDIV): Likewise.
11188         (FPE_INTOVF): Likewise.
11189         (FPE_FLTDIV): Likewise.
11190         (FPE_FLTOVF): Likewise.
11191         (FPE_FLTUND): Likewise.
11192         (FPE_FLTRES): Likewise.
11193         (FPE_FLTINV): Likewise.
11194         (FPE_FLTSUB): Likewise.
11195         (SEGV_MAPERR): Likewise.
11196         (SEGV_ACCERR): Likewise.
11197         (BUS_ADRALN): Likewise.
11198         (BUS_ADRERR): Likewise.
11199         (BUS_OBJERR): Likewise.
11200         (BUS_MCEERR_AR): Likewise.
11201         (BUS_MCEERR_AO): Likewise.
11202         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11203         (TRAP_TRACE): Likewise.
11204         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11205         __USE_XOPEN2K8].
11206         (CLD_KILLED): Likewise.
11207         (CLD_DUMPED): Likewise.
11208         (CLD_TRAPPED): Likewise.
11209         (CLD_STOPPED): Likewise.
11210         (CLD_CONTINUED): Likewise.
11211         (POLL_IN): Likewise.
11212         (POLL_OUT): Likewise.
11213         (POLL_MSG): Likewise.
11214         (POLL_ERR): Likewise.
11215         (POLL_PRI): Likewise.
11216         (POLL_HUP): Likewise.
11217         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11218         (ILL_ILLOPN): Likewise.
11219         (ILL_ILLADR): Likewise.
11220         (ILL_ILLTRP): Likewise.
11221         (ILL_PRVOPC): Likewise.
11222         (ILL_PRVREG): Likewise.
11223         (ILL_COPROC): Likewise.
11224         (ILL_BADSTK): Likewise.
11225         (ILL_DBLFLT): Likewise.
11226         (ILL_HARDWALL): Likewise.
11227         (FPE_INTDIV): Likewise.
11228         (FPE_INTOVF): Likewise.
11229         (FPE_FLTDIV): Likewise.
11230         (FPE_FLTOVF): Likewise.
11231         (FPE_FLTUND): Likewise.
11232         (FPE_FLTRES): Likewise.
11233         (FPE_FLTINV): Likewise.
11234         (FPE_FLTSUB): Likewise.
11235         (SEGV_MAPERR): Likewise.
11236         (SEGV_ACCERR): Likewise.
11237         (BUS_ADRALN): Likewise.
11238         (BUS_ADRERR): Likewise.
11239         (BUS_OBJERR): Likewise.
11240         (BUS_MCEERR_AR): Likewise.
11241         (BUS_MCEERR_AO): Likewise.
11242         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11243         (TRAP_TRACE): Likewise.
11244         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11245         __USE_XOPEN2K8].
11246         (CLD_KILLED): Likewise.
11247         (CLD_DUMPED): Likewise.
11248         (CLD_TRAPPED): Likewise.
11249         (CLD_STOPPED): Likewise.
11250         (CLD_CONTINUED): Likewise.
11251         (POLL_IN): Likewise.
11252         (POLL_OUT): Likewise.
11253         (POLL_MSG): Likewise.
11254         (POLL_ERR): Likewise.
11255         (POLL_PRI): Likewise.
11256         (POLL_HUP): Likewise.
11257         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11258         (ILL_ILLOPN): Likewise.
11259         (ILL_ILLADR): Likewise.
11260         (ILL_ILLTRP): Likewise.
11261         (ILL_PRVOPC): Likewise.
11262         (ILL_PRVREG): Likewise.
11263         (ILL_COPROC): Likewise.
11264         (ILL_BADSTK): Likewise.
11265         (FPE_INTDIV): Likewise.
11266         (FPE_INTOVF): Likewise.
11267         (FPE_FLTDIV): Likewise.
11268         (FPE_FLTOVF): Likewise.
11269         (FPE_FLTUND): Likewise.
11270         (FPE_FLTRES): Likewise.
11271         (FPE_FLTINV): Likewise.
11272         (FPE_FLTSUB): Likewise.
11273         (SEGV_MAPERR): Likewise.
11274         (SEGV_ACCERR): Likewise.
11275         (BUS_ADRALN): Likewise.
11276         (BUS_ADRERR): Likewise.
11277         (BUS_OBJERR): Likewise.
11278         (BUS_MCEERR_AR): Likewise.
11279         (BUS_MCEERR_AO): Likewise.
11280         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11281         (TRAP_TRACE): Likewise.
11282         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11283         __USE_XOPEN2K8].
11284         (CLD_KILLED): Likewise.
11285         (CLD_DUMPED): Likewise.
11286         (CLD_TRAPPED): Likewise.
11287         (CLD_STOPPED): Likewise.
11288         (CLD_CONTINUED): Likewise.
11289         (POLL_IN): Likewise.
11290         (POLL_OUT): Likewise.
11291         (POLL_MSG): Likewise.
11292         (POLL_ERR): Likewise.
11293         (POLL_PRI): Likewise.
11294         (POLL_HUP): Likewise.
11295         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11296         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11297
11298         [BZ #16670]
11299         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11300         before #include of <time.h>.
11301         [!__USE_XOPEN2K] (__need_timespec): Likewise.
11302         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11303         (test-xfail-UNIX98/sched.h/conform): Likewise.
11304
11305 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11306
11307         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11308         error absence of trapping exception support.
11309         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11310
11311 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11312
11313         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11314         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11315         * timezone/Makefile (testdata): Move definition above include of
11316         Rules.
11317         (test-zones): New variable.
11318         (tests-special): Add zone files.
11319         (build-testdata): Use $(evaluate-test).
11320
11321         * elf/Makefile (tests-special): Rename tests to end with .out.
11322         ($(objpfx)noload-mem): Likewise.
11323         ($(objpfx)tst-leaks1-mem): Likewise.
11324         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11325         * iconv/Makefile (xtests-special): Change test-iconvconfig to
11326         $(objpfx)test-iconvconfig.out.
11327         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
11328         set -e inside subshell and redirect output to file.
11329         * iconvdata/Makefile (generated): Rename tests to end with .out.
11330         Correct type.
11331         (tests-special): Rename tests to end with .out.
11332         ($(objpfx)mtrace-tst-loading): Likewise.
11333         * intl/Makefile (generated): Likewise.
11334         (tests-special): Likewise.
11335         ($(objpfx)mtrace-tst-gettext): Likewise.
11336         * misc/Makefile (generated): Likewise.
11337         (tests-special): Likewise.
11338         ($(objpfx)tst-error1-mem): Likewise.
11339         * nptl/Makefile (tests-special): Likewise.
11340         ($(objpfx)tst-stack3-mem): Likewise.
11341         (generated): Likewise.
11342         * posix/Makefile (generated): Likewise.
11343         (tests-special): Likewise.
11344         (xtests-special): Likewise.
11345         ($(objpfx)tst-fnmatch-mem): Likewise.
11346         ($(objpfx)bug-regex2-mem): Likewise.
11347         ($(objpfx)bug-regex14-mem): Likewise.
11348         ($(objpfx)bug-regex21-mem): Likewise.
11349         ($(objpfx)bug-regex31-mem): Likewise.
11350         ($(objpfx)tst-vfork3-mem): Likewise.
11351         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11352         ($(objpfx)tst-pcre-mem): Likewise.
11353         ($(objpfx)tst-boost-mem): Likewise.
11354         ($(objpfx)bug-ga2-mem): Likewise.
11355         ($(objpfx)bug-glob2-mem): Likewise.
11356         * resolv/Makefile (generate): Likewise.
11357         (tests-special): Likewise.
11358         (xtests-special): Likewise.
11359         (generated): Likewise.
11360         ($(objpfx)mtrace-tst-leaks): Likewise.
11361         ($(objpfx)mtrace-tst-leaks2): Likewise.
11362
11363         * scripts/merge-test-results.sh: New file.
11364         * Makefile (tests-special-notdir): New variable.
11365         (tests): Run merge-test-results.sh.
11366         (xtests): Likewise.
11367         * Rules (tests-special-notdir): New variable.
11368         (xtests-special-notdir): Likewise.
11369         (tests): Run merge-test-results.sh
11370         (xtests): Likewise.
11371
11372         * Makeconfig (test-xfail-name): New variable.
11373         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11374         compute variable name for expected failures.
11375         * conform/Makefile (conformtest-headers-data): New variable.
11376         (conformtest-standards): Likewise.
11377         (conformtest-headers-ISO): Likewise.
11378         (conformtest-headers-ISO99): Likewise.
11379         (conformtest-headers-ISO11): Likewise.
11380         (conformtest-headers-POSIX): Likewise.
11381         (conformtest-headers-XPG3): Likewise.
11382         (conformtest-headers-XPG4): Likewise.
11383         (conformtest-headers-UNIX98): Likewise.
11384         (conformtest-headers-XOPEN2K): Likewise.
11385         (conformtest-headers-POSIX2008): Likewise.
11386         (conformtest-headers-XOPEN2K8): Likewise.
11387         (conformtest-header-list-base): Likewise.
11388         (conformtest-header-list-tests): Likewise.
11389         (conformtest-header-base): Likewise.
11390         (conformtest-header-tests): Likewise.
11391         (tests-special): Add $(conformtest-header-list-tests).  If
11392         [$(fast-check) && !$(cross-compiling)], add
11393         $(conformtest-header-tests) instead of
11394         $(objpfx)run-conformtest.out.
11395         (generated): Add $(conformtest-header-list-base).  If
11396         [$(fast-check) && !$(cross-compiling)], add
11397         $(conformtest-header-base).  Remove previous setting.
11398         ($(conformtest-header-list-tests)): New target.
11399         (test-xfail-run-conformtest): Remove variable.
11400         ($(objpfx)run-conformtest.out): Remove target.
11401         (test-xfail-ISO11/complex.h/conform): New variable.
11402         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11403         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11404         (test-xfail-XPG3/varargs.h/conform): Likewise.
11405         (test-xfail-XPG4/varargs.h/conform): Likewise.
11406         (test-xfail-UNIX98/varargs.h/conform): Likewise.
11407         (test-xfail-XPG4/ndbm.h/conform): Likewise.
11408         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11409         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11410         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11411         (test-xfail-XPG3/fcntl.h/conform): Likewise.
11412         (test-xfail-XPG3/ftw.h/conform): Likewise.
11413         (test-xfail-XPG3/grp.h/conform): Likewise.
11414         (test-xfail-XPG3/langinfo.h/conform): Likewise.
11415         (test-xfail-XPG3/limits.h/conform): Likewise.
11416         (test-xfail-XPG3/pwd.h/conform): Likewise.
11417         (test-xfail-XPG3/search.h/conform): Likewise.
11418         (test-xfail-XPG3/signal.h/conform): Likewise.
11419         (test-xfail-XPG3/stdio.h/conform): Likewise.
11420         (test-xfail-XPG3/stdlib.h/conform): Likewise.
11421         (test-xfail-XPG3/string.h/conform): Likewise.
11422         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11423         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11424         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11425         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11426         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11427         (test-xfail-XPG3/sys/types.h/conform): Likewise.
11428         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11429         (test-xfail-XPG3/termios.h/conform): Likewise.
11430         (test-xfail-XPG3/time.h/conform): Likewise.
11431         (test-xfail-XPG3/unistd.h/conform): Likewise.
11432         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11433         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11434         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11435         (test-xfail-XPG4/netdb.h/conform): Likewise.
11436         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11437         (test-xfail-XPG4/signal.h/conform): Likewise.
11438         (test-xfail-XPG4/stdio.h/conform): Likewise.
11439         (test-xfail-XPG4/stdlib.h/conform): Likewise.
11440         (test-xfail-XPG4/stropts.h/conform): Likewise.
11441         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11442         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11443         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11444         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11445         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11446         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11447         (test-xfail-XPG4/sys/time.h/conform): Likewise.
11448         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11449         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11450         (test-xfail-XPG4/termios.h/conform): Likewise.
11451         (test-xfail-XPG4/ucontext.h/conform): Likewise.
11452         (test-xfail-XPG4/unistd.h/conform): Likewise.
11453         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11454         (test-xfail-POSIX/sched.h/conform): Likewise.
11455         (test-xfail-POSIX/signal.h/conform): Likewise.
11456         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11457         (test-xfail-POSIX/tar.h/conform): Likewise.
11458         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11459         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11460         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11461         (test-xfail-UNIX98/netdb.h/conform): Likewise.
11462         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11463         (test-xfail-UNIX98/sched.h/conform): Likewise.
11464         (test-xfail-UNIX98/signal.h/conform): Likewise.
11465         (test-xfail-UNIX98/stdio.h/conform): Likewise.
11466         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11467         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11468         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11469         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11470         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11471         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11472         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11473         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11474         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11475         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11476         (test-xfail-UNIX98/unistd.h/conform): Likewise.
11477         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11478         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11479         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11480         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11481         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11482         (test-xfail-XOPEN2K/math.h/conform): Likewise.
11483         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11484         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11485         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11486         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11487         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11488         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11489         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11490         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11491         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11492         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11493         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11494         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11495         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11496         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11497         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11498         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11499         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11500         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11501         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11502         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11503         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11504         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11505         (test-xfail-POSIX2008/signal.h/conform): Likewise.
11506         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11507         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11508         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11509         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11510         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11511         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11512         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11513         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11514         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11515         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11516         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11517         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11518         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11519         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11520         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11521         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11522         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11523         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11524         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11525         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11526         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11527         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11528         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11529         (conformtest-cc-flags): Likewise.
11530         ($(conformtest-header-tests): New target.
11531         * conform/check-header-lists.sh: New file.
11532         * conform/run-conformtest.sh: Remove.
11533
11534         * conform/conformtest.pl: Allow ' and \ in values given for
11535         constants.
11536         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11537         inclusion.
11538         [POSIX] (sys/types.h): Likewise.
11539         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11540         inclusion.
11541         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11542         inclusion.
11543         * conform/data/signal.h-data (SIGIO): Remove expectation.
11544         [XPG3] (SIGBUS): Do not expect.
11545         [POSIX || XPG3] (SIGPOLL): Likewise.
11546         [POSIX || XPG3] (SIGPROF): Likewise.
11547         [POSIX || XPG3] (SIGSYS): Likewise.
11548         [XPG3] (SIGTRAP): Likewise.
11549         [POSIX || XPG3] (SIGURG): Likewise.
11550         [POSIX || XPG3] (SIGVTALRM): Likewise.
11551         [POSIX || XPG3] (SIGXCPU): Likewise.
11552         [POSIX || XPG3] (SIGXFSZ): Likewise.
11553         [POSIX] (SA_SIGINFO): Expect.
11554         [XPG3] (siginfo_t): Do not expect type or contents.
11555         [POSIX] (si_pid): Do not expect element.
11556         [POSIX] (si_uid): Likewise.
11557         [POSIX] (si_addr): Likewise.
11558         [POSIX] (si_status): Likewise.
11559         [POSIX] (si_band): Likewise.
11560         [XPG4] (si_value): Likewise.
11561         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11562         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11563         [POSIX || XPG3] (ILL_ILLADR): Likewise.
11564         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11565         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11566         [POSIX || XPG3] (ILL_PRVREG): Likewise.
11567         [POSIX || XPG3] (ILL_COPROC): Likewise.
11568         [POSIX || XPG3] (ILL_BADSTK): Likewise.
11569         [POSIX || XPG3] (FPE_INTDIV): Likewise.
11570         [POSIX || XPG3] (FPE_INTOVF): Likewise.
11571         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11572         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11573         [POSIX || XPG3] (FPE_FLTUND): Likewise.
11574         [POSIX || XPG3] (FPE_FLTRES): Likewise.
11575         [POSIX || XPG3] (FPE_FLTINV): Likewise.
11576         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11577         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11578         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11579         [POSIX || XPG3] (BUS_ADRALN): Likewise.
11580         [POSIX || XPG3] (BUS_ADRERR): Likewise.
11581         [POSIX || XPG3] (BUS_OBJERR): Likewise.
11582         [POSIX || XPG3] (CLD_EXITED): Likewise.
11583         [POSIX || XPG3] (CLD_KILLED): Likewise.
11584         [POSIX || XPG3] (CLD_DUMPED): Likewise.
11585         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11586         [POSIX || XPG3] (CLD_STOPPED): Likewise.
11587         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11588         [POSIX || XPG3] (POLL_IN): Likewise.
11589         [POSIX || XPG3] (POLL_OUT): Likewise.
11590         [POSIX || XPG3] (POLL_MSG): Likewise.
11591         [POSIX || XPG3] (POLL_ERR): Likewise.
11592         [POSIX || XPG3] (POLL_PRI): Likewise.
11593         [POSIX || XPG3] (POLL_HUP): Likewise.
11594         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11595         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11596         (SIG*): Do not allow.
11597         [XPG3] (si_*): Likewise.
11598         [XPG3] (SI_*): Likewise.
11599         [XPG3 || XPG4] (sigev_*): Likewise.
11600         [XPG3 || XPG4] (SIGEV_*): Likewise.
11601         [XPG3 || XPG4] (sival_*): Likewise.
11602         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11603         [POSIX || XPG3] (BUS_*): Likewise.
11604         [POSIX || XPG3] (CLD_*): Likewise.
11605         [POSIX || XPG3] (FPE_*): Likewise.
11606         [POSIX || XPG3] (ILL_*): Likewise.
11607         [POSIX || XPG3] (POLL_*): Likewise.
11608         [POSIX || XPG3] (SEGV_*): Likewise.
11609         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11610         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11611         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11612         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11613         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11614         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11615         Specify type and value.
11616         (TVERSLEN): Likewise.
11617         (REGTYPE): Likewise.
11618         (AREGTYPE): Likewise.
11619         (LNKTYPE): Likewise.
11620         (SYMTYPE): Likewise.
11621         (CHRTYPE): Likewise.
11622         (BLKTYPE): Likewise.
11623         (DIRTYPE): Likewise.
11624         (FIFOTYPE): Likewise.
11625         (CONTTYPE): Likewise.
11626         (TSUID): Likewise.
11627         (TSGID): Likewise.
11628         (TSVTX): Likewise.
11629         (TUREAD): Likewise.
11630         (TUWRITE): Likewise.
11631         (TUEXEC): Likewise.
11632         (TGREAD): Likewise.
11633         (TGWRITE): Likewise.
11634         (TGEXEC): Likewise.
11635         (TOREAD): Likewise.
11636         (TOWRITE): Likewise.
11637         (TOEXEC): Likewise.
11638         [POSIX] (TSVTX): Expect constant.
11639
11640 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11641
11642         * Makefile (tests): Change dependencies to ....
11643         (tests-special): ... additions to this variable.
11644         (tests): Depend on $(tests-special).
11645         * Makerules (check-abi-list): New variable.
11646         (check-abi): Depend on $(check-abi-list).
11647         [$(subdir) = elf] (tests-special): Add
11648         $(objpfx)check-abi-libc.out.
11649         [$(build-shared) = yes && subdir] (tests-special): Add
11650         $(check-abi-list).
11651         [$(build-shared) = yes && subdir] (tests): Do not depend on
11652         check-abi.
11653         * Rules (tests): Depend on $(tests-special).
11654         (xtests): Depend on $(xtests-special).
11655         * catgets/Makefile (tests): Change dependencies to ....
11656         (tests-special): ... additions to this variable.
11657         * conform/Makefile (tests): Change dependencies to ....
11658         (tests-special): ... additions to this variable.
11659         * elf/Makefile (tests): Change dependencies to ....
11660         (tests-special): ... additions to this variable.
11661         * grp/Makefile (tests): Change dependencies to ....
11662         (tests-special): ... additions to this variable.
11663         * iconv/Makefile (xtests): Change dependencies to ....
11664         (xtests-special): ... additions to this variable.
11665         * iconvdata/Makefile (tests): Change dependencies to ....
11666         (tests-special): ... additions to this variable.
11667         * intl/Makefile (tests): Change dependencies to ....
11668         (tests-special): ... additions to this variable.  Also add
11669         $(objpfx)tst-gettext.out.
11670         * io/Makefile (tests): Change dependencies to ....
11671         (tests-special): ... additions to this variable.
11672         * libio/Makefile (tests): Change dependencies to ....
11673         (tests-special): ... additions to this variable.
11674         * malloc/Makefile (tests): Change dependencies to ....
11675         (tests-special): ... additions to this variable.
11676         * misc/Makefile (tests): Change dependencies to ....
11677         (tests-special): ... additions to this variable.
11678         * nptl/Makefile (tests): Change dependencies to ....
11679         (tests-special): ... additions to this variable.
11680         * nptl_db/Makefile (tests): Change dependencies to ....
11681         (tests-special): ... additions to this variable.
11682         * posix/Makefile (tests): Change dependencies to ....
11683         (tests-special): ... additions to this variable.
11684         (xtests): Change dependencies to ....
11685         (xtests-special): ... additions to this variable.
11686         * resolv/Makefile (tests): Change dependencies to ....
11687         (tests-special): ... additions to this variable.
11688         (xtests): Change dependencies to ....
11689         (xtests-special): ... additions to this variable.
11690         * stdio-common/Makefile (tests): Change dependencies to ....
11691         (tests-special): ... additions to this variable.
11692         (do-tst-unbputc): Remove target.
11693         (do-tst-printf): Likewise.
11694         * stdlib/Makefile (tests): Change dependencies to ....
11695         (tests-special): ... additions to this variable.
11696         * string/Makefile (tests): Change dependencies to ....
11697         (tests-special): ... additions to this variable.
11698         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11699         (tests-special): ... additions to this variable.
11700
11701         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11702         whole file.
11703         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11704         whole file.
11705         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11706         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11707
11708         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11709         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11710         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11711         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11712         * conform/data/libgen.h-data [XPG3]: Likewise.
11713         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11714         * conform/data/ndbm.h-data [XPG3]: Likewise.
11715         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11716         * conform/data/netdb.h-data [XPG3]: Likewise.
11717         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11718         * conform/data/poll.h-data [XPG3]: Likewise.
11719         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11720         * conform/data/strings.h-data [XPG3]: Likewise.
11721         * conform/data/stropts.h-data [XPG3]: Likewise.
11722         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11723         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11724         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11725         Likewise.
11726         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11727         * conform/data/sys/time.h-data [XPG3]: Likewise.
11728         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11729         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11730         * conform/data/sys/un.h-data [XPG3]: Likewise.
11731         * conform/data/syslog.h-data [XPG3]: Likewise.
11732         * conform/data/ucontext.h-data [XPG3]: Likewise.
11733         * conform/data/utmpx.h-data [XPG3]: Likewise.
11734         * conform/data/varargs.h-data [UNIX98]: Enable file.
11735
11736         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11737
11738         * math/libm-test.inc (struct test_f_f_data): Move expected results
11739         into structure for each rounding mode.
11740         (struct test_ff_f_data): Likewise.
11741         (struct test_ff_f_data_nexttoward): Likewise.
11742         (struct test_fi_f_data): Likewise.
11743         (struct test_fl_f_data): Likewise.
11744         (struct test_if_f_data): Likewise.
11745         (struct test_fff_f_data): Likewise.
11746         (struct test_c_f_data): Likewise.
11747         (struct test_f_f1_data): Likewise.
11748         (struct test_fF_f1_data): Likewise.
11749         (struct test_ffI_f1_data): Likewise.
11750         (struct test_c_c_data): Likewise.
11751         (struct test_cc_c_data): Likewise.
11752         (struct test_f_i_data): Likewise.
11753         (struct test_ff_i_data): Likewise.
11754         (struct test_f_l_data): Likewise.
11755         (struct test_f_L_data): Likewise.
11756         (struct test_fFF_11_data): Likewise.
11757         (RM_): New macro.
11758         (RM_FE_DOWNWARD): Likewise.
11759         (RM_FE_TONEAREST): Likewise.
11760         (RM_FE_TOWARDZERO): Likewise.
11761         (RM_FE_UPWARD): Likewise.
11762         (RUN_TEST_LOOP_f_f): Update references to expected results.
11763         (RUN_TEST_LOOP_2_f): Likewise.
11764         (RUN_TEST_LOOP_fff_f): Likewise.
11765         (RUN_TEST_LOOP_c_f): Likewise.
11766         (RUN_TEST_LOOP_f_f1): Likewise.
11767         (RUN_TEST_LOOP_fF_f1): Likewise.
11768         (RUN_TEST_LOOP_fI_f1): Likewise.
11769         (RUN_TEST_LOOP_ffI_f1): Likewise.
11770         (RUN_TEST_LOOP_c_c): Likewise.
11771         (RUN_TEST_LOOP_cc_c): Likewise.
11772         (RUN_TEST_LOOP_f_i): Likewise.
11773         (RUN_TEST_LOOP_f_i_tg): Likewise.
11774         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11775         (RUN_TEST_LOOP_f_b): Likewise.
11776         (RUN_TEST_LOOP_f_b_tg): Likewise.
11777         (RUN_TEST_LOOP_f_l): Likewise.
11778         (RUN_TEST_LOOP_f_L): Likewise.
11779         (RUN_TEST_LOOP_fFF_11): Likewise.
11780         * math/gen-libm-test.pl (parse_args): Output four copies of
11781         expected results for each test.
11782
11783         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11784         (__ASSUME_UTIMES): Remove.
11785         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11786         (__ASSUME_UTIMES): Likewise.
11787
11788         * math/gen-auto-libm-tests.c: Update comment on output format.
11789         (output_for_one_input_case): Generate before-rounding and
11790         after-rounding information as conditions on output flags not
11791         floating-point format.
11792         * math/auto-libm-test-out: Regenerated.
11793         * math/gen-libm-test.pl (cond_value): New function.
11794         (or_cond_value): Use cond_value.
11795         (generate_testfile): Handle conditional exceptions.
11796
11797 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11798
11799         * math/libm-test.inc (max_valid_error): New variable.
11800         (init_max_error): Take new argument specifying whether function
11801         results are exactly determined.  Set max_valid_error and bound
11802         other variables for errors based on this argument.
11803         (set_max_error): Do not record results above max_valid_error.
11804         (check_float_internal): Only accept errors of up to 0.5ulps if
11805         also at most max_valid_error.
11806         (START): Take new argument EXACT and pass it to init_max_error.
11807         (acos_test): Update call to START.
11808         (acos_test_tonearest): Likewise.
11809         (acos_test_towardzero): Likewise.
11810         (acos_test_downward): Likewise.
11811         (acos_test_upward): Likewise.
11812         (acosh_test): Likewise.
11813         (asin_test): Likewise.
11814         (asin_test_tonearest): Likewise.
11815         (asin_test_towardzero): Likewise.
11816         (asin_test_downward): Likewise.
11817         (asin_test_upward): Likewise.
11818         (asinh_test): Likewise.
11819         (atan_test): Likewise.
11820         (atanh_test): Likewise.
11821         (atan2_test): Likewise.
11822         (cabs_test): Likewise.
11823         (cacos_test): Likewise.
11824         (cacosh_test): Likewise.
11825         (carg_test): Likewise.
11826         (casin_test): Likewise.
11827         (casinh_test): Likewise.
11828         (catan_test): Likewise.
11829         (catanh_test): Likewise.
11830         (cbrt_test): Likewise.
11831         (ccos_test): Likewise.
11832         (ccosh_test): Likewise.
11833         (ceil_test): Likewise.
11834         (cexp_test): Likewise.
11835         (cimag_test): Likewise.
11836         (clog_test): Likewise.
11837         (clog10_test): Likewise.
11838         (conj_test): Likewise.
11839         (copysign_test): Likewise.
11840         (cos_test): Likewise.
11841         (cos_test_tonearest): Likewise.
11842         (cos_test_towardzero): Likewise.
11843         (cos_test_downward): Likewise.
11844         (cos_test_upward): Likewise.
11845         (cosh_test): Likewise.
11846         (cosh_test_tonearest): Likewise.
11847         (cosh_test_towardzero): Likewise.
11848         (cosh_test_downward): Likewise.
11849         (cosh_test_upward): Likewise.
11850         (cpow_test): Likewise.
11851         (cproj_test): Likewise.
11852         (creal_test): Likewise.
11853         (csin_test): Likewise.
11854         (csinh_test): Likewise.
11855         (csqrt_test): Likewise.
11856         (ctan_test): Likewise.
11857         (ctan_test_tonearest): Likewise.
11858         (ctan_test_towardzero): Likewise.
11859         (ctan_test_downward): Likewise.
11860         (ctan_test_upward): Likewise.
11861         (ctanh_test): Likewise.
11862         (ctanh_test_tonearest): Likewise.
11863         (ctanh_test_towardzero): Likewise.
11864         (ctanh_test_downward): Likewise.
11865         (ctanh_test_upward): Likewise.
11866         (erf_test): Likewise.
11867         (erfc_test): Likewise.
11868         (exp_test): Likewise.
11869         (exp_test_tonearest): Likewise.
11870         (exp_test_towardzero): Likewise.
11871         (exp_test_downward): Likewise.
11872         (exp_test_upward): Likewise.
11873         (exp10_test): Likewise.
11874         (exp10_test_tonearest): Likewise.
11875         (exp10_test_towardzero): Likewise.
11876         (exp10_test_downward): Likewise.
11877         (exp10_test_upward): Likewise.
11878         (pow10_test): Likewise.
11879         (exp2_test): Likewise.
11880         (expm1_test): Likewise.
11881         (expm1_test_tonearest): Likewise.
11882         (expm1_test_towardzero): Likewise.
11883         (expm1_test_downward): Likewise.
11884         (expm1_test_upward): Likewise.
11885         (fabs_test): Likewise.
11886         (fdim_test): Likewise.
11887         (floor_test): Likewise.
11888         (fma_test): Likewise.
11889         (fma_test_towardzero): Likewise.
11890         (fma_test_downward): Likewise.
11891         (fma_test_upward): Likewise.
11892         (fmax_test): Likewise.
11893         (fmin_test): Likewise.
11894         (fmod_test): Likewise.
11895         (fpclassify_test): Likewise.
11896         (frexp_test): Likewise.
11897         (hypot_test): Likewise.
11898         (ilogb_test): Likewise.
11899         (isfinite_test): Likewise.
11900         (finite_test): Likewise.
11901         (isgreater_test): Likewise.
11902         (isgreaterequal_test): Likewise.
11903         (isinf_test): Likewise.
11904         (isless_test): Likewise.
11905         (islessequal_test): Likewise.
11906         (islessgreater_test): Likewise.
11907         (isnan_test): Likewise.
11908         (isnormal_test): Likewise.
11909         (issignaling_test): Likewise.
11910         (isunordered_test): Likewise.
11911         (j0_test): Likewise.
11912         (j1_test): Likewise.
11913         (jn_test): Likewise.
11914         (ldexp_test): Likewise.
11915         (lgamma_test): Likewise.
11916         (gamma_test): Likewise.
11917         (lrint_test): Likewise.
11918         (lrint_test_tonearest): Likewise.
11919         (lrint_test_towardzero): Likewise.
11920         (lrint_test_downward): Likewise.
11921         (lrint_test_upward): Likewise.
11922         (llrint_test): Likewise.
11923         (llrint_test_tonearest): Likewise.
11924         (llrint_test_towardzero): Likewise.
11925         (llrint_test_downward): Likewise.
11926         (llrint_test_upward): Likewise.
11927         (log_test): Likewise.
11928         (log10_test): Likewise.
11929         (log1p_test): Likewise.
11930         (log2_test): Likewise.
11931         (logb_test): Likewise.
11932         (logb_test_downward): Likewise.
11933         (lround_test): Likewise.
11934         (llround_test): Likewise.
11935         (modf_test): Likewise.
11936         (nearbyint_test): Likewise.
11937         (nextafter_test): Likewise.
11938         (nexttoward_test): Likewise.
11939         (pow_test): Likewise.
11940         (pow_test_tonearest): Likewise.
11941         (pow_test_towardzero): Likewise.
11942         (pow_test_downward): Likewise.
11943         (pow_test_upward): Likewise.
11944         (remainder_test): Likewise.
11945         (drem_test): Likewise.
11946         (remainder_test_tonearest): Likewise.
11947         (drem_test_tonearest): Likewise.
11948         (remainder_test_towardzero): Likewise.
11949         (drem_test_towardzero): Likewise.
11950         (remainder_test_downward): Likewise.
11951         (drem_test_downward): Likewise.
11952         (remainder_test_upward): Likewise.
11953         (drem_test_upward): Likewise.
11954         (remquo_test): Likewise.
11955         (rint_test): Likewise.
11956         (rint_test_tonearest): Likewise.
11957         (rint_test_towardzero): Likewise.
11958         (rint_test_downward): Likewise.
11959         (rint_test_upward): Likewise.
11960         (round_test): Likewise.
11961         (scalb_test): Likewise.
11962         (scalbn_test): Likewise.
11963         (scalbln_test): Likewise.
11964         (signbit_test): Likewise.
11965         (sin_test): Likewise.
11966         (sin_test_tonearest): Likewise.
11967         (sin_test_towardzero): Likewise.
11968         (sin_test_downward): Likewise.
11969         (sin_test_upward): Likewise.
11970         (sincos_test): Likewise.
11971         (sinh_test): Likewise.
11972         (sinh_test_tonearest): Likewise.
11973         (sinh_test_towardzero): Likewise.
11974         (sinh_test_downward): Likewise.
11975         (sinh_test_upward): Likewise.
11976         (sqrt_test): Likewise.
11977         (sqrt_test_tonearest): Likewise.
11978         (sqrt_test_towardzero): Likewise.
11979         (sqrt_test_downward): Likewise.
11980         (sqrt_test_upward): Likewise.
11981         (tan_test): Likewise.
11982         (tan_test_tonearest): Likewise.
11983         (tan_test_towardzero): Likewise.
11984         (tan_test_downward): Likewise.
11985         (tan_test_upward): Likewise.
11986         (tanh_test): Likewise.
11987         (tgamma_test): Likewise.
11988         (trunc_test): Likewise.
11989         (y0_test): Likewise.
11990         (y1_test): Likewise.
11991         (yn_test): Likewise.
11992         (significand_test): Likewise.
11993
11994         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11995         individual tests in comment.
11996         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11997         (prev_max_error): New variable.
11998         (prev_real_max_error): Likewise.
11999         (prev_imag_max_error): Likewise.
12000         (compare_ulp_data): Don't refer to test names in comment.
12001         (find_test_ulps): Remove function.
12002         (find_function_ulps): Likewise.
12003         (find_complex_function_ulps): Likewise.
12004         (init_max_error): Take function name as argument.  Look up ulps
12005         for that function.
12006         (print_ulps): Remove function.
12007         (print_max_error): Use prev_max_error instead of calling
12008         find_function_ulps.
12009         (print_complex_max_error): Use prev_real_max_error and
12010         prev_imag_max_error instead of calling find_complex_function_ulps.
12011         (check_float_internal): Take max_ulp parameter instead of calling
12012         find_test_ulps.  Don't call print_ulps.
12013         (check_float): Update call to check_float_internal.
12014         (check_complex): Update calls to check_float_internal.
12015         (START): Pass argument to init_max_error.
12016         * math/gen-libm-test.pl (%results): Don't include "kind"
12017         information.
12018         (parse_ulps): Don't handle ulps of individual tests.
12019         (print_ulps_file): Likewise.
12020         (output_ulps): Likewise.
12021         * math/README.libm-test: Update.
12022         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12023         individual tests.
12024         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12025         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12026         * sysdeps/arm/libm-test-ulps: Likewise.
12027         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12028         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12029         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12030         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12031         * sysdeps/microblaze/libm-test-ulps: Likewise.
12032         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12033         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12034         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12035         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12036         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12037         * sysdeps/sh/libm-test-ulps: Likewise.
12038         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12039         * sysdeps/tile/libm-test-ulps: Likewise.
12040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12041
12042 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
12043
12044         * math/libm-test.inc (print_complex_max_error): Check separately
12045         whether real and imaginary errors are within allowed range and
12046         pass 0 to print_complex_function_ulps instead of value within
12047         allowed range.
12048
12049 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12050
12051         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12052         formatting.
12053         (get_handles_fopen): Likewise.
12054         (do_write_test): Likewise.
12055
12056         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12057
12058         * libio/fileops.c (do_ftell): Use cached offset when
12059         available.
12060         * libio/iofwide.c (do_ftell_wide): Likewise.
12061         * libio/iofdopen.c (_IO_new_fdopen): Don't use
12062         _IO_file_attach.
12063         * libio/wfileops.c (_IO_fwide): Don't cache offset.
12064
12065         [BZ #16532]
12066         * libio/libioP.h (get_file_offset): New function.
12067         * libio/fileops.c (get_file_offset): Likewise.
12068         (do_ftell): Likewise.
12069         (_IO_new_file_seekoff): Split out ftell logic.
12070         * libio/wfileops.c (do_ftell_wide): Likewise.
12071         (_IO_wfile_seekoff): Split out ftell logic.
12072         * libio/tst-ftell-active-handler.c: New test case.
12073         * libio/Makefile (tests): Add it.
12074
12075 2014-03-03  Roland McGrath  <roland@hack.frob.com>
12076
12077         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12078         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12079
12080 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12081
12082         [BZ #16639]
12083         * nscd/connections.c (nscd_init): Call do_exit.
12084         (start_threads): Call do_exit and notify_parent.
12085         (begin_drop_privileges): Call do_exit.
12086         (finish_drop_privileges): Likewise.
12087         * nscd/selinux.c (preserve_capabilities): Likewise.
12088         (install_real_capabilities): Likewise.
12089         (nscd_selinux_enabled): Likewise.
12090         (avc_create_thread): Likewise.
12091         (avc_alloc_lock): Likewise.
12092         (nscd_avc_init): Likewise.
12093         * nscd/nscd.c (parent_fd): New static variable.
12094         (main): Create a pipe between parent and child processes.
12095         Skip closing parent_fd.
12096         (monitor_child): New function.
12097         (do_exit): Likewise.
12098         (notify_parent): Likewise.
12099         * nscd/nscd.h (notify_parent): Likewise.
12100         (do_exit): Likewise.
12101
12102 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
12103
12104         * malloc/malloc.c (__libc_calloc): Revert last change.
12105
12106 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12107
12108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12109
12110 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12111
12112         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12114         implementation.
12115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12116         (__libc_ifunc_impl_list): Likewise.
12117         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12118         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12119         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12120         * string/strrchr.c: Define STRRCHR.
12121
12122 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
12123
12124         * benchtest/bench-strtok.c (simple_strtok): Delete.
12125         (strtok_string): Use as benchmark.
12126         * string/strtok (STRTOK): New macro.
12127
12128 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
12129
12130         * manual/threads.texi: Add header and standard comments to all
12131         functions.
12132
12133         * elf/dl-lookup.c (check_match): New function.
12134         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12135         (do_lookup_x): Remove nested function check_match. Use non-nested
12136         function check_match.
12137
12138 2014-02-28  Roland McGrath  <roland@hack.frob.com>
12139
12140         * csu/Makefile (generated, before-compile): Use += rather than =.
12141         * catgets/Makefile (generated, generated-dirs): Likewise.
12142         * debug/Makefile (generated): Likewise.
12143         * dlfcn/Makefile (generated): Likewise.
12144         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12145         * iconvdata/Makefile (before-compile, generated): Likewise.
12146         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12147         * libio/Makefile (generated): Likewise.
12148         * malloc/Makefile (generated): Likewise.
12149         * manual/Makefile (generated, generated-dirs): Likewise.
12150         * misc/Makefile (generated): Likewise.
12151         * posix/Makefile (generated): Likewise.
12152         * resolv/Makefile (generated): Likewise.
12153         * sunrpc/Makefile (generated, generated-dirs): Likewise.
12154         * timezone/Makefile (generated, generated-dirs): Likewise.
12155
12156         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12157
12158 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12159
12160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12161         power8 implementation.
12162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12163         file: POWER8 llround ifunc implementation.
12164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12165         (__lllround): Add POWER8 implementation.
12166         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12167         POWER8 llround implementation.
12168
12169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12170         power8 implementation.
12171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12172         file: POWER8 llrint ifunc implementation.
12173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12174         Add POWER8 implementation.
12175         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12176         POWER8 llrint implementation.
12177
12178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12179         power8 implementation.
12180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12181         file: POWER8 finite ifunc implementation.
12182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12183         Add POWER8 implementation.
12184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12185         Likewise.
12186         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12187         POWER8 finite implementation.
12188         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12189
12190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12191         power8 implementation.
12192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12193         file: POWER8 isinf ifunc implementation.
12194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12195         POWER8 implementation.
12196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12197         Likewise.
12198         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12199         isinf implementation.
12200         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12201
12202         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12203         (INIT_ARCH): Add hwcap2 initialization.
12204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12205         power8 implementation.
12206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12207         file: POWER8 isnan ifunc implementation.
12208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12209         POWER8 implementation.
12210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12211         Likewise.
12212         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12213         isnan implementation.
12214         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12215
12216 2014-02-27  Joey Ye  <joey.ye@arm.com>
12217
12218         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12219         (_FP_NANFRAC_Q): Set to zero.
12220
12221 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12222
12223         [BZ #16623]
12224         * math/auto-libm-test-in: New test inputs.
12225         * math/auto-libm-test-out: Regenerate.
12226         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12227         and DA.
12228         (__cos): Likewise.
12229         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12230
12231 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
12232
12233         * scripts/evaluate-test.sh: Take new argument indicating whether
12234         failure is expected.
12235         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12236         indicating whether failure is expected.
12237         * conform/Makefile (test-xfail-run-conformtest): New variable.
12238         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12239         level.
12240         * posix/Makefile (test-xfail-annexc): New variable.
12241         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12242
12243 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
12244
12245         * argp/Makefile: Include Makeconfig immediately after defining
12246         subdir.
12247         * assert/Makefile: Likewise.
12248         * benchtests/Makefile: Likewise.
12249         * catgets/Makefile: Likewise.
12250         * conform/Makefile: Likewise.
12251         * crypt/Makefile: Likewise.
12252         * csu/Makefile: Likewise.
12253         (all): Remove target.
12254         * ctype/Makefile: Include Makeconfig immediately after defining
12255         subdir.
12256         * debug/Makefile: Likewise.
12257         * dirent/Makefile: Likewise.
12258         * dlfcn/Makefile: Likewise.
12259         * gmon/Makefile: Likewise.
12260         * gnulib/Makefile: Likewise.
12261         * grp/Makefile: Likewise.
12262         * gshadow/Makefile: Likewise.
12263         * hesiod/Makefile: Likewise.
12264         * hurd/Makefile: Likewise.
12265         (all): Remove target.
12266         * iconvdata/Makefile: Include Makeconfig immediately after
12267         defining subdir.
12268         * inet/Makefile: Likewise.
12269         * intl/Makefile: Likewise.
12270         * io/Makefile: Likewise.
12271         * libio/Makefile: Likewise.
12272         (all): Remove target.
12273         * locale/Makefile: Include Makeconfig immediately after defining
12274         subdir.
12275         * login/Makefile: Likewise.
12276         * mach/Makefile: Likewise.
12277         (all): Remove target.
12278         * malloc/Makefile: Include Makeconfig immediately after defining
12279         subdir.
12280         (all): Remove target.
12281         * manual/Makefile: Include Makeconfig immediately after defining
12282         subdir.
12283         * math/Makefile: Likewise.
12284         * misc/Makefile: Likewise.
12285         * nis/Makefile: Likewise.
12286         * nss/Makefile: Likewise.
12287         * po/Makefile: Likewise.
12288         (all): Remove target.
12289         * posix/Makefile: Include Makeconfig immediately after defining
12290         subdir.
12291         * pwd/Makefile: Likewise.
12292         * resolv/Makefile: Likewise.
12293         * resource/Makefile: Likewise.
12294         * rt/Makefile: Likewise.
12295         * setjmp/Makefile: Likewise.
12296         * shadow/Makefile: Likewise.
12297         * signal/Makefile: Likewise.
12298         * socket/Makefile: Likewise.
12299         * soft-fp/Makefile: Likewise.
12300         * stdio-common/Makefile: Likewise.
12301         * stdlib/Makefile: Likewise.
12302         * streams/Makefile: Likewise.
12303         * string/Makefile: Likewise.
12304         * sunrpc/Makefile: Likewise.
12305         (all): Remove target.
12306         * sysvipc/Makefile: Include Makeconfig immediately after defining
12307         subdir.
12308         * termios/Makefile: Likewise.
12309         * time/Makefile: Likewise.
12310         * timezone/Makefile: Likewise.
12311         (all): Remove target.
12312         * wcsmbs/Makefile: Include Makeconfig immediately after defining
12313         subdir.
12314         * wctype/Makefile: Likewise.
12315
12316 2014-02-26  Steve Ellcey  <sellcey@mips.com>
12317
12318         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12319         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12320         (libc_feholdexcept_setround_mips): Ditto.
12321         (libc_feholdsetround): New.
12322         (libc_feholdsetroundf): New.
12323         (libc_feholdsetroundl): New.
12324         (libc_feupdateenv_test_mips): New.
12325         (libc_feupdateenv_test): New.
12326         (libc_feupdateenv_testf): New.
12327         (libc_feupdateenv_testl): New.
12328         (libc_feresetround): New.
12329         (libc_feresetroundf): New.
12330         (libc_feresetroundl): New.
12331         (libc_fetestexcept_mips): New.
12332         (libc_fetestexcept): New.
12333         (libc_fetestexceptf): New.
12334         (libc_fetestexceptl): New.
12335         (HAVE_RM_CTX): New.
12336         (libc_feholdexcept_setround_mips_ctx): New.
12337         (libc_feholdexcept_setround_ctx): New.
12338         (libc_feholdexcept_setroundf_ctx): New.
12339         (libc_feholdexcept_setroundl_ctx): New.
12340         (libc_fesetenv_mips_ctx): New.
12341         (libc_fesetenv_ctx): New.
12342         (libc_fesetenv_ctxf): New.
12343         (libc_fesetenv_ctxl): New.
12344         (libc_feupdateenv_mips_ctx): New.
12345         (libc_feupdateenv_ctx): New.
12346         (libc_feupdateenvf_ctx): New.
12347         (libc_feupdateenvl_ctx): New.
12348         (libc_feholdsetround_mips_ctx): New.
12349         (libc_feholdsetround_ctx): New.
12350         (libc_feholdsetroundf_ctx): New.
12351         (libc_feholdsetroundl_ctx): New.
12352         (libc_feresetround_mips_ctx): New.
12353         (libc_feresetround_ctx): New.
12354         (libc_feresetroundf_ctx): New.
12355         (libc_feresetroundl_ctx): New.
12356
12357 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
12358
12359         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12360
12361         * manual/ipc.texi: New file.
12362         * manual/Makefile (chapters): Add ipc.
12363         * manual/job.texi: Add "Inter-Process Communication" to next.
12364         * manual/process.texi: Add "Inter-Process Communication" to prev.
12365
12366 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12367
12368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12369
12370 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
12371
12372         * malloc/malloc.c (__libc_calloc): Simplify implementation.
12373
12374         * manual/arith.texi: Fix spaces after sentences.
12375         * manual/charset.texi: Likewise.
12376         * manual/errno.texi: Likewise.
12377         * manual/install.texi: Likewise.
12378         * manual/llio.texi: Likewise.
12379         * manual/locale.texi: Likewise.
12380         * manual/maint.texi: Likewise.
12381         * manual/math.texi: Likewise.
12382         * manual/memory.texi: Likewise.
12383         * manual/message.texi: Likewise.
12384         * manual/probes.texi: Likewise.
12385         * manual/resource.texi: Likewise.
12386         * manual/signal.texi: Likewise.
12387         * manual/socket.texi: Likewise.
12388         * manual/stdio.texi: Likewise.
12389         * manual/string.texi: Likewise.
12390         * manual/time.texi: Likewise.
12391         * manual/users.texi: Likewise.
12392
12393 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
12394
12395         [BZ #16632]
12396         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12397         _DEFAULT_SOURCE is defined.
12398
12399 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
12400             Carlos O'Donell  <carlos@redhat.com>
12401
12402         [BZ #16613]
12403         * elf/dl-tls.c (_dl_count_modids): New function.
12404         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12405         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12406         audit library and increment generation counter.
12407         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12408         * elf/tst-audit9.c: New file.
12409         * elf/tst-auditmod9a.c: New file.
12410         * elf/tst-auditmod9b.c: New file.
12411         * elf/Makefile: Add rules to build and run tst-audit9.
12412
12413 2014-02-25  Florian Weimer  <fweimer@redhat.com>
12414
12415         [BZ #15347]
12416         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12417
12418 2014-02-25  Will Newton  <will.newton@linaro.org>
12419
12420         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12421         (__longjmp): Restore sp and lr before restoring callee
12422         saved registers.  Add longjmp and longjmp_target
12423         SystemTap probe point.
12424         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12425         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12426         Define to zero to match jmpbuf layout.
12427         * sysdeps/arm/setjmp.S: Include stap-probe.h.
12428         (__sigsetjmp): Save sp and lr before saving callee
12429         saved registers.  Add setjmp SystemTap probe point.
12430
12431 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12432
12433         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12434
12435 2014-02-24  Andreas Schwab  <schwab@suse.de>
12436
12437         [BZ #15804]
12438         * elf/pldd.c (wait_for_ptrace_stop): New function.
12439         (main): Call it after attaching.
12440
12441 2014-02-22  Roland McGrath  <roland@hack.frob.com>
12442
12443         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12444         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12445         Versions files is now verboten.
12446         * hurd/Versions (libc: GLIBC_2.0):
12447         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12448         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12449         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12450         * mach/Versions: Likewise.
12451
12452         * csu/Versions: Remove unused %include.
12453         * resolv/Versions: Likewise.
12454
12455 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
12456
12457         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12458         ($(objpfx)check-local-headers.out): Likewise.
12459         ($(objpfx)begin-end-check.out): Likewise.
12460         * Makerules (check-abi-%.out): Likewise.
12461         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12462         ($(objpfx)test2.cat): Likewise.
12463         ($(objpfx)de/libc.cat): Likewise.
12464         ($(objpfx)test-gencat.out): Likewise.
12465         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12466         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12467         ($(objpfx)noload-mem): Likewise.
12468         ($(objpfx)tst-pathopt.out): Likewise.
12469         ($(objpfx)tst-rtld-load-self.out): Likewise.
12470         ($(objpfx)tst-array1-cmp.out): Likewise.
12471         ($(objpfx)tst-array1-static-cmp.out): Likewise.
12472         ($(objpfx)tst-array2-cmp.out): Likewise.
12473         ($(objpfx)tst-array3-cmp.out): Likewise.
12474         ($(objpfx)tst-array4-cmp.out): Likewise.
12475         ($(objpfx)tst-array5-cmp.out): Likewise.
12476         ($(objpfx)tst-array5-static-cmp.out): Likewise.
12477         ($(objpfx)check-textrel.out): Likewise.
12478         ($(objpfx)check-execstack.out): Likewise.
12479         ($(objpfx)check-localplt.out): Likewise.
12480         ($(objpfx)order2-cmp.out): Likewise.
12481         ($(objpfx)tst-leaks1-mem): Likewise.
12482         ($(objpfx)tst-leaks1-static-mem): Likewise.
12483         ($(objpfx)tst-initorder-cmp.out): Likewise.
12484         ($(objpfx)tst-initorder2-cmp.out): Likewise.
12485         ($(objpfx)tst-unused-dep.out): Likewise.
12486         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12487         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12488         * iconv/Makefile (test-iconvconfig): Likewise.
12489         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12490         ($(objpfx)iconv-test.out): Likewise.
12491         ($(objpfx)tst-tables.out): Likewise.
12492         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12493         ($(objpfx)tst-gettext.out): Likewise.
12494         ($(objpfx)tst-translit.out): Likewise.
12495         ($(objpfx)tst-gettext2.out): Likewise.
12496         ($(objpfx)tst-gettext4.out): Likewise.
12497         ($(objpfx)tst-gettext6.out): Likewise.
12498         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12499         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12500         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12501         ($(objpfx)tst-fopenloc-mem.out): Likewise.
12502         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12503         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12504         * posix/Makefile ($(objpfx)globtest.out): Likewise.
12505         ($(objpfx)wordexp-tst.out): Likewise.
12506         ($(objpfx)annexc.out): Likewise.
12507         ($(objpfx)tst-fnmatch-mem): Likewise.
12508         ($(objpfx)bug-regex2-mem): Likewise.
12509         ($(objpfx)bug-regex14-mem): Likewise.
12510         ($(objpfx)bug-regex21-mem): Likewise.
12511         ($(objpfx)bug-regex31-mem): Likewise.
12512         ($(objpfx)tst-vfork3-mem): Likewise.
12513         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12514         ($(objpfx)tst-pcre-mem): Likewise.
12515         ($(objpfx)tst-boost-mem): Likewise.
12516         ($(objpfx)tst-getconf.out): Likewise.
12517         ($(objpfx)bug-ga2-mem): Likewise.
12518         ($(objpfx)bug-glob2-mem): Likewise.
12519         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12520         ($(objpfx)mtrace-tst-leaks2): Likewise.
12521         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12522         ($(objpfx)tst-printf.out): Likewise.
12523         ($(objpfx)tst-setvbuf1.out): Likewise.
12524         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12525         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12526         ($(objpfx)tst-fmtmsg.out): Likewise.
12527         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12528         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12529
12530         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12531         * bits/sigaction.h [__USE_MISC]: Likewise.
12532         * bits/waitstatus.h: Update #endif comments.
12533         * ctype/ctype.h: Likewise.
12534         * dirent/dirent.h: Likewise.
12535         [__USE_MISC]: Remove redundant conditionals.
12536         * grp/grp.h: Update #endif comments.
12537         [__USE_GNU]: Remove redundant conditionals.
12538         [__USE_MISC]: Likewise.
12539         * inet/netinet/in.h [__USE_GNU]: Likewise.
12540         * io/sys/stat.h [__USE_MISC]: Likewise.
12541         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12542         * libio/bits/stdio.h: Update #endif comments.
12543         [__USE_MISC]: Remove redundant conditionals.
12544         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12545         * libio/stdio.h: Update #endif comments.
12546         [__USE_MISC]: Remove redundant conditionals.
12547         * math/bits/math-finite.h [__USE_MISC]: Likewise.
12548         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12549         * math/math.h: Update #else and #endif comments.
12550         [__USE_MISC]: Remove redundant conditionals.
12551         * misc/sys/uio.h: Update #endif comments.
12552         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12553         * posix/glob.h [__USE_MISC]: Likewise.
12554         * posix/sys/types.h: Update #endif comments.
12555         [__USE_MISC]: Remove redundant conditionals.
12556         * posix/sys/wait.h: Update #endif comments.
12557         [__USE_MISC]: Remove redundant conditionals.
12558         * posix/unistd.h: Update #endif comments.
12559         [__USE_MISC]: Remove redundant conditionals.
12560         * pwd/pwd.h [__USE_GNU]: Likewise.
12561         [__USE_MISC]: Likewise.
12562         * resolv/netdb.h [__USE_GNU]: Likewise.
12563         * signal/signal.h: Update #endif comments.
12564         [__USE_MISC]: Remove redundant conditionals.
12565         * stdlib/stdlib.h: Update #else and #endif comments.
12566         [__USE_MISC]: Remove redundant conditionals.
12567         [__USE_GNU]: Likewise.
12568         * string/bits/string2.h [__USE_MISC]: Likewise.
12569         * string/string.h: Update #endif comments.
12570         [__USE_MISC]: Remove redundant conditionals.
12571         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12572         Likewise.
12573         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12574         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12575         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12576         Likewise.
12577         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12578         Likewise.
12579         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12580         comments.
12581         [__USE_MISC]: Remove redundant conditionals.
12582         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12583         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12584         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12585         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12586         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12587         Likewise.
12588         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12589         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12590         Likewise.
12591         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12592         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12593         Likewise.
12594         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12595         Likewise.
12596         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12597         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12598         Likewise.
12599         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12600         Likewise.
12601         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12602         * sysdeps/x86/bits/string.h: Update #endif comments.
12603         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12604         conditionals.
12605         * time/sys/time.h: Update #endif comments.
12606         * time/time.h: Likewise.
12607         [__USE_MISC]: Remove redundant conditionals.
12608
12609 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
12610
12611         [BZ #16600]
12612         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12613
12614 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
12615
12616         * Versions.def (librt): Add GLIBC_2.17.
12617
12618 2014-02-21  Adam Conrad  <adconrad@0c3.net>
12619
12620         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12621         synonym for _SYS_AUXV_H to allow direct inclusion.
12622         * sysdeps/sparc/bits/hwcap.h: Likewise.
12623         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12624         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12625         * sysdeps/sparc/sysdep.h: Likewise.
12626
12627 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12628
12629         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12630
12631 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12632
12633         * benchtests/bench-strrchr.c: Print length instead of position.
12634
12635 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12636
12637         [BZ #16611]
12638         * sysdeps/unix/sysv/linux/kernel-features.h
12639         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12640         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12641         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12642         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12643         Likewise.
12644         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12645         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12646         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12647         (__ASSUME_SENDMMSG): Define instead of using previous
12648         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12649         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12650         (__ASSUME_SENDMMSG_SYSCALL): Define.
12651         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12652         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12653         Likewise.
12654         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12655         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12656         Likewise.
12657         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12658         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12659         Likewise.
12660         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12661         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12662         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12663         [__ASSUME_SENDMMSG]: Change conditionals to
12664         [__ASSUME_SENDMMSG_SOCKETCALL].
12665         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12666         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12667         Define.
12668         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12669         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12670         Likewise.
12671         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12672         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12673         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12674         [!__ASSUME_SENDMMSG]: Change conditional to
12675         [!__ASSUME_SENDMMSG_SOCKETCALL].
12676         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12677         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12678         Define.
12679
12680         [BZ #16610]
12681         * sysdeps/unix/sysv/linux/kernel-features.h
12682         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12683         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12684         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12685         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12686         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12687         [__i386__ || __sparc__]
12688         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12689         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12690         (__ASSUME_RECVMMSG): Define instead of using previous
12691         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12692         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12693         (__ASSUME_RECVMMSG_SYSCALL): Define.
12694         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12695         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12696         Likewise.
12697         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12698         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12699         Likewise.
12700         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12701         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12702         Likewise.
12703         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12704         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12705         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12706         [__ASSUME_RECVMMSG]: Change condition to
12707         [__ASSUME_RECVMMSG_SOCKETCALL].
12708         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12709         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12710         Define.
12711         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12712         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12713         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12714         Likewise.
12715         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12716         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12717         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12718         [!__ASSUME_RECVMMSG]: Change condition to
12719         [!__ASSUME_RECVMMSG_SOCKETCALL].
12720         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12721         (__ASSUME_RECVMMSG_SYSCALL): Define.
12722
12723         [BZ #16609]
12724         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12725         __powerpc__ || __s390__ || __sh__ || __sparc__]
12726         (__ASSUME_SOCKETCALL): Define.
12727         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12728         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12729         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12730         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12731         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12732         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12733         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12734         (__ASSUME_ACCEPT4): Define instead of using previous
12735         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12736         __powerpc__ || __sparc__ || __s390__)] condition.
12737         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12738         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12739         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12740         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12741         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12742         [!__ASSUME_ACCEPT4]: Change condition to
12743         [!__ASSUME_ACCEPT4_SOCKETCALL].
12744         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12745         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12746         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12747         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12748         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12749         __ASSUME_ACCEPT4_SYSCALL.
12750         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12751         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12752         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12753         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12754         __ASSUME_ACCEPT4_SYSCALL.
12755         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12756         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12757         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12758         [__ASSUME_ACCEPT4]: Change condition to
12759         [__ASSUME_ACCEPT4_SOCKETCALL].
12760         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12761         (__ASSUME_SOCKETCALL): Define.
12762         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12763         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12764         (__ASSUME_SOCKETCALL): Define.
12765         (__ASSUME_ACCEPT4): Remove.
12766         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12767         Define.
12768         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12769         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12770         Likewise.
12771         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12772         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12773
12774         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12775         macro.
12776         (HWCAP_ARM_LPAE): Likewise.
12777         (HWCAP_ARM_EVTSTRM): Likewise.
12778         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12779         Add vpfd32, lpae and evtstrm.
12780         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12781         Increase to 22.
12782
12783 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12784
12785         * math/auto-libm-test-in: Add tests of clog10.
12786         * math/auto-libm-test-out: Regenerated.
12787         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12788         * sysdeps/i386/fpu/libm-test-ulps: Update.
12789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12790
12791 2014-02-18  Andreas Schwab  <schwab@suse.de>
12792
12793         [BZ #16574]
12794         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12795         Store non-zero if the second buffer was newly allocated.
12796         (send_dg): Likewise.
12797         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12798         to send_vc and send_dg.
12799         (res_nsend): Pass NULL for ansp2_malloced.
12800         * resolv/res_query.c (__libc_res_nquery): Add parameter
12801         answerp2_malloced and pass it down to __libc_res_nsend.
12802         (res_nquery): Pass additional NULL to __libc_res_nquery.
12803         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12804         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12805         second answer buffer if answerp2_malloced was set.
12806         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12807         (__libc_res_nquerydomain): Add parameter
12808         answerp2_malloced and pass it down to __libc_res_nquery.
12809         (res_nquerydomain): Pass additional NULL to
12810         __libc_res_nquerydomain.
12811         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12812         additional NULL to __libc_res_nsend and __libc_res_nquery.
12813         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12814         additional NULL to __libc_res_nsearch.
12815         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12816         parameter of __libc_res_nsearch to check for separately allocated
12817         second buffer.
12818         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12819         __libc_res_nquery.
12820         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12821         additional NULL to __libc_res_nquery.
12822         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12823         __libc_res_nsearch.
12824         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12825         * include/resolv.h: Update prototypes of __libc_res_nquery,
12826         __libc_res_nsearch, __libc_res_nsend.
12827
12828 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
12829
12830         * math/auto-libm-test-in: Add tests of fma.
12831         * math/auto-libm-test-out: Regenerated.
12832         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12833         (fma_towardzero_test_data): Likewise.
12834         (fma_downward_test_data): Likewise.
12835         (fma_upward_test_data): Likewise.
12836         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12837         mpc_mode.
12838         (rounding_modes): Add values for new field.
12839         (func_calc_method): Add value mpfr_fff_f.
12840         (func_calc_desc): Add mpfr_fff_f union field.
12841         (test_function): Add field exact_args.
12842         (FUNC): Add macro argument EXACT_ARGS.
12843         (FUNC_mpfr_f_f): Update call to FUNC.
12844         (FUNC_mpfr_f_f): Likewise.
12845         (FUNC_mpfr_ff_f): Likewise.
12846         (FUNC_mpfr_if_f): Likewise.
12847         (FUNC_mpc_c_f): Likewise.
12848         (FUNC_mpc_c_c): Likewise.
12849         (test_functions): Add fma.  Update calls to FUNC.
12850         (handle_input_arg): Add argument exact_args.
12851         (add_test): Update call to handle_input_arg.
12852         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
12853         (output_for_one_input_case): Update call to calc_generic_results.
12854         Recalculate exact zero results in each rounding mode.
12855
12856         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12857         non-negative before setting low bit.
12858         * math/auto-libm-test-in: Mark one asin test possibly having
12859         spurious underflow.
12860         * math/auto-libm-test-out: Regenerated.
12861         * sysdeps/i386/fpu/libm-test-ulps: Update.
12862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12863
12864 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
12865
12866         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12867         * sysdeps/unix/sysv/linux/microblaze: Move directory from
12868         ports/sysdeps/unix/sysv/linux/microblaze.
12869         * README: Add missing listing for microblaze*-*-linux-gnu.
12870
12871 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
12872
12873         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12874         duplicate code
12875
12876 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
12877
12878         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12879         * sysdeps/unix/sysv/linux/ia64: Move directory from
12880         ports/sysdeps/unix/sysv/linux/ia64.
12881         * README: Update listing for ia64-*-linux-gnu.
12882
12883 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
12884             Joseph Myers  <joseph@codesourcery.com>
12885
12886         * Makeconfig (test-name): New variable.
12887         (evaluate-test): Likewise.
12888         * Makerules (do-test-clean): Remove .test-result files.
12889         (common-mostlyclean): Likewise.
12890         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12891         * scripts/evaluate-test.sh: New file.
12892
12893 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
12894
12895         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12896         separate $(objpfx)tst-fopenloc-cmp.out and
12897         $(objpfx)tst-fopenloc-mem.out targets.
12898         (tests): Update dependencies.
12899         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12900         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12901         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12902         (tst-rxspencer-no-utf8-ARGS): New variable.
12903         (tst-rxspencer-no-utf8-ENV): Likewise.
12904         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12905         instead of $(objpfx)tst-rxspencer-mem.
12906         ($(objpfx)tst-rxspencer-mem): Change target to
12907         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
12908         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12909         * posix/tst-rxspencer-no-utf8.c: New file.
12910
12911         * elf/Makefile ($(objpfx)order.out): Remove rule.
12912         [$(run-built-tests) = yes] (tests): Depend on
12913         $(objpfx)order-cmp.out.
12914         ($(objpfx)order-cmp.out): New rule.
12915         [$(run-built-tests) = yes] (tests): Depend on
12916         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12917         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12918         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12919         $(objpfx)tst-array5-static-cmp.out.
12920         ($(objpfx)tst-array1.out): Remove rule.
12921         ($(objpfx)tst-array1-cmp.out): New rule.
12922         ($(objpfx)tst-array1-static.out): Remove rule.
12923         ($(objpfx)tst-array1-static-cmp.out): New rule.
12924         ($(objpfx)tst-array2.out): Remove rule.
12925         ($(objpfx)tst-array2-cmp.out): New rule.
12926         ($(objpfx)tst-array3.out): Remove rule.
12927         ($(objpfx)tst-array3-cmp.out): New rule.
12928         ($(objpfx)tst-array4.out): Remove rule.
12929         ($(objpfx)tst-array4-cmp.out): New rule.
12930         ($(objpfx)tst-array5.out): Remove rule.
12931         ($(objpfx)tst-array5-cmp.out): New rule.
12932         ($(objpfx)tst-array5-static.out): Remove rule.
12933         ($(objpfx)tst-array5-static-cmp.out): New rule.
12934         [$(run-built-tests) = yes] (tests): Depend on
12935         $(objpfx)order2-cmp.out.
12936         ($(objpfx)order2.out): Remove rule.
12937         ($(objpfx)order2-cmp.out): New rule.
12938         ($(objpfx)tst-initorder.out): Remove rule.
12939         [$(run-built-tests) = yes] (tests): Depend on
12940         $(objpfx)tst-initorder-cmp.out.
12941         ($(objpfx)tst-initorder-cmp.out): New rule.
12942         ($(objpfx)tst-initorder2.out): Remove rule.
12943         [$(run-built-tests) = yes] (tests): Depend on
12944         $(objpfx)tst-initorder2-cmp.out.
12945         ($(objpfx)tst-initorder2-cmp.out): New rule.
12946         [$(run-built-tests) = yes] (tests): Depend on
12947         $(objpfx)tst-unused-dep-cmp.out.
12948         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12949         ($(objpfx)tst-unused-dep-cmp.out): New rule.
12950         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12951         on $(objpfx)tst-setvbuf1-cmp.out.
12952         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12953         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12954         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12955         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12956         ($(objpfx)tst-svc.out): Remove rule.
12957         ($(objpfx)tst-svc-cmp.out): New rule.
12958
12959 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
12960
12961         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12962         * ctype/ctype.h [__USE_MISC]: Likewise.
12963         * dirent/dirent.h [__USE_MISC]: Likewise.
12964         * grp/grp.h [__USE_MISC]: Likewise.
12965         * io/fcntl.h [__USE_MISC]: Likewise.
12966         * io/sys/stat.h [__USE_MISC]: Likewise.
12967         * libio/stdio.h [__USE_MISC]: Likewise.
12968         * posix/unistd.h [__USE_MISC]: Likewise.
12969         * pwd/pwd.h [__USE_MISC]: Likewise.
12970         * stdlib.h [__USE_MISC]: Likewise.
12971         * string/bits/string2.h [__USE_MISC]: Likewise.
12972         * string/string.h [__USE_MISC]: Likewise.
12973         * time/time.h [__USE_MISC]: Likewise.
12974
12975 2014-02-13  Andreas Schwab  <schwab@suse.de>
12976
12977         [BZ #16574]
12978         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12979         second answer buffer if it was separately allocated.
12980
12981 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
12982
12983         * sysdeps/mips/math-tests.h: Include <features.h>.
12984         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12985         (ROUNDING_TESTS_long_double): Do not define.
12986         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12987         (EXCEPTION_TESTS_long_double): Likewise.
12988         * sysdeps/mips/mips64/libm-test-ulps: Update.
12989
12990         * include/features.h (__USE_BSD): Remove macro definitions.
12991         (__USE_SVID): Likewise.
12992         (_BSD_SOURCE): Likewise.
12993         (_SVID_SOURCE): Likewise.
12994         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12995         from definition of _DEFAULT_SOURCE.
12996         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12997         [_DEFAULT_SOURCE].
12998         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12999         * bits/mman.h [__USE_BSD]: Likewise.
13000         * bits/termios.h [__USE_BSD]: Likewise.
13001         * bits/waitstatus.h [__USE_BSD]: Likewise.
13002         * ctype/ctype.h [__USE_SVID]: Likewise.
13003         * dirent/dirent.h [__USE_BSD]: Likewise.
13004         * grp/grp.h [__USE_SVID]: Likewise.
13005         [__USE_BSD]: Likewise.
13006         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13007         * io/fcntl.h [__USE_BSD]: Likewise.
13008         * io/ftw.h [__USE_BSD]: Likewise.
13009         * io/sys/stat.h [__USE_BSD]: Likewise.
13010         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13011         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13012         * libio/stdio.h [__USE_SVID]: Likewise.
13013         [__USE_BSD]: Likewise.
13014         * math/math.h [__USE_SVID]: Likewise.
13015         [__USE_BSD]: Likewise.
13016         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13017         * misc/bits/syslog.h [__USE_BSD]: Likewise.
13018         * misc/search.h [__USE_SVID]: Likewise.
13019         * misc/sys/mman.h [__USE_BSD]: Likewise.
13020         * misc/sys/syslog.h [__USE_BSD]: Likewise.
13021         * misc/sys/uio.h [__USE_BSD]: Likewise.
13022         * posix/bits/unistd.h [__USE_BSD]: Likewise.
13023         * posix/glob.h [__USE_BSD]: Likewise.
13024         * posix/regex.h [__USE_BSD]: Likewise.
13025         * posix/sys/types.h [__USE_BSD]: Likewise.
13026         [__USE_SVID]: Likewise.
13027         * posix/sys/utsname.h [__USE_SVID]: Likewise.
13028         * posix/sys/wait.h [__USE_BSD]: Likewise.
13029         [__USE_SVID]: Likewise.
13030         * posix/unistd.h [__USE_BSD]: Likewise.
13031         [__USE_SVID]: Likewise.
13032         * pwd/pwd.h [__USE_SVID]: Likewise.
13033         * resolv/netdb.h [__USE_BSD]: Likewise.
13034         * setjmp/setjmp.h [__USE_BSD]: Likewise.
13035         * signal/signal.h [__USE_BSD]: Likewise.
13036         [__USE_SVID]: Likewise.
13037         * socket/sys/socket.h [__USE_BSD]: Likewise.
13038         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13039         * stdlib/stdlib.h [__USE_BSD]: Likewise.
13040         [__USE_SVID]: Likewise.
13041         * string/bits/string2.h [__USE_BSD]: Likewise.
13042         [__USE_SVID]: Likewise.
13043         * string/bits/string3.h [__USE_BSD]: Likewise.
13044         * string/endian.h [__USE_BSD]: Likewise.
13045         * string/string.h [__USE_SVID]: Likewise.
13046         [__USE_BSD]: Likewise.
13047         * string/strings.h [__USE_BSD]: Likewise.
13048         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13049         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13050         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13051         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13052         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13053         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13054         Likewise.
13055         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13056         Likewise.
13057         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13058         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13059         Likewise.
13060         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13061         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13062         Likewise.
13063         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13064         Likewise.
13065         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13066         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13067         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13068         Likewise.
13069         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13070         Likewise.
13071         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13072         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13073         * termios/termios.h [__USE_BSD]: Likewise.
13074         * time/sys/time.h [__USE_BSD]: Likewise.
13075         * time/time.h [__USE_BSD]: Likewise.
13076         [__USE_SVID]: Likewise.
13077
13078         * Makefile (subdir_targets): Remove subdir_lint.out.
13079
13080         * stdio-common/Makefile (do-tst-unbputc): Remove target.
13081         (do-tst-printf): Likewise.
13082         (tests): Depend directly on $(objpfx)tst-unbputc.out and
13083         $(objpfx)tst-printf.out.
13084
13085         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13086
13087         * Makerules (check-abi-%): Change target to
13088         $(objpfx)check-abi-%.out.
13089         (check-abi target): Update dependencies.
13090         (check-abi-pattern variable): Redirect output of diff to $@.
13091         (check-abi variable): Likewise.
13092         * elf/Makefile (check-abi): Update dependencies.
13093
13094         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13095         unused.
13096         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13097         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13098         subnormal range.
13099         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13100         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13101         value has largest subnormal exponent.
13102         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13103         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13104         * sysdeps/aarch64/soft-fp/sfp-machine.h
13105         (_FP_TININESS_AFTER_ROUNDING): New macro.
13106         * sysdeps/alpha/soft-fp/sfp-machine.h
13107         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13108         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13109         Likewise.
13110         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13111         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13112         * sysdeps/mips/soft-fp/sfp-machine.h
13113         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13114         * sysdeps/powerpc/soft-fp/sfp-machine.h
13115         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13116         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13117         Likewise.
13118         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13119         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13120         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13121         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13122         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13123         Likewise.
13124
13125 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
13126
13127         [BZ #16545]
13128         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13129         model 1.
13130
13131 2014-02-12  Richard Henderson  <rth@redhat.com>
13132
13133         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13134         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13135         * sysdeps/unix/sysv/linux/alpha: Move directory from
13136         ports/sysdeps/unix/sysv/linux/alpha.
13137         * README: Update listing for alpha-*-linux-gnu.
13138
13139 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
13140
13141         * include/features.h: Update comment documenting feature test
13142         macros.
13143         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
13144         _DEFAULT_SOURCE.
13145         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13146         (_SVID_SOURCE): Likewise.
13147         (_DEFAULT_SOURCE): Update description of default features.
13148         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13149         with _GNU_SOURCE.
13150         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13151         (S_ISVTX): Likewise.
13152         * manual/math.texi (Mathematical Constants): Likewise.
13153         * manual/signal.texi (Interrupted Primitives): Likewise.
13154         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13155         * math/test-matherr.c (_SVID_SOURCE): Do not define.
13156         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13157         Don't refer to _SVID_SOURCE in warning text.
13158
13159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13160
13161         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13162         already defined.
13163         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13164         * sysdeps/mips/dl-lookup.c: Remove.
13165         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13166
13167 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13168
13169         [BZ #16447]
13170         * math/auto-libm-test-in: Add testcase for expl.
13171         * math/auto-libm-test-out: Regenerate.
13172         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13173         calculation of unsafe.
13174         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13175
13176 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13177
13178         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13179         * sysdeps/unix/sysv/linux/aarch64: Move directory from
13180         ports/sysdeps/unix/sysv/linux/aarch64.
13181         * README: Update listing for aarch64*-*-linux-gnu.
13182
13183 2014-02-11  Will Newton  <will.newton@linaro.org>
13184
13185         * manual/probes.texi (Mathematical Function Probes): Use
13186         "triggered" instead of "hit".
13187
13188         * manual/probes.texi (Internal Probes): Add documentation
13189         of setjmp, longjmp and longjmp_target probes.
13190
13191         * include/stap-probe.h: Add comment about probe argument
13192         format.
13193
13194         * malloc/mtrace.c (attribute_hidden): Remove unused macro
13195         definition.  (tr_where, tr_freehook, tr_mallochook,
13196         tr_reallochook, tr_memalignhook): Use ANSI protoype.
13197
13198 2014-02-11  David S. Miller  <davem@davemloft.net>
13199
13200         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13201         processing int_tests.
13202
13203 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
13204
13205         * sysdeps/mips: Move directory from ports/sysdeps/mips.
13206         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13207         * sysdeps/unix/sysv/linux/mips: Move directory from
13208         ports/sysdeps/unix/sysv/linux/mips.
13209         * README: Update listing for mips-*-linux-gnu and
13210         mips64-*-linux-gnu.
13211
13212 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
13213
13214         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13215         * sysdeps/unix/sysv/linux/m68k: Move directory from
13216         ports/sysdeps/unix/sysv/linux/m68k.
13217         * README: Update listing for m68k-*-linux-gnu.
13218
13219 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
13220
13221         * sysdeps/tile: Move directory from ports/sysdeps/tile.
13222         * sysdeps/unix/sysv/linux/generic: Move directory from
13223         ports/sysdeps/unix/sysv/linux/generic.
13224         * sysdeps/unix/sysv/linux/tile: Move directory from
13225         ports/sysdeps/unix/sysv/linux/tile.
13226         * README: Update listing for tile*-*-linux-gnu.
13227
13228 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
13229
13230         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13231         __builtin_expect.
13232         * benchtests/bench-memmem.c (simple_memmem): Likewise.
13233         * catgets/open_catalog.c (__open_catalog): Likewise.
13234         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13235         * debug/confstr_chk.c: Likewise.
13236         * debug/fread_chk.c (__fread_chk): Likewise.
13237         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13238         * debug/getgroups_chk.c: Likewise.
13239         * debug/mbsnrtowcs_chk.c: Likewise.
13240         * debug/mbsrtowcs_chk.c: Likewise.
13241         * debug/mbstowcs_chk.c: Likewise.
13242         * debug/memcpy_chk.c: Likewise.
13243         * debug/memmove_chk.c: Likewise.
13244         * debug/mempcpy_chk.c: Likewise.
13245         * debug/memset_chk.c: Likewise.
13246         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13247         * debug/strcat_chk.c (__strcat_chk): Likewise.
13248         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13249         * debug/strncat_chk.c (__strncat_chk): Likewise.
13250         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13251         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13252         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13253         * debug/wcpncpy_chk.c: Likewise.
13254         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13255         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13256         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13257         * debug/wcsncpy_chk.c: Likewise.
13258         * debug/wcsnrtombs_chk.c: Likewise.
13259         * debug/wcsrtombs_chk.c: Likewise.
13260         * debug/wcstombs_chk.c: Likewise.
13261         * debug/wmemcpy_chk.c: Likewise.
13262         * debug/wmemmove_chk.c: Likewise.
13263         * debug/wmempcpy_chk.c: Likewise.
13264         * debug/wmemset_chk.c: Likewise.
13265         * dirent/scandirat.c (SCANDIRAT): Likewise.
13266         * dlfcn/dladdr1.c (dladdr1): Likewise.
13267         * dlfcn/dladdr.c (dladdr): Likewise.
13268         * dlfcn/dlclose.c (dlclose_doit): Likewise.
13269         * dlfcn/dlerror.c (__dlerror): Likewise.
13270         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13271         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13272         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13273         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13274         * dlfcn/dlsym.c (dlsym_doit): Likewise.
13275         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13276         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13277         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13278         Likewise.
13279         * elf/dl-conflict.c: Likewise.
13280         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13281         * elf/dl-dst.h: Likewise.
13282         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13283         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13284         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13285         * elf/dl-init.c (call_init, _dl_init): Likewise.
13286         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13287         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13288         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13289         Likewise.
13290         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13291         Likewise.
13292         * elf/dl-minimal.c (__libc_memalign): Likewise.
13293         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13294         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13295         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13296         * elf/dl-sym.c (do_sym): Likewise.
13297         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13298         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13299         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13300         * elf/dl-writev.h (_dl_writev): Likewise.
13301         * elf/ldconfig.c (search_dir): Likewise.
13302         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13303         (dl_main): Likewise.
13304         * elf/setup-vdso.h (setup_vdso): Likewise.
13305         * grp/compat-initgroups.c (compat_call): Likewise.
13306         * grp/fgetgrent.c (fgetgrent): Likewise.
13307         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13308         * grp/putgrent.c (putgrent): Likewise.
13309         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13310         Likewise.
13311         * hurd/hurdinit.c: Likewise.
13312         * iconvdata/8bit-gap.c (struct): Likewise.
13313         * iconvdata/ansi_x3.110.c : Likewise.
13314         * iconvdata/big5.c : Likewise.
13315         * iconvdata/big5hkscs.c : Likewise.
13316         * iconvdata/cp1255.c: Likewise.
13317         * iconvdata/cp1258.c : Likewise.
13318         * iconvdata/cp932.c : Likewise.
13319         * iconvdata/euc-cn.c: Likewise.
13320         * iconvdata/euc-jisx0213.c : Likewise.
13321         * iconvdata/euc-jp.c: Likewise.
13322         * iconvdata/euc-jp-ms.c : Likewise.
13323         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13324         * iconvdata/gb18030.c : Likewise.
13325         * iconvdata/gbbig5.c (const): Likewise.
13326         * iconvdata/gbgbk.c: Likewise.
13327         * iconvdata/gbk.c : Likewise.
13328         * iconvdata/ibm1364.c : Likewise.
13329         * iconvdata/ibm930.c : Likewise.
13330         * iconvdata/ibm932.c: Likewise.
13331         * iconvdata/ibm933.c : Likewise.
13332         * iconvdata/ibm935.c : Likewise.
13333         * iconvdata/ibm937.c : Likewise.
13334         * iconvdata/ibm939.c : Likewise.
13335         * iconvdata/ibm943.c: Likewise.
13336         * iconvdata/iso_11548-1.c: Likewise.
13337         * iconvdata/iso-2022-cn.c : Likewise.
13338         * iconvdata/iso-2022-cn-ext.c : Likewise.
13339         * iconvdata/iso-2022-jp-3.c: Likewise.
13340         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13341         * iconvdata/iso-2022-kr.c : Likewise.
13342         * iconvdata/iso646.c (gconv_end): Likewise.
13343         * iconvdata/iso_6937-2.c : Likewise.
13344         * iconvdata/iso_6937.c : Likewise.
13345         * iconvdata/iso8859-1.c: Likewise.
13346         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13347         * iconvdata/shift_jisx0213.c : Likewise.
13348         * iconvdata/sjis.c : Likewise.
13349         * iconvdata/t.61.c : Likewise.
13350         * iconvdata/tcvn5712-1.c : Likewise.
13351         * iconvdata/tscii.c: Likewise.
13352         * iconvdata/uhc.c : Likewise.
13353         * iconvdata/unicode.c (gconv_end): Likewise.
13354         * iconvdata/utf-16.c (gconv_end): Likewise.
13355         * iconvdata/utf-32.c (gconv_end): Likewise.
13356         * iconvdata/utf-7.c (base64): Likewise.
13357         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13358         * iconv/gconv_close.c (__gconv_close): Likewise.
13359         * iconv/gconv_open.c (__gconv_open): Likewise.
13360         * iconv/gconv_simple.c (internal_ucs4_loop_single)
13361         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13362         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13363         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13364         (ucs4le_internal_loop_single): Likewise.
13365         * iconv/iconv.c (iconv): Likewise.
13366         * iconv/iconv_close.c: Likewise.
13367         * iconv/loop.c (SINGLE): Likewise.
13368         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13369         * include/atomic.h: Likewise.
13370         * inet/inet6_option.c (option_alloc): Likewise.
13371         * intl/bindtextdom.c (set_binding_values): Likewise.
13372         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13373         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13374         * intl/localealias.c (read_alias_file): Likewise.
13375         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13376         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13377         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13378         * libio/fmemopen.c (fmemopen): Likewise.
13379         * libio/iofgets.c (_IO_fgets): Likewise.
13380         * libio/iofgets_u.c (fgets_unlocked): Likewise.
13381         * libio/iofgetws.c (fgetws): Likewise.
13382         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13383         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13384         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13385         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13386         * locale/findlocale.c (_nl_find_locale): Likewise.
13387         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13388         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13389         Likewise.
13390         * locale/setlocale.c (setlocale): Likewise.
13391         * login/programs/pt_chown.c (main): Likewise.
13392         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13393         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13394         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13395         (mmap, mmap64, mremap, munmap): Likewise.
13396         * math/e_exp2l.c: Likewise.
13397         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13398         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13399         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13400         * math/s_catan.c (__catan): Likewise.
13401         * math/s_catanf.c (__catanf): Likewise.
13402         * math/s_catanh.c (__catanh): Likewise.
13403         * math/s_catanhf.c (__catanhf): Likewise.
13404         * math/s_catanhl.c (__catanhl): Likewise.
13405         * math/s_catanl.c (__catanl): Likewise.
13406         * math/s_ccosh.c (__ccosh): Likewise.
13407         * math/s_ccoshf.c (__ccoshf): Likewise.
13408         * math/s_ccoshl.c (__ccoshl): Likewise.
13409         * math/s_cexp.c (__cexp): Likewise.
13410         * math/s_cexpf.c (__cexpf): Likewise.
13411         * math/s_cexpl.c (__cexpl): Likewise.
13412         * math/s_clog10.c (__clog10): Likewise.
13413         * math/s_clog10f.c (__clog10f): Likewise.
13414         * math/s_clog10l.c (__clog10l): Likewise.
13415         * math/s_clog.c (__clog): Likewise.
13416         * math/s_clogf.c (__clogf): Likewise.
13417         * math/s_clogl.c (__clogl): Likewise.
13418         * math/s_csin.c (__csin): Likewise.
13419         * math/s_csinf.c (__csinf): Likewise.
13420         * math/s_csinh.c (__csinh): Likewise.
13421         * math/s_csinhf.c (__csinhf): Likewise.
13422         * math/s_csinhl.c (__csinhl): Likewise.
13423         * math/s_csinl.c (__csinl): Likewise.
13424         * math/s_csqrt.c (__csqrt): Likewise.
13425         * math/s_csqrtf.c (__csqrtf): Likewise.
13426         * math/s_csqrtl.c (__csqrtl): Likewise.
13427         * math/s_ctan.c (__ctan): Likewise.
13428         * math/s_ctanf.c (__ctanf): Likewise.
13429         * math/s_ctanh.c (__ctanh): Likewise.
13430         * math/s_ctanhf.c (__ctanhf): Likewise.
13431         * math/s_ctanhl.c (__ctanhl): Likewise.
13432         * math/s_ctanl.c (__ctanl): Likewise.
13433         * math/w_pow.c: Likewise.
13434         * math/w_powf.c: Likewise.
13435         * math/w_powl.c: Likewise.
13436         * math/w_scalb.c (sysv_scalb): Likewise.
13437         * math/w_scalbf.c (sysv_scalbf): Likewise.
13438         * math/w_scalbl.c (sysv_scalbl): Likewise.
13439         * misc/error.c (error_tail): Likewise.
13440         * misc/pselect.c (__pselect): Likewise.
13441         * nis/nis_callback.c (__nis_create_callback): Likewise.
13442         * nis/nis_call.c (__nisfind_server): Likewise.
13443         * nis/nis_creategroup.c (nis_creategroup): Likewise.
13444         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13445         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13446         * nis/nis_getservlist.c (nis_getservlist): Likewise.
13447         * nis/nis_lookup.c (nis_lookup): Likewise.
13448         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13449         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13450         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13451         * nis/nis_xdr.c (xdr_endpoint): Likewise.
13452         * nis/nss_compat/compat-grp.c (getgrent_next_file)
13453         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13454         * nis/nss_compat/compat-initgroups.c (add_group)
13455         (internal_getgrent_r): Likewise.
13456         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13457         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13458         * nis/nss_compat/compat-spwd.c (getspent_next_file)
13459         (internal_getspnam_r): Likewise.
13460         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13461         (_nss_nis_getaliasbyname_r): Likewise.
13462         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13463         (_nss_nis_getntohost_r): Likewise.
13464         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13465         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13466         (_nss_nis_getgrgid_r): Likewise.
13467         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13468         (internal_nis_gethostent_r, internal_gethostbyname2_r)
13469         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13470         (_nss_nis_gethostbyname4_r): Likewise.
13471         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13472         (initgroups_netid): Likewise.
13473         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13474         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13475         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13476         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13477         (_nss_nis_getprotobynumber_r): Likewise.
13478         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13479         (_nss_nis_getsecretkey): Likewise.
13480         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13481         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13482         (_nss_nis_getpwuid_r): Likewise.
13483         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13484         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13485         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13486         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13487         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13488         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13489         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13490         Likewise.
13491         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13492         (_nss_nisplus_getntohost_r): Likewise.
13493         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13494         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13495         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13496         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13497         Likewise.
13498         * nis/nss_nisplus/nisplus-initgroups.c
13499         (_nss_nisplus_initgroups_dyn): Likewise.
13500         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13501         (_nss_nisplus_getnetbyaddr_r): Likewise.
13502         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13503         (_nss_nisplus_getprotobynumber_r): Likewise.
13504         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13505         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13506         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13507         Likewise.
13508         * nis/nss_nisplus/nisplus-service.c
13509         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13510         (_nss_nisplus_getservbyport_r): Likewise.
13511         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13512         (_nss_nisplus_getspnam_r): Likewise.
13513         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13514         Likewise.
13515         * nscd/aicache.c (addhstaiX): Likewise.
13516         * nscd/cache.c (cache_search, prune_cache): Likewise.
13517         * nscd/connections.c (register_traced_file, send_ro_fd)
13518         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13519         (main_loop_epoll): Likewise.
13520         * nscd/grpcache.c (addgrbyX): Likewise.
13521         * nscd/hstcache.c (addhstbyX): Likewise.
13522         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13523         * nscd/mem.c (gc, mempool_alloc): Likewise.
13524         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13525         (addinnetgrX): Likewise.
13526         * nscd/nscd-client.h (__nscd_acquire_maplock)
13527         (__nscd_drop_map_ref): Likewise.
13528         * nscd/nscd_getai.c (__nscd_getai): Likewise.
13529         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13530         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13531         Likewise.
13532         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13533         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13534         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13535         (__nscd_get_map_ref): Likewise.
13536         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13537         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13538         Likewise.
13539         * nscd/pwdcache.c (addpwbyX): Likewise.
13540         * nscd/selinux.c (preserve_capabilities): Likewise.
13541         * nscd/servicescache.c (addservbyX): Likewise.
13542         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13543         * posix/fnmatch.c (fnmatch): Likewise.
13544         * posix/getopt.c (_getopt_internal_r): Likewise.
13545         * posix/glob.c (glob, glob_in_dir): Likewise.
13546         * posix/wordexp.c (exec_comm_child): Likewise.
13547         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13548         (getanswer_r, gaih_getanswer_slice): Likewise.
13549         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13550         * resolv/res_init.c: Likewise.
13551         * resolv/res_mkquery.c (res_nmkquery): Likewise.
13552         * resolv/res_query.c (__libc_res_nquery): Likewise.
13553         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13554         Likewise.
13555         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13556         * stdio-common/perror.c (perror): Likewise.
13557         * stdio-common/printf_fp.c (___printf_fp): Likewise.
13558         * stdio-common/tmpnam.c (tmpnam): Likewise.
13559         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13560         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13561         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13562         Likewise.
13563         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13564         * stdlib/putenv.c (putenv): Likewise.
13565         * stdlib/setenv.c (__add_to_environ): Likewise.
13566         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13567         * stdlib/strtol_l.c (INTERNAL): Likewise.
13568         * string/memmem.c (memmem): Likewise.
13569         * string/strerror.c (strerror): Likewise.
13570         * string/strnlen.c (__strnlen): Likewise.
13571         * string/test-memmem.c (simple_memmem): Likewise.
13572         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13573         * sunrpc/pm_getport.c (__get_socket): Likewise.
13574         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13575         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13576         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13577         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13578         Likewise.
13579         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13580         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13581         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13582         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13583         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13584         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13585         Likewise.
13586         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13587         Likewise.
13588         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13589         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13590         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13591         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13592         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13594         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13595         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13596         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13597         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13598         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13599         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13600         Likewise.
13601         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13602         Likewise.
13603         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13604         Likewise.
13605         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13606         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13607         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13608         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13609         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13610         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13611         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13612         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13613         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13614         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13615         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13616         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13617         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13618         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13619         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13620         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13621         Likewise.
13622         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13623         Likewise.
13624         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13625         Likewise.
13626         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13627         Likewise.
13628         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13629         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13630         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13631         Likewise.
13632         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13633         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13634         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13635         * sysdeps/posix/sleep.c: Likewise.
13636         * sysdeps/posix/tempname.c: Likewise.
13637         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13638         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13639         Likewise.
13640         * sysdeps/powerpc/powerpc32/dl-machine.h
13641         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13642         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13643         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13644         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13645         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13646         Likewise.
13647         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13648         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13649         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13650         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13651         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13652         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13653         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13654         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13655         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13656         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13657         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13658         (elf_machine_lazy_rel): Likewise.
13659         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13660         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13661         (elf_machine_lazy_rel): Likewise.
13662         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13663         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13664         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13665         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13666         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13667         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13668         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13669         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13670         Likewise.
13671         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13672         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13673         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13674         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13675         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13676         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13677         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13678         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13679         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13680         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13681         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13682         Likewise.
13683         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13684         (__posix_fallocate64_l64): Likewise.
13685         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13686         (posix_fallocate): Likewise.
13687         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13688         Likewise.
13689         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13690         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13691         (getifaddrs_internal): Likewise.
13692         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13693         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13694         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13695         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13696         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13697         (__posix_fallocate64_l64): Likewise.
13698         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13699         Likewise.
13700         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13701         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13702         (__get_clockfreq): Likewise.
13703         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13704         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13705         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13708         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13709         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13710         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13711         Likewise.
13712         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13713         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13714         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13715         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13716         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13717         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13718         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13719         Likewise.
13720         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13721         (posix_fallocate): Likewise.
13722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13723         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13724         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13725         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13726         (elf_machine_rela, elf_machine_rela_relative)
13727         (elf_machine_lazy_rel): Likewise.
13728         * time/asctime.c (asctime_internal): Likewise.
13729         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13730         * time/tzset.c (__tzset_parse_tz): Likewise.
13731         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13732         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13733         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13734         * wcsmbs/wcsmbsload.h: Likewise.
13735
13736         [BZ #15894]
13737         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13738
13739         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13740         (arena_get2): Remove THREAD_STATS conditionals.
13741         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13742         (__malloc_stats, int): Likewise.
13743
13744 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13745
13746         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13747         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13748
13749         * manual/setjmp.texi: Fix typos/grammar errors.
13750
13751         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13752         Only return early when n is <= 0.  Delete unused return statement.
13753
13754         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13755         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13756         * debug/tst-longjmp_chk3.c: New file.
13757
13758         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13759         (test_main): Replace code with set_fortify_handler call.
13760         * debug/test-strcpy_chk.c: Likewise.
13761         * debug/tst-chk1.c: Likewise.
13762         * debug/tst-longjmp_chk.c: Likewise.
13763         * test-skeleton.c: Include fcntl.h & paths.h
13764         (set_fortify_handler): Define.
13765
13766         * debug/tst-longjmp_chk.c: Add header comment and include
13767         ../test-skeleton.c.
13768         (do_test): Mark static.
13769         (TEST_FUNCTION): Define.
13770
13771         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13772         (IP_PMTUDISC_INTERFACE): Likewise.
13773         (IP_MULTICAST_IF): Likewise.
13774         (IP_MULTICAST_TTL): Likewise.
13775         (IP_MULTICAST_LOOP): Likewise.
13776         (IP_ADD_MEMBERSHIP): Likewise.
13777         (IP_DROP_MEMBERSHIP): Likewise.
13778         (IP_UNBLOCK_SOURCE): Likewise.
13779         (IP_BLOCK_SOURCE): Likewise.
13780         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13781         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13782         (IP_MSFILTER): Likewise.
13783         (MCAST_JOIN_GROUP): Likewise.
13784         (MCAST_BLOCK_SOURCE): Likewise.
13785         (MCAST_UNBLOCK_SOURCE): Likewise.
13786         (MCAST_LEAVE_GROUP): Likewise.
13787         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13788         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13789         (MCAST_MSFILTER): Likewise.
13790         (IP_MULTICAST_ALL): Likewise.
13791         (IP_UNICAST_IF): Likewise.
13792
13793         * timezone/Makefile: Delete $(have-ksh) check.
13794         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13795         * timezone/tzselect.ksh: Add +x mode bits.
13796
13797         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13798         (ANON_INODE_FS_MAGIC): Likewise.
13799         (BDEVFS_MAGIC): Likewise.
13800         (BINFMTFS_MAGIC): Likewise.
13801         (BTRFS_TEST_MAGIC): Likewise.
13802         (CRAMFS_MAGIC_WEND): Likewise.
13803         (DEBUGFS_MAGIC): Likewise.
13804         (ECRYPTFS_SUPER_MAGIC): Likewise.
13805         (EXT3_SUPER_MAGIC): Likewise.
13806         (EXT4_SUPER_MAGIC): Likewise.
13807         (FUTEXFS_SUPER_MAGIC): Likewise.
13808         (HOSTFS_SUPER_MAGIC): Likewise.
13809         (HUGETLBFS_MAGIC): Likewise.
13810         (MINIX3_SUPER_MAGIC): Likewise.
13811         (MTD_INODE_FS_MAGIC): Likewise.
13812         (NILFS_SUPER_MAGIC): Likewise.
13813         (OPENPROM_SUPER_MAGIC): Likewise.
13814         (PIPEFS_MAGIC): Likewise.
13815         (PSTOREFS_MAGIC): Likewise.
13816         (QNX6_SUPER_MAGIC): Likewise.
13817         (RAMFS_MAGIC): Likewise.
13818         (REISERFS_SUPER_MAGIC_STRING): Likewise.
13819         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13820         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13821         (SECURITYFS_MAGIC): Likewise.
13822         (SELINUX_MAGIC): Likewise.
13823         (SMACK_MAGIC): Likewise.
13824         (SOCKFS_MAGIC): Likewise.
13825         (SQUASHFS_MAGIC): Likewise.
13826         (STACK_END_MAGIC): Likewise.
13827         (TMPFS_MAGIC): Likewise.
13828         (USBDEVICE_SUPER_MAGIC): Likewise.
13829         (V9FS_MAGIC): Likewise.
13830         (XENFS_SUPER_MAGIC): Likewise.
13831         (CRAMFS_MAGIC): Fix typo in comment.
13832         (EXT2_SUPER_MAGIC): Update comment.
13833         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13834
13835 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
13836
13837         * sysdeps/arm: Move directory from ports/sysdeps/arm.
13838         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13839         * sysdeps/unix/sysv/linux/arm: Move directory from
13840         ports/sysdeps/unix/sysv/linux/arm.
13841         * README: Update listing for arm-*-linux-gnueabi.
13842
13843         * README: Remove mention of am33.
13844
13845 2014-02-07  Roland McGrath  <roland@hack.frob.com>
13846
13847         * bits/sigset.h (__sigemptyset): Use a statement expression rather
13848         than the comma operator, to avoid "rhs of comma has no effect"
13849         compiler warnings.
13850         (__sigfillset, __sigandset, __sigorset): Likewise.
13851         * include/signal.h (__sigemptyset): Likewise.
13852         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13853
13854 2014-02-07  Allan McRae  <allan@archlinux.org>
13855
13856         * version.h (RELEASE): Set to "development".
13857         (VERSION): Set to "2.19.90"
13858         * NEWS: Add 2.20 section.
13859
13860 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
13861
13862         [BZ #16529]
13863         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13864
13865 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13866
13867         * manual/contrib.texi: Update entry for Carlos O'Donell,
13868         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13869
13870 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
13871
13872         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13873
13874         * sysdeps/unix/sysv/linux/kernel-features.h
13875         [__LINUX_KERNEL_VERSION >= 0x020621]
13876         (__ASSUME_PROC_PID_TASK_COMM): Define.
13877
13878 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13879
13880         [BZ #16398]
13881         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13882         conversion when destination buffer does not have enough space.
13883         * libio/tst-ftell-partial-wide.c: New test case.
13884         * libio/Makefile (tests): Add tst-ftell-partial-wide.
13885
13886         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13887         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
13888         Leonard and Allan McRae.
13889
13890 2014-02-04  David S. Miller  <davem@davemloft.net>
13891
13892         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13893         32-bit.
13894
13895 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13896
13897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13898         New file
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13900         New file
13901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13902         New file.
13903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13904         New file.
13905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13906         New file.
13907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13908         New file.
13909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13910         New file.
13911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13912         New file.
13913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13914         New file.
13915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13916         New file.
13917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13918         New file.
13919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13920         New file.
13921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13922         New file.
13923
13924 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13925
13926         * nptl/shlib-versions: Change powerpc*le start to 2.17.
13927         * shlib-versions: Likewise.
13928
13929 2014-02-04  Roland McGrath  <roland@hack.frob.com>
13930             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13931
13932         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13933         (abilist-pattern): New variable, set to %-le.abilist.
13934
13935         * Makerules (abilist-pattern): New variable.
13936         (vpath): Use $(abilist-pattern) in place of %.abilist.
13937         (check-abi-% pattern rule): Likewise.
13938         (check-abi, update-abi): Likewise.
13939
13940 2014-02-04  Eric Wong  <normalperson@yhbt.net>
13941
13942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13943
13944 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
13945
13946         * manual/startup.texi: Add next, previous, and top entries for
13947         the `Program Arguments' and `Environment Variables' nodes.
13948
13949 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
13950
13951         * manual/macros.texi: Add comments before MTASC-safety macros.
13952
13953         * manual/users.texi: Document MTASC-safety properties.
13954
13955         * manual/threads.texi (pthread_key_create, pthread_key_delete)
13956         (pthread_getspecific, pthread_setspecific): Format with
13957         @deftypefun, and add @safety note.
13958         * manual/signal.texi: Move comments that analyze the above
13959         functions to their home place.
13960
13961 2014-02-03  Allan McRae  <allan@archlinux.org>
13962
13963         * po/sl.po: Update Slovenian translation from translation project.
13964
13965 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
13966
13967         * manual/time.texi (timegm): Add missing blank after @c.
13968         Reported by Joseph Myers <joseph@codesourcery.com>.
13969
13970 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
13971
13972         * manual/check-safety.sh: New.
13973         * manual/Makefile ($(objpfx)stamp-summary): Run it.
13974
13975         * manual/terminal.texi: Document MTASC-safety properties.
13976
13977         * manual/filesys.texi: Document MTASC-safety properties.
13978
13979         * manual/errno.texi: Document MTASC-safety properties.
13980
13981         * manual/intro.texi: Document safety identifiers and
13982         conditionals.
13983
13984         * manual/string.texi (wcstok): Fix prototype.
13985         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13986
13987         * manual/time.texi: Document MTASC-safety properties.
13988
13989         * manual/string.texi: Document MTASC-safety properties.
13990
13991         * manual/threads.texi: Document MTASC-safety properties.
13992
13993         * manual/stdio.texi: Document MTASC-safety properties.
13994
13995         * manual/syslog.texi: Document MTASC-safety properties.
13996
13997         * manual/sysinfo.texi: Document MTASC-safety properties.
13998
13999         * manual/startup.texi: Document MTASC-safety properties.
14000
14001         * manual/socket.texi: Document MTASC-safety properties.
14002
14003         * manual/signal.texi: Document MTASC-safety properties.
14004
14005 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14006
14007         * manual/setjmp.texi: Document MTASC-safety properties.
14008
14009         * manual/search.texi: Document MTASC-safety properties.
14010
14011         * manual/resource.texi: Document MTASC-safety properties.
14012
14013         * manual/process.texi: Document MTASC-safety properties.
14014
14015         * manual/platform.texi: Document MTASC-safety properties.
14016
14017         * manual/pipe.texi: Document MTASC-safety properties.
14018
14019         * manual/pattern.texi: Document MTASC-safety properties.
14020
14021         * manual/message.texi: Document MTASC-safety properties.
14022
14023         [BZ #12751]
14024         * manual/memory.texi: Document MTASC-safety properties.
14025
14026         * manual/math.texi: Document MTASC-safety properties.
14027
14028         * manual/locale.texi: Document MTASC-safety properties.
14029
14030         * manual/llio.texi: Document MTASC-safety properties.
14031
14032         * manual/libdl.texi: New.
14033
14034         * manual/lang.texi: Document MTASC-safety properties.
14035
14036         * manual/job.texi: Document MTASC-safety properties.
14037
14038         * manual/getopt.texi: Document MTASC-safety properties.
14039
14040         * manual/ctype.texi: Document MTASC-safety properties.
14041
14042 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
14043
14044         [BZ #16046]
14045         * csu/libc-tls.c (static_map): Remove variable.
14046         (__libc_setup_tls): Use main executable's link map for TLS data.
14047         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14048         casing for LM_ID_BASE and GL(dl_nns).
14049         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14050         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
14051         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14052         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14053         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14054         member.
14055         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14056         l_phnum members.
14057
14058 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
14059
14060         * manual/debug.texi: Document MTASC-safety properties.
14061
14062 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
14063
14064         [BZ #16510]
14065         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14066         of __x86_64__ when disabling x87 inline functions.
14067
14068 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
14069
14070         * manual/charset.texi: Document MTASC-safety properties.
14071
14072         * manual/crypt.texi: Document MTASC-safety properties.
14073
14074         * manual/conf.texi: Document MTASC-safety properties.
14075
14076         * manual/arith.texi: Document MTASC-safety properties.
14077
14078         * manual/argp.texi: Document MTASC-safety properties.
14079
14080         * manual/macros.texi: Introduce macros to document multi
14081         thread, asynchronous signal and asynchronous cancellation
14082         safety properties.
14083         * manual/intro.texi: Introduce the properties themselves.
14084
14085 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14086
14087         * sysdeps/sh/sh4/Makefile: New file.
14088
14089 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
14090
14091         * math/gen-libm-test.pl ($srcdir): New variable.
14092         ($auto_input): Use it.
14093
14094 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14095
14096         [BZ #16506]
14097         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14098         access beyond array bounds when parsing netgroups file.
14099
14100         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14101         the old buffer before realloc.
14102
14103 2014-01-27  Allan McRae  <allan@archlinux.org>
14104
14105         * po/fr.po: Update French translation from translation project.
14106
14107 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14108
14109         * sysdeps/sh/libm-test-ulps: Regenerate.
14110
14111 2014-01-24  David S. Miller  <davem@davemloft.net>
14112
14113         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14114
14115 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14116
14117         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14118         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14119
14120 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14121
14122         [BZ #16474]
14123         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14124         string pointers after reallocation.
14125
14126 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14127
14128         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14129         __SH4A__ instead of __SH_FPU_ANY__.
14130
14131 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14132
14133         * sysdeps/sh/fpu_control.h: New file.
14134         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14135         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14136         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14137         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14138         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14139         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14140         * sysdeps/sh/sys/ucontext.h: Remove.
14141         * sysdeps/sh/sys: Remove directory.
14142
14143 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14144
14145         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14146         s390/sys/ucontext.h.
14147         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14148         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14149
14150 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
14151
14152         [BZ #15605]
14153         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14154
14155 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14156
14157         [BZ#16431]
14158         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14159         Adjust the vDSO correctly for internal calls.
14160         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14161
14162 2014-01-20  Allan McRae  <allan@archlinux.org>
14163
14164         * po/ca.po: Update Catalan translation from translation project.
14165
14166 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
14167
14168         * sysdeps/s390/sotruss-lib.c: New file.
14169
14170 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14171
14172         [BZ#16430]
14173         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14174         (__GI___gettimeofday): Alias for a different internal symbol to avoid
14175         local calls issues by not having a PLT stub required for IFUNC calls.
14176         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14177
14178 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
14179
14180         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14181         * math/test-fpucw-static.c: Likewise.
14182
14183 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14184
14185         [BZ #16453]
14186         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14187
14188 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14189
14190         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14191         implementation for powerpc.
14192
14193 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
14194
14195         [BZ #14782]
14196         * sysdeps/posix/system.c (__libc_system): Do not enable
14197         asynchronous cancellation.
14198
14199 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14200
14201         [BZ #16427]
14202         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14203         handling only for numbers special also in the IEEE case.
14204
14205 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14206
14207         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14208
14209 2014-01-11  Allan McRae  <allan@archlinux.org>
14210
14211         * po/bg.po: Update Bulgarian translation from translation project.
14212
14213         * po/de.po: Update German translation from translation project.
14214
14215 2014-01-10  Roland McGrath  <roland@hack.frob.com>
14216
14217         * sysdeps/generic/gcc-compat.h: New file.
14218
14219 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14220
14221         * benchtests/asin-inputs: Correct slow inputs.
14222         * benchtests/acos-inputs: Likewise.
14223
14224 2014-01-10  Allan McRae  <allan@archlinux.org>
14225
14226         * po:sv.po: Update Swedish translation from translation project.
14227
14228         * po/vi.po: Update Vietnamese translation from translation project.
14229
14230         * po/eo.po: Update Esperanto translation from translation project.
14231
14232         * po/cs.po: Update Czech translation from translation project.
14233
14234         * po/nl.po: Update Dutch translation from translation project.
14235
14236         * po/pl.po: Update Polish translation from translation project.
14237
14238         * po/ru.po: Update Russian translation from translation project.
14239
14240         * po/uk.po: Update Ukrainian translation from translation project.
14241
14242 2014-01-08  Brooks Moses  <bmoses@google.com>
14243
14244         * elf/dl-load.c: Fix comment typo.
14245
14246 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
14247
14248         * po/header.pot: Rename to...
14249         * po/pot.header: ... this.
14250         * po/Makefile: Use pot.header.
14251
14252 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
14253             Maxim Kuvyrkov  <maxim@kugelworks.com>
14254
14255         [BZ #16394]
14256         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14257         SRC and DEST against LEN.
14258
14259 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14260
14261         [BZ #16414]
14262         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14263         implementation.
14264         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14265
14266 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14267
14268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14269
14270 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
14271
14272         [BZ #16408]
14273         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14274         for large positive arguments.
14275
14276 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
14277
14278         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14279
14280         * math/auto-libm-test-in: Mark various tests with
14281         xfail-rounding:ldbl-128ibm.
14282         * math/auto-libm-test-out: Regenerated.
14283
14284         [BZ #16407]
14285         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14286         Increase overflow threshold.
14287
14288 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
14289
14290         [BZ #14286]
14291         * stdio-common/vfprintf.c: Check for integer overflow.
14292
14293 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14294
14295         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14296         the first argument and return value of __tls_get_addr_internal.
14297
14298 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14299
14300         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14301         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14302
14303 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14304
14305         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14306         * sysdeps/s390/rtld-global-offsets.sym: New file.
14307         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14308         GLIBC_2.19 symbol.
14309         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14310         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14311         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14312         ... this.
14313         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14314         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14315         ... this.
14316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14317         Regenerate.
14318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14319         Regenerate.
14320         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14321         halfs of GPRs for high_gprs contexts.
14322         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14323         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
14324         field.
14325         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14326         uc_flags field.
14327         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14328         64 bit versions:
14329         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14330         for high GPRs (uc_high_gprs) and for future extensions
14331         (__reserved).
14332         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14333         for future extensions (__reserved).
14334         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14335         64 bit versions:
14336         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14337         SC_HIGHGPRS offset definition.
14338         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14339         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14340
14341         * Versions.def: Add GLIBC_2.19 for libpthread.
14342         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14343         siglongjmp for libpthread with GLIBC_2.19 symver.
14344         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14345         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14346         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14347         * sysdeps/s390/__longjmp.c: New file.
14348         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14349         * sysdeps/s390/longjmp.c: New file.
14350         * sysdeps/s390/setjmp.S: New file.
14351         * sysdeps/s390/sigjmp.S: New file.
14352         * sysdeps/s390/v1-longjmp.c: New file.
14353         * sysdeps/s390/v1-setjmp.h: New file.
14354         * sysdeps/s390/v1-sigjmp.c: New file.
14355         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14356         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14357         GLIBC_2.19 version.
14358         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14359         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14360         versioned symbols for ____longjmp_chk.
14361         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14362         Likewise.
14363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14364         Regenerate.
14365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14366         Regenerate.
14367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14368         Regenerate.
14369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14370         Regenerate.
14371         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14372         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14373         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14374         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14375         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14376         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14377         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14378         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14379         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14380         * sysdeps/s390/rtld-__longjmp.c: New file.
14381         * sysdeps/s390/rtld-setjmp.S: New file.
14382
14383 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
14384
14385         [BZ #16400]
14386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14387         Return -__logl (x) for small positive arguments without evaluating
14388         a polynomial.
14389
14390 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
14391
14392         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14393         Rename to ...
14394         (__ptrace_peeksiginfo_args): ... this.
14395         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14396         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14397         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14398
14399 2014-01-06  Allan McRae  <allan@archlinux.org>
14400
14401         * inet/netinet/in.h: Fix typo in comment.
14402
14403 2014-01-05  Andreas Jaeger  <aj@suse.de>
14404
14405         * sysdeps/i386/fpu/libm-test-ulps: Update.
14406
14407 2014-01-05  Allan McRae  <allan@archlinux.org>
14408
14409         * po/libc.pot: Regenerated.
14410
14411         * malloc/memusagestat.c: Fix gettext call formatting.
14412
14413 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
14414
14415         * nscd/nscd.c: Improve usage() output.
14416
14417 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
14418
14419         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14420         * sysdeps/unix/sysv/linux/configure: Regenerated.
14421         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14422         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14423
14424 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14425
14426         [BZ #16390]
14427         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14428         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14429
14430 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14431
14432         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14433         extra tokens at end of #undef directive.
14434         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14435         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14436         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14437
14438 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14439
14440         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14441
14442         * math/auto-libm-test-in: Mark various tests with
14443         xfail-rounding:ldbl-128ibm.
14444         * math/auto-libm-test-out: Regenerated.
14445
14446 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
14447
14448         [BZ #16386]
14449         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14450         numbers with subnormal high part when calculating exponent.
14451
14452         [BZ #16385]
14453         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14454         fabs.
14455
14456         [BZ #16384]
14457         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14458         M_LN2l.
14459         (__ieee754_acoshl): Use __log1pl not __log1p.
14460
14461 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
14462
14463         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14464         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14465         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14466         (grow_heap, heap_trim, _int_new_arena, get_free_list)
14467         (reused_arena, arena_get2): Convert to GNU style.
14468         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14469         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14470         (memalign_check, __malloc_set_state): Likewise.
14471         * malloc/mallocbug.c (main): Likewise.
14472         * malloc/malloc.c (__malloc_assert, malloc_init_state)
14473         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14474         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14475         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14476         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14477         (__posix_memalign, malloc_info): Likewise.
14478         * malloc/malloc.h: Likewise.
14479         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14480         (mallochook, memalignhook, reallochook, mabort): Likewise.
14481         * malloc/mcheck.h: Likewise.
14482         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14483         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14484         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14485         * malloc/morecore.c (__default_morecore): Likewise.
14486         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14487         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14488         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14489         (print_and_abort): Likewise.
14490         * malloc/obstack.h: Likewise.
14491         * malloc/set-freeres.c (__libc_freeres): Likewise.
14492         * malloc/tst-mallocstate.c (main): Likewise.
14493         * malloc/tst-mtrace.c (main): Likewise.
14494         * malloc/tst-realloc.c (do_test): Likewise.
14495
14496 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14497
14498         [BZ #16366]
14499         * nscd/netgroupcache.c (do_notfound): New function.
14500         (addgetnetgrentX): Use it.
14501
14502         [BZ # 16365]
14503         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14504         NSS_STATUS_NOTFOUND.
14505
14506 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
14507
14508         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14510
14511 2014-01-01  Allan McRae  <allan@archlinux.org>
14512
14513         * scripts/update-copyrights: Update configure input file suffix.
14514
14515         * NEWS: Update copyright year.
14516         * catgets/gencat.c: Likewise.
14517         * csu/version.c: Likewise.
14518         * debug/catchsegv.sh: Likewise.
14519         * debug/pcprofiledump.c: Likewise.
14520         * debug/xtrace.sh: Likewise.
14521         * elf/ldconfig.c: Likewise.
14522         * elf/ldd.bash.in: Likewise.
14523         * elf/pldd.c: Likewise.
14524         * elf/sotruss.ksh: Likewise.
14525         * elf/sprof.c: Likewise.
14526         * iconv/iconv_prog.c: Likewise.
14527         * iconv/iconvconfig.c: Likewise.
14528         * locale/programs/locale.c: Likewise.
14529         * locale/programs/localedef.c: Likewise.
14530         * login/programs/pt_chown.c: Likewise.
14531         * malloc/memusage.sh: Likewise.
14532         * malloc/memusagestat.c: Likewise.
14533         * malloc/mtrace.pl: Likewise.
14534         * manual/libc.texinfo: Likewise.
14535         * nscd/nscd.c: Likewise.
14536         * nss/getent.c: Likewise.
14537         * nss/makedb.c: Likewise.
14538         * posix/getconf.c: Likewise.
14539         * scripts/test-installation.pl: Likewise.
14540
14541         * All files with FSF copyright notices: Update copyright dates
14542         using scripts/update-copyrights.
14543         * intl/plural.c: Regenerated.
14544         * locale/programs/charmap-kw.h: Likewise.
14545         * locale/programs/locfile-kw.h: Likewise.
14546
14547 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
14548
14549         * sysdeps/unix/sysv/linux/configure: Regenerated.
14550         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14551         the linux/fanotify.h header.
14552         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14553         HAVE_LINUX_FANOTIFY_H is defined.
14554
14555 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14556
14557         * benchtests/cos-inputs: New inputs.
14558         * benchtests/sin-inputs: Likewise.
14559
14560         * benchtests/atan-inputs: New inputs. Fix name of multiple
14561         precision fallback inputs.
14562
14563         * benchtests/atanh-inputs: New inputs.
14564         * benchtests/tanh-inputs: Likewise.
14565
14566         * benchtests/acosh-inputs: New inputs.
14567         * benchtests/asinh-inputs: Likewise.
14568
14569         * benchtests/cosh-inputs: New inputs.
14570         * benchtests/sinh-inputs: Likewise.
14571
14572         * benchtests/acos-inputs: Add more inputs.
14573         * benchtests/asin-inputs: Likewise.
14574
14575 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
14576
14577         [BZ #16375]
14578         * manual/arith.texi: Fix spelling.
14579         * manual/charset.texi: Likewise.
14580         * manual/errno.texi: Likewise.
14581         * manual/filesys.texi: Likewise.
14582         * manual/lang.texi: Likewise.
14583         * manual/llio.texi: Likewise.
14584         * manual/locale.texi: Likewise.
14585         * manual/message.texi: Likewise.
14586         * manual/resource.texi: Likewise.
14587         * manual/search.texi: Likewise.
14588         * manual/setjmp.texi: Likewise.
14589         * manual/stdio.texi: Likewise.
14590         * manual/string.texi: Likewise.
14591         * manual/sysinfo.texi: Likewise.
14592         * manual/time.texi: Likewise.
14593
14594 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
14595
14596         * po/sl.po: New file.
14597
14598 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
14599
14600         * .gitignore: Add core/.gdbinit/.gdb_history.
14601
14602 2013-12-27  Allan McRae  <allan@archlinux.org>
14603
14604         [BZ #16369]
14605         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14606         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14607
14608 2013-12-24  Brooks Moses  <bmoses@google.com>
14609
14610         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14611         all compilers that claim C++98 compliance, not just GCC.
14612         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14613         Likewise.
14614
14615 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14616
14617         * NEWS: Restore accidentally deleted bug-fix entries.
14618
14619 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14620             Ondřej Bílka  <neleai@seznam.cz>
14621
14622         [BZ #15073]
14623         * malloc/malloc.c (_int_free): Perform sanity check only if we
14624         have_lock.
14625
14626 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14627
14628         [BZ #12986]
14629         * manual/stdio.texi (String Input Conversions): Clarify that character
14630         classes are not supported.
14631
14632 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14633
14634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14635
14636 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14637
14638         [BZ #16337]
14639         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14640         Calculate results for small negative arguments directly rather
14641         than using reflection formula with special underflow handling.
14642
14643         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14644         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14645         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14646         (fchflags): Likewise.
14647         (revoke): Likewise.
14648         (setlogin): Likewise.
14649         (sigaltstack): Likewise.
14650         (wait4): Likewise.
14651         (sigblock): Remove.
14652         (sigsetmask): Likewise.
14653         (wait3): Likewise.
14654         (waitpid): Likewise.
14655         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14656         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14657         file.
14658         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14659         * sysdeps/unix/bsd/Makefile: ... here.
14660         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14661         * sysdeps/unix/bsd/Versions: ... here.
14662         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14663         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14664         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14665         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14666         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14667         * sysdeps/unix/bsd/sigblock.c: ... here.
14668         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14669         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14670         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14671         * sysdeps/unix/bsd/sigvec.c: ... here.
14672         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14673         * sysdeps/unix/bsd/tcdrain.c: ... here.
14674         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14675         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14676         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14677         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14678         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14679         * sysdeps/unix/bsd/wait.c: ... here.
14680         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14681         * sysdeps/unix/bsd/wait3.c: ... here.
14682         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14683         * sysdeps/unix/bsd/waitpid.c: ... here.
14684
14685 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14686
14687         [BZ #16356]
14688         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14689         round-to-nearest for [!USE_AS_EXPM1L].
14690         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14691         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14692         more tests of exp and exp10.  Expect some exp10 tests to miss
14693         exceptions or fail in directed rounding modes.
14694         * math/auto-libm-test-out: Regenerated.
14695         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14696         (exp10_test_tonearest): New function.
14697         (exp10_towardzero_test_data): New array.
14698         (exp10_test_towardzero): New function.
14699         (exp10_downward_test_data): New array.
14700         (exp10_test_downward): New function.
14701         (exp10_upward_test_data): New array.
14702         (exp10_test_upward): New function.
14703         (main): Call the new functions.
14704         * sysdeps/i386/fpu/libm-test-ulps: Update.
14705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14706
14707 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14708
14709         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14710         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14711         * math/auto-libm-test-out: Regenerated.
14712         * math/libm-test.inc (acosh_test_data): Add more tests.
14713         (atanh_test_data): Likewise.
14714         (ceil_test_data): Likewise.
14715         (copysign_test_data): Likewise.
14716         * sysdeps/i386/fpu/libm-test-ulps: Update.
14717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14718
14719         * timezone/checktab.awk: Update from tzcode 2013i.
14720         * timezone/private.h: Likewise.
14721         * timezone/scheck.c: Likewise.
14722         * timezone/tzfile.h: Likewise.
14723         * timezone/tzselect.ksh: Likewise.
14724         * timezone/zdump.c: Likewise.
14725         * timezone/zic.c: Likewise.
14726
14727         * math/auto-libm-test-in: Add tests of cpow.
14728         * math/auto-libm-test-out: Regenerated.
14729         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14730         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14731         mpc_cc_c.
14732         (func_calc_desc): Add mpc_cc_c union field.
14733         (test_functions): Add cpow.
14734         (special_fill_2pi): New function.
14735         (special_real_inputs): Add 2pi.
14736         (calc_generic_results): Handle mpc_cc_c.
14737         * sysdeps/i386/fpu/libm-test-ulps: Update.
14738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14739
14740         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14741         csqrt, ctan and ctanh.
14742         * math/auto-libm-test-out: Regenerated.
14743         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14744         (TEST_COND_x86): Likewise.
14745         (ccos_test_data): Use AUTO_TESTS_c_c.
14746         (ccosh_test_data): Likewise.
14747         (cexp_test_data): Likewise.
14748         (clog_test_data): Likewise.
14749         (csqrt_test_data): Likewise.
14750         (ctan_test_data): Likewise.
14751         (ctan_tonearest_test_data): Likewise.
14752         (ctan_towardzero_test_data): Likewise.
14753         (ctan_downward_test_data): Likewise.
14754         (ctan_upward_test_data): Likewise.
14755         (ctanh_test_data): Likewise.
14756         (ctanh_tonearest_test_data): Likewise.
14757         (ctanh_towardzero_test_data): Likewise.
14758         (ctanh_downward_test_data): Likewise.
14759         (ctanh_upward_test_data): Likewise.
14760         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14761         mpc_c_c.
14762         (func_calc_desc): Add mpc_c_c union field.
14763         (FUNC_mpc_c_c): New macro.
14764         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14765         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14766         ctanh.
14767         (special_fill_min_subnorm_p120): New function.
14768         (special_real_inputs): Add min_subnorm_p120.
14769         (calc_generic_results): Handle mpc_c_c.
14770         * sysdeps/i386/fpu/libm-test-ulps: Update.
14771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14772
14773 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14774
14775         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14776         (do_sin_slow): New functions.
14777         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14778         (cslow2, csloww1, csloww2): Use the new functions.
14779
14780         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14781         Use M to change sign of result instead of X.  Assume X is
14782         positive.
14783         (csloww1): Likewise.
14784         (__sin): Adjust.
14785         (__cos): Adjust.
14786
14787         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14788         arguments A and DA.
14789         (__sin): Adjust.
14790         (__cos): Likewise.
14791
14792         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14793         (__cos): Likewise.
14794         (sloww1): Don't adjust sign of DX.
14795         (csloww1): Likewise.
14796         (sloww2): Use X directly and don't adjust sign of DX.
14797         (csloww2): Likewise.
14798
14799 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14800
14801         * math/auto-libm-test-in: Add tests of cabs and carg.
14802         * math/auto-libm-test-out: Regenerated.
14803         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14804         (carg_test_data): Likewise.
14805         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14806         mpc_c_f.
14807         (func_calc_desc): Add mpc_c_f union field.
14808         (test_functions): Add cabs and carg.
14809         (calc_generic_results): Handle mpc_c_f.
14810
14811         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14812         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14813         as a macro and a compat symbol.
14814         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14815         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14816         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14817         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14818         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14819         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14820         not use .hidden.
14821         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14822         Likewise.
14823         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14824         Likewise.
14825         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14826         Likewise.
14827         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14828         Likewise.
14829         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14830         Likewise.
14831         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14832         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14833         from GLIBC_2.3.2.
14834
14835 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14836
14837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14838
14839 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14840
14841         * manual/texinfo.tex: Update to version 2013-11-26.10 with
14842         trailing whitespace removed.
14843         * scripts/config.guess: Update to version 2013-11-29.
14844         * scripts/config.sub: Update to version 2013-10-01.
14845
14846         * math/auto-libm-test-in: Add tests of sincos.
14847         * math/auto-libm-test-out: Regenerated.
14848         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14849         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14850         mpfr_f_11.
14851         (func_calc_desc): Add mpfr_f_11 union field.
14852         (test_functions): Add sincos.
14853         (calc_generic_results): Handle mpfr_f_11.
14854         * sysdeps/i386/fpu/libm-test-ulps: Update.
14855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14856
14857 2013-12-19  Andreas Schwab  <schwab@suse.de>
14858
14859         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14860         CALL_MCOUNT.
14861         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14862         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14863         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14864
14865 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14866
14867         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14868         * sysdeps/i386/fpu/libm-test-ulps: Update.
14869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14870
14871         [BZ #16293]
14872         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14873         round-to-nearest mode when using frndint.
14874         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14875         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14876         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14877         Likewise.
14878         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
14879         sinh test to fail.
14880         * math/auto-libm-test-out: Regenerated.
14881         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14882         (TEST_COND_x86): Likewise.
14883         (expm1_tonearest_test_data): New array.
14884         (expm1_test_tonearest): New function.
14885         (expm1_towardzero_test_data): New array.
14886         (expm1_test_towardzero): New function.
14887         (expm1_downward_test_data): New array.
14888         (expm1_test_downward): New function.
14889         (expm1_upward_test_data): New array.
14890         (expm1_test_upward): New function.
14891         (main): Run the new test functions.
14892         * sysdeps/i386/fpu/libm-test-ulps: Update.
14893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14894
14895         * include/features.h: Update comment documenting feature test
14896         macros.  Mention _DEFAULT_SOURCE in comment.
14897         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14898         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14899         _BSD_SOURCE and _SVID_SOURCE.
14900         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14901         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14902         !_SVID_SOURCE]: Likewise.
14903         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14904         (__USE_POSIX_IMPLICITLY): Define.
14905         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14906         (_POSIX_SOURCE): Undefine and redefine.
14907         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14908         (_POSIX_C_SOURCE): Likewise.
14909         * manual/creature.texi (_DEFAULT_SOURCE): Document.
14910         (Feature Test Macros): Update documentation of default features.
14911
14912 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14913
14914         * benchtests/Makefile: Add bench-strtok.
14915         * benchtests/bench-strtok.c: New file: strtok benchtest.
14916
14917 2013-12-19  Allan McRae  <allan@archlinux.org>
14918
14919         * manual/install.texi: Suppress menu for plain text output.
14920         * INSTALL: Regenerated.
14921
14922 2013-12-18  Brooks Moses  <bmoses@google.com>
14923
14924         [BZ #15846]
14925         * misc/getauxval.c: Include errno.h.
14926         (__getauxval): Set errno to ENOENT if the requested type is not
14927         found.
14928         * misc/sys/auxv.h (getauxval): Document that it may set errno;
14929         don't declare with __attribute_const__.
14930         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14931         * manual/startup.texi: Document that getauxval sets errno.
14932
14933 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14934
14935         * math/auto-libm-test-in: Add tests of jn and yn.
14936         * math/auto-libm-test-out: Regenerated.
14937         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14938         (yn_test_data): Likewise.
14939         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14940         mpfr_if_f.
14941         (func_calc_desc): Add mpfr_if_f union field.
14942         (FUNC_mpfr_if_f): New macro.
14943         (test_functions): Add jn and yn.
14944         (calc_generic_results): Assert type of second input for
14945         mpfr_ff_f.  Handle mpfr_if_f.
14946         (output_for_one_input_case): Disable all checking for arguments
14947         fitting floating-point types in case of an integer argument.
14948         * sysdeps/i386/fpu/libm-test-ulps: Update.
14949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14950
14951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14952         Don't expect fegetround reference in libm.so.
14953
14954 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14955
14956         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14957         $(config-cflags-nofma).
14958
14959 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14960
14961         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14962         * math/auto-libm-test-out: Regenerated.
14963
14964         [BZ #16338]
14965         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14966         to determine exponent and adjust argument to have exponent of -1.
14967         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14968         log2.
14969         * math/auto-libm-test-out: Regenerated.
14970         * sysdeps/i386/fpu/libm-test-ulps: Update.
14971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14972
14973 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
14974
14975         * manual/probes.texi: Remove cases when per-thread arenas are
14976         disabled.
14977
14978 2013-12-18  Andreas Schwab  <schwab@suse.de>
14979
14980         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14981         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14982         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14983         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14984         * sysdeps/i386/i686/multiarch/Makefile: Update.
14985         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14986
14987 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14988
14989         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14990         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14991
14992 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
14993
14994         [BZ #15968]
14995         Support TZ transition times < 00:00:00.
14996         This is needed for version-3 tz-format files; it supports time
14997         stamps past 2037 for America/Godthab (the only entry in the tz
14998         database for which this change is relevant).
14999         * manual/time.texi (TZ Variable): Document transition times
15000         from -167:59:59 through -00:00:01.
15001         * time/tzset.c (tz_rule): Time of day is now signed.
15002         (__tzset_parse_tz): Parse negative time of day.
15003
15004         Document TZ transition times >= 25:00:00.
15005         * manual/time.texi (TZ Variable): Document transition times from
15006         25:00:00 through 167:59:59.  These are already supported, and this
15007         support will help with version-3 tz-format files.
15008
15009         * manual/time.texi (TZ Variable): Modernize North America example
15010         to reflect current (i.e., 2007-and-later) daylight saving rules.
15011
15012         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15013
15014 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15015
15016         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15017         * sysdeps/unix/bsd/bits/stat.h: Likewise.
15018         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15019         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15020         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15021         * sysdeps/unix/bsd/bsdstat.h: Likewise.
15022         * sysdeps/unix/bsd/clock.c: Likewise.
15023         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15024         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15025         * sysdeps/unix/bsd/init-posix.c: Likewise.
15026         * sysdeps/unix/bsd/poll.c: Likewise.
15027         * sysdeps/unix/bsd/ptsname.c: Likewise.
15028         * sysdeps/unix/bsd/seekdir.c: Likewise.
15029         * sysdeps/unix/bsd/setegid.c: Likewise.
15030         * sysdeps/unix/bsd/seteuid.c: Likewise.
15031         * sysdeps/unix/bsd/setgid.c: Likewise.
15032         * sysdeps/unix/bsd/setrgid.c: Likewise.
15033         * sysdeps/unix/bsd/setruid.c: Likewise.
15034         * sysdeps/unix/bsd/setsid.c: Likewise.
15035         * sysdeps/unix/bsd/setuid.c: Likewise.
15036         * sysdeps/unix/bsd/sigaction.c: Likewise.
15037         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15038         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15039         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15040         * sysdeps/unix/bsd/telldir.c: Likewise.
15041         * sysdeps/unix/bsd/times.c: Likewise.
15042         * sysdeps/unix/bsd/usleep.c: Likewise.
15043
15044         * misc/Makefile (install-lib): Remove libbsd-compat.a.
15045         ($(objpfx)libbsd-compat.a): Remove rule.
15046
15047         * include/features.h (__FAVOR_BSD): Do not define.
15048         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15049         features conflicting with POSIX.
15050         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15051         (_BSD_SOURCE): Remove description of not being a subset of other
15052         feature test macros.
15053         * manual/job.texi (getpgrp): Do not document BSD version.
15054         (getpgid): Do not document by reference to BSD getpgrp.
15055         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15056         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15057         * signal/signal.h [__FAVOR_BSD]: Likewise.
15058         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15059         instead of making contents conditional on [__FAVOR_BSD].
15060         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15061
15062 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15063
15064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15065
15066 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15067
15068         [BZ #16314]
15069         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15070         values below 2**-450, not 2**-500.
15071         * math/auto-libm-test-in: Don't allow spurious underflow from
15072         hypot.
15073         * math/auto-libm-test-out: Regenerated.
15074
15075         [BZ #16316]
15076         [BZ #16330]
15077         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15078         values of ha and hb and sort them after adjusting subnormal
15079         arguments.
15080         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15081         Likewise.
15082         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15083         values of ea and eb and sort them after adjusting subnormal
15084         arguments.
15085         * math/auto-libm-test-in: Do not expect some hypot tests of
15086         subnormals to fail.  Add more hypot tests.
15087         * math/auto-libm-test-out: Regenerated.
15088
15089 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15090
15091         [BZ #13304]
15092         * sysdeps/sh/s_fma.c: New file.
15093         * sysdeps/sh/s_fmaf.c: New file.
15094         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
15095         version.
15096         * sysdeps/sh/Implies: Add sh/soft-fp.
15097
15098 2013-12-16  Roland McGrath  <roland@hack.frob.com>
15099
15100         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
15101         level of indirection to members `objname', `errstring', `malloced'.
15102         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15103         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
15104         it as the __longjmp argument (just pass 1 instead).
15105         (_dl_catch_error): Initialize C with argument pointers and address of
15106         volatile local ERRCODE rather than copying values out of C at return.
15107
15108 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
15109
15110         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15111         * math/auto-libm-test-out: Regenerated.
15112         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15113         (hypot_test_data): Likewise.
15114         (pow_test_data): Likewise.
15115         (pow_tonearest_test_data): Likewise.
15116         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15117         mpfr_ff_f.
15118         (func_calc_desc): Add mpfr_ff_f union field.
15119         (FUNC_mpfr_ff_f): New macro.
15120         (test_functions): Add atan2, hypot and pow.
15121         (special_fill_min): New function.
15122         (special_fill_minus_min): Likewise.
15123         (special_fill_min_subnorm): Likewise.
15124         (special_fill_minus_min_subnorm): Likewise.
15125         (special_real_inputs): Add min, -min, min_subnorm and
15126         -min_subnorm.
15127         (calc_generic_results): Handle mpfr_ff_f.
15128         * sysdeps/i386/fpu/libm-test-ulps: Update.
15129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15130
15131 2013-12-16  Will Newton  <will.newton@linaro.org>
15132
15133         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15134         (Aligned Memory Blocks): Add documentation for aligned_alloc
15135         and suggest it as an alternative to posix_memalign.
15136         (Hooks for Malloc): Document __memalign_hook is also called
15137         for aligned_alloc.  (Summary of Malloc): Add summary for
15138         aligned alloc.  Document __memalign_hook is also called
15139         for aligned_alloc.
15140
15141 2013-12-16  Will Newton  <will.newton@linaro.org>
15142
15143         * manual/memory.texi (Malloc Examples): Clarify default
15144         alignment documentation.  Suggest posix_memalign rather
15145         than memalign or valloc.
15146         (Aligned Memory Blocks): Remove suggestion to use memalign
15147         or valloc.  Remove obsolete comment about BSD.
15148         Document memalign errno values and mark the function obsolete.
15149         Document posix_memalign returned error codes.  Mark valloc
15150         as obsolete.  (Hooks for Malloc): __memalign_hook is also
15151         called for posix_memalign and valloc.
15152         (Summary of Malloc): Add posix_memalign to function summary.
15153         __memalign_hook is also called for posix_memalign and valloc.
15154
15155 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15156
15157         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15158         TAYLOR_SIN.
15159         (__sin): Adjust.
15160         (__cos): Likewise.
15161         (sloww): Use mynumber union.  Expand ternary operator into
15162         if-else statements.
15163         (cslow): use mynumber union.
15164
15165 2013-12-16  Allan McRae  <allan@archlinux.org>
15166
15167         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15168         * configure: Regenerated.
15169
15170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15171
15172         [BZ #14120]
15173         * configure.ac: Added --enable-maintainer-mode. Check for
15174         autoconf when enabled.
15175         * configure: Regenerated.
15176
15177         * nscd/nscd.service: New file.
15178         * nscd/nscd.tmpfiles: New file.
15179
15180 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
15181
15182         [BZ #12100]
15183         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15184         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15185         * sysdeps/x86_64/multiarch/strstr.c: ... here.
15186         (strstr): Add __strstr_sse2_unaligned ifunc.
15187         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15188         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15189         (strcasestr): Remove __strcasestr_sse42 ifunc.
15190         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15193
15194 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15195
15196         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15197         * sysdeps/sh/bits/fenv.h: ... here.
15198         * sysdeps/sh/sh4/fpu/bits: Remove directory.
15199
15200 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15201
15202         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15203
15204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15205         hypotf multiarch implementations.
15206         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15207         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15208         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15209         multiarch hypot for PPC64.
15210         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15211         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15212         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15213         multiarch hypotf for PPC64.
15214
15215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15216         modff multiarch implementations.
15217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15220         multiarch modf for PPC64.
15221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15224         multiarch modff for PPC64.
15225
15226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15227         and logl multiarch implementations.
15228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15231         multiarch logb for PPC64.
15232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15235         multiarch logb for PPC64.
15236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15239         multiarch logb for PPC64.
15240
15241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15242         isinff multiarch implementation.
15243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15244         file.
15245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15247         multiarch isinf for PPC64.
15248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15249         file.
15250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15251         multiarch isinff for PPC64.
15252
15253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15254         finitef multiarch implementation.
15255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15256         file.
15257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15259         multiarch finite for PPC64.
15260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15261         file.
15262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15263         multiarch finitef for PPC64.
15264
15265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15266         lrint multiarch implementation.
15267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15268         file.
15269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15271         multiarch llrint for PPC64.
15272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15273         multiarch lrint for PPC64.
15274
15275         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15276         copysignf multiarch implementation.
15277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15278         file.
15279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15280         file.
15281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15282         multiarch copysign for PPC64.
15283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15284         multiarch copysignf for PPC64.
15285
15286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15287         multiarch implementation.
15288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15289         file.
15290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15291         file.
15292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15293         file.
15294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15295         file.
15296         multiarch llround for PPC64.
15297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15298         multiarch trunc for PPC64.
15299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15300         multiarch truncf for PPC64.
15301
15302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15303         multiarch implementation.
15304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15305         file.
15306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15307         file.
15308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15309         file.
15310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15311         file.
15312         multiarch llround for PPC64.
15313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15314         multiarch round for PPC64.
15315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15316         multiarch roundf for PPC64.
15317
15318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15319         multiarch implementation.
15320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15321         file.
15322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15323         file.
15324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15325         file.
15326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15327         file.
15328         multiarch llround for PPC64.
15329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15330         multiarch floor for PPC64.
15331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15332         multiarch floorf for PPC64.
15333
15334         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15335         multiarch implementation.
15336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15337         file.
15338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15339         file.
15340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15341         file.
15342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15343         file.
15344         multiarch llround for PPC64.
15345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15346         multiarch ceil for PPC64.
15347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15348         multiarch ceilf for PPC64.
15349
15350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15351         multiarch implementation.
15352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15353         file.
15354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15355         file.
15356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15357         file.
15358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15359         multiarch llround for PPC64.
15360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15361         multiarch lround for PPC64.
15362
15363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15364         multiarch implementation.
15365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15368         file.
15369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15372         multiarch isnan for PPC64.
15373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15374         multiarch isnanf for PPC64.
15375
15376         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15377         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15378         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15379         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15380         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15382
15383         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15384         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15385         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15386         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15387
15388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15389         multiarch implementations.
15390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15391         (__libc_ifunc_impl_list): Likewise.
15392         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15393         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15394         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15395         multiarch stpcpy for PPC64.
15396
15397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15398         multiarch implementations.
15399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15400         (__libc_ifunc_impl_list): Likewise.
15401         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15402         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15403         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15404         multiarch strcpy for PPC64.
15405
15406         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15407         redefine function name.
15408         (_wordcopy_fwd_dest_aligned): Likewise.
15409         (_wordcopy_bwd_aligned): Likewise.
15410         (_wordcopy_bwd_dest_aligned): Likewise.
15411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15412         multiarch implementations.
15413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15414         (__libc_ifunc_impl_list): Likewise.
15415         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15416         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15417         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15418         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15419         multiarch wcscpy for PPC64.
15420
15421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15422         multiarch implementations.
15423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15424         (__libc_ifunc_impl_list): Likewise.
15425         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15426         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15427         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15428         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15429         multiarch wcscpy for PPC64.
15430
15431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15432         multiarch implementations.
15433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15434         (__libc_ifunc_impl_list): Likewise.
15435         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15436         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15437         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15438         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15439         multiarch wcsrchr for PPC64.
15440
15441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15442         multiarch implementations.
15443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15444         (__libc_ifunc_impl_list): Likewise.
15445         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15446         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15447         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15448         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15449         multiarch wcschr for PPC64.
15450
15451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15452         multiarch implementations.
15453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15454         (__libc_ifunc_impl_list): Likewise.
15455         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15456         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15457         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15458         multiarch strchrnul for PPC64.
15459
15460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15461         implementations.
15462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15463         (__libc_ifunc_impl_list): Likewise.
15464         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15465         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15466         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15467         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15468         strchr for PPC64.
15469
15470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15471         implementations.
15472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15473         (__libc_ifunc_impl_list): Likewise.
15474         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15475         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15476         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15477         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15478         strncmp for PPC64.
15479
15480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15481         multiarch implementations.
15482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15483         (__libc_ifunc_impl_list): Likewise.
15484         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15485         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15486         strncasecmp for PPC64.
15487         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15488         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15489         multiarch strncasecmp_l for PPC64.
15490
15491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15492         multiarch implementations.
15493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15494         (__libc_ifunc_impl_list): Likewise.
15495         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15496         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15497         multiarch strcasecmp for PPC64.
15498         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15499         file.
15500         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15501         multiarch strcasecmp_l for PPC64.
15502
15503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15504         implementations.
15505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15506         (__libc_ifunc_impl_list): Likewise.
15507         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15508         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15509         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15510         strnlen for PPC64.
15511
15512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15513         implementations.
15514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15515         (__libc_ifunc_impl_list): Likewise.
15516         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15517         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15518         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15519         strlen for PPC64.
15520
15521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15522         implementations.
15523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15524         (__libc_ifunc_impl_list): Likewise.
15525         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15526         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15527         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15528         rawmemrchr for PPC64.
15529
15530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15531         implementation.
15532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15533         (__libc_ifunc_impl_list): Likewise.
15534         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15535         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15536         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15537         memrchr for PPC64.
15538
15539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15540         implementation.
15541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15542         (__libc_ifunc_impl_list): Likewise.
15543         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15544         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15545         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15546         memchr for PPC64.
15547
15548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15549         implementation.
15550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15551         (__libc_ifunc_impl_list): Likewise.
15552         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15553         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15554         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15555         mempcpy for PPC64.
15556
15557         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15558         avoid cretion of __bzero symbol.
15559         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15560         Likewise.
15561         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15562         Likewise.
15563         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15564         Likewise.
15565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15566         multiarch implementations.
15567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15568         (__libc_ifunc_impl_list): Likewise.
15569         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15570         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15571         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15572         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15573         bzero for PPC32.
15574         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15575         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15576         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15577         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15578         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15579         memset for PPC64.
15580         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15581
15582         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15584         implementations.
15585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15586         (__libc_ifunc_impl_list): Likewise.
15587         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15588         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15589         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15590         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15591         memcmp for PPC64.
15592
15593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15594         multiarch for POWER/PPC64.
15595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15596         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15597         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15598         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15599         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15600         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15601         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15602         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15603         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15604         memcpy for PPC64.
15605
15606         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15607         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15608         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15609         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15610         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15611         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15612         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15613         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15614         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15615         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15616         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15617         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15618         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15619         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15620         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15628
15629 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15630
15631         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15632
15633 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15634
15635         * benchtests/Makefile (bench): Add exp2 and log2.
15636         (LDLIBS-bench-exp2): Add -lm.
15637         (LDLIBS-bench-log2): Likewise.
15638         * benchtests/exp2-inputs: New inputs file.
15639         * benchtests/log2-inputs: New inputs file.
15640         * benchtests/log-inputs: Add new inputs.
15641         * benchtests/tan-inputs: Likewise.
15642
15643 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15644
15645         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15646         definition...
15647         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15648         (csloww2): ... from here.
15649
15650         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15651         instead of structures.
15652         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15653         (POLYNOMIAL): Likewise.
15654         (TAYLOR_SLOW): Likewise.
15655         (__sin): Likewise.
15656         (__cos): Likewise.
15657         (slow1): Likewise.
15658         (slow2): Likewise.
15659         (sloww): Likewise.
15660         (sloww1); Likewise.
15661         (sloww2): Likewise.
15662         (bsloww1): Likewise.
15663         (bsloww2): Likewise.
15664         (cslow2): Likewise.
15665         (csloww): Likewise.
15666         (csloww1): Likewise.
15667         (csloww2): Likewise.
15668
15669 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15670
15671         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15672         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15673         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15674         * malloc/hooks.c (realloc_check): Likewise.
15675
15676         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15677         * malloc/arena.c: Remove PER_THREAD conditional.
15678         [!PER_THREAD]: Remove code.
15679         (ptmalloc_unlock_all2): Likewise.
15680         (ptmalloc_init): Likewise.
15681         (_int_new_arena): Likewise.
15682         (arena_get2): Likewise.
15683         * malloc/hooks.c (__malloc_get_state): Likewise.
15684         (__malloc_set_state): Likewise.
15685         * malloc/malloc.c: Likewise.
15686         (struct malloc_state): Likewise.
15687         (struct malloc_par): Likewise.
15688         (__libc_realloc): Likewise.
15689         (__libc_mallopt): Likewise.
15690
15691 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15692
15693         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15694
15695 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15696
15697         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15698         macro to a function.  Check for zero perturb_byte.
15699         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15700
15701         * malloc/malloc.c: (force_reg): Remove.
15702         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15703         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15704         force_reg by atomic_forced_read.
15705         * malloc/arena.c (ptmalloc_init): Likewise.
15706         * malloc/hooks.c (top_check): Likewise.
15707
15708 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15709
15710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15711
15712 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15713
15714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15715
15716 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15717
15718         * math/auto-libm-test-in: Add tests of lgamma.
15719         * math/auto-libm-test-out: Regenerated.
15720         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15721         (M_LOG_2_SQRT_PIl): Likewise.
15722         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15723         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15724         mpfr_f_f1.
15725         (func_calc_desc): Add mpfr_f_f1 union field.
15726         (ARGS1): New macro.
15727         (ARGS2): Likewise.
15728         (ARGS3): Likewise.
15729         (ARGS4): Likewise.
15730         (RET1): Likewise.
15731         (RET2): Likewise.
15732         (CALC): Likewise.
15733         (FUNC): Likewise.
15734         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15735         (test_functions): Add lgamma.
15736         (calc_generic_results): Handle mpfr_f_f1.
15737         * sysdeps/i386/fpu/libm-test-ulps: Update.
15738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15739
15740 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15741
15742         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15743         __mpn_add_n for PowerPC64/POWER7.
15744         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15745         __mpn_sub_n for PowerPC64/POWER7.
15746
15747         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15748         __mpn_addmul_1 for PowerPC64.
15749         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15750         __mpn_submul_1 for PowerPC64.
15751         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15752         for PowerPC64.
15753         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15754         for PowerPC64.
15755
15756 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15757
15758         [BZ #15089]
15759         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15760
15761 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15762
15763         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15764
15765         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15766         add multiarch folders.
15767         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15768         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15769         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15770         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15771         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15772         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15773         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15774         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15775         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15776         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15777         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15784
15785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15786         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15788         New file.
15789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15790         New file.
15791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15792         multiarch __ieee754_hypot for PowerPC32.
15793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15794         New file.
15795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15796         New file.
15797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15798         multiarch __ieee754_hypotf for PowerPC32.
15799
15800         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15801         long_double_symbol only if __logbl is defined.
15802         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15803         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15804         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15805         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15806         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15807         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15808         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15809         path for implementation.
15810         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15811         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15813         logb, and logbl multiarch implementations for PowerPC32.
15814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15815         file.
15816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15817         file.
15818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15819         multiarch logb for PowerPC32.
15820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15821         file.
15822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15823         file.
15824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15825         multiarch logbf for PowerPC32.
15826         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15828         file.
15829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15830         multiarch logbl implementation for PowerPC32.
15831
15832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15833         and modff multiarch implementations.
15834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15835         New file.
15836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15837         New file.
15838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15839         multiarch modf for PowerPC32.
15840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15841         New file.
15842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15843         New file.
15844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15845         multiarch modff for PowerPC32.
15846
15847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15848         and lrintf multiarch implementations.
15849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15850         New file.
15851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15852         New file.
15853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15854         multiarch lrint for PowerPC32.
15855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15856         file: multiarch lrintf for PowerPC32.
15857
15858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15859         and lroundf multiarch implementations.
15860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15861         New file.
15862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15863         New file.
15864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15865         New file.
15866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15867         multiarch lround for PowerPC32.
15868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15869         file: multiarch lroundf for PowerPC32.
15870
15871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15872         copysign and copysignf multiarch implementations.
15873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15874         New file.
15875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15876         New file.
15877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15878         file: multiarch copysign for PowerPC32.
15879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15880         file: multiarch copysignf for PowerPC32.
15881
15882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15883         and truncf multiarch implementations.
15884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15885         New file.
15886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15887         file.
15888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15889         multiarch trunc for PowerPC32.
15890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15891         New file.
15892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15893         New file.
15894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15895         multiarch truncf for PowerPC32.
15896
15897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15898         and roundf multiarch implementations.
15899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15900         New file.
15901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15902         file.
15903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15904         multiarch round for PowerPC32.
15905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15906         New file.
15907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15908         New file.
15909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15910         multiarch roundf for PowerPC32.
15911
15912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15913         and floorf multiarch implementations.
15914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15915         New file.
15916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15917         file.
15918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15919         multiarch floor for PowerPC32.
15920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15921         New file.
15922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15923         New file.
15924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15925         multiarch floorf for PowerPC32.
15926
15927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15928         and ceilf multiarch implementations.
15929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15930         New file.
15931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15932         file.
15933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15934         multiarch ceil for PowerPC32.
15935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15936         New file.
15937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15938         file.
15939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15940         multiarch ceilf for PowerPC32.
15941
15942         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15943         is defined.
15944         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15945         FINITEF is defined.
15946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15947         and finitef multiarch implementations.
15948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15949         New file.
15950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15951         file.
15952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15953         multiarch finite for PowerPC32.
15954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15955         New file.
15956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15957         file: multiarch finitef for PowerPC32.
15958
15959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15960         and isinff multiarch implementations.
15961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15962         file.
15963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15964         file.
15965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15966         multiarch isinf for PowerPC32.
15967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15968         New file.
15969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15970         multiarch isinff for PowerPC32.
15971
15972         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15973         alias when __isnan is defined.
15974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15975         and isnanf multiarch implementations.
15976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15977         file.
15978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15979         file.
15980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15981         file.
15982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15983         file.
15984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15985         multiarch isnan for PowerPC32.
15986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15987         New file.
15988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15989         New file.
15990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15991         multiarch isnanf for PowerPC32.
15992
15993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15994         and sqrtf multiarch implementations.
15995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15996         file.
15997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15998         file.
15999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16000         multiarch sqrt for PowerPC32.
16001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16002         file.
16003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16004         file.
16005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16006         multiarch sqrtf for PowerPC32.
16007
16008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16009         and llroundf multiarch implementations.
16010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16011         New file.
16012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16013         New file.
16014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16015         New file.
16016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16017         file: multiarch llround for PowerPC32.
16018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16019         file: multiarch llroundf for PowerPC32.
16020
16021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16022         multiarch PowerPC32 fpu implementations.
16023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16024         New file.
16025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16026         New file.
16027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16028         multiarch llrint for PowerPC32.
16029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16030         New file.
16031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16032         New file.
16033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16034         file.
16035
16036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16037
16038         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16039         file.
16040         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16041         file.
16042         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16043         file.
16044         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16045         multiarch wordcopy for PPC32.
16046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16047         wordcopy objects.
16048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16049         (__libc_ifunc_impl_list): Likewise.
16050         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16051         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16052         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16053         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16054         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16055         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16056
16057         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16058         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16059         file.
16060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16061         file.
16062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16063         file.
16064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16065         multiarch wcscpy for PPC32.
16066         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16067         multiarch objects.
16068         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16069         (__libc_ifunc_impl_list): Likewise.
16070         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16071         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16072         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16073         sysdeps/powerpc/power6/wcscpy.c.
16074
16075         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16077         file.
16078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16079         file.
16080         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16081         file.
16082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16083         multiarch wcsrchr for PPC32.
16084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16085         multiarch objects.
16086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16087         (__libc_ifunc_impl_list): Likewise.
16088         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16089         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16090         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16091         sysdeps/powerpc/power6/wcsrchr.c.
16092
16093         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16094         file.
16095         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16096         file.
16097         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16099         multiarch wcschr for PPc32.
16100         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16101         multiarch objects.
16102         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16103         (__libc_ifunc_impl_list): Likewise.
16104         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16105         * sysdeps/powerpc/power6/wcschr.c: ... to here.
16106         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16107         sysdeps/powerpc/power6/wcschr.c.
16108
16109         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16110         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16111         file.
16112         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16113         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16114         file: multiarch strchr for PPC32.
16115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16116         multiarch objects.
16117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16118         (__libc_ifunc_impl_list): Likewise.
16119
16120         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16121         name.
16122         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16123         file.
16124         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16125         file.
16126         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16127         multiarch strchrnul for PPC32.
16128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16129         multiarch objects.
16130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16131         (__libc_ifunc_impl_list): Likewise.
16132
16133         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16134         file.
16135         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16136         multiarch strncasecmp for PPC32.
16137         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16138         file.
16139         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16140         multiarch strncasecmp_l for PPC32.
16141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16142         strncasecmp multiarch objects.
16143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16144         (__libc_ifunc_impl_list): Likewise.
16145
16146         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16147         file.
16148         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16149         multiarch strncasecmp for PPC32.
16150         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16151         New file.
16152         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16153         multiarch strcasecmp_l for PPC32.
16154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16155         multiarch objects.
16156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16157         (__libc_ifunc_impl_list): Likewise.
16158
16159         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16160         file.
16161         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16162         file.
16163         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16164         multiarch strncmp for PPC32.
16165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16166         multiarch objects.
16167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16168         (__libc_ifunc_impl_list): Likewise.
16169
16170         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16171         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16172         file.
16173         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16174         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16176         multiarch objects.
16177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16178         (__libc_ifunc_impl_list): Likewise.
16179
16180         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16181         file.
16182         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16183         file.
16184         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16186         multiarch objects.
16187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16188         (__libc_ifunc_impl_list): Likewise.
16189
16190         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16191         file.
16192         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16193         file.
16194         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16195         multiarch rawmemchr for PPC32.
16196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16197         multiarch objects.
16198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16199         (__libc_ifunc_impl_list): Likewise.
16200
16201         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16202         file.
16203         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16204         file.
16205         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16206         file: memrchr multiarch for PPC32.
16207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16208         multiarch objects.
16209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16210         (__libc_ifunc_impl_list): Likewise.
16211
16212         * string/memchr.c (__memchr): Using macro to redefine symbol name.
16213         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16214         file.
16215         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16216         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16217         multiarch memchr for PPC32.
16218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16219         multiarch objects.
16220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16221         (__libc_ifunc_impl_list): Likewise.
16222
16223         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16224         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16225         file.
16226         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16227         file.
16228         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16229         file: multiarch mempcpy for PPC32.
16230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16231         multiarch objects.
16232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16233         (__libc_ifunc_impl_list): Likewise.
16234
16235         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16236         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16237         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16238         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16239         multiarch bzero for PPC32.
16240         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16241         file.
16242         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16243         file.
16244         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16245         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16246         file: multiarch memset for PPC32.
16247         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16249         memset multiarch objects.
16250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16251         (__libc_ifunc_impl_list): Likewise.
16252
16253         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16254         file.
16255         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16257         memcmp for PPC32.
16258         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16260         multiarch objects.
16261         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16262         (__libc_ifunc_impl_list): Likewise.
16263
16264         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16265         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16266         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16267         file.
16268         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16269         file.
16270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16271         file.
16272         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16273         multiarch memcpy for PPC32.
16274         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16275         multiarch objects.
16276         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16277         (__libc_ifunc_impl_list): Likewise.
16278
16279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16280         support multiarch for POWER/PPC32.
16281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16282         Likewise.
16283         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16285         Implies file to make multiarch folder appers before the fpu and
16286         default folder for power4 configuration.
16287
16288 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16289
16290         * scripts/bench.pl: Append volatile keyword to type.
16291
16292 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16293
16294         * sysdeps/sh/sotruss-lib.c: New file.
16295         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16296
16297 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16298
16299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16300
16301 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
16302
16303         [BZ #6810]
16304         * math/w_tgamma.c: Include <errno.h>.
16305         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
16306         * math/w_tgammaf.c: Include <errno.h>.
16307         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
16308         * math/w_tgammal.c: Include <errno.h>.
16309         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
16310         * math/auto-libm-test-in: Do not allow missing errno on tgamma
16311         underflow.  Add more tgamma tests.
16312         * math/auto-libm-test-out: Regenerated.
16313         * sysdeps/i386/fpu/libm-test-ulps: Update.
16314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16315
16316         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16317         sin, sinh, tan, tanh, tgamma, y0 and y1.
16318         * math/auto-libm-test-out: Regenerated.
16319         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16320         (TEST_COND_x86): Likewise.
16321         (M_E2l): Remove macro.
16322         (M_E3l): Likewise.
16323         (M_2_SQRT_PIl): Likewise.
16324         (M_SQRT_PIl): Likewise.
16325         (M_1_DIV_El): Likewise.
16326         (log_test_data): Use AUTO_TESTS_f_f.
16327         (log10_test_data): Likewise.
16328         (log1p_test_data): Likewise.
16329         (log2_test_data): Likewise.
16330         (sin_test_data): Likewise.
16331         (sin_tonearest_test_data): Likewise.
16332         (sin_towardzero_test_data): Likewise.
16333         (sin_downward_test_data): Likewise.
16334         (sin_upward_test_data): Likewise.
16335         (sinh_test_data): Likewise.
16336         (sinh_tonearest_test_data): Likewise.
16337         (sinh_towardzero_test_data): Likewise.
16338         (sinh_downward_test_data): Likewise.
16339         (sinh_upward_test_data): Likewise.
16340         (tan_test_data): Likewise.
16341         (tan_tonearest_test_data): Likewise.
16342         (tan_towardzero_test_data): Likewise.
16343         (tan_downward_test_data): Likewise.
16344         (tan_upward_test_data): Likewise.
16345         (tanh_test_data): Likewise.
16346         (tgamma_test_data): Likewise.
16347         (y0_test_data): Likewise.
16348         (y1_test_data): Likewise.
16349         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16350         (special_real_inputs): Add pi/4.
16351         * sysdeps/i386/fpu/libm-test-ulps: Update.
16352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16353
16354 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16355
16356         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16357         "longjmp_target" static probes.
16358         (__longjmp): Rename to __longjmp_symbol.
16359         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16360         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16361         on which longjmp to generate.
16362         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16363         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16364         probe.
16365         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16366         (__sigjmp_save): Rename to __sigjmp_save_symbol.
16367         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16368         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16369         and __sigjmp_save_symbol based on which sigsetjmp to generated.
16370         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16372         __longjmp_symbol based on which __longjmp to generate.
16373         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16374         probe.
16375         (setjmp): Rename to setjmp_symbol.
16376         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16377         (_setjmp): Rename to _setjmp_symbol.
16378         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16379         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16380         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16381         which setjmp to generate.
16382         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16383         "longjmp_target" static probes.
16384
16385 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16386
16387         * benchtests/README: Add note about output arguments.
16388         * benchtests/bench-sincos.c: Remove file.
16389         * benchtests/sincos-inputs: New file.
16390         * scripts/bench.pl: Identify output arguments and define
16391         static variables for them.
16392
16393         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16394
16395         [BZ #15941]
16396         * Makefile (INSTALL): Add install-plain.texi as the primary
16397         dependency.
16398         * manual/install-plain.texi: New file.
16399         * manual/install.texi: Include node directive only for
16400         non-plaintext output.
16401
16402 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
16403
16404         * stdlib/longlong.h: Update from GCC.
16405
16406         [BZ #6807]
16407         [BZ #15901]
16408         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16409         * math/w_j0f.c (y0f): Likewise.
16410         * math/w_j0l.c (__y0l): Likewise.
16411         * math/w_j1.c (y1): Likewise.
16412         * math/w_j1f.c (y1f): Likewise.
16413         * math/w_j1l.c (__y1l): Likewise
16414         * math/w_jn.c (yn): Likewise.
16415         * math/w_jnf.c (ynf): Likewise.
16416         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16417         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
16418         value for Bessel function domain errors outside _SVID_ mode.
16419         Adjust sign of return value for yn (negative integer, 0).
16420         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16421         by zero in return for negative x and set sign appropriately for
16422         negative n.
16423         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16424         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16425         * math/libm-test.inc (y0_test_data): Add more tests and adjust
16426         expectations in error cases.
16427         (y1_test_data): Likewise.
16428         (yn_test_data): Likewise.
16429         * sysdeps/i386/fpu/libm-test-ulps: Update.
16430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16431
16432 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16433
16434         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16435         "64" to "64-v1".  Add "64-v2".
16436         (abi-64-options): Rename to ...
16437         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
16438         (abi-64-condition): Rename to ...
16439         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
16440         (abi-64-ld-soname): Rename to ...
16441         (abi-64-v1-ld-soname): ... this.
16442         (abi-64-v2-options): Define.
16443         (abi-64-v2-condition): Likewise.
16444         (abi-64-v2-ld-soname): Likewise.
16445         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16446         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16450
16451 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16452             Alan Modra  <amodra@gmail.com>
16453
16454         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16455         New versions for use with the ELFv2 ABI.
16456         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16457         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16458         declaration.
16459         (struct La_ppc64v2_retval): Likewise.
16460         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16461         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16462         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16463         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16464         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16465         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16466         Do not save or restore CR.
16467         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16468         (_dl_profile_resolve): Do no save or restore CR.  Support extended
16469         return values for ELFv2 ABI.  Fix location of FPR return registers.
16470         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16471         updated values for _CALL_ELF == 2.
16472         (La_regs, La_retval, int_retval): Likewise.
16473
16474 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16475
16476         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16477         (FRAME_MIN_SIZE_PARM): Likewise.
16478         (FRAME_BACKCHAIN): Likewise.
16479         (FRAME_CR_SAVE): Likewise.
16480         (FRAME_LR_SAVE): Likewise.
16481         (FRAME_TOC_SAVE): Likewise.
16482         (FRAME_PARM_SAVE): Likewise.
16483         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16484         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16485         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16486         (call_mcount_parm_offset): New macro.
16487         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16488         (PROF): Use symbolic stack frame offsets.
16489         (TAIL_CALL_SYSCALL_ERROR): Likewise.
16490         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16491         Redefine in terms of FRAME_MIN_SIZE.
16492         (_dl_runtime_resolve): Use symbolic stack frame offsets.
16493         (_dl_profile_resolve): Likewise.  Update comment.
16494         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16495         symbols stack frame offsets.
16496         (__sigsetjmp): Likewise.
16497         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16498         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16499         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16500         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16501
16502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16503         (FRAME_BACKCHAIN): Remove.
16504         (FRAME_CR_SAVE): Likewise.
16505         (FRAME_LR_SAVE): Likewise.
16506         (FRAME_COMPILER_DW): Likewise.
16507         (FRAME_LINKER_DW): Likewise.
16508         (FRAME_TOC_SAVE): Likewise.
16509         (FRAME_PARM_SAVE): Likewise.
16510         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16511         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16512         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16514         (CHECK_SP): Use symbolic stack frame offsets.
16515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16516         zone" instead of caller's parameter save area for temp storage.
16517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16518         Likewise.  Also, use symbolic stack frame offsets.
16519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16520         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16521         our own stack frame instead of the caller's.
16522         (__socket): Use symbolic stack frame offsets.
16523
16524 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16525             Alan Modra  <amodra@gmail.com>
16526
16527         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16528         Define.
16529         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16530         (PPC64_LOCAL_ENTRY_OFFSET): Define.
16531         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16532         New function.
16533         (elf_machine_fixup_plt): Call it.
16534         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
16535         reloc arguments.
16536         (elf_machine_rela): Update call to elf_machine_plt_conflict.
16537         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16538         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16539         r2 before calling target.
16540
16541 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16542             Alan Modra  <amodra@gmail.com>
16543
16544         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16545         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16546         versions of macros to support ELFv2 ABI.
16547         (LOCALENTRY): New macro.
16548         (ENTRY, EALIGN): Use it.
16549         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16550         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16551         fall through into ENTRY entry point.
16552         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16553         Only define if _CALL_ELF != 2.
16554
16555         (elf_machine_matches_host): Verify ABI version matches.
16556         (RTLD_START): Use LOCALENTRY.
16557         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16558         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16559         (PLT_ENTRY_WORDS): New macro.
16560         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16561         (elf_machine_runtime_setup): Support ELFv2 ABI.
16562         (elf_machine_fixup_plt): Likewise.
16563         (elf_machine_plt_conflict): Likewise.
16564         (resolve_ifunc): Likewise.
16565         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16566         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16567         Likewise.
16568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16569         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16571         (makecontext): Support ELFv2 ABI.
16572         * elf/elf.h (EF_PPC64_ABI): Define.
16573
16574 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16575
16576         * sysdeps/powerpc/powerpc64/sysdep.h
16577         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16578         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16579         (ENTRY) [ASSEMBLER]: ... but instead here ...
16580         (EALIGN) [ASSEMBLER]: ... and here.
16581         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16582         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16583         (ENTRY_2) [!ASSEMBLER]: Use it.
16584         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16585         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
16586         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16587         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16588         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16590         Use PPC64_LOAD_FUNCPTR.
16591
16592         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16593
16594 2013-12-04  Alan Modra  <amodra@gmail.com>
16595
16596         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16597         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16598         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16599         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16600
16601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16602         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16603         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16604         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16605         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16606         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16607
16608 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16609
16610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16611         (__makecontext): Fix incorrect CFI when backtracing out of
16612         context created via makecontext.
16613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16614         (__setcontext): Fix incorrect CFI during switch to new context.
16615         (__novec_setcontext): Likewise.
16616
16617 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16618
16619         [BZ #4772]
16620         * time/strptime_l.c (__strptime_internal): Allow modifiers
16621         in strptime.
16622         * time/tst-strptime.c (day_tests): Add testcase.
16623
16624 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16625
16626         * scripts/bench.pl: Skip over blank lines.
16627
16628 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16629
16630         [BZ #926]
16631         * manual/time.texi (Calendar Time): Clarify what timezone functions
16632         use.
16633
16634 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16635
16636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16637
16638 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16639
16640         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16641         implementation.
16642         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16643         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16644         * debug/memset_chk.c (__memset_chk): Likewise.
16645         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16646         * debug/strncpy_chk.c: Likewise.
16647
16648 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16649
16650         [BZ #15268]
16651         [BZ #15425]
16652         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16653         (__ieee754_exp): For possibly underflowing results, check size of
16654         result and force underflow exception if required.
16655         * math/auto-libm-test-in: Add more tests of exp.
16656         * math/auto-libm-test-out: Regenerated.
16657         * sysdeps/i386/fpu/libm-test-ulps: Update.
16658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16659
16660         [BZ #16283]
16661         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16662         * math/w_exp2f.c (__exp2f): Likewise.
16663         * math/w_exp2l.c (__exp2l): Likewise.
16664         * math/auto-libm-test-in: Do not allow missing errno on exp2
16665         underflow.
16666         * math/auto-libm-test-out: Regenerated.
16667
16668 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16669
16670         [BZ #16274]
16671         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16672         handle filename validation.
16673         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16674         (do_open): Delete.
16675
16676 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16677
16678         [BZ #6786]
16679         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16680         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16681         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16682         <float.h>.
16683         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16684         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16685         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16686         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16687         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16688         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16689         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16690         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16691         Add more erfc tests.
16692         * math/auto-libm-test-out: Regenerated.
16693         * sysdeps/i386/fpu/libm-test-ulps: Update.
16694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16695
16696         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16697         exp2, expm1, j0 and j1.
16698         * math/auto-libm-test-out: Regenerated.
16699         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16700         (erfc_test_data): Likewise.
16701         (exp_test_data): Likewise.
16702         (exp_tonearest_test_data): Likewise.
16703         (exp_towardzero_test_data): Likewise.
16704         (exp_downward_test_data): Likewise.
16705         (exp_upward_test_data): Likewise.
16706         (exp10_test_data): Likewise.
16707         (exp2_test_data): Likewise.
16708         (expm1_test_data): Likewise.
16709         (j0_test_data): Likewise.
16710         (j1_test_data): Likewise.
16711         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16712         (input_flag_type): Add flag_xfail_rounding.
16713         (input_flags): Add xfail-rounding.
16714         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16715         (output_for_one_input_case): Handle flag_xfail_rounding.
16716         * sysdeps/i386/fpu/libm-test-ulps: Update.
16717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16718
16719 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16720
16721         [BZ #16289]
16722         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16723         division by 0.
16724
16725 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16726
16727         [BZ #16195]
16728         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16729         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16730         (STAP_PROBE0): New macro.
16731         (STAP_PROBE1): Likewise.
16732         (STAP_PROBE2): Likewise.
16733         (STAP_PROBE3): Likewise.
16734         (STAP_PROBE4): Likewise.
16735
16736 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16737
16738         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16739
16740 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16741
16742         * benchtests/Makefile (bench): Add sqrt.
16743         (LDLIBS-bench-sqrt): New.
16744         * benchtests/sqrt-input: New.
16745
16746 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16747
16748         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16749         (GAIH_EAI): Likewise.
16750         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16751         (gaih_inet): Likewise.
16752         (getaddrinfo): Don't use GAIH_EAI.
16753
16754         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16755         (struct gaih): Remove definition.
16756
16757 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16758
16759         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16760         Use HERRNOP directly.
16761
16762 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16763
16764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16765
16766 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16767
16768         * math/gen-auto-libm-tests.c (test_functions): Add more
16769         single-argument functions.
16770         (special_fill_pi_2): New function.
16771         (special_fill_minus_pi_2): Likewise.
16772         (special_fill_pi_6): Likewise.
16773         (special_fill_minus_pi_6): Likewise.
16774         (special_fill_pi_3): Likewise.
16775         (special_fill_2pi_3): Likewise.
16776         (special_fill_e): Likewise.
16777         (special_fill_1_e): Likewise.
16778         (special_fill_e_minus_1): Likewise.
16779         (special_real_inputs): Add more special inputs.
16780         (output_for_one_input_case): Do not require ERANGE on underflow to
16781         zero if round-to-nearest result does not underflow to zero, unless
16782         exact results required.
16783         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16784         atan, atanh, cbrt, cos and cosh.
16785         * math/auto-libm-test-out: Regenerated.
16786         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16787         (acos_tonearest_test_data): Likewise.
16788         (acos_towardzero_test_data): Likewise.
16789         (acos_downward_test_data): Likewise.
16790         (acos_upward_test_data): Likewise.
16791         (acosh_test_data): Likewise.
16792         (asin_test_data): Likewise.
16793         (asin_tonearest_test_data): Likewise.
16794         (asin_towardzero_test_data): Likewise.
16795         (asin_upward_test_data): Likewise.
16796         (asinh_test_data): Likewise.
16797         (atan_test_data): Likewise.
16798         (atanh_test_data): Likewise.
16799         (cbrt_test_data): Likewise.
16800         (cos_test_data): Likewise.
16801         (cos_tonearest_test_data): Likewise.
16802         (cos_towardzero_test_data): Likewise.
16803         (cos_downward_test_data): Likewise.
16804         (cos_upward_test_data): Likewise.
16805         (cosh_test_data): Likewise.
16806         (cosh_tonearest_test_data): Likewise.
16807         (cosh_towardzero_test_data): Likewise.
16808         (cosh_downward_test_data): Likewise.
16809         (cosh_upward_test_data): Likewise.
16810         * sysdeps/i386/fpu/libm-test-ulps: Update.
16811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16812
16813 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16814
16815         [BZ #6787]
16816         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16817         * math/w_exp10f.c (__exp10f): Likewise.
16818         * math/w_exp10l.c (__exp10l): Likewise.
16819         * math/libm-test.inc (exp10_test_data): Add more tests and expect
16820         errno settings in existing tests.
16821
16822         [BZ #14032]
16823         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16824         precision control set to double precision.
16825         * sysdeps/i386/fpu/w_sqrt.c: New file.
16826         * math/auto-libm-test-in: Add more tests.
16827         * math/auto-libm-test-out: Update.
16828
16829         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16830         (sqrt_test_tonearest): New function.
16831         (sqrt_towardzero_test_data): New variable.
16832         (sqrt_test_towardzero): New function.
16833         (sqrt_downward_test_data): New variable.
16834         (sqrt_test_downward): New function.
16835         (sqrt_upward_test_data): New variable.
16836         (sqrt_test_upward): New function.
16837         (main): Call the new functions.
16838
16839         * math/gen-auto-libm-tests.c: New file.
16840         * math/auto-libm-test-in: Likewise.
16841         * math/auto-libm-test-out: New generated file.
16842         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16843         variables.
16844         (%beautify): Add generated representations of zero.
16845         (top level): Set $auto_input and call parse_auto_input.
16846         (beautify): Remove trailing "f" from hex float constants.
16847         (parse_args): Handle XFAIL_TEST.
16848         (convert_condition): New function.
16849         (or_value): Likewise.
16850         (or_cond_value): Likewise.
16851         (generate_testfile): Handle AUTO_TESTS_* lines.
16852         (parse_auto_input): New function.
16853         * math/libm-test.inc (XFAIL_TEST): New macro.
16854         (ERRNO_UNCHANGED): Update value.
16855         (ERRNO_EDOM): Likewise.
16856         (ERRNO_ERANGE): Likewise.
16857         (IGNORE_RESULT): Likewise.
16858         (TEST_COND_flt_32): New macro.
16859         (TEST_COND_dbl_64): Likewise.
16860         (TEST_COND_ldbl_96_intel): Likewise.
16861         (TEST_COND_ldbl_96_m68k): Likewise.
16862         (TEST_COND_ldbl_128): Likewise.
16863         (TEST_COND_ldbl_128ibm): Likewise.
16864         (TEST_COND_long32): Likewise.
16865         (TEST_COND_long64): Likewise.
16866         (TEST_COND_before_rounding): Likewise.
16867         (TEST_COND_after_rounding): Likewise.
16868         (enable_test): Handle XFAIL_TEST flag.
16869         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16870         with finite results.
16871         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16872         auto-libm-test-out.
16873
16874 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16875             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16876
16877         [BZ #16214]
16878         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16879         __tls_get_addr_internal instead of __tls_get_offset in order to
16880         avoid GOT pointer dependency.  Make rtld export
16881         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16882         __tls_get_addr since we are a __tls_get_offset platform.
16883         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16884         GOT pointer being set up before.
16885         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16886
16887 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
16888
16889         * manual/math.texi (Errors in Math Functions): Document accuracy
16890         goals.
16891
16892         [BZ #15004]
16893         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16894         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16895         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16896         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16897         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16898         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16899         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16900         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16901         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16902         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16903         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16904         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16905         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16906         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16907         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16908         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16909
16910         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16911         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16912         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16913         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16914         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16915         Likewise.
16916         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16917         Likewise.
16918         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16919         Likewise.
16920         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16921         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16922         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16923         atomic-feupdateenv and flt-rounds.
16924         * sysdeps/powerpc/nofpu/Versions (libc): Add
16925         __atomic_feholdexcept, __atomic_feclearexcept,
16926         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16927         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16928         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16929         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16930         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16931         here.
16932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16933         Update.
16934
16935         * manual/arith.texi (FP Exceptions): Document that exceptions may
16936         not be raised when matherr is used.
16937         (Math Error Reporting): Document overflow in directed rounding
16938         modes.  Document that errno may not be set when finite values are
16939         returned on overflow.  Document intent to set errno on underflow
16940         only for underflow to zero.
16941
16942         [BZ #16271]
16943         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16944         round-to-nearest then adjust result for other rounding modes.
16945         * include/fenv.h (fegetround): Use libm_hidden_proto.
16946         * math/fegetround.c (fegetround): Use libm_hidden_def.
16947         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16948         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16949         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16950         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16951         Likewise.
16952         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16953         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16954         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16955         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16956
16957 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16958
16959         [BZ #16077]
16960         * nss/Versions (libnss_files): Add
16961         _nss_files_gethostbyname3_r.
16962         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16963         New function.
16964         (HOST_DB_LOOKUP): Remove macro.
16965         (_nss_files_gethostbyname_r): Implement function without the
16966         HOST_DB_LOOKUP macro.
16967         (_nss_files_gethostbyname2_r): Likewise.
16968
16969 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
16970
16971         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16972
16973 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
16974
16975         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16976         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16977         warning.
16978
16979 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16980
16981         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16982         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16983         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16984         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16985         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16986         __fe_nomask_env_priv and attribute_hidden.
16987         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16988         (libc_feupdateenv_test_ppc): Likewise.
16989         (libc_feresetround_ppc): Likewise.
16990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16991         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16992         compat_symbol macro.
16993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16994         (__fe_nomask_env): Likewise.
16995         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16996
16997 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16998
16999         * string/Makefile: Remove ifunc tests.
17000         * string/test-string.h: Define TEST_IFUNC.
17001         * string/test-bcopy-ifunc.c: Remove.
17002         * string/test-bzero-ifunc.c: Likewise.
17003         * string/test-memccpy-ifunc.c: Likewise.
17004         * string/test-memchr-ifunc.c: Likewise.
17005         * string/test-memcmp-ifunc.c: Likewise.
17006         * string/test-memcpy-ifunc.c: Likewise.
17007         * string/test-memmem-ifunc.c: Likewise.
17008         * string/test-memmove-ifunc.c: Likewise.
17009         * string/test-mempcpy-ifunc.c: Likewise.
17010         * string/test-memrchr-ifunc.c: Likewise.
17011         * string/test-memset-ifunc.c: Likewise.
17012         * string/test-rawmemchr-ifunc.c: Likewise.
17013         * string/test-stpcpy-ifunc.c: Likewise.
17014         * string/test-stpncpy-ifunc.c: Likewise.
17015         * string/test-strcasecmp-ifunc.c: Likewise.
17016         * string/test-strcasestr-ifunc.c: Likewise.
17017         * string/test-strcat-ifunc.c: Likewise.
17018         * string/test-strchr-ifunc.c: Likewise.
17019         * string/test-strchrnul-ifunc.c: Likewise.
17020         * string/test-strcmp-ifunc.c: Likewise.
17021         * string/test-strcpy-ifunc.c: Likewise.
17022         * string/test-strcspn-ifunc.c: Likewise.
17023         * string/test-strlen-ifunc.c: Likewise.
17024         * string/test-strncasecmp-ifunc.c: Likewise.
17025         * string/test-strncat-ifunc.c: Likewise.
17026         * string/test-strncmp-ifunc.c: Likewise.
17027         * string/test-strncpy-ifunc.c: Likewise.
17028         * string/test-strnlen-ifunc.c: Likewise.
17029         * string/test-strpbrk-ifunc.c: Likewise.
17030         * string/test-strrchr-ifunc.c: Likewise.
17031         * string/test-strspn-ifunc.c: Likewise.
17032         * string/test-strstr-ifunc.c: Likewise.
17033
17034 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17035
17036         * benchtests/Makefile: Remove ifunc tests.
17037         * benchtests/bench-string.h: Define TEST_IFUNC.
17038         * benchtests/bench-bcopy-ifunc.c: Remove.
17039         * benchtests/bench-bzero-ifunc.c: Likewise.
17040         * benchtests/bench-memccpy-ifunc.c: Likewise.
17041         * benchtests/bench-memchr-ifunc.c: Likewise.
17042         * benchtests/bench-memcmp-ifunc.c: Likewise.
17043         * benchtests/bench-memcpy-ifunc.c: Likewise.
17044         * benchtests/bench-memmem-ifunc.c: Likewise.
17045         * benchtests/bench-memmove-ifunc.c: Likewise.
17046         * benchtests/bench-mempcpy-ifunc.c: Likewise.
17047         * benchtests/bench-memrchr-ifunc.c: Likewise.
17048         * benchtests/bench-memset-ifunc.c: Likewise.
17049         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17050         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17051         * benchtests/bench-stpcpy-ifunc.c: Likewise.
17052         * benchtests/bench-stpncpy-ifunc.c: Likewise.
17053         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17054         * benchtests/bench-strcasestr-ifunc.c: Likewise.
17055         * benchtests/bench-strcat-ifunc.c: Likewise.
17056         * benchtests/bench-strchr-ifunc.c: Likewise.
17057         * benchtests/bench-strchrnul-ifunc.c: Likewise.
17058         * benchtests/bench-strcmp-ifunc.c: Likewise.
17059         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17060         * benchtests/bench-strcpy-ifunc.c: Likewise.
17061         * benchtests/bench-strcspn-ifunc.c: Likewise.
17062         * benchtests/bench-strlen-ifunc.c: Likewise.
17063         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17064         * benchtests/bench-strncat-ifunc.c: Likewise.
17065         * benchtests/bench-strncmp-ifunc.c: Likewise.
17066         * benchtests/bench-strncpy-ifunc.c: Likewise.
17067         * benchtests/bench-strnlen-ifunc.c: Likewise.
17068         * benchtests/bench-strpbrk-ifunc.c: Likewise.
17069         * benchtests/bench-strrchr-ifunc.c: Likewise.
17070         * benchtests/bench-strsep-ifunc.c: Likewise.
17071         * benchtests/bench-strspn-ifunc.c: Likewise.
17072         * benchtests/bench-strstr-ifunc.c: Likewise.
17073
17074 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17075
17076         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17077
17078 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17079
17080         * resolv/netdb.h: Use __glibc_reserved instead __unused.
17081         * rt/aio.h: Likewise.
17082         * sysdeps/gnu/bits/utmp.h: Likewise.
17083         * sysdeps/gnu/bits/utmpx.h: Likewise.
17084         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17085         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17086         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17087         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17088         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17089         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17090         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17091         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17092         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17093         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17094         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17095         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17096         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17098         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17099         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17100         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17101         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17102         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17103         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17104         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17105         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17106         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17107         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17108         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17109         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17110         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17111         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17112         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17113         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17114         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17115         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17116         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17117         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17118         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17119         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17120         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17121         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17122         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17123         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17124         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17125         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17126
17127 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
17128
17129         [BZ #16245]
17130         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17131         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17132
17133 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
17134
17135         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17136         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17137         Likewise.
17138
17139 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17140
17141         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17142         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17143         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17144         (__fesetround): Remove define.
17145         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17146         rounding and exceptions handling.
17147         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17148         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17149         (__fe_nomask_env): Likewise.
17150         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17151         __fegetround instead of fegetround.
17152         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17153         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17154
17155 2013-11-21  Roland McGrath  <roland@hack.frob.com>
17156
17157         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17158         it's there.
17159
17160         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17161
17162 2013-11-21  Meador Inge  <meadori@codesourcery.com>
17163
17164         [BZ #11157]
17165         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17166         (encrypt_r): Likewise.
17167         * malloc/obstack.h (obstack_free): Likewise.
17168         * posix/unistd.h (encrypt): Likewise.
17169
17170 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
17171
17172         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17173         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17174         DL_CALL_DT_FINI() that call the functions directly.
17175         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17176         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17177         * elf/dl-fini.c: Likewise.
17178
17179 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
17180
17181         * malloc/hooks.c (memalign_check): Add alignment rounding.
17182         * malloc/malloc.c (_mid_memalign): New function.
17183         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17184         Implement by calling _mid_memalign.
17185         * manual/probes.texi (Memory Allocation Probes): Remove
17186         memory_valloc_retry and memory_pvalloc_retry.
17187
17188 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17189
17190         * locale/programs/locarchive.c (open_archive): Add const
17191         qualifier to ARCHIVEFNAME and copy default fname to
17192         DEFAULT_FNAME.
17193
17194         [BZ #15601]
17195         * libio/tst-widetext.input: Rename Oriya to Odia.
17196         * locale/iso-639.def: Likewise.
17197
17198         * manual/probes.texi (Mathematical Function Probes): Add
17199         documentation for sin, cos, asin and acos probes.
17200         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17201         (__sin32): Add slowasin probe.
17202         (__cos32): Add slowacos probe.
17203         (__mpsin): Add slowsin probe.
17204         (__mpcos): Add slowcos probe.
17205
17206 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
17207
17208         [BZ #15483]
17209         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17210         thread-local __sim_exceptions_thread and global
17211         __sim_exceptions_global.
17212         (__sim_disabled_exceptions): Change to thread-local
17213         __sim_disabled_exceptions_thread and global
17214         __sim_disabled_exceptions_global.
17215         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17216         and global __sim_round_mode_global.
17217         (__simulate_exceptions): Use thread-local floating-point state and
17218         set global state from it as needed.
17219         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17220         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17221         __sim_round_mode_thread.
17222         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17223         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17224         and global __sim_exceptions_global.
17225         (__sim_disabled_exceptions): Change to thread-local
17226         __sim_disabled_exceptions_thread and global
17227         __sim_disabled_exceptions_global.
17228         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17229         and global __sim_round_mode_global.
17230         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17231         (SIM_SET_GLOBAL): Likewise.
17232         * sysdeps/powerpc/soft-fp/sfp-machine.h
17233         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17234         __sim_round_mode_thread.
17235         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17236         __sim_disabled_exceptions_thread.
17237         (__sim_exceptions): Change to __sim_exceptions_thread.
17238         (__sim_disabled_exceptions): Change to
17239         __sim_disabled_exceptions_thread.
17240         (__sim_round_mode): Change to __sim_round_mode_thread.
17241         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17242         thread-local floating-point state and set global state from it as
17243         needed.
17244         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17245         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17246         (__sim_disabled_exceptions): Remove extern declaration.
17247         (feenableexcept): Use thread-local floating-point state and set
17248         global state from it as needed.
17249         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17250         extern declaration.
17251         (__sim_disabled_exceptions): Likewise.
17252         (__sim_round_mode): Likewise.
17253         (__fegetenv): Use thread-local floating-point state.
17254         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17255         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17256         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17257         floating-point state and set global state from it as needed.
17258         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17259         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17260         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17261         Likewise.
17262         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17263         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17264         Likewise.
17265         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17266         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17267         Use __sim_round_mode_thread.
17268         * math/test-fenv-tls.c: New file.
17269         * math/Makefile (tests): Add test-fenv-tls.
17270         ($(objpfx)test-fenv-tls): Depend on
17271         $(common-objpfx)nptl/libpthread.so.
17272
17273 2013-11-19  Andreas Schwab  <schwab@suse.de>
17274
17275         * locale/programs/locale.c (show_info): Decode wordarray elements.
17276         * locale/categories.def (LC_MONETARY): Add element for
17277         _NL_MONETARY_CRNCYSTR.
17278         * locale/C-monetary.c (conversion_rate): New variable.
17279         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17280         element.
17281
17282 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
17283
17284         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17285         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17286
17287 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17288
17289         * elf/Makefile (tst-auxv): New test.
17290         * elf/tst-auxv.c: New
17291         * elf/rtld.c (dl_main): Adjust AT_EXECFN
17292
17293 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
17294
17295         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17296         (hidden_proto): Caller changed.
17297         (hidden_tls_proto): New macro.
17298         (libc_hidden_tls_proto): Likewise.
17299         (rtld_hidden_tls_proto): Likewise.
17300         (libm_hidden_tls_proto): Likewise.
17301         (libresolv_hidden_tls_proto): Likewise.
17302         (librt_hidden_tls_proto): Likewise.
17303         (libdl_hidden_tls_proto): Likewise.
17304         (libnss_files_hidden_tls_proto): Likewise.
17305         (libnsl_hidden_tls_proto): Likewise.
17306         (libnss_nisplus_hidden_tls_proto): Likewise.
17307         (libutil_hidden_tls_proto): Likewise.
17308
17309 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
17310
17311         [BZ #10253]
17312         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17313         (decompose_rpath): Defer expansion to fillin_rpath.
17314         (_dl_init_paths): Pass linkmap to fillin_rpath.
17315
17316 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17317
17318         * benchtests/Makefile: Add strsep.
17319         * benchtests/bench-strsep.c: New file: strsep benchtest.
17320         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17321
17322 2013-11-18  Andreas Schwab  <schwab@suse.de>
17323
17324         * locale/programs/locale.c (show_info) [case byte]: Check for
17325         '\377' instead of '\177'.
17326         * locale/C-monetary.c (not_available): Always use "\377".
17327         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17328         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
17329         detect unavailable sign_posn locale elements.
17330         * locale/localeconv.c (__localeconv): For grouping and
17331         mon_grouping handle "\177" and "\377" like no grouping.
17332         (INT_ELEM): New macro.  Use it to set all numeric members.
17333         * locale/programs/ld-monetary.c (monetary_read)
17334         <tok_mon_grouping>: Normalize single -1 to the empty string.
17335         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17336         Likewise.
17337
17338 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17339
17340         [BZ #16055]
17341         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17342         when we match (nil).
17343         * stdio-common/tst-sscanf.c (struct test): Add testcase.
17344
17345 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
17346
17347         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17348         (NO_TEST_INLINE): Update value.
17349         (ERRNO_UNCHANGED): Likewise.
17350         (ERRNO_EDOM): Likewise.
17351         (ERRNO_ERANGE): Likewise.
17352         (IGNORE_RESULT): Likewise.
17353         (check_float_internal): Check signs of NaN results if
17354         TEST_NAN_SIGN used.
17355         (check_complex): Pass TEST_NAN_SIGN flag through to second
17356         check_float_internal call.
17357         (copysign_test_data): Add tests with quiet NaNs as second
17358         argument.  Use TEST_NAN_SIGN.
17359         (fabs_test_data): Add test of negative quiet NaN argument.  Use
17360         TEST_NAN_SIGN.
17361         (signbit_test_data): Add tests of quiet NaN argument.
17362         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17363
17364         * math/gen-libm-test.pl (show_exceptions): Take extra argument
17365         $ignore_result.
17366         (parse_args): Handle function results specified as IGNORE.
17367         * math/libm-test.inc (IGNORE_RESULT): New macro.
17368         (check_float_internal): Do not check numerical result if flag
17369         IGNORE_RESULT set.
17370         (check_complex): Pass through IGNORE_RESULT to second
17371         check_float_internal call.
17372         (check_int): Do not check numerical result if flag IGNORE_RESULT
17373         set.
17374         (check_long): Likewise.
17375         (check_bool): Likewise.
17376         (check_longlong): Likewise.
17377         (lrint_test_data): Add tests of infinite and NaN arguments.
17378         (lrint_tonearest_test_data): Likewise.
17379         (lrint_towardzero_test_data): Likewise.
17380         (lrint_downward_test_data): Likewise.
17381         (lrint_upward_test_data): Likewise.
17382         (llrint_test_data): Likewise.
17383         (llrint_tonearest_test_data): Likewise.
17384         (llrint_towardzero_test_data): Likewise.
17385         (llrint_downward_test_data): Likewise.
17386         (llrint_upward_test_data): Likewise.
17387         (lround_test_data): Likewise.
17388         (llround_test_data): Likewise.
17389
17390         * math/libm-test.inc (NO_TEST_INLINE): New macro.
17391         (ERRNO_UNCHANGED): Update value.
17392         (ERRNO_EDOM): Likewise.
17393         (ERRNO_ERANGE): Likewise.
17394         (NO_TEST_INLINE_FLOAT): New macro.
17395         (NO_TEST_INLINE_DOUBLE): Likewise.
17396         (enable_test): New function.
17397         (RUN_TEST_f_f): Check enable_test before running test.
17398         (RUN_TEST_2_f): Likewise.
17399         (RUN_TEST_fff_f): Likewise.
17400         (RUN_TEST_c_f): Likewise.
17401         (RUN_TEST_f_f1): Likewise.
17402         (RUN_TEST_fF_f1): Likewise.
17403         (RUN_TEST_fI_f1): Likewise.
17404         (RUN_TEST_ffI_f1): Likewise.
17405         (RUN_TEST_c_c): Likewise.
17406         (RUN_TEST_cc_c): Likewise.
17407         (RUN_TEST_f_i): Likewise.
17408         (RUN_TEST_f_i_tg): Likewise.
17409         (RUN_TEST_ff_i_tg): Likewise.
17410         (RUN_TEST_f_b): Likewise.
17411         (RUN_TEST_f_b_tg): Likewise.
17412         (RUN_TEST_f_l): Likewise.
17413         (RUN_TEST_f_L): Likewise.
17414         (RUN_TEST_fFF_11): Likewise.
17415         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17416         conditionals.
17417         (cosh_test_data): Likewise.
17418         (exp_test_data): Likewise.
17419         (expm1_test_data): Likewise.
17420         (hypot_test_data): Likewise.
17421         (pow_test_data): Likewise.
17422         (sinh_test_data): Likewise.
17423         (tanh_test_data): Likewise.
17424         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17425         flags argument.
17426
17427         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17428         tests with quiet NaN input and output.
17429         (acosh_test_data): Likewise.
17430         (asin_test_data): Likewise.
17431         (asinh_test_data): Likewise.
17432         (atan_test_data): Likewise.
17433         (atanh_test_data): Likewise.
17434         (atan2_test_data): Likewise.
17435         (cbrt_test_data): Likewise.
17436         (cos_test_data): Likewise.
17437         (cosh_test_data): Likewise.
17438         (erf_test_data): Likewise.
17439         (erfc_test_data): Likewise.
17440         (exp_test_data): Likewise.
17441         (exp10_test_data): Likewise.
17442         (exp2_test_data): Likewise.
17443         (expm1_test_data): Likewise.
17444         (hypot_test_data): Likewise.
17445         (j0_test_data): Likewise.
17446         (j1_test_data): Likewise.
17447         (jn_test_data): Likewise.
17448         (lgamma_test_data): Likewise.
17449         (log_test_data): Likewise.
17450         (log10_test_data): Likewise.
17451         (log1p_test_data): Likewise.
17452         (log2_test_data): Likewise.
17453         (pow_test_data): Likewise.
17454         (scalb_test_data): Likewise.
17455         (sin_test_data): Likewise.
17456         (sincos_test_data): Likewise.
17457         (sinh_test_data): Likewise.
17458         (tan_test_data): Likewise.
17459         (tanh_test_data): Likewise.
17460         (tgamma_test_data): Likewise.
17461         (y0_test_data): Likewise.
17462         (y1_test_data): Likewise.
17463         (yn_test_data): Likewise.
17464
17465         [BZ #16167]
17466         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17467         argument being NaN and avoid computations with second argument in
17468         that case.
17469         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17470         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17471         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17472
17473 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
17474
17475         * locale/iso-639.def: Add Chitwani Tharu (the).
17476
17477 2013-11-14  Andreas Schwab  <schwab@suse.de>
17478
17479         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17480         word instead of empty string.
17481
17482 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17483
17484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17485         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17487         (__fe_nomask_env): Likewise.
17488
17489 2013-11-13  Steve Ellcey  <sellcey@mips.com>
17490
17491         * benchtests/bench-timing.h: Include time.h.
17492
17493 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
17494
17495         [BZ #15997]
17496         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17497         to 3.4.0 for x32.
17498         * sysdeps/unix/sysv/linux/configure: Regenerated.
17499
17500 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
17501
17502         [BZ #16151]
17503         * stdlib/strtod_l.c (round_and_return): Do not consider
17504         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17505         exponent one less than half the least subnormal exponent.
17506         * stdlib/test-strtod-round-data: Add more tests.
17507         * stdlib/tst-strtod-round.c (tests): Regenerated.
17508
17509 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17510
17511         [BZ #14143]
17512         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17513         (__fe_mask_env): Likewise.
17514         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17515         libm_hidden_proto and add function prototype.
17516         (__fe_mask_env): Add function prototype.
17517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17518         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17520         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17522         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17523
17524 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17525
17526         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17527         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17528
17529 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17530
17531         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17532         of htab_find_slot().
17533
17534 2013-11-11  David S. Miller  <davem@davemloft.net>
17535
17536         [BZ #16150]
17537         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17538         symbol in the non-vis3 case in static builds.
17539         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17540         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17541         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17542         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17543
17544 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
17545
17546         [BZ #387]
17547         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17548         it is empty.
17549
17550 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17551
17552         * benchtests/Makefile: Add bench-strtod.
17553         * benchtests/bench-strtod.c: New file: strtod benchtest
17554
17555 2013-11-11  Andreas Schwab  <schwab@suse.de>
17556
17557         [BZ #16153]
17558         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17559         terminating NUL in key length.
17560
17561 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17562
17563         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17564         Add artificial ODP entry for vDSO symbol for PPC64.
17565         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17566         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17567
17568 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17569
17570         [BZ #15374]
17571         * nss/getent.c (services_keys): Recognize services starting with digit.
17572
17573 2013-11-06  David S. Miller  <davem@davemloft.net>
17574
17575         [BZ #15985]
17576         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17577         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17578
17579 2013-11-06  Will Newton  <will.newton@linaro.org>
17580
17581         * manual/memory.texi (Malloc Examples): Remove register
17582         keyword from examples.
17583
17584 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
17585
17586         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17587
17588 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
17589
17590         [BZ #6981]
17591         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17592         depending on [__GCC_IEC_559 > 0].
17593         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17594         depending on [__GCC_IEC_559_COMPLEX > 0].
17595
17596 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
17597
17598         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17599         to iso-639.def.
17600
17601 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
17602
17603         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17604
17605 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
17606
17607         [BZ #16112]
17608         * malloc/malloc (malloc_info): Do not handle first bin as
17609         special case.
17610
17611 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
17612
17613         * locale/iso-639.def: Add Central Nahuatl (nhn).
17614
17615 2013-11-01  Bruno Haible  <bruno@clisp.org>
17616
17617         [BZ #7003]
17618         * manual/math.texi (BSD Random): Specify range upper bound as
17619         in POSIX.
17620
17621 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17622
17623         * locale/iso-639.def: Add Meadow Mari (mhr).
17624
17625 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17626
17627         [BZ #14752], [BZ #15763]
17628         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17629         Validate name.
17630         * rt/tst_shm.c: Add test for escaping directory.
17631
17632 2013-10-31  Andreas Schwab  <schwab@suse.de>
17633
17634         [BZ #15917]
17635         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17636         followed by 'x' as part of digit sequence.
17637         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17638
17639 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17640
17641         [BZ #16037]
17642         * configure.ac: allow GNU Make 4.0 and greater.
17643         * configure: Regenerated.
17644
17645 2013-10-30  Will Newton  <will.newton@linaro.org>
17646
17647         [BZ #16038]
17648         * malloc/hooks.c (memalign_check): Limit alignment to the
17649         maximum representable power of two.
17650         * malloc/malloc.c (__libc_memalign): Likewise.
17651         * malloc/tst-memalign.c (do_test): Add test for very
17652         large alignment values.
17653         * malloc/tst-posix_memalign.c (do_test): Likewise.
17654
17655 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17656
17657         [BZ #11087]
17658         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17659         (munmap_chunk): Likewise.
17660         (mremap_chunk): Likewise.
17661
17662 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17663
17664         [BZ #15799]
17665         * stdlib/div.c (div): Remove obsolete code.
17666         * stdlib/ldiv.c (ldiv): Likewise.
17667         * stdlib/lldiv.c (lldiv): Likewise.
17668
17669 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17670
17671         [BZ #16071]
17672         * nss/nss_files/files-XXX.c (get_contents_ret): New
17673         enumerator.
17674         (get_contents): New function.
17675         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17676
17677 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17678
17679         * configure.in: Moved to ...
17680         * configure.ac: ... here. Change reference to configure.in
17681         to configure.ac.
17682         * sysdeps/arm/preconfigure.ac: ... here.
17683         configure.in to configure.ac.
17684         * sysdeps/gnu/configure.in: Moved to ...
17685         * sysdeps/gnu/configure.ac: ... here.
17686         * sysdeps/i386/configure.in: Moved to ...
17687         * sysdeps/i386/configure.ac: ... here.
17688         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17689         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17690         * sysdeps/mach/configure.in: Moved to ...
17691         * sysdeps/mach/configure.ac: ... here.
17692         * sysdeps/mach/hurd/configure.in: Moved to ...
17693         * sysdeps/mach/hurd/configure.ac: ... here.
17694         * sysdeps/powerpc/configure.in: Moved to ...
17695         * sysdeps/powerpc/configure.ac: ... here.
17696         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17697         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17698         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17699         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17700         * sysdeps/s390/s390-32/configure.in: Moved to ...
17701         * sysdeps/s390/s390-32/configure.ac: ... here.
17702         * sysdeps/s390/s390-64/configure.in: Moved to ...
17703         * sysdeps/s390/s390-64/configure.ac: ... here.
17704         * sysdeps/sh/configure.in: Moved to ...
17705         * sysdeps/sh/configure.ac: ... here.
17706         * sysdeps/sparc/configure.in: Moved to ...
17707         * sysdeps/sparc/configure.ac: ... here.
17708         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17709         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17710         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17711         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17712         * sysdeps/x86_64/configure.in: Moved to ...
17713         * sysdeps/x86_64/configure.ac: ... here.
17714         * sysdeps/x86_64/preconfigure.in: Moved to ...
17715         * sysdeps/x86_64/preconfigure.ac: ... here.
17716         * aclocal.m4: Change reference to configure.in to configure.ac.
17717         * config.h.in: Likewise.
17718         * manual/install.texi: Likewise.
17719         * manual/maint.texi: Likewise.
17720         * Makefile: Likewise.
17721         * malloc/Makefile: Likewise.
17722         * nscd/Makefile: Likewise.
17723         * Makeconfig: Change reference to configure.in and
17724         preconfigure.in to configure.ac and preconfigure.ac
17725         respectively.
17726         * INSTALL: Regenerated.
17727         * configure: Likewise.
17728         * sysdeps/gnu/configure: Likewise.
17729         * sysdeps/i386/configure: Likewise.
17730         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17731         * sysdeps/mach/configure: Likewise.
17732         * sysdeps/mach/hurd/configure: Likewise.
17733         * sysdeps/powerpc/configure: Likewise.
17734         * sysdeps/powerpc/powerpc32/configure: Likewise.
17735         * sysdeps/powerpc/powerpc64/configure: Likewise.
17736         * sysdeps/s390/s390-32/configure: Likewise.
17737         * sysdeps/s390/s390-64/configure: Likewise.
17738         * sysdeps/sh/configure: Likewise.
17739         * sysdeps/sparc/configure: Likewise.
17740         * sysdeps/unix/sysv/linux/configure: Likewise.
17741         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17742         * sysdeps/x86_64/configure: Likewise.
17743         * sysdeps/x86_64/preconfigure: Likewise.
17744
17745 2013-10-29  Andreas Schwab  <schwab@suse.de>
17746
17747         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17748
17749 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17750
17751         * benchtests/pow-inputs: Add new inputs.
17752
17753         * benchtests/exp-inputs: Add new inputs.
17754
17755         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17756         conditional check for return value.
17757         (__cos32): Likewise.
17758
17759 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17760
17761         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17762         to provide a boost for large inputs with word alignment.
17763         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17764         implementation based on optimized PPC64 strcpy.
17765         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17766         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17767         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17768         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17769
17770 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17771
17772         [BZ #2801]
17773         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17774
17775 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17776
17777         [BZ #14876]
17778         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17779         * time/tst-strptime.c (day_tests): Add testcase.
17780
17781 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17782
17783         [BZ #14029]
17784         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17785
17786 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17787
17788         [BZ #16074]
17789         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17790         MAP_FAILED on error.
17791
17792 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17793
17794         [BZ #16072]
17795         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17796         heap for large requests.
17797
17798 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17799
17800         [BZ #9954]
17801         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17802         result if the result has no associated interface.
17803         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17804         interface for all 127.X.Y.Z addresses.
17805
17806 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17807
17808         * locale/iso-639.def: Add Ligurian (lij)
17809
17810 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17811
17812         [BZ #15825]
17813         * sunrpc/rpc_main.c: Document rpcgen -5.
17814
17815 2013-10-19  Michael Stahl  <mstahl@redhat.com>
17816
17817         * elf/rtld.c (do_preload): Print the reason why preloading failed.
17818
17819 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17820
17821         [BZ #10278]
17822         * posix/glob.c: Match only directories when trailing slash is present.
17823         * posix/tst-gnuglob.c (my_opendir): Do not open files.
17824         (main): Add testcase.
17825
17826 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17827
17828         [BZ #15670]
17829         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17830
17831 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
17832
17833         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17834         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17835         AUTH_DES and cindex for FIPS 140-2.
17836         (DES Encryption): Add cindex FIPS 46-3.
17837
17838         * locale/locarchive.h (struct locarhandle): Add fname.
17839         * locale/programs/localedef.c (main): Pass ARGV[remaining]
17840         if an optional argument was specified to --list-archive,
17841         otherwise NULL.
17842         * locale/programs/locarchive.c (show_archive_content): Take new
17843         argument fname and pass it via ah.fname to open_archive.
17844         * locale/programs/localedef.h: Update decl.
17845         (open_archive): If AH->fname is non-null, open that file
17846         rather than the default file name, and don't ignore ENOENT.
17847         (create_archive): Set AH.fname to NULL.
17848         (delete_locales_from_archive): Likewise.
17849         (add_locales_to_archive): Likewise.
17850         * locale/programs/locfile.c (write_all_categories): Likewise.
17851
17852 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
17853             Aldy Hernandez  <aldyh@redhat.com>
17854
17855         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17856         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17857         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17858         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17859         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17860         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17861         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17862         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17863         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17864         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17865         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17866         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17867         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17868         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17869         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17870         Likewise.
17871         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17872         Likewise.
17873         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17874         Likewise.
17875         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17876         Likewise.
17877         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17878         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17879         Likewise.
17880         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17881         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17882         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17883         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17884         Likewise.
17885         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17886         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17887         * sysdeps/powerpc/preconfigure: Likewise.
17888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17889         Likewise.
17890         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17891         Replace contents of file by #include of <fenv_libc.h>.
17892         * sysdeps/powerpc/soft-fp/sfp-machine.h
17893         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17894         and <sys/prctl.h>.
17895         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17896         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17897         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17898         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17899         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17900         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17901         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17902         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17903         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17904         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17905         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17906         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17908         Allow copysignl PLT reference to be missing.
17909
17910 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
17911             Joseph Myers  <joseph@codesourcery.com
17912
17913         [BZ #15948]
17914         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17915         single character.
17916         (add_to_tablewc): Assert sequence of wide characters is nonempty.
17917
17918 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17919
17920         * elf/tst-tls-dlinfo.c: Don't include tls.h.
17921         * elf/tst-tls1.c: Likewise.
17922         * elf/tst-tls10.h: Likewise.
17923         * elf/tst-tls14.c: Likewise.
17924         * elf/tst-tls2.c: Likewise.
17925         * elf/tst-tls3.c: Likewise.
17926         * elf/tst-tls4.c: Likewise.
17927         * elf/tst-tls5.c: Likewise.
17928         * elf/tst-tls6.c: Likewise.
17929         * elf/tst-tls7.c: Likewise.
17930         * elf/tst-tls8.c: Likewise.
17931         * elf/tst-tls9.c: Likewise.
17932         * elf/tst-tlsmod1.c: Likewise.
17933         * elf/tst-tlsmod13.c: Likewise.
17934         * elf/tst-tlsmod13a.c: Likewise.
17935         * elf/tst-tlsmod14a.c: Likewise.
17936         * elf/tst-tlsmod16a.c: Likewise.
17937         * elf/tst-tlsmod16b.c: Likewise.
17938         * elf/tst-tlsmod2.c: Likewise.
17939         * elf/tst-tlsmod3.c: Likewise.
17940         * elf/tst-tlsmod4.c: Likewise.
17941         * elf/tst-tlsmod5.c: Likewise.
17942         * elf/tst-tlsmod6.c: Likewise.
17943
17944 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
17945
17946         [BZ #12486]
17947         * malloc/malloc.c: remove checks for statistics.
17948
17949 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17950
17951         [BZ #15277]
17952         * inet/inet_net.c (inet_network): Detect additional invalid strings.
17953         * inet/tst-network.c: Add testcase.
17954
17955 2013-10-17  Andreas Schwab  <schwab@suse.de>
17956
17957         [BZ #15218]
17958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17959         to determine canonical name.
17960
17961 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17962
17963         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17964         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17965         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17966         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17967         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17968         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17969         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17970         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17971         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17972         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17973         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17974         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17975         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17976         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17977         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17978         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17979         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17980         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17981         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17982         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17983         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17984         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17985         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17986         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17987         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17988         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17989         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17990         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17991         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17992         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17993         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17994         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17995         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17996         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17997         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17998         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17999         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18000         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18001         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18002         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18003         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18004         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18005         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18006         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18007         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18008         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18009         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18010         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18011         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18012         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18013         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18014         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18015         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18016         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18017         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18018         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18019         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18020         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18021
18022 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
18023
18024         [BZ #16041]
18025         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18026         make result into a quiet NaN.
18027
18028 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
18029
18030         * soft-fp/adddf3.c: Fix horizontal whitespace.
18031         * soft-fp/addsf3.c: Likewise.
18032         * soft-fp/addtf3.c: Likewise.
18033         * soft-fp/divdf3.c: Likewise.
18034         * soft-fp/divsf3.c: Likewise.
18035         * soft-fp/divtf3.c: Likewise.
18036         * soft-fp/double.h: Likewise.
18037         * soft-fp/eqdf2.c: Likewise.
18038         * soft-fp/eqsf2.c: Likewise.
18039         * soft-fp/eqtf2.c: Likewise.
18040         * soft-fp/extenddftf2.c: Likewise.
18041         * soft-fp/extended.h: Likewise.
18042         * soft-fp/extendsfdf2.c: Likewise.
18043         * soft-fp/extendsftf2.c: Likewise.
18044         * soft-fp/extendxftf2.c: Likewise.
18045         * soft-fp/fixdfdi.c: Likewise.
18046         * soft-fp/fixdfsi.c: Likewise.
18047         * soft-fp/fixdfti.c: Likewise.
18048         * soft-fp/fixsfdi.c: Likewise.
18049         * soft-fp/fixsfsi.c: Likewise.
18050         * soft-fp/fixsfti.c: Likewise.
18051         * soft-fp/fixtfdi.c: Likewise.
18052         * soft-fp/fixtfsi.c: Likewise.
18053         * soft-fp/fixtfti.c: Likewise.
18054         * soft-fp/fixunsdfdi.c: Likewise.
18055         * soft-fp/fixunsdfsi.c: Likewise.
18056         * soft-fp/fixunsdfti.c: Likewise.
18057         * soft-fp/fixunssfdi.c: Likewise.
18058         * soft-fp/fixunssfsi.c: Likewise.
18059         * soft-fp/fixunssfti.c: Likewise.
18060         * soft-fp/fixunstfdi.c: Likewise.
18061         * soft-fp/fixunstfsi.c: Likewise.
18062         * soft-fp/fixunstfti.c: Likewise.
18063         * soft-fp/floatdidf.c: Likewise.
18064         * soft-fp/floatdisf.c: Likewise.
18065         * soft-fp/floatditf.c: Likewise.
18066         * soft-fp/floatsidf.c: Likewise.
18067         * soft-fp/floatsisf.c: Likewise.
18068         * soft-fp/floatsitf.c: Likewise.
18069         * soft-fp/floattidf.c: Likewise.
18070         * soft-fp/floattisf.c: Likewise.
18071         * soft-fp/floattitf.c: Likewise.
18072         * soft-fp/floatundidf.c: Likewise.
18073         * soft-fp/floatundisf.c: Likewise.
18074         * soft-fp/floatunditf.c: Likewise.
18075         * soft-fp/floatunsidf.c: Likewise.
18076         * soft-fp/floatunsisf.c: Likewise.
18077         * soft-fp/floatunsitf.c: Likewise.
18078         * soft-fp/floatuntidf.c: Likewise.
18079         * soft-fp/floatuntisf.c: Likewise.
18080         * soft-fp/floatuntitf.c: Likewise.
18081         * soft-fp/fmadf4.c: Likewise.
18082         * soft-fp/fmasf4.c: Likewise.
18083         * soft-fp/fmatf4.c: Likewise.
18084         * soft-fp/gedf2.c: Likewise.
18085         * soft-fp/gesf2.c: Likewise.
18086         * soft-fp/getf2.c: Likewise.
18087         * soft-fp/ledf2.c: Likewise.
18088         * soft-fp/lesf2.c: Likewise.
18089         * soft-fp/letf2.c: Likewise.
18090         * soft-fp/muldf3.c: Likewise.
18091         * soft-fp/mulsf3.c: Likewise.
18092         * soft-fp/multf3.c: Likewise.
18093         * soft-fp/negdf2.c: Likewise.
18094         * soft-fp/negsf2.c: Likewise.
18095         * soft-fp/negtf2.c: Likewise.
18096         * soft-fp/op-1.h: Likewise.
18097         * soft-fp/op-2.h: Likewise.
18098         * soft-fp/op-4.h: Likewise.
18099         * soft-fp/op-8.h: Likewise.
18100         * soft-fp/op-common.h: Likewise.
18101         * soft-fp/quad.h: Likewise.
18102         * soft-fp/single.h: Likewise.
18103         * soft-fp/soft-fp.h: Likewise.
18104         * soft-fp/sqrtdf2.c: Likewise.
18105         * soft-fp/sqrtsf2.c: Likewise.
18106         * soft-fp/sqrttf2.c: Likewise.
18107         * soft-fp/subdf3.c: Likewise.
18108         * soft-fp/subsf3.c: Likewise.
18109         * soft-fp/subtf3.c: Likewise.
18110         * soft-fp/truncdfsf2.c: Likewise.
18111         * soft-fp/trunctfdf2.c: Likewise.
18112         * soft-fp/trunctfsf2.c: Likewise.
18113         * soft-fp/trunctfxf2.c: Likewise.
18114         * soft-fp/unorddf2.c: Likewise.
18115         * soft-fp/unordsf2.c: Likewise.
18116         * soft-fp/unordtf2.c: Likewise.
18117
18118 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
18119
18120         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18121         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18122
18123 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
18124
18125         * elf/dl-libc.c: Clear initfini list after freeing.
18126
18127 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
18128
18129         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18130         * soft-fp/addsf3.c: Likewise.
18131         * soft-fp/addtf3.c: Likewise.
18132         * soft-fp/divdf3.c: Likewise.
18133         * soft-fp/divsf3.c: Likewise.
18134         * soft-fp/divtf3.c: Likewise.
18135         * soft-fp/double.h: Likewise.
18136         * soft-fp/eqdf2.c: Likewise.
18137         * soft-fp/eqsf2.c: Likewise.
18138         * soft-fp/eqtf2.c: Likewise.
18139         * soft-fp/extenddftf2.c: Likewise.
18140         * soft-fp/extended.h: Likewise.
18141         * soft-fp/extendsfdf2.c: Likewise.
18142         * soft-fp/extendsftf2.c: Likewise.
18143         * soft-fp/extendxftf2.c: Likewise.
18144         * soft-fp/fixdfdi.c: Likewise.
18145         * soft-fp/fixdfsi.c: Likewise.
18146         * soft-fp/fixdfti.c: Likewise.
18147         * soft-fp/fixsfdi.c: Likewise.
18148         * soft-fp/fixsfsi.c: Likewise.
18149         * soft-fp/fixsfti.c: Likewise.
18150         * soft-fp/fixtfdi.c: Likewise.
18151         * soft-fp/fixtfsi.c: Likewise.
18152         * soft-fp/fixtfti.c: Likewise.
18153         * soft-fp/fixunsdfdi.c: Likewise.
18154         * soft-fp/fixunsdfsi.c: Likewise.
18155         * soft-fp/fixunsdfti.c: Likewise.
18156         * soft-fp/fixunssfdi.c: Likewise.
18157         * soft-fp/fixunssfsi.c: Likewise.
18158         * soft-fp/fixunssfti.c: Likewise.
18159         * soft-fp/fixunstfdi.c: Likewise.
18160         * soft-fp/fixunstfsi.c: Likewise.
18161         * soft-fp/fixunstfti.c: Likewise.
18162         * soft-fp/floatdidf.c: Likewise.
18163         * soft-fp/floatdisf.c: Likewise.
18164         * soft-fp/floatditf.c: Likewise.
18165         * soft-fp/floatsidf.c: Likewise.
18166         * soft-fp/floatsisf.c: Likewise.
18167         * soft-fp/floatsitf.c: Likewise.
18168         * soft-fp/floattidf.c: Likewise.
18169         * soft-fp/floattisf.c: Likewise.
18170         * soft-fp/floattitf.c: Likewise.
18171         * soft-fp/floatundidf.c: Likewise.
18172         * soft-fp/floatundisf.c: Likewise.
18173         * soft-fp/floatunsidf.c: Likewise.
18174         * soft-fp/floatunsisf.c: Likewise.
18175         * soft-fp/floatuntidf.c: Likewise.
18176         * soft-fp/floatuntisf.c: Likewise.
18177         * soft-fp/floatuntitf.c: Likewise.
18178         * soft-fp/fmadf4.c: Likewise.
18179         * soft-fp/fmasf4.c: Likewise.
18180         * soft-fp/fmatf4.c: Likewise.
18181         * soft-fp/gedf2.c: Likewise.
18182         * soft-fp/gesf2.c: Likewise.
18183         * soft-fp/getf2.c: Likewise.
18184         * soft-fp/ledf2.c: Likewise.
18185         * soft-fp/lesf2.c: Likewise.
18186         * soft-fp/letf2.c: Likewise.
18187         * soft-fp/muldf3.c: Likewise.
18188         * soft-fp/mulsf3.c: Likewise.
18189         * soft-fp/multf3.c: Likewise.
18190         * soft-fp/negdf2.c: Likewise.
18191         * soft-fp/negsf2.c: Likewise.
18192         * soft-fp/negtf2.c: Likewise.
18193         * soft-fp/op-1.h: Likewise.
18194         * soft-fp/op-2.h: Likewise.
18195         * soft-fp/op-4.h: Likewise.
18196         * soft-fp/op-8.h: Likewise.
18197         * soft-fp/op-common.h: Likewise.
18198         * soft-fp/quad.h: Likewise.
18199         * soft-fp/single.h: Likewise.
18200         * soft-fp/soft-fp.h: Likewise.
18201         * soft-fp/sqrtdf2.c: Likewise.
18202         * soft-fp/sqrtsf2.c: Likewise.
18203         * soft-fp/sqrttf2.c: Likewise.
18204         * soft-fp/subdf3.c: Likewise.
18205         * soft-fp/subsf3.c: Likewise.
18206         * soft-fp/subtf3.c: Likewise.
18207         * soft-fp/truncdfsf2.c: Likewise.
18208         * soft-fp/trunctfdf2.c: Likewise.
18209         * soft-fp/trunctfsf2.c: Likewise.
18210         * soft-fp/trunctfxf2.c: Likewise.
18211         * soft-fp/unorddf2.c: Likewise.
18212         * soft-fp/unordsf2.c: Likewise.
18213         * soft-fp/unordtf2.c: Likewise.
18214
18215 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
18216
18217         [BZ #15672]
18218         * misc/error.c (error_tail): Fix possible buffer overflow.
18219
18220 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
18221
18222         [BZ #13028]
18223         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18224         address.
18225
18226 2013-10-14  P. J. McDermott  <pj@pehjota.net>
18227
18228         [BZ #832]
18229         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
18230         testing pipefail option.
18231
18232 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18233
18234         * soft-fp/double.h: Indent preprocessor directives inside #if.
18235         * soft-fp/extended.h: Likewise.
18236         * soft-fp/op-2.h: Likewise.
18237         * soft-fp/op-4.h: Likewise.
18238         * soft-fp/op-common.h: Likewise.
18239         * soft-fp/quad.h: Likewise.
18240         * soft-fp/single.h: Likewise.
18241         * soft-fp/soft-fp.h: Likewise.
18242
18243 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
18244
18245         * iconv/iconv_prog.c: Fix typos.
18246         * stdio-common/psiginfo-data.h: Likewise.
18247
18248 2013-10-12   Reuben Thomas <rrt@sc3d.org>
18249
18250         [BZ #15764]
18251         * locale/setlocale.c: Fix typo.
18252
18253 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18254
18255         [BZ #16036]
18256         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18257         signaling NaN arguments.
18258         * soft-fp/unordsf2.c (__unordsf2): Likewise.
18259         * soft-fp/unordtf2.c (__unordtf2): Likewise.
18260
18261         [BZ #14910]
18262         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18263         unordered operands.
18264         * soft-fp/gesf2.c (__gesf2): Likewise.
18265         * soft-fp/getf2.c (__getf2): Likewise.
18266         * soft-fp/ledf2.c (__ledf2): Likewise.
18267         * soft-fp/lesf2.c (__lesf2): Likewise.
18268         * soft-fp/letf2.c (__letf2): Likewise.
18269
18270         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18271         * soft-fp/eqsf2.c (__eqsf2): Likewise.
18272         * soft-fp/eqtf2.c (__eqtf2): Likewise.
18273         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18274         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18275         * soft-fp/fixdfti.c (__fixdfti): Likewise.
18276         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18277         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18278         * soft-fp/fixsfti.c (__fixsfti): Likewise.
18279         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18280         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18281         * soft-fp/fixtfti.c (__fixtfti): Likewise.
18282         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18283         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18284         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18285         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18286         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18287         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18288         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18289         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18290         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18291         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18292         * soft-fp/floatdisf.c (__floatdisf): Likewise.
18293         * soft-fp/floatsisf.c (__floatsisf): Likewise.
18294         * soft-fp/floattidf.c (__floattidf): Likewise.
18295         * soft-fp/floattisf.c (__floattisf): Likewise.
18296         * soft-fp/floattitf.c (__floattitf): Likewise.
18297         * soft-fp/floatundidf.c (__floatundidf): Likewise.
18298         * soft-fp/floatundisf.c (__floatundisf): Likewise.
18299         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18300         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18301         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18302         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18303         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18304         * soft-fp/gesf2.c (__gesf2): Likewise.
18305         * soft-fp/getf2.c (__getf2): Likewise.
18306         * soft-fp/ledf2.c (__ledf2): Likewise.
18307         * soft-fp/lesf2.c (__lesf2): Likewise.
18308         * soft-fp/letf2.c (__letf2): Likewise.
18309
18310         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18311         Undefine and redefine.
18312         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18313         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18314         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18315         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18316         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18317         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18318         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18319         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18320         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18321         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18322         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18323         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18324         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18325         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18326         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18327
18328         [BZ #16032]
18329         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18330         without decrementing exponent if mantissa >= that for the
18331         denominator, not >.
18332         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18333         denominator, not >.  Decrement exponent in < case instead of
18334         incrementing in >= case.
18335         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18336         without decrementing exponent if mantissa >= that for the
18337         denominator, not >.
18338
18339         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18340         computing saturated result for unsigned overflow.
18341
18342 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18343             Jeff Law  <law@redhat.com>
18344
18345         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18346         (atan2Mp): Add systemtap probe marker.
18347         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18348         (__ieee754_log): Add systemtap probe marker.
18349         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18350         (atanMp): Add systemtap probe marker.
18351         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18352         (tanMp): Add systemtap probe marker.
18353         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18354         (__slowexp): Add systemtap probe marker.
18355         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18356         (__slowpow): Add systemtap probe marker.
18357         * manual/probes.texi: Document probes.
18358
18359 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
18360
18361         [BZ #15362]
18362         * libio/fileops.c (_IO_new_file_write): Return count of bytes
18363         written.
18364         (_IO_new_file_xsputn): Don't return EOF if nothing has been
18365         written.
18366         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18367         written to buffer but not flushed.
18368         * libio/iofwrite_u.c:  Likewise.
18369         * libio/iopadn.c:  Return bytes returned even if EOF was
18370         encountered.
18371         * libio/iowpadn.c:  Likewise.
18372         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18373         if _IO_padn does not write the whole buffer.
18374         [!COMPILE_WPRINTF] (PAD): Likewise.
18375
18376 2013-10-10  David S. Miller  <davem@davemloft.net>
18377
18378         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18379         directory block.
18380
18381 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18382
18383         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
18384         instead of FSF address.
18385         * soft-fp/fixdfti.c: Likewise.
18386         * soft-fp/fixsfti.c: Likewise.
18387         * soft-fp/fixtfti.c: Likewise.
18388         * soft-fp/fixunsdfti.c: Likewise.
18389         * soft-fp/fixunssfti.c: Likewise.
18390         * soft-fp/fixunstfti.c: Likewise.
18391         * soft-fp/floattidf.c: Likewise.
18392         * soft-fp/floattisf.c: Likewise.
18393         * soft-fp/floattitf.c: Likewise.
18394         * soft-fp/floatuntidf.c: Likewise.
18395         * soft-fp/floatuntisf.c: Likewise.
18396         * soft-fp/floatuntitf.c: Likewise.
18397         * soft-fp/trunctfxf2.c: Likewise.
18398
18399         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
18400         * soft-fp/fixdfti.c: Likewise.
18401         * soft-fp/fixsfti.c: Likewise.
18402         * soft-fp/fixtfti.c: Likewise.
18403         * soft-fp/fixunsdfti.c: Likewise.
18404         * soft-fp/fixunssfti.c: Likewise.
18405         * soft-fp/fixunstfti.c: Likewise.
18406         * soft-fp/floattidf.c: Likewise.
18407         * soft-fp/floattisf.c: Likewise.
18408         * soft-fp/floattitf.c: Likewise.
18409         * soft-fp/floatuntidf.c: Likewise.
18410         * soft-fp/floatuntisf.c: Likewise.
18411         * soft-fp/floatuntitf.c: Likewise.
18412         * soft-fp/trunctfxf2.c: Likewise.
18413
18414 2013-10-10  David S. Miller  <davem@davemloft.net>
18415
18416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18417
18418 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
18419
18420         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18421         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18422         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18423         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18424         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18425         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18426         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18427
18428         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18429         for NaNs before doing comparisons on argument.
18430         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18431         Likewise.
18432
18433 2013-10-10  Will Newton  <will.newton@linaro.org>
18434
18435         * malloc/hooks.c (memalign_check): Ensure the value of bytes
18436         passed to _int_memalign does not overflow.
18437
18438 2013-10-10  Torvald Riegel  <triegel@redhat.com>
18439
18440         * scripts/bench.pl: Add include-sources directive.
18441         * benchtests/README: Update documentation.
18442
18443 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18444
18445         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18446         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18447         instead of FP_INIT_ROUNDMODE.
18448         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18449         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18450
18451         [BZ #16034]
18452         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
18453         copy class of input value.
18454         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
18455         not handle exceptions.
18456         * soft-fp/negsf2.c (__negsf2): Likewise.
18457         * soft-fp/negtf2.c (__negtf2): Likewise.
18458         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18459
18460 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
18461
18462         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18463         semicolon.  From Linux kernel.
18464
18465 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
18466
18467         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18468
18469 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
18470
18471         [BZ #156]
18472         * manual/socket.texi: Added statement about buffer
18473         for gethostbyname2_r.
18474
18475 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
18476
18477         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18478         Use .p2align directive instead, throughout.
18479         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18480         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18481         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18482         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18483         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18484         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18485         * sysdeps/x86_64/strchr.S: Likewise.
18486         * sysdeps/x86_64/strrchr.S: Likewise.
18487
18488 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18489
18490         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18491
18492         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18493
18494         * sysdeps/generic/math_private.h (__mpsin1): Remove
18495         declaration.
18496         (__mpcos1): Likewise.
18497         (__mpsin): New argument __range_reduce.
18498         (__mpcos): Likewise.
18499         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18500         (slow): Use __mpsin and __mpcos.
18501         (slow1): Likewise.
18502         (slow2): Likewise.
18503         (sloww): Likewise.
18504         (sloww1): Likewise.
18505         (sloww2): Likewise.
18506         (bsloww): Likewise.
18507         (bsloww1): Likewise.
18508         (bsloww2): Likewise.
18509         (cslow2): Likewise.
18510         (csloww): Likewise.
18511         (csloww1): Likewise.
18512         (csloww2): Likewise.
18513         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18514         range_reduce.  Merge in __mpsin1.
18515         (__mpcos): Likewise.
18516         (__mpsin1): Remove.
18517         (__mpcos1): Likewise.
18518
18519 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
18520
18521         * locale/loadlocale.c (_nl_intern_locale_data): Use
18522         LOCFILE_ALIGNED_P.
18523         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18524         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18525         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18526         obstack data is appropriately aligned.
18527         (obstack_int32_grow_fast): Likewise.
18528         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18529         * locale/programs/locfile.c (add_locale_uint32): Likewise.
18530         (add_locale_uint32_array): Likewise.
18531
18532 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18533
18534         * benchtests/Makefile: Remove ARGLIST and RET variables.
18535         ($(objpfx)bench-%.c): Pass only function name to the script.
18536         * benchtests/README: Update documentation.
18537         * benchtests/acos-inputs: Add new directives.
18538         * benchtests/acosh-inputs: Likewise.
18539         * benchtests/asin-inputs: Likewise.
18540         * benchtests/asinh-inputs: Likewise.
18541         * benchtests/atan-inputs: Likewise.
18542         * benchtests/atanh-inputs: Likewise.
18543         * benchtests/cos-inputs: Likewise.
18544         * benchtests/cosh-inputs: Likewise.
18545         * benchtests/exp-inputs: Likewise.
18546         * benchtests/log-inputs: Likewise.
18547         * benchtests/pow-inputs: Likewise.
18548         * benchtests/rint-inputs: Likewise.
18549         * benchtests/sin-inputs: Likewise.
18550         * benchtests/sinh-inputs: Likewise.
18551         * benchtests/tan-inputs: Likewise.
18552         * benchtests/tanh-inputs: Likewise.
18553         * scripts/bench.pl: Add support for new directives.
18554
18555 2013-10-07  Alan Modra  <amodra@gmail.com>
18556
18557         * README: Fix careless merge.
18558
18559 2013-10-05  Alan Modra  <amodra@gmail.com>
18560
18561         * NEWS: Mention powerpc64le support and bugs fixed.
18562         * README: Both big-endian and little-endian powerpc64 supported.
18563
18564 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18565
18566         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18567         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18568         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18569         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18570
18571 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
18572
18573         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18574         match prototype.
18575
18576 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
18577
18578         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18579         Move -mhard-float appending from
18580         ports/sysdeps/powerpc/powerpc32/Makefile.
18581         [$(with-fp) = yes] (ASFLAGS): Likewise.
18582         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18583         * sysdeps/powerpc/nofpu: Move directory from
18584         ports/sysdeps/powerpc/nofpu.
18585         * sysdeps/powerpc/soft-fp: Move directory from
18586         ports/sysdeps/powerpc/soft-fp.
18587         * sysdeps/powerpc/powerpc32/405: Move directory from
18588         ports/sysdeps/powerpc/powerpc32/405.
18589         * sysdeps/powerpc/powerpc32/440: Move directory from
18590         ports/sysdeps/powerpc/powerpc32/440.
18591         * sysdeps/powerpc/powerpc32/464: Move directory from
18592         ports/sysdeps/powerpc/powerpc32/464.
18593         * sysdeps/powerpc/powerpc32/476: Move directory from
18594         ports/sysdeps/powerpc/powerpc32/476.
18595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18596         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18598         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18600         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18602         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18604         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18605         * README: Update for powerpc-*-linux-gnu software floating point
18606         support in libc.
18607
18608         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18609         case to powerpc/powerpc32*.
18610         * sysdeps/unix/sysv/linux/configure: Regenerated.
18611
18612         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18613         (_FPU_MASK_OM): Define as 0x04.
18614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18616         0x00c10080.
18617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18618         0x0000003c.
18619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18620
18621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18622         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18623         getcontext_e500.
18624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18625         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18626         setcontext_e500.
18627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18628         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18629         and setcontext_e500.
18630
18631 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18632
18633         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18634
18635 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18636
18637         * manual/threads.texi (Default Thread Attributes): Fix typo.
18638
18639 2013-10-04  Will Newton  <will.newton@linaro.org>
18640
18641         * malloc/Makefile: Add tst-memalign.
18642         * malloc/tst-memalign.c: New file.
18643
18644         * malloc/tst-posix_memalign.c: Add comments.
18645         (do_test): Add comments and call free on all potentially
18646         allocated pointers. Add space after cast.
18647
18648         * malloc/tst-pvalloc.c: Add comments.
18649         (do_test): Add comments and call free on all potentially
18650         allocated pointers. Remove duplicate check for NULL pointer.
18651         Add space after cast.
18652
18653         * malloc/tst-valloc.c: Add comments.
18654         (do_test): Add comments and call free on all potentially
18655         allocated pointers. Remove duplicate check for NULL pointer.
18656         Add space after cast.
18657
18658 2013-10-04  Alan Modra  <amodra@gmail.com>
18659
18660         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18661         Use stdint types in rather than __attribute__((mode())).
18662         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18663
18664 2013-10-04  Alan Modra  <amodra@gmail.com>
18665
18666         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18667         Correct handling of unaligned relocs for little-endian.
18668         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18669
18670 2013-10-04  Alan Modra  <amodra@gmail.com>
18671
18672         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18673         * configure: Regenerate.
18674         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18675         * shlib-versions: Likewise.
18676
18677 2013-10-04  Alan Modra  <amodra@gmail.com>
18678
18679         * string/tester.c (test_memrchr): Increment reported test cycle.
18680
18681 2013-10-04  Alan Modra  <amodra@gmail.com>
18682
18683         * string/test-memcpy.c (do_one_test): When reporting errors, print
18684         string address and don't overrun end of string.
18685
18686 2013-10-04  Alan Modra  <amodra@gmail.com>
18687
18688         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18689         insrdi.  Make better use of reg selection to speed exit slightly.
18690         Schedule entry path a little better.  Remove useless "are we done"
18691         checks on entry to main loop.  Handle wrapping around zero address.
18692         Correct main loop count.  Handle single left-over word from main
18693         loop inline rather than by using loop_small.  Remove extra word
18694         case in loop_small caused by wrong loop count.  Add little-endian
18695         support.
18696         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18697         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18698         cache hint.
18699         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18700         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18701         support.  Avoid rlwimi.
18702         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18703
18704 2013-10-04  Alan Modra  <amodra@gmail.com>
18705
18706         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18707         insrdi.  Formatting.
18708         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18709         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18710         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18711         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18712         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18713         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18714
18715 2013-10-04  Alan Modra  <amodra@gmail.com>
18716
18717         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18718         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18719         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18720         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18721         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18722         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18723         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18724         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18725         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18726         use of regs.  Use power7 mtocrf.  Tidy function tails.
18727
18728 2013-10-04  Alan Modra  <amodra@gmail.com>
18729
18730         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18731         Formatting.  Consistently use rXXX register defines or rN defines.
18732         Use early exit labels that avoid restoring unused non-volatile regs.
18733         Make cr field use more consistent with rWORDn compares.  Rename
18734         regs used as shift registers for unaligned loop, using rN defines
18735         for short lifetime/multiple use regs.
18736         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18737         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18738         addi 1,1,64 to pop stack frame.  Simplify return value code.
18739         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18740
18741 2013-10-04  Alan Modra  <amodra@gmail.com>
18742
18743         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18744         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18745         rather than rlwimi.
18746         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18747         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18748         little-endian support.  Correct typos.
18749         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18750         rather than rlwimi.
18751         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18752         in loop and entry code to keep "and." results.
18753         (strchr): Add little-endian support.  Comment.  Move cntlzd
18754         earlier in tail.
18755         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18756
18757 2013-10-04  Alan Modra  <amodra@gmail.com>
18758
18759         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18760         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18761         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18762         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18763
18764 2013-10-04  Alan Modra  <amodra@gmail.com>
18765
18766         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18767         (rTMP): Define as r11.
18768         (strcmp): Add little-endian support.  Optimise tail.
18769         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18770         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18771         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18772         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18773         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18774         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18775         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18776
18777 2013-10-04  Alan Modra  <amodra@gmail.com>
18778
18779         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18780         little-endian support.  Remove unnecessary "are we done" tests.
18781         Handle "s" wrapping around zero and extremely large "size".
18782         Correct main loop count.  Handle single left-over word from main
18783         loop inline rather than by using small_loop.  Correct comments.
18784         Delete "zero" tail, use "end_max" instead.
18785         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18786
18787 2013-10-04  Alan Modra  <amodra@gmail.com>
18788
18789         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18790         support.  Don't branch over align.
18791         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18792         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18793         support.  Rearrange tmp reg use to suit.  Comment.
18794         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18795
18796 2013-10-04  Alan Modra  <amodra@gmail.com>
18797
18798         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18799
18800 2013-10-04  Alan Modra  <amodra@gmail.com>
18801
18802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18803         conditional form of branch and link when obtaining pc.
18804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18805
18806 2013-10-04  Alan Modra  <amodra@gmail.com>
18807
18808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18809         HIWORD/LOWORD.
18810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18812
18813 2013-10-04  Alan Modra  <amodra@gmail.com>
18814
18815         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18816         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18817         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18818         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18819         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18820         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18821         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18822         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18823         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18824         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18825
18826 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18827             Alistair Popple <alistair@ozlabs.au.ibm.com>
18828             Alan Modra <amodra@gmail.com>
18829
18830         [BZ #15723]
18831         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18832         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18833         _dl_hwcap access for little-endian.
18834         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
18835         destroy vmx regs when saving unaligned.
18836         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18837         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
18838         destroy vmx regs when saving unaligned.
18839
18840 2013-10-04  Alan Modra  <amodra@gmail.com>
18841
18842         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18843         Don't use a union to pack hi/low value.
18844
18845 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18846
18847         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18848         for little-endian.
18849         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18850         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18851         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18852         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18853         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18854
18855 2013-10-04  Alan Modra  <amodra@gmail.com>
18856
18857         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18858         constants to usual value for .cst8 section, and remove redundant
18859         high address load.
18860         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18861         constant for 0x1p52.  Load little-endian words of double from
18862         correct stack offsets.
18863
18864 2013-10-04  Alan Modra  <amodra@gmail.com>
18865
18866         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18867         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18868         words of double from correct stack offsets.
18869         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18870         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18871         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18872         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18873         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18874         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18875         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18876         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18877         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18878         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18879         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18880         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18881         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18882         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18883         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18884         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18885         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18886
18887 2013-10-04  Alan Modra  <amodra@gmail.com>
18888
18889         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18890         64-bit int/double union.
18891         (_FPU_SETCW): Likewise.
18892         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18893         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18894
18895 2013-10-04  Alan Modra  <amodra@gmail.com>
18896
18897         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18898         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18899
18900 2013-10-04  Alan Modra  <amodra@gmail.com>
18901
18902         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18903         use vector int constants.
18904         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18905
18906 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18907
18908         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18909         array with long long.
18910         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18911         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18912         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18913         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18914         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18915         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18916         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18917         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18918         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18919         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18920         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18921         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18922         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18923
18924 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18925
18926         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18927         (__signbit): Likewise.  Correct for little-endian.
18928         (__signbitl): Call __signbit.
18929         (lrint): Correct for little-endian.
18930         (lrintf): Call lrint.
18931
18932 2013-10-04  Alan Modra  <amodra@gmail.com>
18933
18934         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18935         union 32-bit int array member with 64-bit int array.
18936         (t515, tm256): Double rather than long double.
18937         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18938
18939 2013-10-04  Alan Modra  <amodra@gmail.com>
18940
18941         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18942         Delete.
18943         (IEEE854_LONG_DOUBLE_BIAS): Delete.
18944         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18945         version of math_ldbl.h.
18946
18947 2013-10-04  Alan Modra  <amodra@gmail.com>
18948
18949         [BZ #15734], [BZ #15735]
18950         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18951         all uses of ieee875 long double macros and unions.  Simplify test
18952         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
18953         ldbl_extract_mantissa value for ix,iy exponents.  Properly
18954         normalize after ldbl_extract_mantissa, and don't add hidden bit
18955         already handled.  Don't treat low word of ieee854 mantissa like
18956         low word of IBM long double and mask off bit when testing for
18957         zero.
18958         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18959         all uses of ieee875 long double macros and unions.  Simplify tests
18960         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
18961         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
18962         two1022, instead use their values.  Recognise that tests for large
18963         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
18964         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18965         Rewrite all uses of ieee875 long double macros and unions.  Simplify
18966         test for 0.0L and nan.  Correct negation.
18967         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18968         ieee875 long double macros and unions.  Correct output for large
18969         magnitude x.  Correct absolute value calculation.
18970         (__erfcl): Likewise.
18971         * math/libm-test.inc: Add tests for errors discovered in IBM long
18972         double versions of fmodl, remainderl, erfl and erfcl.
18973
18974 2013-10-04  Alan Modra  <amodra@gmail.com>
18975
18976         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18977         all uses of ieee854 long double macros and unions.  Simplify tests
18978         for long doubles that are fully specified by the high double.
18979         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18980         Likewise.
18981         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18982         Remove dead code too.
18983         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18984         (__ieee754_ynl): Likewise.
18985         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18986         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18987         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18988         Remove dead code too.
18989         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18990         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18991         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18992         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18993         Simplify.
18994         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18995         Simplify.
18996         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18997         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18998         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18999         Comment on variable precision.
19000         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19001         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19002         Likewise.
19003         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19004         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19005         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19006         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19007         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19008
19009 2013-10-04  Alan Modra  <amodra@gmail.com>
19010
19011         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19012         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19013         all uses of ieee854 long double macros and unions.
19014         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19015         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19016         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19017         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19018         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19019         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19020         Likewise.
19021         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19022         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19023         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19024         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19025         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19026         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19027         Simplify sign and nan test too.
19028         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19029         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19030         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19031         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19032         Likewise.
19033         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19034         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19035         Likewise.
19036         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19037         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19038         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19039         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19040         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19041         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19042
19043 2013-10-04  Alan Modra  <amodra@gmail.com>
19044
19045         * stdio-common/printf_size.c (__printf_size): Don't use
19046         union ieee854_long_double in fpnum union.
19047         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
19048         signbit macro to retrieve sign from long double.
19049         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19050         retrieve sign from long double.
19051         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19052         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19053         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19054         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19055         * math/test-misc.c (main): Don't use union ieee854_long_double.
19056
19057 2013-10-04  Alan Modra  <amodra@gmail.com>
19058
19059         [BZ #15680]
19060         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19061         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19062         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19063         calculation.  Remove unnecessary test for denormal exponent.
19064         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19065         Correct handling of denormals.  Avoid undefined shift behaviour.
19066         Correct normalisation of low mantissa when low double is denormal.
19067         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19068         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
19069         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19070         Correct normalisation of low mantissa.  Test for overflow of high
19071         mantissa and normalise.
19072         (ldbl_nearbyint): Use more readable constant for two52.
19073         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19074         (__mpn_construct_long_double): Fix test for overflow of high
19075         mantissa and correct normalisation.  Avoid undefined shift.
19076
19077 2013-10-04  Alan Modra  <amodra@gmail.com>
19078
19079         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19080         (union ibm_extended_long_double): Define as an array of ieee754_double.
19081         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19082         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19083         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19084         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19085         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19086         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19087         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19088         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19089         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19090         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19091         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19092
19093 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
19094
19095         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19096         page size instead of calling getpagesize.
19097
19098         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19099         (LOCFILE_ALIGN_MASK): Likewise.
19100         (LOCFILE_ALIGN_UP): Likewise.
19101         (LOCFILE_ALIGNED_P): Likewise.
19102         * locale/programs/ld-collate.c (collate_output): Use the new
19103         macros instead of __alignof__ (int32_t).
19104         * locale/weight.h (findidx): Likewise.
19105
19106 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
19107
19108         [BZ #431]
19109         * manual/string.texi: Fix strncat and wcsncat.
19110
19111 2013-10-03  Brooks Moses  <bmoses@google.com>
19112
19113         [BZ #15915]
19114         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19115         * Makerules: ...here, and adjust associated comments.
19116
19117 2013-10-02  Will Newton  <will.newton@linaro.org>
19118
19119         * malloc/Makefile: Add tst-pvalloc.
19120         * malloc/tst-pvalloc.c: New file.
19121
19122 2013-10-02  Will Newton  <will.newton@linaro.org>
19123
19124         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19125         improve test coverage.
19126
19127 2013-10-02  Will Newton  <will.newton@linaro.org>
19128
19129         * malloc/Makefile: Add tst-posix_memalign.
19130         * malloc/tst-posix_memalign.c: New file.
19131
19132 2013-10-01  Eric Blake  <eblake@redhat.com>
19133
19134         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19135         Use __THROWNL rather than __THROW on static functions.
19136
19137 2013-09-30  Petr Machata  <pmachata@redhat.com>
19138
19139         * elf/elf.h (R_AARCH64_ABS16): New macro.
19140         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19141         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19142         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19143         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19144         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19145         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19146         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19147         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19148         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19149         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19150         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19151         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19152         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19153         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19154         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19155         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19156         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19157         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19158         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19159         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19160         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19161         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19162         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19163         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19164         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19165         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19166         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19167         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19168         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19169         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19170         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19171         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19172         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19173         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19174         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19175         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19176         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19177         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19178         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19179         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19180         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19181         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19182         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19183         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19184         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19185         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19186         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19187         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19188         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19189         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19190         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19191         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19192         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19193         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19194         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19195         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19196         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19197         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19198         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19199         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19200         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19201         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19202         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19203         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19204         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19205         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19206         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19207         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19208         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19209         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19210         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19211         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19212         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19213         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19214         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19215         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19216         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19217         (R_AARCH64_TLSDESC_LDR): Likewise.
19218         (R_AARCH64_TLSDESC_ADD): Likewise.
19219         (R_AARCH64_TLSDESC_CALL): Likewise.
19220
19221 2013-09-30  Andreas Schwab  <schwab@suse.de>
19222
19223         [BZ #15048]
19224         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19225         the nss database lookup.
19226         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19228
19229 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
19230
19231         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19232
19233 2013-09-28  P. J. McDermott  <pj@pehjota.net>
19234
19235         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19236         ${Bash-specific parameter/pattern/string} parameter expansion.
19237         * sysdeps/unix/make-syscalls.sh: Likewise.
19238
19239 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19240
19241         * sysdeps/sh/stackguard-macros.h: New file.
19242
19243 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
19244
19245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19246         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19247         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19248         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19249         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19250         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19251
19252 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19253
19254         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19255         Fix thread ID register.
19256
19257 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
19258
19259         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19260         [POSIX || UNIX98]: Require rather than permitting all symbols from
19261         <time.h>.
19262         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19263         element of struct sched_param.
19264         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19265         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19266         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19267         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19268         constant.
19269
19270 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
19271
19272         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19273         argument calculation.
19274
19275 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19276
19277         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19278         Expect macro.
19279         [POSIX] (pthread_attr_t): Do not require type.
19280         [POSIX] (pthread_cond_t): Likewise.
19281         [POSIX] (pthread_condattr_t): Likewise.
19282         [POSIX] (pthread_key_t): Likewise.
19283         [POSIX] (pthread_mutex_t): Likewise.
19284         [POSIX] (pthread_mutexattr_t): Likewise.
19285         [POSIX] (pthread_once_t): Likewise.
19286         [POSIX] (pthread_t): Likewise.
19287         [POSIX-based standards] (pthread_atfork): Expect function.
19288
19289 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19290             Richard Sandiford  <richard@codesourcery.com>
19291
19292         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19293         (swap_endianness_p): New extern variable.
19294         (set_big_endian): New inline function.
19295         (maybe_swap_uint32): Likewise.
19296         (maybe_swap_uint32_array): Likewise.
19297         (maybe_swap_uint32_obstack): Likewise.
19298         * locale/programs/locfile.c: Include <stdbool.h>.
19299         (swap_endianness_p): New variable.
19300         (add_locale_uint32): Call maybe_swap_uint32.
19301         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19302         (write_locale_data): Call maybe_swap_uint32_array.
19303         * locale/programs/ld-collate.c (obstack_int32_grow): Call
19304         maybe_swap_uint32.
19305         (obstack_int32_grow_fast): Likewise.
19306         (output_weightwc): Call maybe_swap_uint32_obstack.
19307         (collate_output): Likewise.
19308         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19309         (OPT_LITTLE_ENDIAN): Likewise.
19310         (options): Add --little-endian and --big-endian options.
19311         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19312         * locale/programs/locarchive.c: Include "locfile.h".
19313         (GET): New macro.
19314         (SET): Likewise.
19315         (INC): Likewise.
19316         (create_archive): Use the new macros to access fields of
19317         structures directly mapped from or written to locale archives.
19318         (oldlocrecentcmp): Likewise.
19319         (enlarge_archive): Likewise.
19320         (insert_name): Likewise.
19321         (add_alias): Likewise.
19322         (add_locale): Likewise.
19323         (delete_locales_from_archive): Likewise.
19324         (show_archive_content): Likewise.
19325         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
19326         locale data.
19327
19328 2013-09-24  Roland McGrath  <roland@hack.frob.com>
19329
19330         * manual/freemanuals.texi: Updated from (newly) canonical copy at
19331         http://www.gnu.org/doc/freemanuals.texi.
19332         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19333
19334 2013-09-24  Will Newton  <will.newton@linaro.org>
19335
19336         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19337         macro.
19338
19339 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
19340
19341         * locale/hashval.h (compute_hashval): Interpret bytes of key as
19342         unsigned char.
19343
19344 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
19345
19346         * manual/threads.texi (POSIX Threads): Fix a typo.
19347
19348 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19349
19350         [BZ #14547]
19351         * string/tst-strcoll-overflow.c: New test case.
19352         * string/Makefile (xtests): Add tst-strcoll-overflow.
19353         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19354         cache if string sizes may cause integer overflow.
19355
19356         [BZ #14547]
19357         * string/strcoll_l.c (coll_seq): New members rule, idx,
19358         save_idx and back_us.
19359         (get_next_seq_nocache): New function.
19360         (do_compare_nocache): New function.
19361         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19362         when malloc fails.
19363
19364 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
19365
19366         [BZ #15754]
19367         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19368         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19369         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19370
19371         [BZ #15754]
19372         * elf/Makefile (tests): Add tst-ptrguard1.
19373         (tests-static): Add tst-ptrguard1-static.
19374         (tst-ptrguard1-ARGS): Define.
19375         (tst-ptrguard1-static-ARGS): Define.
19376         * elf/tst-ptrguard1.c: New file.
19377         * elf/tst-ptrguard1-static.c: New file.
19378         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19379         * sysdeps/i386/stackguard-macros.h: Likewise.
19380         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19381         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19382         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19383         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19384         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19385         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19386
19387 2013-09-23  Hector Marco  <hecmargi@upv.es>
19388             Ismael Ripoll  <iripoll@disca.upv.es>
19389             Carlos O'Donell  <carlos@redhat.com>
19390
19391         [BZ #15754]
19392         * sysdeps/generic/stackguard-macros.h: Define
19393         __pointer_chk_guard_local and POINTER_CHK_GUARD.
19394         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19395         Define __pointer_chk_guard_local.
19396         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19397         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19398
19399 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
19400
19401         [BZ #15859]
19402         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19403
19404 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
19405
19406         * include/string.h (__ffs): Declare as hidden.
19407         * string/ffs.c (__ffs): Define as hidden.
19408         * sysdeps/i386/ffs.c (__ffs): Likewise.
19409         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19410         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19411         * sysdeps/s390/ffs.c (__ffs): Likewise.
19412         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19413
19414 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
19415
19416         * NEWS: Mention malloc probes.
19417
19418         * malloc/arena.c (new_heap): New memory_heap_new probe.
19419         (grow_heap): New memory_heap_more probe.
19420         (shrink_heap): New memory_heap_less probe.
19421         (heap_trim): New memory_heap_free probe.
19422         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19423         (systrim): New memory_sbrk_less probe.
19424         * manual/probes.texi: Document them.
19425
19426         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19427         * manual/probes.texi: Document it.
19428
19429         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19430         (__libc_realloc): Add memory_realloc_retry probe.
19431         (__libc_memalign): Add memory_memalign_retry probe.
19432         (__libc_valloc): Add memory_valloc_retry probe.
19433         (__libc_pvalloc): Add memory_pvalloc_retry probe.
19434         (__libc_calloc): Add memory_calloc_retry probe.
19435         * manual/probes.texi: Document them.
19436
19437         * malloc/arena.c (get_free_list): Add probe
19438         memory_arena_reuse_free_list.
19439         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19440         and memory_arena_reuse.
19441         (arena_get2) [!PER_THREAD]: Likewise.
19442         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19443         memory_arena_reuse_realloc.
19444         * manual/probes.texi: Document them.
19445
19446         * malloc/malloc.c (__libc_free): Add
19447         memory_mallopt_free_dyn_thresholds probe.
19448         (__libc_mallopt): Add multiple memory_mallopt probes.
19449         * manual/probes.texi: Document them.
19450
19451         * malloc/malloc.c: Include stap-probe.h.
19452         (__libc_mallopt): Add memory_mallopt probe.
19453         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19454         * manual/probes.texi: New.
19455         * manual/Makefile (chapters): Add probes.
19456         * manual/threads.texi: Set next node.
19457
19458 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
19459
19460         [BZ #15963, #13985]
19461         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19462         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19463         Add `Chinese' to `nan' entry name.
19464
19465 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19466
19467         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19468         (POLYNOMIAL): Likewise.
19469         (TAYLOR_SINCOS): Likewise.
19470         (TAYLOR_SLOW): Likewise.
19471         (__sin): Use TAYLOR_SINCOS.
19472         (__cos): Likewise.
19473         (slow): Use TAYLOR_SLOW.
19474         (sloww): Likewise.
19475         (bsloww): Likewise.
19476         (csloww): Likewise.
19477
19478 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19479
19480         * stdlib/strtod_l.c: Fix buffer overrun.
19481
19482 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19483
19484         * benchtests/Makefile (bench): Add sincos.
19485         * benchtests/bench-sincos.c: New file.
19486
19487         * math/libm-test.inc (cos_test_data): New test inputs.
19488         (sin_test_data): Likewise.
19489
19490         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19491         macro.
19492         (__sin): Use it.
19493         (__cos): Likewise.
19494         (slow1): Likewise.
19495         (slow2): Likewise.
19496         (sloww1): Likewise.
19497         (sloww2): Likewise.
19498         (bsloww1): Likewise.
19499         (bsloww2): Likewise.
19500         (cslow2): Likewise.
19501         (csloww1): Likewise.
19502         (csloww2): Likewise.
19503
19504         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19505         function.
19506         (__sin): Use it.
19507         (__cos): Likewise.
19508
19509         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19510         gotos.
19511         (__cos): Likewise.
19512
19513 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
19514
19515         * config.h.in (HAVE_MIPS_NAN2008): New macro.
19516         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19517         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19518         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19519         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19520         * elf/cache.c (print_entry): Handle the new cache flags.
19521
19522 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19523             Aldy Hernandez  <aldyh@redhat.com>
19524
19525         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19526         Change condition to [_SOFT_FLOAT].
19527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19531         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19539         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19541         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19542         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19543         declaration.
19544
19545 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19546
19547         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19548         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19549         (__longjmp): Use LOAD_GP to load saved GPRs.
19550         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19551         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19552         (__sigsetjmp): Use SAVE_GP to save GPRs.
19553
19554         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19555         Do not append -msoft-float.
19556         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19557
19558 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19559
19560         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19561
19562 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
19563
19564         [BZ #15966]
19565         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19566         (_FPU_GETCW): Use initial "__" on variable and field names but not
19567         on macro parameter name.
19568         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
19569         parentheses around reference to macro parameter.
19570
19571 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
19572
19573         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19574         prototype.
19575         (ctype_startup): Use uint32_t in cast and sizeof for
19576         ctype->charnames.
19577
19578 2013-09-11  Jia Liu  <proljc@gmail.com>
19579
19580         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19581         __daddr_t_defined.
19582         [__FreeBSD__]: Likewise.
19583
19584 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
19585
19586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19587         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19588         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19589         (strchr): Remove __strchr_sse42 ifunc selection.
19590         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19591         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19592
19593 2013-09-11  Will Newton  <will.newton@linaro.org>
19594
19595         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19596         parameter to RES. Remove hardcoded 1000 value.
19597         * benchtests/bench-skeleton.c (main): Pass RES parameter
19598         to TIMING_INIT and multiply result by 1000.
19599
19600 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19601
19602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19603
19604 2013-09-11  Andreas Schwab  <schwab@suse.de>
19605
19606         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19607         if not defined.
19608         (O_TMPFILE) [__USE_GNU]: Define.
19609         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19610         Define.
19611
19612 2013-09-11  Will Newton  <will.newton@linaro.org>
19613
19614         [BZ #15857]
19615         * malloc/malloc.c (__libc_memalign): Check the value of bytes
19616         does not overflow.
19617
19618 2013-09-11  Will Newton  <will.newton@linaro.org>
19619
19620         [BZ #15856]
19621         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19622         does not overflow.
19623
19624 2013-09-11  Will Newton  <will.newton@linaro.org>
19625
19626         [BZ #15855]
19627         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19628         does not overflow.
19629
19630 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19631
19632         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19633         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19634         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19635         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19636         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19637
19638 2013-09-10  Allan McRae  <allan@archlinux.org>
19639
19640         [BZ #15748]
19641         * manual/arith.texi (Parsing of Floats): Clarify
19642         cross-reference.
19643
19644         [BZ #15849]
19645         * manual/install.texi (Running make install): Mention
19646         --enable-pt-chown.
19647         * INSTALL: Regenerated.
19648
19649 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19650
19651         * csu/init-first.c (_init): Remove the !SHARED condition around
19652         FPU control word initialization.
19653         * elf/dl-support.c (_dl_fpu_control): New variable.
19654         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19655         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19656         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19657         * math/test-fpucw-static.c: New file.
19658         * math/test-fpucw-ieee.c: New file.
19659         * math/test-fpucw-ieee-static.c: New file.
19660         * math/Makefile (tests): Add `test-fpucw-ieee' and
19661         `$(tests-static)'.
19662         (tests-static): New variable.
19663         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19664         dependency to...
19665         [($(build-shared),yes)]
19666         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19667         ... this.
19668         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19669         New dependency.
19670
19671 2013-09-09  Allan McRae  <allan@archlinux.org>
19672
19673         [BZ #15939]
19674         * manual/string.texi (Collation Functions): Fix typo in
19675         strcoll example.
19676         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19677
19678         [BZ #15893]
19679         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19680
19681         [BZ #15892]
19682         * libio/memstream.c (open_memstream): Fix memory leak.
19683         * libio/wmemstream.c (open_wmemstream): Likewise.
19684
19685         [BZ #15895]
19686         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19687
19688 2013-09-09  Will Newton  <will.newton@linaro.org>
19689
19690         * malloc/Makefile: Add tst-realloc to tests.
19691         * malloc/tst-realloc.c: New file.
19692
19693 2013-09-09  Allan McRae  <allan@archlinux.org>
19694
19695         [BZ #15844]
19696         * COPYING: Update from GNU website to fix FSF address.
19697         * COPYING.LIB: Likewise.
19698
19699 2013-09-06  David S. Miller  <davem@davemloft.net>
19700
19701         * po/zh_TW.po: Update Chinese (traditional) translation from
19702         translation project.
19703
19704 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19705             Joseph Myers  <joseph@codesourcery.com>
19706
19707         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19708         "localeinfo.h".
19709         (obstack_chunk_alloc): New macro.
19710         (obstack_chunk_free): Likewise.
19711         (record_offset): New function.
19712         (init_locale_data): Likewise.
19713         (align_locale_data): Likewise.
19714         (add_locale_empty): Likewise.
19715         (add_locale_raw_data): Likewise.
19716         (add_locale_raw_obstack): Likewise.
19717         (add_locale_string): Likewise.
19718         (add_locale_wstring): Likewise.
19719         (add_locale_uint32): Likewise.
19720         (add_locale_uint32_array): Likewise.
19721         (add_locale_char): Likewise.
19722         (start_locale_structure): Likewise.
19723         (end_locale_structure): Likewise.
19724         (start_locale_prelude): Likewise.
19725         (end_locale_prelude): Likewise.
19726         (write_locale_data): Take locale_file structure rather than an
19727         iovec.
19728         * locale/programs/locfile.h: Include "obstack.h".
19729         (struct locale_file): Change to store locale file contents instead
19730         of header.
19731         (init_locale_data): New prototype.
19732         (align_locale_data): Likewise.
19733         (add_locale_empty): Likewise.
19734         (add_locale_raw_data): Likewise.
19735         (add_locale_raw_obstack): Likewise.
19736         (add_locale_string): Likewise.
19737         (add_locale_wstring): Likewise.
19738         (add_locale_uint32): Likewise.
19739         (add_locale_uint32_array): Likewise.
19740         (add_locale_char): Likewise.
19741         (start_locale_structure): Likewise.
19742         (end_locale_structure): Likewise.
19743         (start_locale_prelude): Likewise.
19744         (end_locale_prelude): Likewise.
19745         (write_locale_data): Update prototype.
19746         * locale/programs/3level.h (struct TABLE): Remove result field.
19747         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19748         Use new locale_file interface.
19749         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19750         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19751         * locale/programs/ld-address.c (address_output): Use new
19752         locale_file interface.
19753         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19754         NO_ADD_LOCALE.
19755         (collate_finish): Don't call collseq_table_finalize.
19756         (collate_output): Use new locale_file interface.
19757         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19758         in file.
19759         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19760         (TABLE): Move defines earlier in file.
19761         (ELEMENT): Likewise.
19762         (DEFAULT): Likewise.
19763         (wctrans_table_add): Move macro and inline function earlier in
19764         file.
19765         (struct wctype_table): Move type earlier in file.
19766         (add_locale_wctype_table): New static prototype.
19767         (struct locale_ctype_t): Use logical types instead of struct iovec
19768         pointers for members.
19769         (ctype_output): Use new locale_file interface.
19770         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19771         new locale_file interface.
19772         (allocate_arrays): Update for use of new locale_file interface.
19773         * locale/programs/ld-identification.c (identification_output): Use
19774         new locale_file interface.
19775         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19776         * locale/programs/ld-messages.c (messages_output): Likewise.
19777         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19778         * locale/programs/ld-name.c (name_output): Likewise.
19779         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19780         * locale/programs/ld-paper.c (paper_output): Likewise.
19781         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19782         * locale/programs/ld-time.c (time_output): Likewise.
19783
19784 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19785
19786         * benchtests/Makefile: Add memrchr benchmark.
19787         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19788         benchmark as memrchr.
19789         * benchtests/bench-memrchr-ifunc.c: New file.
19790         * benchtests/bench-memrchr.c: New file.
19791
19792 2013-09-06   Will Newton  <will.newton@linaro.org>
19793
19794         * benchtests/Makefile (string-bench): Add memcpy.
19795
19796 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19797             Cong Wang  <amwang@redhat.com>
19798
19799         [BZ #15850]
19800         * sysdeps/unix/sysv/linux/bits/in.h
19801         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19802         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19803         before __USE_KERNEL_IPV6_DEFS uses.
19804         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19805         IPPROTO_BEETPH.
19806         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19807         sockaddr_in6, or ipv6_mreq.
19808
19809 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19810
19811         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19812         memory access for final bytes in some large inputs.
19813         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19814
19815 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19816
19817         * string/test-memrchr.c: New file.
19818         * string/test-memrchr-ifunc.c: New file.
19819         * string/Makefile: Add new memrchr testcase.
19820
19821 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
19822
19823         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19824         fanotify_init returns EPERM.
19825
19826 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19827
19828         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19829         errors.
19830         (top level): Treat second token from macro or constant entries for
19831         allowed headers as allowed.
19832         * include/complex.h: Condition internal declarations on
19833         [!_ISOMAC].
19834         * include/fenv.h: Condition include of <stdbool.h> and internal
19835         declarations on [!_ISOMAC].
19836
19837 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
19838
19839         [BZ #15923]
19840         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19841
19842 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19843
19844         * configure.in (--enable-versioning): Remove configure option.
19845         (libc_cv_asm_symver_directive): Remove configure test.
19846         (libc_cv_ld_version_script_option): Likewise.
19847         (VERSIONING): Remove variable and AC_SUBST.
19848         (DO_VERSIONING): Remove AC_DEFINE.
19849         * configure: Regenerated.
19850         * config.h.in (DO_VERSIONING): Remove macro.
19851         * Makerules [$(versioning) = yes]: Change conditionals to
19852         [$(build-shared) = yes].
19853         * config.make.in (versioning): Remove variable.
19854         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19855         [$(build-shared) = yes].
19856         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19857         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19858         * elf/Makefile [$(versioning) = yes]: Change conditionals to
19859         [$(build-shared) = yes].
19860         * extra-lib.mk [$(versioning) = yes]: Likewise.
19861         * hurd/Makefile [$(versioning) = yes]: Likewise.
19862         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19863         [SHARED].
19864         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19865         [SHARED].
19866         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19867         [SHARED && !NO_HIDDEN].
19868         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19869         [SHARED].
19870         [SHARED && DO_VERSIONING]: Likewise..
19871         * libio/Makefile [$(versioning) = yes]: Change conditionals to
19872         [$(build-shared) = yes].
19873         * manual/install.texi (--disable-versioning): Remove
19874         documentation.
19875         * INSTALL: Regenerated.
19876         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19877         to [SHARED].
19878         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19879         [$(build-shared) = yes].
19880         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19881         * sysdeps/i386/i686/multiarch/strstr-c.c
19882         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19883         [SHARED && !NO_HIDDEN].
19884         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19885         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19886         * sysdeps/powerpc/powerpc32/dl-machine.c
19887         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19888         * sysdeps/powerpc/powerpc32/sysdep.h
19889         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19890         to [SHARED && PIC && !NO_HIDDEN].
19891         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19892         conditional to [SHARED].
19893
19894 2013-09-04   Will Newton  <will.newton@linaro.org>
19895
19896         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19897         * benchtests/bench-string.h: Include bench-timing.h instead
19898         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19899         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19900         call to HP_TIMING_DIFF_INIT.
19901         * benchtests/bench-memccpy.c: Use bench-timing.h macros
19902         instead of hp-timing.h macros.
19903         * benchtests/bench-memchr.c: Likewise.
19904         * benchtests/bench-memcmp.c: Likewise.
19905         * benchtests/bench-memcpy.c: Likewise.
19906         * benchtests/bench-memmem.c: Likewise.
19907         * benchtests/bench-memmove.c: Likewise.
19908         * benchtests/bench-memset.c: Likewise.
19909         * benchtests/bench-rawmemchr.c: Likewise.
19910         * benchtests/bench-strcasecmp.c: Likewise.
19911         * benchtests/bench-strcasestr.c: Likewise.
19912         * benchtests/bench-strcat.c: Likewise.
19913         * benchtests/bench-strchr.c: Likewise.
19914         * benchtests/bench-strcmp.c: Likewise.
19915         * benchtests/bench-strcpy.c: Likewise.
19916         * benchtests/bench-strcpy_chk.c: Likewise.
19917         * benchtests/bench-strlen.c: Likewise.
19918         * benchtests/bench-strncasecmp.c: Likewise.
19919         * benchtests/bench-strncat.c: Likewise.
19920         * benchtests/bench-strncmp.c: Likewise.
19921         * benchtests/bench-strncpy.c: Likewise.
19922         * benchtests/bench-strnlen.c: Likewise.
19923         * benchtests/bench-strpbrk.c: Likewise.
19924         * benchtests/bench-strrchr.c: Likewise.
19925         * benchtests/bench-strspn.c: Likewise.
19926         * benchtests/bench-strstr.c: Likewise.
19927
19928 2013-09-04  Will Newton  <will.newton@linaro.org>
19929
19930         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19931
19932 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
19933
19934         [BZ #15427]
19935         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19936         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19937         * math/libm-test.inc (lgamma_test_data): Add more tests.
19938         * sysdeps/i386/fpu/libm-test-ulps: Update.
19939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19940
19941 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
19942
19943         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19945         Add ifunc.
19946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19947         Add strcmp-sse2-unaligned
19948         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19949
19950 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19951
19952         * Versions.def (libc): Add GLIBC_2.19.
19953
19954 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19955
19956         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19957         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19958
19959 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
19960
19961         [BZ #14155]
19962         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19963         intermediate calculations in recurrence.
19964         (__ieee754_ynf): Likewise.
19965         * math/libm-test.inc (jn_test_data): Do not allow spurious
19966         underflow exception.  Add more tests.
19967         (yn_test_data): Add more tests.
19968         * sysdeps/i386/fpu/libm-test-ulps: Update.
19969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19970
19971 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
19972
19973         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19974
19975 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19976
19977         * csu/init-first.c: Fix then/than typos.
19978         * locale/programs/ld-collate.c: Likewise.
19979         * locale/programs/linereader.h: Likewise.
19980         * manual/charset.texi: Likewise.
19981         * manual/filesys.texi: Likewise.
19982         * manual/stdio.texi: Likewise.
19983         * manual/string.texi: Likewise.
19984         * stdlib/fmtmsg.c: Likewise.
19985         * sysdeps/i386/stpncpy.S: Likewise.
19986         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19987         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19988         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19989         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19990
19991 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19992
19993         * elf/dl-open.c: Fix typos.
19994         * iconvdata/gbbig5.c: Likewise.
19995         * iconvdata/iso-2022-jp.c: Likewise.
19996         * iconv/gconv_int.h: Likewise.
19997         * iconv/loop.c: Likewise.
19998         * nis/rpcsvc/nis.h: Likewise.
19999         * resolv/ns_name.c: Likewise.
20000         * stdio-common/vfscanf.c: Likewise.
20001         * streams/stropts.h: Likewise.
20002         * sunrpc/rpc_thread.c: Likewise.
20003         * sysdeps/i386/strpbrk.S: Likewise.
20004         * sysdeps/ieee754/k_standard.c: Likewise.
20005         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20006         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20007         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20008         * sysdeps/mach/hurd/profil.c: Likewise.
20009         * sysdeps/s390/dl-procinfo.h: Likewise.
20010         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20011         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20012         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20013         * sysdeps/x86_64/dl-trampoline.S: Likewise.
20014         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20015
20016 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
20017
20018         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20019         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20020
20021 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
20022
20023         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20024         aix specific files.
20025         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20026         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20027         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20028         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20029         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20030         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20031         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20032         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20033
20034 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20035             Roland McGrath  <roland@hack.frob.com>
20036
20037         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20038         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20039
20040 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20041
20042         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20043         __executable_start symbol instead of _start.
20044
20045 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20046
20047         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20048         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20049         Move macros to...
20050         * sysdeps/gnu/ldsodefs.h: ... this new file.
20051
20052         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20053         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20054         instead of ELFOSABI_LINUX.
20055
20056         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20057         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20058         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20059         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20060         Likewise.
20061         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20062         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20063         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20064         Likewise.
20065         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20066         (ibm_extended_long_double): Add ieee_nan member.
20067         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20068         (do_test): New function.
20069
20070         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20071         TEST_TRUNC.
20072         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20073         functions, renamed from truncdfsf_test, trunctfsf_test,
20074         trunctfdf_test.
20075         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20076         functions.
20077         (do_test): Run all these.
20078
20079 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
20080
20081         * argp/argp-help.c: Fix typos.
20082         * argp/argp-parse.c: Likewise.
20083         * debug/backtracesyms.c: Likewise.
20084         * elf/elf.h: Likewise.
20085         * malloc/malloc.c: Likewise.
20086         * nis/nis_print.c: Likewise.
20087         * resolv/res_comp.c: Likewise.
20088         * stdlib/stdlib.h: Likewise.
20089         * sunrpc/clnt_tcp.c: Likewise.
20090         * sunrpc/clnt_udp.c: Likewise.
20091         * sunrpc/clnt_unix.c: Likewise.
20092         * sysdeps/unix/bsd/ptsname.c: Likewise.
20093         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20094         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20096         Likewise.
20097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20098         Likewise.
20099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20100         Likewise.
20101         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20102
20103 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20104
20105         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20106         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20107
20108 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
20109
20110         [BZ #15897]
20111         * dlfcn/Makefile (tests): Add bug-dl-leaf.
20112         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20113         ($(objpfx)bug-dl-leaf): New rule.
20114         ($(objpfx)bug-dl-leaf.so): Likewise.
20115         ($(objpfx)bug-dl-leaf.out): Likewise.
20116         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20117         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20118         * dlfcn/bug-dl-leaf.c: New test.
20119         * dlfcn/bug-dl-leaf-lib.c: Likewise.
20120         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20121         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20122         (dlclose): Likewise.
20123         (dlmopen): Likewise.
20124
20125 2013-08-27  Roland McGrath  <roland@hack.frob.com>
20126
20127         * include/netdb.h [!_ISOMAC]:
20128         Don't include <tls.h>.
20129         (h_errno, __libc_h_errno): Move declaration and macros out of
20130         [_LIBC_REENTRANT].
20131
20132         * include/resolv.h [_RESOLV_H_]:
20133         Don't include <tls.h>.
20134         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20135         * resolv/res_libc.c: Don't include <tls.h>.
20136         (_res): Use __attribute__ ((nocommon)) in place of
20137         __attribute__ ((section (".bss"))).
20138
20139         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20140         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20141
20142         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20143
20144         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20145         only under [SIOCGIFCONF && SIOCGIFNETMASK].
20146
20147         * resolv/res_mkquery.c: Include <sys/time.h>.
20148
20149         * inet/ifreq.c: Moved to ...
20150         * sysdeps/unix/ifreq.c: ... here.
20151         * inet/ifreq.c: New file, true stub version.
20152
20153         * socket/sa_len.c: New file.
20154         * socket/Makefile (aux): Add it.
20155         * sysdeps/unix/sysv/linux/Makefile
20156         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20157         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20158         and #include <socket/sa_len.c>.
20159         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20160         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20161
20162         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20163         * bits/socket.h: ... here.
20164
20165         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20166         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20167         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20168
20169 2013-08-27  Andreas Schwab  <schwab@suse.de>
20170
20171         [BZ #15736]
20172         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20173         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20174         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20175         * string/test-strcasecmp.c (test_main): Run tests in several
20176         locales.
20177         * string/test-strncasecmp.c (test_main): Likewise.
20178
20179         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20180         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20181         to __strcasecmp_nonascii and __strncasecmp_nonascii.
20182         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20183         (__strncasecmp_ssse3) [PIC]: Likewise.
20184
20185 2013-08-26  Roland McGrath  <roland@hack.frob.com>
20186
20187         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20188
20189         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20190         instead of explicitly declaring xdecrypt.
20191         * nis/nss_nis/nis-publickey.c: Likewise.
20192
20193 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20194
20195         [BZ #15890]
20196         * nscd/aicache.c: Include res_hconf.h.
20197         (addhstaiX): Initialize res_hconf.
20198
20199 2013-08-26  Andreas Schwab  <schwab@suse.de>
20200
20201         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20202         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20203
20204 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20205
20206         * nscd/aicache.c (addhstaiX): Fix indentation.
20207
20208 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
20209
20210         * configure.ac: Quote $build_pt_chown test.
20211         * configure: Regenerated.
20212
20213 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
20214
20215         [BZ #15532]
20216         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20217         * math/s_cexpf.c (__cexpf): Likewise.
20218         * math/s_cexpl.c (__cexpl): Likewise.
20219         * math/libm-test.inc (cexp_test_data): Correct expected return
20220         value for NaN + i0.  Add another test.
20221
20222 2013-08-22  David S. Miller  <davem@davemloft.net>
20223
20224         * po/ca.po: Update Catalan translation from translation project.
20225         * po/uk.po: Add Ukrainian translations from translation project.
20226
20227 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
20228
20229         [BZ #15797]
20230         * math/s_fdim.c (__fdim): Check for infinite arguments if result
20231         is infinite, not alongside NaN test.
20232         * math/s_fdimf.c (__fdimf): Likewise.
20233         * math/s_fdiml.c (__fdiml): Likewise.
20234         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
20235         errno is unchanged.
20236
20237 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
20238
20239         * argp/argp-help.c: Fix typos.
20240         * crypt/speeds.c: Likewise.
20241         * csu/check_fds.c: Likewise.
20242         * elf/dl-load.c: Likewise.
20243         * elf/dl-open.c: Likewise.
20244         * elf/reldep3.c: Likewise.
20245         * elf/reldep.c: Likewise.
20246         * elf/sprof.c: Likewise.
20247         * iconv/iconv_charmap.c: Likewise.
20248         * iconv/skeleton.c: Likewise.
20249         * iconv/strtab.c: Likewise.
20250         * io/lockf64.c: Likewise.
20251         * libio/libioP.h: Likewise.
20252         * resolv/gai_notify.c: Likewise.
20253         * resolv/ns_name.c: Likewise.
20254         * resolv/ns_samedomain.c: Likewise.
20255         * resolv/res_send.c: Likewise.
20256         * stdlib/random.c: Likewise.
20257         * sunrpc/rpc/xdr.h: Likewise.
20258         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20259         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20260         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20261         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20262         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20263         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20264         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20265         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20266         * sysdeps/mach/hurd/check_fds.c: Likewise.
20267         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20268         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20269         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20270         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20271         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20272         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20273         * sysdeps/pthread/aio_notify.c: Likewise.
20274         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20275         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20276         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20277         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20278         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20279
20280 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20281
20282         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20283         version if bit_Slow_SSE4_2 is set.
20284         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20285         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20286
20287 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20288
20289         [BZ #15867]
20290         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20291         trampoline stack frame information.
20292         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20293         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20294         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20295         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20296         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20297         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20298         (_libc_vdso_platform_setup): Initialize the signal trampolines.
20299         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20300         sa_flags value.
20301         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20302         interrupting a syscall and set with option SA_SIGINFO.
20303
20304 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20305
20306         [BZ #15531]
20307         * math/s_cproj.c (__cproj): Only return an infinity if one part of
20308         argument is infinite.
20309         * math/s_cprojf.c (__cprojf): Likewise.
20310         * math/s_cprojl.c (__cprojl): Likewise.
20311         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20312         * math/libm-test.inc (cproj_test_data): Add more tests.
20313
20314         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20315
20316         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20317         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20318         size.  Use __ffs to determine corresponding shift.
20319
20320 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20321             Roland McGrath  <roland@hack.frob.com>
20322
20323         * Makefile (INSTALL): Remove trailing blank lines from output of
20324         makeinfo.
20325
20326 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20327
20328         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20329         Align 32 bit compat elf_greg to 8 bytes.
20330
20331 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
20332
20333         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20334
20335 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20336
20337         * string/strcoll_l.c (coll_seq): New structure.
20338         (get_next_seq_cached): New function.
20339         (get_next_seq): New function.
20340         (do_compare): New function.
20341         (STRCOLL): Use GNU style definition.  Simplify implementation
20342         by using get_next_seq, get_next_seq_cached and do_compare.
20343
20344 2013-08-16  Florian Weimer  <fweimer@redhat.com>
20345
20346         [BZ #14699]
20347         CVE-2013-4237
20348         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20349         member.
20350         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20351         member.
20352         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20353         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20354         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
20355         conditional.
20356         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20357         GETDENTS_64BIT_ALIGNED.
20358         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20359         * manual/filesys.texi (Reading/Closing Directory): Document
20360         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
20361         strongly.
20362         * manual/conf.texi (Limits for Files): Add portability note to
20363         NAME_MAX, PATH_MAX.
20364         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20365
20366 2013-08-13  Andreas Schwab  <schwab@suse.de>
20367
20368         [BZ #15749]
20369         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20370         of fabs.
20371         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20372         LDBL_MAX_EXP >= 16384]: Add tests for it.
20373
20374 2013-08-12  David S. Miller  <davem@davemloft.net>
20375
20376         * version.h (RELEASE): Set to "development".
20377         (VERSION): Set to "2.18.90".
20378         * NEWS: Add 2.19 section.
20379
20380 2013-08-03  David S. Miller  <davem@davemloft.net>
20381
20382         * po/ko.po: Update Korean translation from translation project.
20383
20384 2013-08-01  David S. Miller  <davem@davemloft.net>
20385
20386         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
20387         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20388         Bilka.
20389
20390 2013-07-30  David S. Miller  <davem@davemloft.net>
20391
20392         * po/fr.po: Update French translation from translation project.
20393
20394 2013-07-28  David S. Miller  <davem@davemloft.net>
20395
20396         * po/cs.po: Update Czech translation from translation project.
20397
20398         * po/sv.po: Update Swedish translation from translation project.
20399
20400 2013-07-27  David S. Miller  <davem@davemloft.net>
20401
20402         * po/eo.po: Update Esperanto translation from translation project.
20403
20404         * po/vi.po: Update Vietnamese translation from translation project.
20405
20406         * po/de.po: Update German translation from translation project.
20407
20408 2013-07-26  David S. Miller  <davem@davemloft.net>
20409
20410         * po/bg.po: Update Bulgarian translation from translation project.
20411
20412         * po/nl.po: Update Dutch translation from translation project.
20413         * po/pl.po: Update Polish translation from translation project.
20414         * po/ru.po: Update Russian translation from translation project.
20415
20416 2013-07-24  David S. Miller  <davem@davemloft.net>
20417
20418         * po/libc.pot: Update.
20419
20420 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20421
20422         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20423         variable page size.
20424         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20425         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20426         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20427
20428 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20429
20430         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20431
20432 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20433             Andreas Schwab  <schwab@suse.de>
20434             Roland McGrath  <roland@hack.frob.com>
20435             Joseph Myers  <joseph@codesourcery.com>
20436             Carlos O'Donell  <carlos@redhat.com>
20437
20438         [BZ #15755]
20439         * config.h.in: Define HAVE_PT_CHOWN.
20440         * config.make.in (build-pt-chown): New variable.
20441         * configure.in (--enable-pt_chown): New configure option.
20442         * configure: Regenerate.
20443         * login/Makefile: Include Makeconfig.  Build pt_chown only if
20444         build-pt-chown is enabled.
20445         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20446         pt_chown to fix pty ownership.
20447         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20448         CLOSE_ALL_FDS.
20449         * manual/install.texi (Configuring and compiling): Mention
20450         --enable-pt_chown. Add @findex for grantpt.
20451         * INSTALL: Regenerate.
20452
20453 2013-07-20  David S. Miller  <davem@davemloft.net>
20454
20455         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20456         difference between 32-bit and 64-bit.
20457
20458 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
20459
20460         [BZ #15711]
20461         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20462         Avoid system header dependency with -ffreestanding.
20463         ($(objpfx)bits/syscall%d): Likewise.
20464
20465 2013-07-13  David S. Miller  <davem@davemloft.net>
20466
20467         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20468         underflows from atanl/atan2l due to bug 15319.
20469         (casinh_test_data): Likewise.
20470
20471 2013-07-07  David S. Miller  <davem@davemloft.net>
20472
20473         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20474
20475 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
20476
20477         * sysdeps/i386/fpu/libm-test-ulps: Update.
20478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20479
20480 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20481
20482         * configure.in (--enable-lock-elision): Fix message text.
20483         * INSTALL: Regenerate.
20484         * configure: Regenerate.
20485
20486 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20487
20488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20489
20490 2013-07-03  Andreas Jaeger  <aj@suse.de>
20491
20492         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20493         define.
20494         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20495         (ptrace_peeksiginfo_args): Add.
20496         (__ptrace_peeksiginfo_flags): Add.
20497         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20498         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20499         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20500
20501 2013-07-03  Allan McRae  <allan@archlinux.org>
20502
20503         * sysdeps/i386/fpu/libm-test-ulps: Update.
20504
20505 2013-07-02  David S. Miller  <davem@davemloft.net>
20506
20507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20508
20509 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
20510
20511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20512
20513 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20514
20515         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20517
20518 2013-07-02  Andi Kleen <ak@linux.intel.com>
20519
20520         * config.h.in (ENABLE_LOCK_ELISION): Add.
20521         * configure.in (--enable-lock-elision): Add option.
20522         * manual/install.texi: Document --enable lock elision.
20523         * configure: Regenerate
20524         * INSTALL: Regenerate.
20525
20526 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
20527
20528         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20529         SSE4.2 strcasecmp for libc.a.
20530         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20531
20532 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20533
20534         [BZ #13304]
20535         * soft-fp/op-common.h (_FP_FMA): New macro.
20536         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20537         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
20538         (_FP_MUL_MEAT_1_imm): ... here.
20539         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
20540         (_FP_MUL_MEAT_1_wide): ... here.
20541         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
20542         (_FP_MUL_MEAT_1_hard): ... here.
20543         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20544         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
20545         (_FP_MUL_MEAT_2_wide): ... here.
20546         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
20547         (_FP_MUL_MEAT_2_wide_3mul): ... here.
20548         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
20549         (_FP_MUL_MEAT_2_gmp): ... here.
20550         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20551         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
20552         (_FP_MUL_MEAT_4_wide): ... here.
20553         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
20554         (_FP_MUL_MEAT_4_gmp): ... here.
20555         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20556         (_FP_WFRACBITS_DW_S): Likewise.
20557         (_FP_WFRACXBITS_DW_S): Likewise.
20558         (_FP_HIGHBIT_DW_S): Likewise.
20559         (FP_FMA_S): Likewise.
20560         (_FP_FRAC_HIGH_DW_S): Likewise.
20561         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20562         (_FP_WFRACBITS_DW_D): Likewise.
20563         (_FP_WFRACXBITS_DW_D): Likewise.
20564         (_FP_HIGHBIT_DW_D): Likewise.
20565         (FP_FMA_D): Likewise.
20566         (_FP_FRAC_HIGH_DW_D): Likewise.
20567         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20568         (_FP_WFRACBITS_DW_E): Likewise.
20569         (_FP_WFRACXBITS_DW_E): Likewise.
20570         (_FP_HIGHBIT_DW_E): Likewise.
20571         (FP_FMA_E): Likewise.
20572         (_FP_FRAC_HIGH_DW_E): Likewise.
20573         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20574         (_FP_WFRACBITS_DW_Q): Likewise.
20575         (_FP_WFRACXBITS_DW_Q): Likewise.
20576         (_FP_HIGHBIT_DW_Q): Likewise.
20577         (FP_FMA_Q): Likewise.
20578         (_FP_FRAC_HIGH_DW_Q): Likewise.
20579         * soft-fp/fmasf4.c: New file.
20580         * soft-fp/fmadf4.c: Likewise.
20581         * soft-fp/fmatf4.c: Likewise.
20582
20583 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20584
20585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20586         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20587         Silvermont.
20588         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20589         macro.
20590         (index_Slow_SSE4_2): Likewise.
20591         (index_Prefer_PMINUB_for_stringop): Likewise.
20592         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20593         bit_Slow_SSE4_2 is set.
20594         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20595         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20596
20597 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20598
20599         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20600         rtld_global._dl_hwcap2.
20601         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20602         POWER8.
20603         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20604         POWER8 feature descriptions defined in _dl_hwcap2.
20605         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20606         string handling for POWER8 feature bits.
20607         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20608         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20609         _dl_powerpc_cap_flags.
20610         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20611         * sysdeps/powerpc/rtld-global-offsets.sym
20612         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20613         _dl_hwcap2 in the rtld_global_ro structure.
20614
20615 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20616
20617         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20618         hardware capabilities in support of AT_HWCAP2.
20619         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20620         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20621         GLRO(dl_hwcap2).
20622         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20623         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20624         explicitly the unknown a_type display mechanism is used.
20625         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20626         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20627         struct member.
20628         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20629         to macro prototype for AT_HWCAP2 support.
20630         * sysdeps/i386/dl-procinfo.h: Likewise.
20631         * sysdeps/s390/dl-procinfo.h: Likewise.
20632         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20633         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20634         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20635         return -1 for unknown a_type display fallback.
20636         * sysdeps/sparc/dl-procinfo.h: Likewise.
20637         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20638         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20639
20640 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20641
20642         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20643         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20644
20645 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20646
20647         [BZ #12492]
20648         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20649         mprotect making __stack_prot writable.
20650
20651 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20652             Joseph Myers  <joseph@codesourcery.com>
20653
20654         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20655         as being properly aligned.
20656
20657 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20658
20659         * dlfcn/modstatic5.c: New file.
20660         * dlfcn/tststatic5.c: New file.
20661         * dlfcn/Makefile (tests): Add tststatic5.
20662         (tests-static): Likewise.
20663         (modules-names): Add modstatic5.
20664         (tststatic5-ENV): New variable.
20665         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20666
20667         [BZ #15022]
20668         * elf/dl-support.c (_dl_main_map): New variable.
20669         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20670         (_dl_nns, _dl_load_adds): Set to 1.
20671         (_dl_initial_searchlist): Refer to _dl_main_map.
20672         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20673         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20674         call to _dl_get_origin.
20675         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20676         around call_map.
20677         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20678         * dlfcn/modstatic3.c: New file.
20679         * dlfcn/tststatic3.c: New file.
20680         * dlfcn/tststatic4.c: New file.
20681         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20682         (tests-static): Likewise.
20683         (modules-names): Add modstatic3.
20684         (tststatic3-ENV, tststatic4-ENV): New variables.
20685         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20686         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20687
20688 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20689
20690         * configure.in (CC): Require GCC version 4.4 or later.
20691         * configure: Regenerated.
20692         * manual/install.texi (Tools for Compilation): Update GCC version
20693         requirement.
20694         * INSTALL: Regenerated.
20695
20696 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20697
20698         [BZ #15674]
20699         * string/test-memcmp.c (check2): New.
20700         (main): Call check2.
20701
20702         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20703
20704 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20705
20706         [BZ #15022]
20707         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20708         over to...
20709         (dl_open_worker) [!SHARED]: ... here.
20710
20711 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20712
20713         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20714
20715 2013-06-25  Richard Henderson  <rth@redhat.com>
20716
20717         * locale/programs/locarchive.c: Include <libc-internal.h>
20718
20719 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20720
20721         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20722         trailing whitespace removed.
20723
20724 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20725
20726         [BZ #10283]
20727         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20728         * locale/programs/locarchive.c: Include libc-mmap.h.
20729         (prepare_address_space): Take two new outputs (the mmap base and len).
20730         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20731         values.
20732         (create_archive): Declare new mmap base and len values for
20733         prepare_address_space, and store the result in ah.
20734         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20735         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20736         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20737         Declare new mmap base and len values for
20738         prepare_address_space, and store the result in new_ah.
20739         (open_archive): Declare new mmap base and len values for
20740         prepare_address_space, and store the result in ah.
20741         (close_archive): If ah->mmap_base is not NULL, use that and
20742         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20743         * sysdeps/generic/libc-mmap.h: New file.
20744
20745 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20746
20747         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20748         (ALIGN_UP): Likewise.
20749         (PTR_ALIGN_DOWN): Likewise.
20750         (PTR_ALIGN_UP): Likewise.
20751
20752 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20753
20754         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20755         entry mapped to PPC_PLATFORM_POWER8.
20756         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20757         POWER8.
20758         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20759         (_dl_string_platform): Add case for exporting platform position for
20760         POWER8.
20761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20762         search path to sysdeps/powerpc/powerpc32/power8 directory.
20763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20764         search path to sysdeps/powerpc/powerpc64/power8 directory.
20765         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20766         power7 directories.
20767         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20768         power7 directories.
20769
20770 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20771
20772         * INSTALL: Regenerate.
20773
20774         * nscd/connections.c (nscd_init): Fix comment.
20775
20776 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20777
20778         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20779
20780         [BZ #15667]
20781         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20782         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20783
20784 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20785
20786         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20787         DL_DST_REQ_STATIC.
20788         (DL_DST_REQ_STATIC): Remove macro.
20789
20790 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20791
20792         [BZ #7006]
20793         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20794         with a shift of 0 bits.
20795
20796 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20797
20798         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20799         $(tststatic-ENV).
20800
20801 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20802
20803         [BZ #15655]
20804         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20805
20806 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20807
20808         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20809         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20810         accepts -fno-tree-loop-distribute-patterns.
20811         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20812         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20813         recursive call.
20814         * string/memset.c (memset): Likewise.
20815         * string/test-memmove.c (simple_memmove): Disable loop transformation
20816         to library calls.
20817         * string/test-memset.c (simple_memset): Likewise.
20818         * benchtests/bench-memmove.c (simple_memmove): Likewise.
20819         * benchtests/bench-memset.c (simple_memset): Likewise.
20820         * configure: Regenerated.
20821
20822 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
20823
20824         * math/test-misc.c (main): Ignore fesetround failure when failures
20825         of subsequent rounding tests would be ignored.
20826
20827         [BZ #15654]
20828         * math/fedisblxcpt.c (fedisableexcept): Return 0.
20829         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20830         * math/fegetenv.c (__fegetenv): Return 0.
20831         * math/fegetexcept.c (fegetexcept): Return 0.
20832         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20833         FE_TONEAREST.
20834         * math/feholdexcpt.c (feholdexcept): Return 0.
20835         * math/fesetenv.c (__fesetenv): Return 0.
20836         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20837         argument FE_TONEAREST.
20838         * math/feupdateenv.c (__feupdateenv): Return 0.
20839         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20840
20841 2013-06-18  Roland McGrath  <roland@hack.frob.com>
20842
20843         * elf/rtld-Rules (rtld-compile-command.S): New variable.
20844         (rtld-compile-command.s, rtld-compile-command.c): New variables.
20845         ($(objpfx)rtld-%.os rules): Use them.
20846
20847 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20848
20849         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20850         fields.
20851
20852 2013-06-17  Roland McGrath  <roland@hack.frob.com>
20853
20854         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20855         length of target pattern, then descending length of dependency pattern.
20856         * configure.in (AWK): Require gawk 3.1.2 or newer.
20857         * manual/install.texi (Tools for Compilation): Say that we do.
20858         * configure: Regenerated.
20859
20860         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20861         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20862         * scripts/sysd-rules.awk: ... this new script.
20863         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20864         than a glob-style pattern.
20865
20866 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
20867
20868         * math/test-misc.c (main): Do not treat incorrectly rounded
20869         conversions as failure unless ROUNDING_TESTS passes.
20870
20871 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
20872
20873         [BZ #15631]
20874         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20875         restore exception state around main square root computation, then
20876         check for inexactness explicitly.
20877
20878         * math/libm-test.inc (fma_test_data): Add another test.
20879
20880 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20881
20882         * manual/threads.texi (Non-POSIX Extensions): New document
20883         node.  Document pthread_getattr_default_np and
20884         pthread_setattr_default_np.
20885
20886         * Versions.def (libpthread): Add GLIBC_2.18.
20887         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20889         Likewise.
20890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20891         Likewise.
20892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20893         Likewise.
20894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20895         Likewise.
20896         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20897         Likewise.
20898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20899         Likewise.
20900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20901         Likewise.
20902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20903         Likewise.
20904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20905         Likewise.
20906
20907 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20908
20909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20910         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20911
20912 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20913             H.J. Lu  <hjl.tools@gmail.com>
20914
20915         [BZ #15627]
20916         * sysdeps/x86_64/rtld-memset.c: Remove file.
20917         * sysdeps/x86_64/rtld-memset.S: New file.
20918
20919 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
20920
20921         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20922         (test_in_one_mode): Take arguments for whether the rounding mode
20923         is supported for each floating-point type.
20924         (do_test): Pass new arguments to test_in_one_mode using
20925         ROUNDING_TESTS.
20926
20927 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20928
20929         * posix/tst-waitid.c (do_test): Distinguish different instances of
20930         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
20931         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20932         before entering the kernel for waitpid.
20933
20934 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20935
20936         * NEWS: Fix note on clock function precision.  Text by Roland
20937         McGrath.
20938
20939 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20940
20941         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20942         it into place only when and if the sanity check passes.
20943
20944 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
20945
20946         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20947         output for whether conversion result is exact.  Take argument
20948         indicating whether type is IBM long double.
20949         (round_for_all): Change need_exact field to ibm_ld.
20950         * stdlib/tst-strtod-round.c (struct exactness): New type.
20951         (struct test): Change bool ld_ok field to struct exactness exact.
20952         (TEST): Update all definitions for change to field.
20953         (tests): Regenerate array contents.
20954         (test_in_one_mode): Take pointer to new field instead of old ld_ok
20955         field value.  Check for IBM long double here.
20956         (do_test): Update calls to test_in_one_mode.
20957
20958 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20959
20960         [BZ #12515]
20961         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20962         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20963
20964 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20965
20966         [BZ #15605]
20967         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20968         generated by the compiler on loop optimizations.
20969         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20970         general definitions.
20971
20972 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
20973
20974         * math/bug-nextafter.c: Include <math-tests.h>.
20975         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20976         the relevant type.
20977         * math/bug-nexttoward.c: Include <math-tests.h>.
20978         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20979         the relevant type.
20980         * math/test-misc.c: Include <math-tests.h>.
20981         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20982         the relevant type.
20983
20984 2013-06-12  Andreas Jaeger  <aj@suse.de>
20985
20986         * po/ia.po: Update Interlingua translation from translation
20987         project.
20988
20989 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20990
20991         * include/fenv.h: Include stdbool.h.
20992         (struct rm_ctx): New structure.
20993         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20994         Define macro.
20995         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20996         (SET_RESTORE_ROUNDF): Likewise.
20997         (SET_RESTORE_ROUNDL): Likewise.
20998         (SET_RESTORE_ROUND_NOEX): Likewise.
20999         (SET_RESTORE_ROUND_NOEXF): Likewise.
21000         (SET_RESTORE_ROUND_NOEXL): Likewise.
21001         (SET_RESTORE_ROUND_53BIT): Likewise.
21002         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21003         (libc_feresetround_noexf_ctx): Likewise.
21004         (libc_feresetround_noexl_ctx): Likewise.
21005         (libc_feholdsetround_53bit_ctx): Likewise.
21006         (libc_feresetround_53bit_ctx): Likewise.
21007         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21008         (libc_feholdexcept_setround_sse_ctx): New function.
21009         (libc_fesetenv_sse_ctx): Likewise.
21010         (libc_feupdateenv_sse_ctx): Likewise.
21011         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21012         (libc_feholdexcept_setround_387_ctx): Likewise.
21013         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21014         (libc_feholdsetround_387_prec_ctx): Likewise.
21015         (libc_feholdsetround_387_ctx): Likewise.
21016         (libc_feholdsetround_387_53bit_ctx): Likewise.
21017         (libc_feholdsetround_sse_ctx): Likewise.
21018         (libc_feresetround_sse_ctx): Likewise.
21019         (libc_feresetround_387_ctx): Likewise.
21020         (libc_feupdateenv_387_ctx): Likewise.
21021         (libc_feholdexcept_setroundf_ctx): Define macro.
21022         (libc_fesetenvf_ctx): Likewise.
21023         (libc_feupdateenvf_ctx): Likewise.
21024         (libc_feholdsetroundf_ctx): Likewise.
21025         (libc_feresetroundf_ctx): Likewise.
21026         (libc_feholdexcept_setround_ctx): Likewise.
21027         (libc_fesetenv_ctx): Likewise.
21028         (libc_feupdateenv_ctx): Likewise.
21029         (libc_feholdsetround_ctx): Likewise.
21030         (libc_feresetround_ctx): Likewise.
21031         (libc_feholdexcept_setroundl_ctx): Likewise.
21032         (libc_feupdateenvl_ctx): Likewise.
21033         (libc_feholdsetroundl_ctx): Likewise.
21034         (libc_feresetroundl_ctx): Likewise.
21035         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21036         (libc_feresetround_53bit_ctx): Likewise.
21037
21038 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21039
21040         * locale/iso-639.def: Convert to UTF-8.
21041
21042 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
21043
21044         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21045         (EXCEPTION_TESTS_double): Likewise.
21046         (EXCEPTION_TESTS_long_double): Likewise.
21047         (EXCEPTION_TESTS): Likewise.
21048         * math/libm-test.inc (test_exceptions): Only test exceptions if
21049         EXCEPTION_TESTS (FLOAT).
21050
21051 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21052
21053         * benchtests/Makefile (string-bench): Add strcpy_chk and
21054         stpcpy_chk.
21055         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21056         * benchtests/bench-stpcpy_chk.c: New file.
21057         * benchtests/bench-strcpy_chk-ifunc.c: New file.
21058         * benchtests/bench-strcpy_chk.c: New file.
21059         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21060         code.
21061         (do_test): Likewise.
21062
21063 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21064
21065         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21066         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21067         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21068         with tabs where appropriate.
21069         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21070         dl-procinfo.h.
21071         [PPC_PLATFORM_PPC440]: Likewise.
21072         [PPC_PLATFORM_PPC464]: Likewise.
21073         [PPC_PLATFORM_PPC476]: Likewise.
21074         (_dl_string_platform): Add support for detecting ppc405, ppc440,
21075         ppc464, and ppc476 platform strings merging from ports/
21076         dl-procinfo.h.
21077
21078 2013-06-11  Andreas Schwab  <schwab@suse.de>
21079
21080         [BZ #14991]
21081         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21082         (from_ucs4_idx): Regenerate.
21083         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21084         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21085         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21086         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21087         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21088         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21089         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21090         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21091         from FROM_LOOP and TO_LOOP specific macros.
21092         (BODY): Handle combining characters.
21093         * iconvdata/BIG5HKSCS.irreversible: Update.
21094         * iconvdata/BIG5HKSCS.precomposed: New file.
21095         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21096         characters.
21097         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21098
21099 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21100
21101         * include/sys/time.h: Fix indentation and add copyright header.
21102
21103         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21104         (do_test): Likewise.
21105         * string/test-memchr.c (do_one_test): Likewise.
21106         (do_test): Likewise.
21107         * string/test-memcmp.c (do_one_test): Likewise.
21108         (do_test): Likewise.
21109         * string/test-memcpy.c (do_one_test): Likewise.
21110         (do_test): Likewise.
21111         * string/test-memmem.c (do_one_test): Likewise.
21112         (do_test): Likewise.
21113         (do_random_tests): Likewise.
21114         * string/test-memmove.c (do_one_test): Likewise.
21115         (do_test): Likewise.
21116         * string/test-memset.c (do_one_test): Likewise.
21117         (do_test): Likewise.
21118         * string/test-rawmemchr.c (do_one_test): Likewise.
21119         (do_test): Likewise.
21120         * string/test-strcasecmp.c (do_one_test): Likewise.
21121         (do_test): Likewise.
21122         * string/test-strcasestr.c (do_one_test): Likewise.
21123         (do_test): Likewise.
21124         * string/test-strcat.c (do_one_test): Likewise.
21125         (do_test): Likewise.
21126         * string/test-strchr.c (do_one_test): Likewise.
21127         (do_test): Likewise.
21128         * string/test-strcmp.c (do_one_test): Likewise.
21129         (do_test): Likewise.
21130         * string/test-strcpy.c (do_one_test): Likewise.
21131         (do_test): Likewise.
21132         * string/test-string.h: Likewise.
21133         (test_init): Likewise.
21134         * string/test-strlen.c (do_one_test): Likewise.
21135         (do_test): Likewise.
21136         * string/test-strncasecmp.c (do_one_test): Likewise.
21137         (do_test): Likewise.
21138         * string/test-strncat.c (do_one_test): Likewise.
21139         (do_test): Likewise.
21140         * string/test-strncmp.c (do_one_test): Likewise.
21141         (do_test_limit): Likewise.
21142         (do_test): Likewise.
21143         * string/test-strncpy.c (do_one_test): Likewise.
21144         (do_test): Likewise.
21145         * string/test-strnlen.c (do_one_test): Likewise.
21146         (do_test): Likewise.
21147         * string/test-strpbrk.c (do_one_test): Likewise.
21148         (do_test): Likewise.
21149         * string/test-strrchr.c (do_one_test): Likewise.
21150         (do_test): Likewise.
21151         * string/test-strspn.c (do_one_test): Likewise.
21152         (do_test): Likewise.
21153         * string/test-strstr.c (do_one_test): Likewise.
21154         (do_test): Likewise.
21155
21156         * benchtests/Makefile (string-bench): Add string benchmarks.
21157         * benchtests/bench-bcopy-ifunc.c: New file.
21158         * benchtests/bench-bcopy.c: New file.
21159         * benchtests/bench-bzero-ifunc.c: New file.
21160         * benchtests/bench-bzero.c: New file.
21161         * benchtests/bench-memccpy-ifunc.c: New file.
21162         * benchtests/bench-memccpy.c: New file.
21163         * benchtests/bench-memchr-ifunc.c: New file.
21164         * benchtests/bench-memchr.c: New file.
21165         * benchtests/bench-memcmp-ifunc.c: New file.
21166         * benchtests/bench-memcmp.c: New file.
21167         * benchtests/bench-memmem-ifunc.c: New file.
21168         * benchtests/bench-memmem.c: New file.
21169         * benchtests/bench-memmove-ifunc.c: New file.
21170         * benchtests/bench-memmove.c: New file.
21171         * benchtests/bench-mempcpy-ifunc.c: New file.
21172         * benchtests/bench-mempcpy.c: New file.
21173         * benchtests/bench-memset-ifunc.c: New file.
21174         * benchtests/bench-memset.c: New file.
21175         * benchtests/bench-rawmemchr-ifunc.c: New file.
21176         * benchtests/bench-rawmemchr.c: New file.
21177         * benchtests/bench-stpcpy-ifunc.c: New file.
21178         * benchtests/bench-stpcpy.c: New file.
21179         * benchtests/bench-stpncpy-ifunc.c: New file.
21180         * benchtests/bench-stpncpy.c: New file.
21181         * benchtests/bench-strcasecmp-ifunc.c: New file.
21182         * benchtests/bench-strcasecmp.c: New file.
21183         * benchtests/bench-strcasestr-ifunc.c: New file.
21184         * benchtests/bench-strcasestr.c: New file.
21185         * benchtests/bench-strcat-ifunc.c: New file.
21186         * benchtests/bench-strcat.c: New file.
21187         * benchtests/bench-strchr-ifunc.c: New file.
21188         * benchtests/bench-strchr.c: New file.
21189         * benchtests/bench-strchrnul-ifunc.c: New file.
21190         * benchtests/bench-strchrnul.c: New file.
21191         * benchtests/bench-strcmp-ifunc.c: New file.
21192         * benchtests/bench-strcmp.c: New file.
21193         * benchtests/bench-strcpy-ifunc.c: New file.
21194         * benchtests/bench-strcpy.c: New file.
21195         * benchtests/bench-strcspn-ifunc.c: New file.
21196         * benchtests/bench-strcspn.c: New file.
21197         * benchtests/bench-strlen-ifunc.c: New file.
21198         * benchtests/bench-strlen.c: New file.
21199         * benchtests/bench-strncasecmp-ifunc.c: New file.
21200         * benchtests/bench-strncasecmp.c: New file.
21201         * benchtests/bench-strncat-ifunc.c: New file.
21202         * benchtests/bench-strncat.c: New file.
21203         * benchtests/bench-strncmp-ifunc.c: New file.
21204         * benchtests/bench-strncmp.c: New file.
21205         * benchtests/bench-strncpy-ifunc.c: New file.
21206         * benchtests/bench-strncpy.c: New file.
21207         * benchtests/bench-strnlen-ifunc.c: New file.
21208         * benchtests/bench-strnlen.c: New file.
21209         * benchtests/bench-strpbrk-ifunc.c: New file.
21210         * benchtests/bench-strpbrk.c: New file.
21211         * benchtests/bench-strrchr-ifunc.c: New file.
21212         * benchtests/bench-strrchr.c: New file.
21213         * benchtests/bench-strspn-ifunc.c: New file.
21214         * benchtests/bench-strspn.c: New file.
21215         * benchtests/bench-strstr-ifunc.c: New file.
21216         * benchtests/bench-strstr.c: New file.
21217
21218         * benchtests/Makefile: Disable parallel execution of targets.
21219         (string-bench): Add memcpy.
21220         (benchset): New variable to store a list of benchmark sets.
21221         (bench-func): Renamed from bench.
21222         (bench-set): New target.
21223         (bench): Depend on bench-func and bench-set.
21224         * benchtests/README: Add section on benchmark sets.
21225         * benchtests/bench-memcpy-ifunc.c: New file.
21226         * benchtests/bench-memcpy.c: New file.
21227         * benchtests/bench-string.h: New file.
21228
21229 2013-06-11  Andreas Schwab  <schwab@suse.de>
21230
21231         [BZ #15577]
21232         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21233         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21234         values in the triple.
21235         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21236         terminator in the group key.
21237
21238 2013-06-11  Andreas Jaeger  <aj@suse.de>
21239
21240         * po/zh_TW.po: Update Chinese (traditional) translation from
21241         translation project.
21242
21243 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21244
21245         * include/time.h (__clock_gettime): Add libc_hidden_proto.
21246         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21247         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
21248         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21249         (clock_getcpuclockid): Likewise.
21250         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21251         Add weak_alias and libc_hidden_def.
21252         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21253         * rt/clock_gettime.c (clock_gettime): Rename to
21254         __clock_gettime.  Add weak_alias and libc_hidden_def.
21255         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21256         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21257         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
21258         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21259         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21260         Likewise.
21261         * rt/clock_settime.c (clock_settime): Rename to
21262         __clock_settime.  Add weak_alias and libc_hidden_def.
21263         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21264
21265 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
21266
21267         * mach/err_boot.sub: Remove trailing whitespace.
21268         * mach/err_ipc.sub: Likewise.
21269         * mach/err_mach.sub: Likewise.
21270
21271         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21272         (ROUNDING_TESTS_double): Likewise.
21273         (ROUNDING_TESTS_long_double): Likewise.
21274         (ROUNDING_TESTS): Likewise.
21275         * math/libm-test.inc: Include <math-tests.h>.
21276         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21277         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21278         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21279         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21280
21281 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21282
21283         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21284         of assigning.
21285
21286 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
21287
21288         * sysdeps/gnu/errlist.awk: Do not generate space at end of
21289         otherwise empty TRANS lines.
21290         * sysdeps/gnu/errlist.c: Regenerated.
21291
21292         * catgets/gencat.c (error_print): Use (void) in function
21293         definition.
21294         * crypt/crypt_util.c (__init_des): Likewise.
21295         * crypt/speeds.c (Stop): Likewise.
21296         (main): Likewise.
21297         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21298         * inet/ruserpass.c (token): Likewise.
21299         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21300         * intl/localealias.c (extend_alias_table): Likewise.
21301         * intl/plural-exp.c (init_germanic_plural): Likewise.
21302         * libio/fcloseall.c (__fcloseall): Likewise.
21303         * libio/genops.c (_IO_flush_all): Likewise.
21304         (_IO_flush_all_linebuffered): Likewise.
21305         (_IO_cleanup): Likewise.
21306         (_IO_iter_begin): Likewise.
21307         (_IO_iter_end): Likewise.
21308         (_IO_list_lock): Likewise.
21309         (_IO_list_unlock): Likewise.
21310         (_IO_list_resetlock): Likewise.
21311         * libio/getchar.c (getchar): Likewise.
21312         * libio/getchar_u.c (getchar_unlocked): Likewise.
21313         * libio/getwchar.c (getwchar): Likewise.
21314         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21315         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21316         * login/getpt.c (__getpt): Likewise.
21317         * login/tst-utmp.c (main): Likewise.
21318         * malloc/hooks.c (__malloc_check_init): Likewise.
21319         * malloc/malloc.c (__malloc_stats): Likewise.
21320         * malloc/mtrace.c (tr_break): Likewise.
21321         (mtrace): Likewise.
21322         (muntrace): Likewise.
21323         * misc/fstab.c (endfsent): Likewise.
21324         * misc/getclktck.c (__getclktck): Likewise.
21325         * misc/getdtsz.c (__getdtablesize): Likewise.
21326         * misc/gethostid.c (gethostid): Likewise.
21327         * misc/getpagesize.c (__getpagesize): Likewise.
21328         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21329         (__get_nprocs): Likewise.
21330         (__get_phys_pages): Likewise.
21331         (__get_avphys_pages): Likewise.
21332         * misc/getttyent.c (getttyent): Likewise.
21333         (setttyent): Likewise.
21334         (endttyent): Likewise.
21335         * misc/getusershell.c (getusershell): Likewise.
21336         (endusershell): Likewise.
21337         (setusershell): Likewise.
21338         (initshells): Likewise.
21339         * misc/hsearch.c (__hdestroy): Likewise.
21340         * misc/sync.c (sync): Likewise.
21341         * misc/syslog.c (closelog_internal): Likewise.
21342         (closelog): Likewise.
21343         * misc/ttyslot.c (ttyslot): Likewise.
21344         * misc/vhangup.c (vhangup): Likewise.
21345         * posix/fork.c (__fork): Likewise.
21346         * posix/getegid.c (__getegid): Likewise.
21347         * posix/geteuid.c (__geteuid): Likewise.
21348         * posix/getgid.c (__getgid): Likewise.
21349         * posix/getpid.c (__getpid): Likewise.
21350         * posix/getppid.c (__getppid): Likewise.
21351         * posix/getuid.c (__getuid): Likewise.
21352         * posix/pause.c (pause): Likewise.
21353         * posix/setpgrp.c (setpgrp): Likewise.
21354         * posix/setsid.c (__setsid): Likewise.
21355         * posix/test-vfork.c (noop): Likewise.
21356         * resolv/gethnamaddr.c (_endhtent): Likewise.
21357         (_gethtent): Likewise.
21358         (ht_endhostent): Likewise.
21359         (gethostent): Likewise.
21360         (dns_service): Likewise.
21361         * stdlib/drand48.c (drand48): Likewise.
21362         * stdlib/lrand48.c (lrand48): Likewise.
21363         * stdlib/mrand48.c (mrand48): Likewise.
21364         * stdlib/rand.c (rand): Likewise.
21365         * stdlib/random.c (__random): Likewise.
21366         * stdlib/setenv.c (clearenv): Likewise.
21367         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21368         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21369         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21370         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21371         (__get_nprocs): Likewise.
21372         (__get_phys_pages): Likewise.
21373         (__get_avphys_pages): Likewise.
21374         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21375         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21376         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21377         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21378         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21379         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21380         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21381         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21382         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21383         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21384         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21385         * sysdeps/mach/hurd/sync.c (sync): Likewise.
21386         * sysdeps/posix/clock.c (clock): Likewise.
21387         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21388         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21389         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21390         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21391         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21392         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21393         (__get_nprocs_conf): Likewise.
21394         (__get_phys_pages): Likewise.
21395         (__get_avphys_pages): Likewise.
21396         * time/clock.c (clock): Likewise.
21397         * time/tzset.c (__tzname_max): Likewise.
21398
21399 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
21400
21401         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21402         (__bswap_32): Do not use "register".
21403         * crypt/crypt.c (_ufc_doit_r): Likewise.
21404         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21405         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21406         * gmon/gmon.c (__monstartup): Likewise.
21407         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21408         * hurd/hurdmalloc.c (more_memory): Likewise.
21409         (malloc): Likewise.
21410         (free): Likewise.
21411         (realloc): Likewise.
21412         (malloc_fork_prepare): Likewise.
21413         (malloc_fork_parent): Likewise.
21414         (malloc_fork_child): Likewise.
21415         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21416         (_svcauth_des): Likewise.
21417         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21418         * inet/inet_net.c (inet_network): Likewise.
21419         * inet/inet_netof.c (inet_netof): Likewise.
21420         * inet/rcmd.c (__validuser2_sa): Likewise.
21421         * io/fts.c (fts_open): Likewise.
21422         (fts_load): Likewise.
21423         (fts_close): Likewise.
21424         (fts_read): Likewise.
21425         (fts_children): Likewise.
21426         (fts_build): Likewise.
21427         (fts_stat): Likewise.
21428         (fts_sort): Likewise.
21429         (fts_alloc): Likewise.
21430         (fts_lfree): Likewise.
21431         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21432         (_IO_file_xsgetn): Likewise.
21433         (_IO_file_xsgetn_mmap): Likewise.
21434         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21435         (_IO_cookie_write): Likewise.
21436         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21437         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21438         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21439         * malloc/obstack.c (_obstack_begin): Likewise.
21440         (_obstack_begin_1): Likewise.
21441         (_obstack_newchunk): Likewise.
21442         (_obstack_allocated_p): Likewise.
21443         (obstack_free): Likewise.
21444         (_obstack_memory_used): Likewise.
21445         * misc/getttyent.c (getttynam): Likewise.
21446         (getttyent): Likewise.
21447         (skip): Likewise.
21448         (value): Likewise.
21449         * misc/getusershell.c (initshells): Likewise.
21450         * misc/syslog.c (__vsyslog_chk): Likewise.
21451         * misc/ttyslot.c (ttyslot): Likewise.
21452         * nis/nis_hash.c (__nis_hash): Likewise.
21453         * posix/fnmatch_loop.c (FCT): Likewise.
21454         * posix/getconf.c (print_all): Likewise.
21455         (main): Likewise.
21456         * posix/getopt.c (exchange): Likewise.
21457         * posix/glob.c (globfree): Likewise.
21458         (prefix_array): Likewise.
21459         (__glob_pattern_type): Likewise.
21460         * resolv/arpa/nameser.h (NS_GET16): Likewise.
21461         (NS_GET32): Likewise.
21462         (NS_PUT16): Likewise.
21463         (NS_PUT32): Likewise.
21464         * resolv/gethnamaddr.c (getanswer): Likewise.
21465         (gethostbyname2): Likewise.
21466         (gethostbyaddr): Likewise.
21467         (_gethtent): Likewise.
21468         (_gethtbyname2): Likewise.
21469         (_gethtbyaddr): Likewise.
21470         * resolv/ns_print.c (dst_s_get_int16): Likewise.
21471         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21472         * resolv/res_init.c (__res_vinit): Likewise.
21473         (net_mask): Likewise.
21474         * resolv/res_mkquery.c (outchar): Likewise.
21475         (PRINT): Likewise.
21476         * stdio-common/printf_fp.c (outchar): Likewise.
21477         (PRINT): Likewise.
21478         * stdio-common/printf_fphex.c (outchar): Likewise.
21479         (PRINT): Likewise.
21480         * stdio-common/printf_size.c (outchar): Likewise.
21481         (PRINT): Likewise.
21482         * stdio-common/test_rdwr.c (main): Likewise.
21483         * stdio-common/tfformat.c (matches): Likewise.
21484         * stdio-common/vfprintf.c (outchar): Likewise.
21485         (printf_unknown): Likewise.
21486         (buffered_vfprintf): Likewise.
21487         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21488         * stdio-common/xbug.c (AppendToBuffer): Likewise.
21489         (ReadFile): Likewise.
21490         * stdlib/qsort.c (SWAP): Likewise.
21491         (_quicksort): Likewise.
21492         * stdlib/setenv.c (__add_to_environ): Likewise.
21493         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21494         * stdlib/strtol_l.c (__strtol_l): Likewise.
21495         * stdlib/tst-strtod.c (main): Likewise.
21496         * stdlib/tst-strtol.c (main): Likewise.
21497         * stdlib/tst-strtoll.c (main): Likewise.
21498         * string/bits/string2.h (__strcmp_cc): Likewise.
21499         (__strcmp_cg): Likewise.
21500         (__strcspn_c1): Likewise.
21501         (__strcspn_c2): Likewise.
21502         (__strcspn_c3): Likewise.
21503         (__strspn_c1): Likewise.
21504         (__strspn_c2): Likewise.
21505         (__strspn_c3): Likewise.
21506         (__strsep_1c): Likewise.
21507         (__strsep_2c): Likewise.
21508         (__strsep_3c): Likewise.
21509         * string/memccpy.c (__memccpy): Likewise.
21510         * string/stpcpy.c (__stpcpy): Likewise.
21511         * string/strcmp.c (strcmp): Likewise.
21512         * string/strrchr.c (strrchr): Likewise.
21513         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21514         Likewise.
21515         * sysdeps/mach/hurd/getcwd.c
21516         (_hurd_canonicalize_directory_name_internal): Likewise.
21517         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21518         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21519         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21520         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21521         Likewise, in both definitions.
21522         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21523         definitions.
21524         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21525         64] (__bswap_64): Likewise.
21526         * time/test_time.c (main): Likewise.
21527         * time/tzfile.c (__tzfile_read): Likewise.
21528         (__tzfile_compute): Likewise.
21529         * time/tzset.c (__tzset_parse_tz): Likewise.
21530         (tzset_internal): Likewise.
21531         (compute_change): Likewise.
21532         * wcsmbs/wcscat.c (__wcscat): Likewise.
21533         * wcsmbs/wcschr.c (wcschr): Likewise.
21534         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21535         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21536         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21537         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21538         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21539         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21540         * wcsmbs/wmemchr.c (wmemchr): Likewise.
21541         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21542         * wcsmbs/wmemset.c (wmemset): Likewise.
21543
21544 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
21545
21546         * scripts/config.guess: Update to version 2013-05-16.
21547         * scripts/config.sub: Update to version 2013-04-24.
21548         * scripts/install-sh: Update to version 2011-11-20.07.
21549         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21550         * scripts/move-if-change: Update to version 2012-01-06 07:23.
21551
21552 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
21553
21554         * debug/fgetws_u_chk.c: Fix leading whitespaces.
21555         * elf/sln.c: Likewise.
21556         * hurd/hurd/ioctl.h: Likewise.
21557         * hurd/hurdmalloc.c: Likewise.
21558         * hurd/xattr.c: Likewise.
21559         * include/shlib-compat.h: Likewise.
21560         * inet/ruserpass.c: Likewise.
21561         * libio/iofgets_u.c: Likewise.
21562         * libio/iofgetws_u.c: Likewise.
21563         * locale/programs/ld-identification.c: Likewise.
21564         * locale/programs/ld-time.c: Likewise.
21565         * mach/msg-destroy.c: Likewise.
21566         * nss/nss_files/files-netgrp.c: Likewise.
21567         * resolv/res_data.c: Likewise.
21568         * soft-fp/op-1.h: Likewise.
21569         * soft-fp/op-2.h: Likewise.
21570         * soft-fp/op-4.h: Likewise.
21571         * soft-fp/op-common.h: Likewise.
21572         * stdio-common/printf_fphex.c: Likewise.
21573         * stdlib/strtod_l.c: Likewise.
21574         * sunrpc/rpc/clnt.h: Likewise.
21575         * sysdeps/generic/framestate.c: Likewise.
21576         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21577         * sysdeps/i386/bsd-setjmp.S: Likewise.
21578         * sysdeps/i386/__longjmp.S: Likewise.
21579         * sysdeps/i386/setjmp.S: Likewise.
21580         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21581         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21582         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21583         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21584         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21585         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21586         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21587         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21588         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21589         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21590         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21591         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21592         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21593         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21594         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21595         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21596         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21597         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21598         * sysdeps/ieee754/support.c: Likewise.
21599         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21600         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21601         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21602         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21603         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21604         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21605         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21606         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21607         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21608         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21609         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21610         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21611         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21612         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21613         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21614         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21615         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21617
21618 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
21619
21620         * posix/transbug.c: Remove executable mode.
21621
21622 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21623
21624         * crypt/speeds.c: Remove trailing whitespace.
21625         * dlfcn/default.c: Likewise.
21626         * elf/ifuncdep2.c: Likewise.
21627         * elf/ifuncmain1.c: Likewise.
21628         * elf/ifuncmain1vis.c: Likewise.
21629         * elf/testobj.h: Likewise.
21630         * elf/tst-stackguard1.c: Likewise.
21631         * gmon/sys/gmon.h: Likewise.
21632         * hurd/hurdmsg.c: Likewise.
21633         * hurd/new-fd.c: Likewise.
21634         * hurd/ports-get.c: Likewise.
21635         * iconvdata/ibm1008_420.c: Likewise.
21636         * inet/tst-getni1.c: Likewise.
21637         * inet/tst-getni2.c: Likewise.
21638         * libio/ioungetc.c: Likewise.
21639         * libio/wfiledoalloc.c: Likewise.
21640         * manual/libm-err-tab.pl: Likewise.
21641         * math/w_dremf.c: Likewise.
21642         * misc/ftruncate.c: Likewise.
21643         * posix/bug-glob2.c: Likewise.
21644         * posix/tst-pcre.c: Likewise.
21645         * posix/wait4.c: Likewise.
21646         * resolv/README: Likewise.
21647         * resolv/res_debug.h: Likewise.
21648         * resolv/tst-inet_ntop.c: Likewise.
21649         * setjmp/bug269-setjmp.c: Likewise.
21650         * soft-fp/extended.h: Likewise.
21651         * soft-fp/op-1.h: Likewise.
21652         * soft-fp/op-2.h: Likewise.
21653         * soft-fp/op-4.h: Likewise.
21654         * soft-fp/op-8.h: Likewise.
21655         * soft-fp/testit.c: Likewise.
21656         * stdio-common/bug16.c: Likewise.
21657         * stdlib/random.c: Likewise.
21658         * sunrpc/rpcsvc/rquota.x: Likewise.
21659         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21660         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21661         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21662         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21663         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21664         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21665         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21666         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21667         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21668         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21669         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21670         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21671         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21672         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21673         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21674         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21675         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21676         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21677         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21678         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21679         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21680         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21681         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21682         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21683         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21684         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21686         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21687         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21688         * sysdeps/ieee754/s_lib_version.c: Likewise.
21689         * sysdeps/mach/hurd/check_fds.c: Likewise.
21690         * sysdeps/mach/hurd/getsockname.c: Likewise.
21691         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21692         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21693         * sysdeps/powerpc/bits/link.h: Likewise.
21694         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21695         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21696         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21697         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21698         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21699         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21700         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21701         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21702         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21703         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21704         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21705         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21706         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21707         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21708         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21709         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21710         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21711         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21712         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21713         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21714         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21715         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21716         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21717         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21718         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21719         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21720         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21721         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21722         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21723         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21724         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21725         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21726         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21727         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21728         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21729         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21730         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21731         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21732         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21733         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21734         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21735         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21736         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21737         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21738         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21739         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21740         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21741         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21742         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21743         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21744         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21745         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21746         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21747         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21748         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21749         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21750         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21751         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21752         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21753         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21754         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21755         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21756         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21757         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21758         * sysdeps/powerpc/sysdep.h: Likewise.
21759         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21760         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21761         * sysdeps/sh/dl-trampoline.S: Likewise.
21762         * sysdeps/sh/memset.S: Likewise.
21763         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21764         * sysdeps/sh/strlen.S: Likewise.
21765         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21766         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21767         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21768         * sysdeps/sparc/sparc32/rem.S: Likewise.
21769         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21770         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21771         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21772         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21773         * sysdeps/sparc/sparc32/urem.S: Likewise.
21774         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21775         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21776         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21777         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21778         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21779         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21780         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21781         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21782         * sysdeps/unix/bsd/times.c: Likewise.
21783         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21784         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21788         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21789         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21790         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21791         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21792         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21793         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21794         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21795         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21796         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21797         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21798         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21799         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21800         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21801         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21802         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21803         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21804         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21805         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21806         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21807         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21808         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21809         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21810         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21811         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21812         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21813         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21814         * sysdeps/x86_64/strcspn.S: Likewise.
21815
21816 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21817
21818         * locale/C-translit.h: Revert #include <stdint.h> because this is a
21819         generated file.  Regenerate properly from gen-translit.pl.
21820         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
21821         locale/C-translit.h.
21822
21823 2013-06-05  Andreas Schwab  <schwab@suse.de>
21824
21825         [BZ #15100]
21826         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21827         week as 6 instead of -1.
21828         * time/tst-strptime.c (day_tests): Add test case.
21829
21830 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21831
21832         * sysdeps/generic/math_private.h
21833         (libc_feholdexcept_setround_53bit): Replace with
21834         libc_feholdsetround_53bit.
21835         (libc_feupdateenv_53bit): Replace with
21836         libc_feresetround_53bit.
21837         (SET_RESTORE_ROUND_53BIT): Adjust.
21838
21839 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21840
21841         * string/test-strchrnul.c: Add copyright header.
21842
21843         * posix/tst-getaddrinfo4.c: Increase test timeout.
21844
21845 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
21846
21847         [BZ #15536]
21848         * math/libm-test.inc (MAX_EXP): Remove
21849         (MIN_EXP): Define.
21850         (ulp): Use MIN_EXP - MANT_DIG.
21851         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21852
21853 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
21854
21855         * po/be.po: Revert last change.
21856         * po/zh_CN.po: Likewise.
21857         * po/header.pot: Likewise.
21858
21859 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
21860
21861         * Makefile ($(common-objpfx)linkobj/libc.so): Define
21862         link-libc-deps to empty as target-specific variable.
21863         * Makerules (link-libc-args): New variable.
21864         (libc-for-link): Likewise.
21865         (link-libc-deps): Likewise.
21866         (lib%.so): Depend on $(link-libc-deps).  Link with
21867         $(link-libc-args).
21868         (build-module): Link with $(link-libc-args).
21869         (build-module-asneeded): Likewise.
21870         (build-module-helper-objlist): Filter out $(link-libc-deps) from
21871         list of objects.
21872         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21873         target-specific variable.
21874         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21875         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21876         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21877         libc.
21878         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21879         libc and ld.so.
21880         ($(objpfx)libpcprofile.so): Likewise.
21881         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21882         libc_nonshared.a.
21883         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21884         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21885         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21886         $(link-libc-deps).
21887         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21888         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21889         * login/Makefile ($(objpfx)libutil.so): Likewise.
21890         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21891         * math/Makefile ($(objpfx)libm.so): Likewise.
21892         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21893         $(objpfx)libnsl.so): Define libc-for-link as target-specific
21894         variable instead of depending directly on libc.
21895         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21896         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21897         $(link-libc-deps).
21898         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21899         libc.
21900         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21901         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21902         ($(objpfx)libanl.so): Likewise.
21903         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21904         ld.so.
21905         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21906         $(link-libc-deps).
21907         * sysdeps/i386/fpu/Makefile: Remove file.
21908         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21909         ($(objpfx)libm.so): Remove dependency on ld.so.
21910
21911 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
21912
21913         [BZ # 15553]
21914         * nis/yp_xdr.c (XDRMAXNAME): Define.
21915         (XDRMAXRECORD): Define.
21916         (xdr_domainname): Use XDRMAXNAME.
21917         (xdr_mapname): Likewise.
21918         (xdr_peername): Likewise.
21919         (xdr_keydat): Use XDRMAXRECORD.
21920         (xdr_valdat): Likewise.
21921
21922 2013-05-30  Jeff Law  <law@redhat.com>
21923
21924         [BZ #14256]
21925         * manual/errno.texi (ESTALE): Update to account for more than
21926         just NFS file systems.
21927         * sysdeps/gnu/errlist.c: Regenerated.
21928
21929 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21930
21931         [BZ #15465]
21932         * elf/Makefile (tests): Add tst-null-argv.
21933         (modules-names):  Add tst-null-argv-lib.
21934         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21935         (tst-null-argv-ENV): Set environment for tst-null-argv.
21936         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21937         (RTLD_PROGNAME): New macro.
21938         * elf/tst-null-argv.c: New test case.
21939         * elf/tst-null-argv-lib.c: Library for test case.
21940         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21941         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21942         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21943         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21944         * elf/dl-init.c (call_init): Likewise.
21945         (_dl_init): Likewise.
21946         * elf/dl-load.c (print_search_path): Likewise.
21947         (_dl_map_object): Likewise.
21948         * elf/dl-lookup.c (do_lookup_x): Likewise.
21949         (add_dependency): Likewise.
21950         (_dl_lookup_symbol_x): Likewise.
21951         (_dl_debug_bindings): Likewise.
21952         * elf/dl-open.c (_dl_show_scope): Likewise.
21953         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21954         * elf/dl-version.c (match_symbol): Likewise.
21955         (_dl_check_map_versions): Likewise.
21956         * elf/rtld.c (dl_main): Likewise.
21957         (print_unresolved): Use RTLD_PROGNAME.
21958         (print_missing_version): Likewise.
21959         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21960         (elf_machine_rela): Likewise.
21961         * sysdeps/powerpc/powerpc32/dl-machine.c
21962         (__process_machine_rela): Likewise.
21963         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21964         Likewise.
21965         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21966         Likewise.
21967         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21968         Likewise.
21969         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21970         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21971         Likewise.
21972         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21973         Likewise.
21974         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21975
21976 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
21977
21978         * po/be.po: Add descriptive title.
21979         * po/zh_CN.po: Likewise.
21980         * po/header.pot: Likewise.
21981
21982 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
21983
21984         * locale/programs/locarchive.c (create_archive): Inlucde fname in
21985         error message.
21986         (enlarge_archive): Likewise.
21987
21988 2013-05-28  Ben North  <ben@redfrontdoor.org>
21989
21990         * manual/arith.texi (frexp): It is the magnitude of the return
21991         value which lies in [0.5, 1), not the return value itself.
21992
21993 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21994
21995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21996
21997 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
21998
21999         * stdio-common/bug26.c (main): Correct fscanf template.
22000
22001         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22002         declare _dl_skip_args.
22003
22004         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22005         Don't declare.
22006
22007         * manual/platform.texi: Add missing @end deftypefun.
22008
22009 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22010
22011         [BZ #15529]
22012         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22013         bit of mantissa of 2^16382.
22014         * math/libm-test.inc (hypot_test_data): Add more tests.
22015
22016         * math/libm-test.inc: Add drem and pow10 to list of tested
22017         functions.
22018         (pow10_test): New function.
22019         (drem_test): Likewise.
22020         (drem_test_tonearest): Likewise.
22021         (drem_test_towardzero): Likewise.
22022         (drem_test_downward): Likewise.
22023         (drem_test_upward): Likewise.
22024         (main): Call the new functions.
22025
22026         * math/libm-test.inc (finite_test_data): Remove.
22027         (finite_test): Run tests from isfinite_test_data.
22028         (gamma_test_data): Remove.
22029         (gamma_test): Run tests from lgamma_test_data.
22030         * sysdeps/i386/fpu/libm-test-ulps: Update.
22031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22032
22033 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22034
22035         * manual/platform.texi: Add PowerPC PPR function set documentation.
22036         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22037         implementation.
22038
22039 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
22040
22041         * math/libm-test.inc (MAX_EXP): Define.
22042         (ULPDIFF): Define.
22043         (ulp): New function.
22044         (check_float_internal): Use ULPDIFF.
22045         (cpow_test): Disable failing test.
22046         (check_ulp): Test ulp() implemetnation.
22047         (main): Call check_ulp before starting tests.
22048
22049 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22050
22051         * math/gen-libm-test.pl (generate_testfile): Do not handle
22052         START_DATA and END_DATA.
22053         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22054         END_DATA.
22055         (acos_tonearest_test_data): Likewise.
22056         (acos_towardzero_test_data): Likewise.
22057         (acos_downward_test_data): Likewise.
22058         (acos_upward_test_data): Likewise.
22059         (acosh_test_data): Likewise.
22060         (asin_test_data): Likewise.
22061         (asin_tonearest_test_data): Likewise.
22062         (asin_towardzero_test_data): Likewise.
22063         (asin_downward_test_data): Likewise.
22064         (asin_upward_test_data): Likewise.
22065         (asinh_test_data): Likewise.
22066         (atan_test_data): Likewise.
22067         (atanh_test_data): Likewise.
22068         (atan2_test_data): Likewise.
22069         (cabs_test_data): Likewise.
22070         (cacos_test_data): Likewise.
22071         (cacosh_test_data): Likewise.
22072         (carg_test_data): Likewise.
22073         (casin_test_data): Likewise.
22074         (casinh_test_data): Likewise.
22075         (catan_test_data): Likewise.
22076         (catanh_test_data): Likewise.
22077         (cbrt_test_data): Likewise.
22078         (ccos_test_data): Likewise.
22079         (ccosh_test_data): Likewise.
22080         (ceil_test_data): Likewise.
22081         (cexp_test_data): Likewise.
22082         (cimag_test_data): Likewise.
22083         (clog_test_data): Likewise.
22084         (clog10_test_data): Likewise.
22085         (conj_test_data): Likewise.
22086         (copysign_test_data): Likewise.
22087         (cos_test_data): Likewise.
22088         (cos_tonearest_test_data): Likewise.
22089         (cos_towardzero_test_data): Likewise.
22090         (cos_downward_test_data): Likewise.
22091         (cos_upward_test_data): Likewise.
22092         (cosh_test_data): Likewise.
22093         (cosh_tonearest_test_data): Likewise.
22094         (cosh_towardzero_test_data): Likewise.
22095         (cosh_downward_test_data): Likewise.
22096         (cosh_upward_test_data): Likewise.
22097         (cpow_test_data): Likewise.
22098         (cproj_test_data): Likewise.
22099         (creal_test_data): Likewise.
22100         (csin_test_data): Likewise.
22101         (csinh_test_data): Likewise.
22102         (csqrt_test_data): Likewise.
22103         (ctan_test_data): Likewise.
22104         (ctan_tonearest_test_data): Likewise.
22105         (ctan_towardzero_test_data): Likewise.
22106         (ctan_downward_test_data): Likewise.
22107         (ctan_upward_test_data): Likewise.
22108         (ctanh_test_data): Likewise.
22109         (ctanh_tonearest_test_data): Likewise.
22110         (ctanh_towardzero_test_data): Likewise.
22111         (ctanh_downward_test_data): Likewise.
22112         (ctanh_upward_test_data): Likewise.
22113         (erf_test_data): Likewise.
22114         (erfc_test_data): Likewise.
22115         (exp_test_data): Likewise.
22116         (exp_tonearest_test_data): Likewise.
22117         (exp_towardzero_test_data): Likewise.
22118         (exp_downward_test_data): Likewise.
22119         (exp_upward_test_data): Likewise.
22120         (exp10_test_data): Likewise.
22121         (exp2_test_data): Likewise.
22122         (expm1_test_data): Likewise.
22123         (fabs_test_data): Likewise.
22124         (fdim_test_data): Likewise.
22125         (finite_test_data): Likewise.
22126         (floor_test_data): Likewise.
22127         (fma_test_data): Likewise.
22128         (fma_towardzero_test_data): Likewise.
22129         (fma_downward_test_data): Likewise.
22130         (fma_upward_test_data): Likewise.
22131         (fmax_test_data): Likewise.
22132         (fmin_test_data): Likewise.
22133         (fmod_test_data): Likewise.
22134         (fpclassify_test_data): Likewise.
22135         (frexp_test_data): Likewise.
22136         (gamma_test_data): Likewise.
22137         (hypot_test_data): Likewise.
22138         (ilogb_test_data): Likewise.
22139         (isfinite_test_data): Likewise.
22140         (isgreater_test_data): Likewise.
22141         (isgreaterequal_test_data): Likewise.
22142         (isinf_test_data): Likewise.
22143         (isless_test_data): Likewise.
22144         (islessequal_test_data): Likewise.
22145         (islessgreater_test_data): Likewise.
22146         (isnan_test_data): Likewise.
22147         (isnormal_test_data): Likewise.
22148         (issignaling_test_data): Likewise.
22149         (isunordered_test_data): Likewise.
22150         (j0_test_data): Likewise.
22151         (j1_test_data): Likewise.
22152         (jn_test_data): Likewise.
22153         (ldexp_test_data): Likewise.
22154         (lgamma_test_data): Likewise.
22155         (lrint_test_data): Likewise.
22156         (lrint_tonearest_test_data): Likewise.
22157         (lrint_towardzero_test_data): Likewise.
22158         (lrint_downward_test_data): Likewise.
22159         (lrint_upward_test_data): Likewise.
22160         (llrint_test_data): Likewise.
22161         (llrint_tonearest_test_data): Likewise.
22162         (llrint_towardzero_test_data): Likewise.
22163         (llrint_downward_test_data): Likewise.
22164         (llrint_upward_test_data): Likewise.
22165         (log_test_data): Likewise.
22166         (log10_test_data): Likewise.
22167         (log1p_test_data): Likewise.
22168         (log2_test_data): Likewise.
22169         (logb_test_data): Likewise.
22170         (logb_downward_test_data): Likewise.
22171         (lround_test_data): Likewise.
22172         (llround_test_data): Likewise.
22173         (modf_test_data): Likewise.
22174         (nearbyint_test_data): Likewise.
22175         (nextafter_test_data): Likewise.
22176         (nexttoward_test_data): Likewise.
22177         (pow_test_data): Likewise.
22178         (pow_tonearest_test_data): Likewise.
22179         (pow_towardzero_test_data): Likewise.
22180         (pow_downward_test_data): Likewise.
22181         (pow_upward_test_data): Likewise.
22182         (remainder_test_data): Likewise.
22183         (remainder_tonearest_test_data): Likewise.
22184         (remainder_towardzero_test_data): Likewise.
22185         (remainder_downward_test_data): Likewise.
22186         (remainder_upward_test_data): Likewise.
22187         (remquo_test_data): Likewise.
22188         (rint_test_data): Likewise.
22189         (rint_tonearest_test_data): Likewise.
22190         (rint_towardzero_test_data): Likewise.
22191         (rint_downward_test_data): Likewise.
22192         (rint_upward_test_data): Likewise.
22193         (round_test_data): Likewise.
22194         (scalb_test_data): Likewise.
22195         (scalbn_test_data): Likewise.
22196         (scalbln_test_data): Likewise.
22197         (signbit_test_data): Likewise.
22198         (sin_test_data): Likewise.
22199         (sin_tonearest_test_data): Likewise.
22200         (sin_towardzero_test_data): Likewise.
22201         (sin_downward_test_data): Likewise.
22202         (sin_upward_test_data): Likewise.
22203         (sincos_test_data): Likewise.
22204         (sinh_test_data): Likewise.
22205         (sinh_tonearest_test_data): Likewise.
22206         (sinh_towardzero_test_data): Likewise.
22207         (sinh_downward_test_data): Likewise.
22208         (sinh_upward_test_data): Likewise.
22209         (sqrt_test_data): Likewise.
22210         (tan_test_data): Likewise.
22211         (tan_tonearest_test_data): Likewise.
22212         (tan_towardzero_test_data): Likewise.
22213         (tan_downward_test_data): Likewise.
22214         (tan_upward_test_data): Likewise.
22215         (tanh_test_data): Likewise.
22216         (tgamma_test_data): Likewise.
22217         (trunc_test_data): Likewise.
22218         (y0_test_data): Likewise.
22219         (y1_test_data): Likewise.
22220         (yn_test_data): Likewise.
22221         (significand_test_data): Likewise.
22222
22223         * math/gen-libm-test.pl (@functions): Remove variable.
22224         (generate_testfile): Don't handle START and END lines.
22225         * math/libm-test.inc (START): New macro.
22226         (END): Likewise.
22227         (END_COMPLEX): Likewise.
22228         (acos_test): Use END macro without arguments.
22229         (acos_test_tonearest): Likewise.
22230         (acos_test_towardzero): Likewise.
22231         (acos_test_downward): Likewise.
22232         (acos_test_upward): Likewise.
22233         (acosh_test): Likewise.
22234         (asin_test): Likewise.
22235         (asin_test_tonearest): Likewise.
22236         (asin_test_towardzero): Likewise.
22237         (asin_test_downward): Likewise.
22238         (asin_test_upward): Likewise.
22239         (asinh_test): Likewise.
22240         (atan_test): Likewise.
22241         (atanh_test): Likewise.
22242         (atan2_test): Likewise.
22243         (cabs_test): Likewise.
22244         (cacos_test): Use END_COMPLEX macro without arguments.
22245         (cacosh_test): Likewise.
22246         (carg_test): Use END macro without arguments.
22247         (casin_test): Use END_COMPLEX macro without arguments.
22248         (casinh_test): Likewise.
22249         (catan_test): Likewise.
22250         (catanh_test): Likewise.
22251         (cbrt_test): Use END macro without arguments.
22252         (ccos_test): Use END_COMPLEX macro without arguments.
22253         (ccosh_test): Likewise.
22254         (ceil_test): Use END macro without arguments.
22255         (cexp_test): Use END_COMPLEX macro without arguments.
22256         (cimag_test): Use END macro without arguments.
22257         (clog_test): Use END_COMPLEX macro without arguments.
22258         (clog10_test): Likewise.
22259         (conj_test): Likewise.
22260         (copysign_test): Use END macro without arguments.
22261         (cos_test): Likewise.
22262         (cos_test_tonearest): Likewise.
22263         (cos_test_towardzero): Likewise.
22264         (cos_test_downward): Likewise.
22265         (cos_test_upward): Likewise.
22266         (cosh_test): Likewise.
22267         (cosh_test_tonearest): Likewise.
22268         (cosh_test_towardzero): Likewise.
22269         (cosh_test_downward): Likewise.
22270         (cosh_test_upward): Likewise.
22271         (cpow_test): Use END_COMPLEX macro without arguments.
22272         (cproj_test): Likewise.
22273         (creal_test): Use END macro without arguments.
22274         (csin_test): Use END_COMPLEX macro without arguments.
22275         (csinh_test): Likewise.
22276         (csqrt_test): Likewise.
22277         (ctan_test): Likewise.
22278         (ctan_test_tonearest): Likewise.
22279         (ctan_test_towardzero): Likewise.
22280         (ctan_test_downward): Likewise.
22281         (ctan_test_upward): Likewise.
22282         (ctanh_test): Likewise.
22283         (ctanh_test_tonearest): Likewise.
22284         (ctanh_test_towardzero): Likewise.
22285         (ctanh_test_downward): Likewise.
22286         (ctanh_test_upward): Likewise.
22287         (erf_test): Use END macro without arguments.
22288         (erfc_test): Likewise.
22289         (exp_test): Likewise.
22290         (exp_test_tonearest): Likewise.
22291         (exp_test_towardzero): Likewise.
22292         (exp_test_downward): Likewise.
22293         (exp_test_upward): Likewise.
22294         (exp10_test): Likewise.
22295         (exp2_test): Likewise.
22296         (expm1_test): Likewise.
22297         (fabs_test): Likewise.
22298         (fdim_test): Likewise.
22299         (finite_test): Likewise.
22300         (floor_test): Likewise.
22301         (fma_test): Likewise.
22302         (fma_test_towardzero): Likewise.
22303         (fma_test_downward): Likewise.
22304         (fma_test_upward): Likewise.
22305         (fmax_test): Likewise.
22306         (fmin_test): Likewise.
22307         (fmod_test): Likewise.
22308         (fpclassify_test): Likewise.
22309         (frexp_test): Likewise.
22310         (gamma_test): Likewise.
22311         (hypot_test): Likewise.
22312         (ilogb_test): Likewise.
22313         (isfinite_test): Likewise.
22314         (isgreater_test): Likewise.
22315         (isgreaterequal_test): Likewise.
22316         (isinf_test): Likewise.
22317         (isless_test): Likewise.
22318         (islessequal_test): Likewise.
22319         (islessgreater_test): Likewise.
22320         (isnan_test): Likewise.
22321         (isnormal_test): Likewise.
22322         (issignaling_test): Likewise.
22323         (isunordered_test): Likewise.
22324         (j0_test): Likewise.
22325         (j1_test): Likewise.
22326         (jn_test): Likewise.
22327         (ldexp_test): Likewise.
22328         (lgamma_test): Likewise.
22329         (lrint_test): Likewise.
22330         (lrint_test_tonearest): Likewise.
22331         (lrint_test_towardzero): Likewise.
22332         (lrint_test_downward): Likewise.
22333         (lrint_test_upward): Likewise.
22334         (llrint_test): Likewise.
22335         (llrint_test_tonearest): Likewise.
22336         (llrint_test_towardzero): Likewise.
22337         (llrint_test_downward): Likewise.
22338         (llrint_test_upward): Likewise.
22339         (log_test): Likewise.
22340         (log10_test): Likewise.
22341         (log1p_test): Likewise.
22342         (log2_test): Likewise.
22343         (logb_test): Likewise.
22344         (logb_test_downward): Likewise.
22345         (lround_test): Likewise.
22346         (llround_test): Likewise.
22347         (modf_test): Likewise.
22348         (nearbyint_test): Likewise.
22349         (nextafter_test): Likewise.
22350         (nexttoward_test): Likewise.
22351         (pow_test): Likewise.
22352         (pow_test_tonearest): Likewise.
22353         (pow_test_towardzero): Likewise.
22354         (pow_test_downward): Likewise.
22355         (pow_test_upward): Likewise.
22356         (remainder_test): Likewise.
22357         (remainder_test_tonearest): Likewise.
22358         (remainder_test_towardzero): Likewise.
22359         (remainder_test_downward): Likewise.
22360         (remainder_test_upward): Likewise.
22361         (remquo_test): Likewise.
22362         (rint_test): Likewise.
22363         (rint_test_tonearest): Likewise.
22364         (rint_test_towardzero): Likewise.
22365         (rint_test_downward): Likewise.
22366         (rint_test_upward): Likewise.
22367         (round_test): Likewise.
22368         (scalb_test): Likewise.
22369         (scalbn_test): Likewise.
22370         (scalbln_test): Likewise.
22371         (signbit_test): Likewise.
22372         (sin_test): Likewise.
22373         (sin_test_tonearest): Likewise.
22374         (sin_test_towardzero): Likewise.
22375         (sin_test_downward): Likewise.
22376         (sin_test_upward): Likewise.
22377         (sincos_test): Likewise.
22378         (sinh_test): Likewise.
22379         (sinh_test_tonearest): Likewise.
22380         (sinh_test_towardzero): Likewise.
22381         (sinh_test_downward): Likewise.
22382         (sinh_test_upward): Likewise.
22383         (sqrt_test): Likewise.
22384         (tan_test): Likewise.
22385         (tan_test_tonearest): Likewise.
22386         (tan_test_towardzero): Likewise.
22387         (tan_test_downward): Likewise.
22388         (tan_test_upward): Likewise.
22389         (tanh_test): Likewise.
22390         (tgamma_test): Likewise.
22391         (trunc_test): Likewise.
22392         (y0_test): Likewise.
22393         (y1_test): Likewise.
22394         (yn_test): Likewise.
22395         (significand_test): Likewise.
22396
22397 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
22398
22399         [BZ #15381]
22400         * libio/genops.c (_IO_no_init): Initialize wide struct info.
22401
22402 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22403
22404         [BZ #14894]
22405         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22406         __ppc_mdoio and __ppc_mdoom.
22407         * manual/platform.texi: Document new functions __ppc_yield,
22408         __ppc_mdoio and __ppc_mdoom.
22409
22410 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
22411
22412         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22413         (main): Mention "tls" pseudo-hwcap is legacy.
22414         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22415
22416 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22417
22418         * math/gen-libm-test.pl (parse_args): Output only string of
22419         arguments as text for test name, not full call or descriptions of
22420         tests for extra outputs.
22421         (generate_testfile): Do not pass function name to parse_args.
22422         Generate this_func variable from START.
22423         * math/libm-test.inc (struct test_f_f_data): Rename test_name
22424         field to arg_str.
22425         (struct test_ff_f_data): Likewise.
22426         (test_ff_f_data_nexttoward): Likewise.
22427         (struct test_fi_f_data): Likewise.
22428         (struct test_fl_f_data): Likewise.
22429         (struct test_if_f_data): Likewise.
22430         (struct test_fff_f_data): Likewise.
22431         (struct test_c_f_data): Likewise.
22432         (struct test_f_f1_data): Likewise.  Remove field extra_name.
22433         (struct test_fF_f1_data): Likewise.
22434         (struct test_ffI_f1_data): Likewise.
22435         (struct test_c_c_data): Rename test_name field to arg_str.
22436         (struct test_cc_c_data): Likewise.
22437         (struct test_f_i_data): Likewise.
22438         (struct test_ff_i_data): Likewise.
22439         (struct test_f_l_data): Likewise.
22440         (struct test_f_L_data): Likewise.
22441         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
22442         and extra2_name.
22443         (COMMON_TEST_SETUP): New macro.
22444         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22445         (COMMON_TEST_CLEANUP): Likewise.
22446         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22447         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
22448         macros.
22449         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22450         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
22451         macros.
22452         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22453         (RUN_TEST_fff_f): Take argument string.  Call new setup and
22454         cleanup macros.
22455         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22456         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
22457         macros.
22458         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22459         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
22460         macros.
22461         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22462         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
22463         cleanup macros.
22464         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22465         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
22466         cleanup macros.
22467         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22468         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
22469         cleanup macros.
22470         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22471         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
22472         macros.
22473         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22474         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
22475         macros.
22476         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22477         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
22478         macros.
22479         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22480         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
22481         cleanup macros.
22482         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22483         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
22484         cleanup macros.
22485         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22486         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
22487         macros.
22488         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22489         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
22490         cleanup macros.
22491         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22492         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
22493         macros.
22494         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22495         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
22496         macros.
22497         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22498         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
22499         cleanup macros.
22500         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22501
22502 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
22503
22504         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22505         to _sifields.sigfault.
22506         (si_addr_lsb): Define new macro.
22507         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22508         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22509         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22510
22511 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
22512
22513         [BZ #15441]
22514         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22515         returns -1.
22516         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22517         null return -1.
22518         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22519         loading the domain.
22520
22521 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22522
22523         * math/gen-libm-test.pl (parse_args): Do not include expected
22524         result in test name.
22525         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22526         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22527         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22528         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22529         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22531
22532 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22533
22534         * benchtests/Makefile: Sort function entries.
22535
22536         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22537         tanh, asinh, acosh, atanh.
22538         * benchtests/acos-inputs: New file.
22539         * benchtests/acosh-inputs: New file.
22540         * benchtests/asin-inputs: New file.
22541         * benchtests/asinh-inputs: New file.
22542         * benchtests/atanh-inputs: New file.
22543         * benchtests/cosh-inputs: New file.
22544         * benchtests/log-inputs: New file.
22545         * benchtests/sinh-inputs: New file.
22546         * benchtests/tanh-inputs: New file.
22547
22548 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
22549
22550         [BZ #15339]
22551         * posix/tst-getaddrinfo4.c: New test.
22552         * posix/Makefile (tests): Add it.
22553
22554 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22555
22556         [BZ #15339]
22557         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22558         when no services were used.
22559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22560         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22561
22562 2013-05-21  Andreas Schwab  <schwab@suse.de>
22563
22564         [BZ #15014]
22565         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22566         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22567         successful.
22568         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22569         redundant variable declarations and reallocation of buffer when
22570         parsing as IPv6 address.  Always set NSS status when called from
22571         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
22572         buffer too small.  Correct computation of needed size.
22573         * nss/Makefile (tests): Add test-digits-dots.
22574         * nss/test-digits-dots.c: New test.
22575
22576 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22577
22578         * benchtests/Makefile: Remove instructions for adding
22579         benchmark tests.
22580         * benchtests/README: New file to explain how to execute and
22581         enhance the benchmark tests.
22582
22583 2013-05-21  Andreas Schwab  <schwab@suse.de>
22584
22585         [BZ #15493]
22586         * setjmp/Makefile (tests): Add tst-sigsetjmp.
22587         * setjmp/tst-sigsetjmp.c: New test.
22588
22589 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22590
22591         * sysdeps/x86_64/memset.S (memset): New implementation.
22592         (__bzero): Likewise.
22593         (__memset_tail): New function.
22594
22595 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22596
22597         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22598         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22599         __memcpy_sse2_unaligned ifunc selection.
22600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22601         Add memcpy-sse2-unaligned.S.
22602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22603         Add: __memcpy_sse2_unaligned.
22604
22605 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
22606
22607         [BZ #15490]
22608         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22609         math_force_eval before restoring floating-point envrionment.
22610         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22611         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22612         Likewise.
22613         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22614         <math_private.h>.
22615         (__nearbyintl): Use math_force_eval before restoring
22616         floating-point environment.
22617         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22618
22619         * math/gen-libm-test.pl (special_functions): Remove.
22620         (parse_args): Don't handle TEST_extra.  Handle functions with no
22621         return value.
22622         * math/libm-test.inc (struct test_sincos_data): Replace with
22623         struct test_fFF_11_data.
22624         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22625         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22626         (sincos_test_data): Change element type to struct
22627         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22628         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22629         RUN_TEST_LOOP_sincos.
22630         * math/README.libm-test: Don't mention special handling of
22631         individual functions.
22632         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22633         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22634         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22635         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22636         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22638
22639         * math/gen-libm-test.pl (get_variable): Remove function.
22640         (parse_args): Don't show pointer parameters to call in test
22641         names.  Use "extra output N" in test names for extra outputs
22642         rather than naming variables.
22643
22644 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22645
22646         [BZ #15488]
22647         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22648         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22649         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22650         double tests.
22651         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22652         disable.
22653         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22654         check_long_double.
22655
22656         * math/gen-libm-test.pl (@tests): Remove variable.
22657         ($count): Likewise.
22658         (new_test): Remove function.
22659         (show_exceptions): New function.
22660         (special_functions): Use show_exceptions instead of new_test.
22661         (parse_args): Likewise.
22662         (generate_testfile): Pass only function name in generated call to
22663         print_max_error or print_complex_max_error.
22664         (get_ulps): Do not handle complex tests specially.
22665         (output_test): Rename to ...
22666         (get_all_ulps_for_test): ... this.  Return a string rather than
22667         printing to a file.  Require ulps to be present.
22668         (output_ulps): Generate arrays rather than #defines.
22669         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22670         (struct ulp_data): New type.
22671         (BUILD_COMPLEX_ULP): Remove macro.
22672         (compare_ulp_data): New function.
22673         (find_ulps): Likewise.
22674         (find_test_ulps): Likewise.
22675         (find_function_ulps): Likewise.
22676         (find_complex_function_ulps): Likewise.
22677         (print_max_error): Determine allowed ulps using
22678         find_function_ulps.
22679         (print_complex_max_error): Determine allowed ulps using
22680         find_complex_function_ulps.
22681         (check_float_internal): Determine max ulps using find_test_ulps.
22682         (check_float): Do not take max_ulp parameter.  Update call to
22683         check_float_internal.
22684         (check_complex): Likewise.
22685         (check_int): Do not take max_ulp parameter.
22686         (check_long): Likewise.
22687         (check_bool): Likewise.
22688         (check_longlong): Likewise.
22689         (struct test_f_f_data): Remove max_ulp field.
22690         (struct test_ff_f_data): Likewise.
22691         (struct test_ff_f_data_nexttoward): Likewise.
22692         (struct test_fi_f_data): Likewise.
22693         (struct test_fl_f_data): Likewise.
22694         (struct test_if_f_data): Likewise.
22695         (struct test_fff_f_data): Likewise.
22696         (struct test_c_f_data): Likewise.
22697         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22698         (struct test_fF_f1_data): Likewise.
22699         (struct test_ffI_f1_data): Likewise.
22700         (struct test_c_c_data): Remove max_ulp field.
22701         (struct test_cc_c_data): Likewise.
22702         (struct test_f_i_data): Likewise.
22703         (struct test_ff_i_data): Likewise.
22704         (struct test_f_l_data): Likewise.
22705         (struct test_f_L_data): Likewise.
22706         (struct test_sincos_data): Likewise.
22707         (RUN_TEST_f_f): Do not handle ulps.
22708         (RUN_TEST_LOOP_f_f): Likewise.
22709         (RUN_TEST_2_f): Likewise.
22710         (RUN_TEST_LOOP_2_f): Likewise.
22711         (RUN_TEST_fff_f): Likewise.
22712         (RUN_TEST_LOOP_fff_f): Likewise.
22713         (RUN_TEST_c_f): Likewise.
22714         (RUN_TEST_LOOP_c_f): Likewise.
22715         (RUN_TEST_f_f1): Likewise.
22716         (RUN_TEST_LOOP_f_f1): Likewise.
22717         (RUN_TEST_fF_f1): Likewise.
22718         (RUN_TEST_LOOP_fF_f1): Likewise.
22719         (RUN_TEST_fI_f1): Likewise.
22720         (RUN_TEST_LOOP_fI_f1): Likewise.
22721         (RUN_TEST_ffI_f1): Likewise.
22722         (RUN_TEST_LOOP_ffI_f1): Likewise.
22723         (RUN_TEST_c_c): Likewise.
22724         (RUN_TEST_LOOP_c_c): Likewise.
22725         (RUN_TEST_cc_c): Likewise.
22726         (RUN_TEST_LOOP_cc_c): Likewise.
22727         (RUN_TEST_f_i): Likewise.
22728         (RUN_TEST_LOOP_f_i): Likewise.
22729         (RUN_TEST_f_i_tg): Likewise.
22730         (RUN_TEST_LOOP_f_i_tg): Likewise.
22731         (RUN_TEST_ff_i_tg): Likewise.
22732         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22733         (RUN_TEST_f_b): Likewise.
22734         (RUN_TEST_LOOP_f_b): Likewise.
22735         (RUN_TEST_f_b_tg): Likewise.
22736         (RUN_TEST_LOOP_f_b_tg): Likewise.
22737         (RUN_TEST_f_l): Likewise.
22738         (RUN_TEST_LOOP_f_l): Likewise.
22739         (RUN_TEST_f_L): Likewise.
22740         (RUN_TEST_LOOP_f_L): Likewise.
22741         (RUN_TEST_sincos): Likewise.
22742         (RUN_TEST_LOOP_sincos): Likewise.
22743
22744 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22745
22746         [BZ #15480]
22747         [BZ #15485]
22748         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22749         main case of finite arguments, set rounding mode to FE_TONEAREST
22750         and discard exceptions.
22751         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22752         exceptions.
22753         (remainder_tonearest_test_data): New variable.
22754         (remainder_test_tonearest): New function.
22755         (remainder_towardzero_test_data): New variable.
22756         (remainder_test_towardzero): New function.
22757         (remainder_downward_test_data): New variable.
22758         (remainder_test_downward): New function.
22759         (remainder_upward_test_data): New variable.
22760         (remainder_test_upward): New function.
22761         (main): Call the new test functions.
22762
22763         * math/libm-test.inc (struct test_f_f1_data): Remove field
22764         extra_init.
22765         (struct test_fF_f1_data): Likewise.
22766         (struct test_ffI_f1_data): Likewise.
22767         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22768         based on value of EXTRA_EXPECTED.
22769         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22770         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22771         EXTRA_VAR based on value of EXTRA_EXPECTED.
22772         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22773         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22774         EXTRA_VAR based on value of EXTRA_EXPECTED.
22775         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22776         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22777         EXTRA_VAR based on value of EXTRA_EXPECTED.
22778         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22779         * math/gen-libm-test.pl (parse_args): Don't output initializers
22780         for extra output values.
22781
22782         * math/libm-test.inc (check_int): Expect result to be exactly
22783         equal to expected value and do not handle ulps.
22784         (check_long): Likewise.
22785         (check_longlong): Likewise.
22786
22787         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22788         exceptions.
22789         (cimag_test_data): Likewise.
22790         (conj_test_data): Likewise.
22791         (copysign_test_data): Likewise.
22792         (cproj_test_data): Likewise.
22793         (creal_test_data): Likewise.
22794         (fabs_test_data): Likewise.
22795         (fdim_test_data): Likewise.
22796         (finite_test_data): Likewise.
22797         (floor_test_data): Likewise.
22798         (fmax_test_data): Likewise.
22799         (fmin_test_data): Likewise.
22800         (fmod_test_data): Likewise.
22801         (fpclassify_test_data): Likewise.
22802         (frexp_test_data): Likewise.
22803         (ilogb_test_data): Likewise.
22804         (isfinite_test_data): Likewise.
22805         (isgreater_test_data): Likewise.
22806         (isgreaterequal_test_data): Likewise.
22807         (isinf_test_data): Likewise.
22808         (isless_test_data): Likewise.
22809         (islessequal_test_data): Likewise.
22810         (islessgreater_test_data): Likewise.
22811         (isnan_test_data): Likewise.
22812         (isnormal_test_data): Likewise.
22813         (issignaling_test_data): Likewise.
22814         (isunordered_test_data): Likewise.
22815         (ldexp_test_data): Likewise.
22816         (lrint_test_data): Likewise.
22817         (lrint_test_data) [TEST_FLOAT]: Disable one test.
22818         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22819         (lrint_tonearest_test_data): Test for "inexact" exceptions.
22820         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22821         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22822         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22823         test input.
22824         (lrint_towardzero_test_data): Test for "inexact" exceptions.
22825         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22826         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22827         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22828         that test input.
22829         (lrint_downward_test_data): Test for "inexact" exceptions.
22830         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22831         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22832         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22833         test input.
22834         (lrint_upward_test_data): Test for "inexact" exceptions.
22835         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22836         test input.
22837         (llrint_test_data): Test for "inexact" exceptions.
22838         (llrint_test_data) [TEST_FLOAT]: Disable one test.
22839         (llrint_tonearest_test_data): Test for "inexact" exceptions.
22840         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22841         (llrint_towardzero_test_data): Test for "inexact" exceptions.
22842         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22843         (llrint_downward_test_data): Test for "inexact" exceptions.
22844         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22845         (llrint_upward_test_data): Test for "inexact" exceptions.
22846         (logb_test_data): Likewise.
22847         (logb_downward_test_data): Likewise.
22848         (nextafter_test_data): Likewise.
22849         (nexttoward_test_data): Likewise.
22850         (remainder_test_data): Likewise.
22851         (remquo_test_data): Likewise.
22852         (scalbn_test_data): Likewise.
22853         (scalbln_test_data): Likewise.
22854         (signbit_test_data): Likewise.
22855         (sqrt_test_data): Likewise.
22856         (significand_test_data): Likewise.
22857
22858 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22859
22860         [BZ #15424]
22861         * benchtests/bench-modf.c (struct args): Mark arg0 as
22862         volatile.
22863         * scripts/bench.pl: Mark members of struct args as volatile.
22864
22865 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22866
22867         [BZ # 15497]
22868         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22869         negative infinity on POWER6 or lower.
22870         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22871
22872 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22873
22874         [BZ #15442]
22875         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22876         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22877         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22878         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22879         (_FP_SETQNAN): New macro.
22880         (_FP_SETQNAN_SEMIRAW): Likewise.
22881         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22882         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22883         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22884         (FP_EXTEND): Use _FP_FRAC_SNANP.
22885         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22886         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22887         into account.
22888         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22889         New macro.
22890         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22891         Likewise.
22892
22893 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22894
22895         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22896         with DIVIDE_BY_ZERO_EXCEPTION.
22897         (gamma_test_data): Likewise.
22898         (lgamma_test_data): Likewise.
22899         (log_test_data): Likewise.
22900         (log10_test_data): Likewise.
22901         (log2_test_data): Likewise.
22902         (tgamma_test_data): Likewise.
22903
22904         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22905         (acos_test_tonearest): Likewise.
22906         (acos_test_towardzero): Likewise.
22907         (acos_test_downward): Likewise.
22908         (acos_test_upward): Likewise.
22909         (acosh_test): Likewise.
22910         (asin_test): Likewise.
22911         (asin_test_tonearest): Likewise.
22912         (asin_test_towardzero): Likewise.
22913         (asin_test_downward): Likewise.
22914         (asin_test_upward): Likewise.
22915         (asinh_test): Likewise.
22916         (atan_test): Likewise.
22917         (atanh_test): Likewise.
22918         (atan2_test): Likewise.
22919         (cabs_test): Likewise.
22920         (cacos_test): Likewise.
22921         (cacosh_test): Likewise.
22922         (casin_test): Likewise.
22923         (casinh_test): Likewise.
22924         (catan_test): Likewise.
22925         (catanh_test): Likewise.
22926         (cbrt_test): Likewise.
22927         (ccos_test): Likewise.
22928         (ccosh_test): Likewise.
22929         (cexp_test): Likewise.
22930         (clog_test): Likewise.
22931         (clog10_test): Likewise.
22932         (cos_test): Likewise.
22933         (cos_test_tonearest): Likewise.
22934         (cos_test_towardzero): Likewise.
22935         (cos_test_downward): Likewise.
22936         (cos_test_upward): Likewise.
22937         (cosh_test): Likewise.
22938         (cosh_test_tonearest): Likewise.
22939         (cosh_test_towardzero): Likewise.
22940         (cosh_test_downward): Likewise.
22941         (cosh_test_upward): Likewise.
22942         (cpow_test): Likewise.
22943         (csin_test): Likewise.
22944         (csinh_test): Likewise.
22945         (csqrt_test): Likewise.
22946         (ctan_test): Likewise.
22947         (ctan_test_tonearest): Likewise.
22948         (ctan_test_towardzero): Likewise.
22949         (ctan_test_downward): Likewise.
22950         (ctan_test_upward): Likewise.
22951         (ctanh_test): Likewise.
22952         (ctanh_test_tonearest): Likewise.
22953         (ctanh_test_towardzero): Likewise.
22954         (ctanh_test_downward): Likewise.
22955         (ctanh_test_upward): Likewise.
22956         (erf_test): Likewise.
22957         (erfc_test): Likewise.
22958         (exp_test): Likewise.
22959         (exp_test_tonearest): Likewise.
22960         (exp_test_towardzero): Likewise.
22961         (exp_test_downward): Likewise.
22962         (exp_test_upward): Likewise.
22963         (exp10_test): Likewise.
22964         (exp2_test): Likewise.
22965         (expm1_test): Likewise.
22966         (fmod_test): Likewise.
22967         (gamma_test): Likewise.
22968         (hypot_test): Likewise.
22969         (j0_test): Likewise.
22970         (j1_test): Likewise.
22971         (jn_test): Likewise.
22972         (lgamma_test): Likewise.
22973         (log_test): Likewise.
22974         (log10_test): Likewise.
22975         (log1p_test): Likewise.
22976         (log2_test): Likewise.
22977         (logb_test_downward): Likewise.
22978         (pow_test): Likewise.
22979         (pow_test_tonearest): Likewise.
22980         (pow_test_towardzero): Likewise.
22981         (pow_test_downward): Likewise.
22982         (pow_test_upward): Likewise.
22983         (remainder_test): Likewise.
22984         (remquo_test): Likewise.
22985         (sin_test): Likewise.
22986         (sin_test_tonearest): Likewise.
22987         (sin_test_towardzero): Likewise.
22988         (sin_test_downward): Likewise.
22989         (sin_test_upward): Likewise.
22990         (sincos_test): Likewise.
22991         (sinh_test): Likewise.
22992         (sinh_test_tonearest): Likewise.
22993         (sinh_test_towardzero): Likewise.
22994         (sinh_test_downward): Likewise.
22995         (sinh_test_upward): Likewise.
22996         (sqrt_test): Likewise.
22997         (tan_test): Likewise.
22998         (tan_test_tonearest): Likewise.
22999         (tan_test_towardzero): Likewise.
23000         (tan_test_downward): Likewise.
23001         (tan_test_upward): Likewise.
23002         (tanh_test): Likewise.
23003         (tgamma_test): Likewise.
23004         (y0_test): Likewise.
23005         (y1_test): Likewise.
23006         (yn_test): Likewise.
23007
23008         * math/gen-libm-test.pl (adjust_arg): Remove function.
23009         (special_function): Remove argument $in_func.  Only handle
23010         generating output for tables of tests, not inside functions.
23011         (parse_args): Likewise.
23012         (generate_testfile): Remove variable $in_func.  Update call to
23013         parse_args.
23014         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23015         (MINUS_ZERO_INIT): Rename macro to minus_zero.
23016         (PLUS_INFTY_INIT): Rename macro to plus_infty.
23017         (MINUS_INFTY_INIT): Rename macro to minus_infty.
23018         (QNAN_VALUE_INIT): Rename macro to qnan_value.
23019         (MAX_VALUE_INIT): Rename macro to max_value.
23020         (MIN_VALUE_INIT): Rename macro to min_value.
23021         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23022         (plus_zero): Remove variable.
23023         (minus_zero): Likewise.
23024         (plus_infty): Likewise.
23025         (minus_infty): Likewise.
23026         (qnan_value): Likewise.
23027         (max_value): Likewise.
23028         (min_value): Likewise.
23029         (min_subnorm_value): Likewise.
23030
23031 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23032
23033         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23034         uint64_t or uint32_t usage.
23035         * crypt/sha256-block.c: Likewise.
23036         * crypt/sha256-crypt.c: Likewise.
23037         * crypt/sha256.c: Likewise.
23038         * crypt/sha512-block.c: Likewise.
23039         * crypt/sha512-crypt.c: Likewise.
23040         * crypt/sha512.c: Likewise.
23041         * debug/backtrace-tst.c: Likewise.
23042         * debug/pcprofiledump.c: Likewise.
23043         * elf/cache.c: Likewise.
23044         * elf/dl-cache.c: Likewise.
23045         * elf/dl-misc.c: Likewise.
23046         * elf/dl-profile.c: Likewise.
23047         * elf/dl-support.c: Likewise.
23048         * elf/ldconfig.c: Likewise.
23049         * elf/sprof.c: Likewise.
23050         * iconv/dummy-repertoire.c: Likewise.
23051         * iconv/iconv_charmap.c: Likewise.
23052         * iconv/skeleton.c: Likewise.
23053         * iconvdata/8bit-generic.c: Likewise.
23054         * iconvdata/cp737.h: Likewise.
23055         * iconvdata/cp775.h: Likewise.
23056         * iconvdata/ibm1008.h: Likewise.
23057         * iconvdata/ibm1025.h: Likewise.
23058         * iconvdata/ibm1046.h: Likewise.
23059         * iconvdata/ibm1097.h: Likewise.
23060         * iconvdata/ibm1112.h: Likewise.
23061         * iconvdata/ibm1122.h: Likewise.
23062         * iconvdata/ibm1123.h: Likewise.
23063         * iconvdata/ibm1124.h: Likewise.
23064         * iconvdata/ibm1129.h: Likewise.
23065         * iconvdata/ibm1130.h: Likewise.
23066         * iconvdata/ibm1132.h: Likewise.
23067         * iconvdata/ibm1133.h: Likewise.
23068         * iconvdata/ibm1137.h: Likewise.
23069         * iconvdata/ibm1140.h: Likewise.
23070         * iconvdata/ibm1141.h: Likewise.
23071         * iconvdata/ibm1142.h: Likewise.
23072         * iconvdata/ibm1143.h: Likewise.
23073         * iconvdata/ibm1144.h: Likewise.
23074         * iconvdata/ibm1145.h: Likewise.
23075         * iconvdata/ibm1146.h: Likewise.
23076         * iconvdata/ibm1147.h: Likewise.
23077         * iconvdata/ibm1148.h: Likewise.
23078         * iconvdata/ibm1149.h: Likewise.
23079         * iconvdata/ibm1153.h: Likewise.
23080         * iconvdata/ibm1154.h: Likewise.
23081         * iconvdata/ibm1155.h: Likewise.
23082         * iconvdata/ibm1156.h: Likewise.
23083         * iconvdata/ibm1157.h: Likewise.
23084         * iconvdata/ibm1158.h: Likewise.
23085         * iconvdata/ibm1160.h: Likewise.
23086         * iconvdata/ibm1161.h: Likewise.
23087         * iconvdata/ibm1162.h: Likewise.
23088         * iconvdata/ibm1163.h: Likewise.
23089         * iconvdata/ibm1164.h: Likewise.
23090         * iconvdata/ibm1166.h: Likewise.
23091         * iconvdata/ibm1167.h: Likewise.
23092         * iconvdata/ibm12712.h: Likewise.
23093         * iconvdata/ibm1390.h: Likewise.
23094         * iconvdata/ibm1399.h: Likewise.
23095         * iconvdata/ibm16804.h: Likewise.
23096         * iconvdata/ibm4517.h: Likewise.
23097         * iconvdata/ibm4899.h: Likewise.
23098         * iconvdata/ibm4909.h: Likewise.
23099         * iconvdata/ibm4971.h: Likewise.
23100         * iconvdata/ibm5347.h: Likewise.
23101         * iconvdata/ibm803.h: Likewise.
23102         * iconvdata/ibm856.h: Likewise.
23103         * iconvdata/ibm901.h: Likewise.
23104         * iconvdata/ibm902.h: Likewise.
23105         * iconvdata/ibm9030.h: Likewise.
23106         * iconvdata/ibm9066.h: Likewise.
23107         * iconvdata/ibm921.h: Likewise.
23108         * iconvdata/ibm922.h: Likewise.
23109         * iconvdata/ibm9448.h: Likewise.
23110         * iconvdata/isiri-3342.h: Likewise.
23111         * iconvdata/jis0201.h: Likewise.
23112         * include/link.h: Likewise.
23113         * include/netdb.h: Likewise.
23114         * inet/check_native.c: Likewise.
23115         * inet/check_pf.c: Likewise.
23116         * inet/getipv4sourcefilter.c: Likewise.
23117         * inet/getnameinfo.c: Likewise.
23118         * inet/getsourcefilter.c: Likewise.
23119         * inet/htonl.c: Likewise.
23120         * inet/setipv4sourcefilter.c: Likewise.
23121         * inet/setsourcefilter.c: Likewise.
23122         * inet/test-inet6_opt.c: Likewise.
23123         * inet/tst-network.c: Likewise.
23124         * locale/C-collate.c: Likewise.
23125         * locale/C-ctype.c: Likewise.
23126         * locale/C-time.c: Likewise.
23127         * locale/C-translit.h: Likewise.
23128         * locale/loadarchive.c: Likewise.
23129         * locale/programs/3level.h: Likewise.
23130         * locale/programs/charmap.c: Likewise.
23131         * locale/programs/charmap.h: Likewise.
23132         * locale/programs/ld-address.c: Likewise.
23133         * locale/programs/ld-collate.c: Likewise.
23134         * locale/programs/ld-ctype.c: Likewise.
23135         * locale/programs/ld-identification.c: Likewise.
23136         * locale/programs/ld-measurement.c: Likewise.
23137         * locale/programs/ld-messages.c: Likewise.
23138         * locale/programs/ld-monetary.c: Likewise.
23139         * locale/programs/ld-name.c: Likewise.
23140         * locale/programs/ld-numeric.c: Likewise.
23141         * locale/programs/ld-paper.c: Likewise.
23142         * locale/programs/ld-telephone.c: Likewise.
23143         * locale/programs/ld-time.c: Likewise.
23144         * locale/programs/linereader.c: Likewise.
23145         * locale/programs/locale.c: Likewise.
23146         * locale/programs/locarchive.c: Likewise.
23147         * locale/programs/locfile.h: Likewise.
23148         * locale/programs/repertoire.c: Likewise.
23149         * locale/programs/simple-hash.c: Likewise.
23150         * locale/programs/simple-hash.h: Likewise.
23151         * malloc/memusage.c: Likewise.
23152         * malloc/memusagestat.c: Likewise.
23153         * nis/nis_defaults.c: Likewise.
23154         * nis/nis_hash.c: Likewise.
23155         * nis/nis_print.c: Likewise.
23156         * nis/nis_xdr.c: Likewise.
23157         * nscd/connections.c: Likewise.
23158         * nscd/hstcache.c: Likewise.
23159         * nscd/nscd_gethst_r.c: Likewise.
23160         * nscd/nscd_getserv_r.c: Likewise.
23161         * nscd/nscd_helper.c: Likewise.
23162         * nscd/servicescache.c: Likewise.
23163         * nss/makedb.c: Likewise.
23164         * nss/nss_db/db-XXX.c: Likewise.
23165         * nss/nss_db/db-initgroups.c: Likewise.
23166         * nss/nss_db/db-netgrp.c: Likewise.
23167         * nss/nss_files/files-network.c: Likewise.
23168         * nss/nss_files/files-parse.c: Likewise.
23169         * posix/bug-regex5.c: Likewise.
23170         * posix/fnmatch_loop.c: Likewise.
23171         * posix/regcomp.c: Likewise.
23172         * posix/regexec.c: Likewise.
23173         * posix/tst-rfc3484-2.c: Likewise.
23174         * posix/tst-rfc3484-3.c: Likewise.
23175         * posix/tst-rfc3484.c: Likewise.
23176         * resolv/nss_dns/dns-canon.c: Likewise.
23177         * resolv/nss_dns/dns-network.c: Likewise.
23178         * resolv/res_init.c: Likewise.
23179         * resolv/res_mkquery.c: Likewise.
23180         * resolv/tst-aton.c: Likewise.
23181         * stdlib/cxa_atexit.c: Likewise.
23182         * stdlib/cxa_finalize.c: Likewise.
23183         * stdlib/gen-fpioconst.c: Likewise.
23184         * stdlib/strtol_l.c: Likewise.
23185         * string/tst-endian.c: Likewise.
23186         * sunrpc/auth_des.c: Likewise.
23187         * sunrpc/clnt_udp.c: Likewise.
23188         * sunrpc/rtime.c: Likewise.
23189         * sunrpc/svcauth_des.c: Likewise.
23190         * sunrpc/xdr.c: Likewise.
23191         * sunrpc/xdr_intXX_t.c: Likewise.
23192         * sunrpc/xdr_rec.c: Likewise.
23193         * sysdeps/generic/ldconfig.h: Likewise.
23194         * sysdeps/generic/ldsodefs.h: Likewise.
23195         * sysdeps/generic/memusage.h: Likewise.
23196         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23197         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23198         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23199         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23200         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23201         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23202         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23203         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23204         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23205         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23206         * sysdeps/posix/getaddrinfo.c: Likewise.
23207         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23208         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23209         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23210         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23211         * sysdeps/powerpc/test-gettimebase.c: Likewise.
23212         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23213         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23214         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23215         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23216         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23217         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23218         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23219         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23220         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23221         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23222         * sysdeps/x86_64/dl-tls.h: Likewise.
23223         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23224         * time/alt_digit.c: Likewise.
23225         * time/era.c: Likewise.
23226         * wcsmbs/tst-c16c32-1.c: Likewise.
23227
23228 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23229
23230         * math/libm-test.inc (struct test_sincos_data): New type.
23231         (RUN_TEST_LOOP_sincos): New macro.
23232         (sincos_test_data): New variable.
23233         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23234
23235 2013-05-16  Richard Henderson  <rth@redhat.com>
23236
23237         * math/atest-exp2.c (LIMB64): New macro.
23238         (CONSTSZ): New macro.
23239         (mp_exp1, mp_exp_m1, mp_log2): New variables.
23240         (hexdig): Move ...
23241         (print_mpn_fp): ... to function scope.
23242         (read_mpn_hex): Remove.
23243         (get_log2): Remove.
23244         (exp2_mpn): Use mp_log2.
23245         (main): Use mp_exp1.
23246
23247 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23248
23249         * math/libm-test.inc: Remove comment about not testing "inexact"
23250         exceptions.
23251         (INEXACT_EXCEPTION): New macro.
23252         (NO_INEXACT_EXCEPTION): Likewise.
23253         (INVALID_EXCEPTION_OK): Update value.
23254         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23255         (OVERFLOW_EXCEPTION_OK): Likewise.
23256         (UNDERFLOW_EXCEPTION_OK): Likewise.
23257         (IGNORE_ZERO_INF_SIGN): Likewise.
23258         (ERRNO_UNCHANGED): Likewise.
23259         (ERRNO_EDOM): Likewise.
23260         (ERRNO_ERANGE): Likewise.
23261         (test_exceptions): Handle testing "inexact" exceptions.
23262         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23263         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23264         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23265         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23266         INEXACT_EXCEPTION.
23267         (rint_towardzero_test_data): Likewise.
23268         (rint_downward_test_data): Likewise.
23269         (rint_upward_test_data): Likewise.
23270
23271         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23272         with OVERFLOW_EXCEPTION.
23273         (exp10_test_data): Likewise.
23274         (exp2_test_data): Likewise.
23275         (expm1_test_data): Likewise.
23276         (lgamma_test_data): Likewise.
23277         (pow_test_data): Likewise.
23278         (tgamma_test_data): Likewise.
23279         (yn_test_data): Remove duplicate test of overflow.
23280
23281         * math/libm-test.inc (struct test_cc_c_data): New type.
23282         (RUN_TEST_LOOP_cc_c): New macro.
23283         (cpow_test_data): New variable.
23284         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23285
23286         * math/libm-test.inc (struct test_f_L_data): New type.
23287         (RUN_TEST_LOOP_f_L): New macro.
23288         (llrint_test_data): New variable.
23289         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23290         (llrint_tonearest_test_data): New variable.
23291         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23292         (llrint_towardzero_test_data): New variable.
23293         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23294         (llrint_downward_test_data): New variable.
23295         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23296         (llrint_upward_test_data): New variable.
23297         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23298         (llround_test_data): New variable.
23299         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23300
23301 2013-05-13  Peter Collingbourne  <pcc@google.com>
23302
23303         * math/atest-exp2.c (get_log2): Remove const attribute.
23304
23305 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23306
23307         * math/libm-test.inc (struct test_f_l_data): New type.
23308         (RUN_TEST_LOOP_f_l): New macro.
23309         (lrint_test_data): New variable.
23310         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23311         (lrint_tonearest_test_data): New variable.
23312         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23313         (lrint_towardzero_test_data): New variable.
23314         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23315         (lrint_downward_test_data): New variable.
23316         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23317         (lrint_upward_test_data): New variable.
23318         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23319         (lround_test_data): New variable.
23320         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23321
23322 2013-05-15  Peter Collingbourne  <pcc@google.com>
23323
23324         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23325         (EXTRACT_WORDS64) Use where appropriate.
23326         (INSERT_WORDS64) Likewise.
23327
23328         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23329         constraints with x constraints.
23330         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23331
23332         * malloc/obstack.c (_obstack_compat): Add initializer.
23333
23334 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23335
23336         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23337         si_trapno and add si_addr_lsb to _sifields.sigfault.
23338         (si_trapno): Remove macro.
23339         (si_addr_lsb): Define new macro.
23340         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23341
23342 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23343
23344         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23345         instead of TEST_f_l.
23346         (llrint_test_tonearest): Likewise.
23347         (llrint_test_towardzero): Likewise.
23348         (llrint_test_downward): Likewise.
23349         (llrint_test_upward): Likewise.
23350         (llround_test): Likewise.
23351
23352         * math/libm-test.inc (struct test_f_i_data): Add comment.
23353         (RUN_TEST_LOOP_f_b): New macro.
23354         (RUN_TEST_LOOP_f_b_tg): Likewise.
23355         (finite_test_data): New variable.
23356         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23357         (isfinite_test_data): New variable.
23358         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23359         (isinf_test_data): New variable.
23360         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23361         (isnan_test_data): New variable.
23362         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23363         (isnormal_test_data): New variable.
23364         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23365         (issignaling_test_data): New variable.
23366         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23367         (signbit_test_data): New variable.
23368         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23369
23370         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23371         with INVALID_EXCEPTION.
23372         (acosh_test_data): Likewise.
23373         (asin_test_data): Likewise.
23374         (atanh_test_data): Likewise.
23375         (fmod_test_data): Likewise.
23376         (log_test_data): Likewise.
23377         (log10_test_data): Likewise.
23378         (log2_test_data): Likewise.
23379         (pow_test_data): Likewise.
23380         (sqrt_test_data): Likewise.
23381         (y0_test_data): Likewise.
23382         (y1_test_data): Likewise.
23383         (yn_test_data): Likewise.
23384
23385         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23386         function contents.
23387
23388         * math/libm-test.inc (struct test_ff_i_data): New type.
23389         (RUN_TEST_LOOP_ff_i_tg): New macro.
23390         (isgreater_test_data): New variable.
23391         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23392         (isgreaterequal_test_data): New variable.
23393         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23394         (isless_test_data): New variable.
23395         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23396         (islessequal_test_data): New variable.
23397         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23398         (islessgreater_test_data): New variable.
23399         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23400         (isunordered_test_data): New variable.
23401         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23402
23403 2013-05-14  David S. Miller  <davem@davemloft.net>
23404
23405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23406
23407 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
23408
23409         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23410
23411         * math/libm-test.inc (struct test_fF_f1_data): Change type of
23412         extra_test to int.
23413         (struct test_f_i_data): Change type of max_ulp to int.
23414
23415         * math/libm-test.inc (test_ffI_f1_data): New type.
23416         (RUN_TEST_LOOP_ffI_f1): New macro.
23417         (remquo_test_data): New variable.
23418         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23419
23420         * setjmp/tst-setjmp-fp.c: New file.
23421         * setjmp/Makefile (tests): Add tst-setjmp-fp.
23422         (link-libm): New variable.
23423         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23424
23425         * math/libm-test.inc (struct test_f_i_data): New type.
23426         (RUN_TEST_LOOP_f_i): New macro.
23427         (RUN_TEST_LOOP_f_i_tg): Likewise.
23428         (fpclassify_test_data): New variable.
23429         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23430         (ilogb_test_data): New variable.
23431         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23432
23433         * math/libm-test.inc (scalbln_test): Correct function name in END
23434         call.
23435
23436         * math/libm-test.inc (struct test_f_f1_data): Add comment.
23437         (RUN_TEST_LOOP_fI_f1): New macro.
23438         (frexp_test_data): New variable.
23439         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23440
23441         * math/libm-test.inc (struct test_fF_f1_data): New type.
23442         (RUN_TEST_LOOP_fF_f1): New macro.
23443         (modf_test_data): New variable.
23444         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23445
23446         * math/libm-test.inc (struct test_f_f1_data): New type.
23447         (RUN_TEST_LOOP_f_f1): New macro.
23448         (gamma_test_data): New variable.
23449         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23450         (lgamma_test_data): New variable.
23451         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23452
23453 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
23454
23455         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23456         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23457         (main): Comment "tls" pseudo-hwcap.
23458
23459 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
23460
23461         * math/libm-test.inc (struct test_fl_f_data): New type.
23462         (RUN_TEST_LOOP_fl_f): New variable.
23463         (scalbln_test_data): New variable.
23464         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23465
23466         * math/libm-test.inc (struct test_fi_f_data): New type.
23467         (RUN_TEST_LOOP_fi_f): New macro.
23468         (ldexp_test_data): New variable.
23469         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23470         (scalbn_test_data): New variable.
23471         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23472
23473         * math/libm-test.inc (struct test_c_f_data): New type.
23474         (RUN_TEST_LOOP_c_f): New macro.
23475         (cabs_test_data): New variable.
23476         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23477         (carg_test_data): New variable.
23478         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23479         (cimag_test_data): New variable.
23480         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23481         (creal_test_data): New variable.
23482         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23483
23484         * math/libm-test.inc (struct test_if_f_data): New type.
23485         (RUN_TEST_LOOP_if_f): New macro.
23486         (jn_test_data): New variable.
23487         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23488         (yn_test_data): New variable.
23489         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23490
23491         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23492
23493 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23494
23495         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23496         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23497
23498 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23499
23500         * benchtests/Makefile (CPPFLAGS-nonlib): Add
23501         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23502         (bench-deps): Add bench-timing.h.
23503         * benchtests-bench-skeleton.c: Include bench-timing.h.
23504         (main): Use TIMING_* macros instead of clock_gettime.
23505         * benchtests/bench-timing.h: New file.
23506
23507         [BZ #14582]
23508         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23509         Renamed from _LIB_VERSION.
23510         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23511
23512 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
23513
23514         * math/libm-test.inc (struct test_fff_f_data): New type.
23515         (RUN_TEST_LOOP_fff_f): New macro.
23516         (fma_test_data): New variable.
23517         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23518         (fma_towardzero_test_data): New variable.
23519         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23520         (fma_downward_test_data): New variable.
23521         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23522         (fma_upward_test_data): New variable.
23523         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23524
23525         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23526         (struct test_c_c_data): New type.
23527         (RUN_TEST_LOOP_c_c): New macro.
23528         (cacos_test_data): New variable.
23529         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23530         (cacosh_test_data): New variable.
23531         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23532         (casin_test_data): New variable.
23533         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23534         (casinh_test_data): New variable.
23535         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23536         (catan_test_data): New variable.
23537         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23538         (catanh_test_data): New variable.
23539         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23540         (ccos_test_data): New variable.
23541         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23542         (ccosh_test_data): New variable.
23543         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23544         (cexp_test_data): New variable.
23545         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23546         (clog_test_data): New variable.
23547         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23548         (clog10_test_data): New variable.
23549         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23550         (conj_test_data): New variable.
23551         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23552         (cproj_test_data): New variable.
23553         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23554         (csin_test_data): New variable.
23555         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23556         (csinh_test_data): New variable.
23557         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23558         (csqrt_test_data): New variable.
23559         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23560         (ctan_test_data): New variable.
23561         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23562         (ctan_tonearest_test_data): New variable.
23563         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23564         (ctan_towardzero_test_data): New variable.
23565         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23566         (ctan_downward_test_data): New variable.
23567         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23568         (ctan_upward_test_data): New variable.
23569         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23570         (ctanh_test_data): New variable.
23571         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23572         (ctanh_tonearest_test_data): New variable.
23573         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23574         (ctanh_towardzero_test_data): New variable.
23575         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23576         (ctanh_downward_test_data): New variable.
23577         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23578         (ctanh_upward_test_data): New variable.
23579         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23580         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23581         of BUILD_COMPLEX.
23582
23583         * math/libm-test.inc (struct test_ff_f_data): New type.
23584         (struct test_ff_f_data_nexttoward): Likewise.
23585         (RUN_TEST_LOOP_2_f): New macro.
23586         (RUN_TEST_LOOP_ff_f): Likewise.
23587         (atan2_test_data): New variable.
23588         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23589         (copysign_test_data): New variable.
23590         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23591         (fdim_test_data): New variable.
23592         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23593         (fmax_test_data): New variable.
23594         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23595         (fmin_test_data): New variable.
23596         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23597         (fmod_test_data): New variable.
23598         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23599         (hypot_test_data): New variable.
23600         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23601         (nextafter_test_data): New variable.
23602         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23603         (nexttoward_test_data): New variable.
23604         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23605         (pow_test_data): New variable.
23606         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23607         (pow_tonearest_test_data): New variable.
23608         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23609         (pow_towardzero_test_data): New variable.
23610         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23611         (pow_downward_test_data): New variable.
23612         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23613         (pow_upward_test_data): New variable.
23614         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23615         (remainder_test_data): New variable.
23616         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23617         (scalb_test_data): New variable.
23618         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23619         * sysdeps/i386/fpu/libm-test-ulps: Update.
23620
23621 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23622
23623         * math/libm-test.inc (fma_test): Use max_value instead of local
23624         variable fltmax.
23625         (nextafter_test): Likewise.
23626
23627         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23628         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23629         (acos_downward_test_data): New variable.
23630         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23631         (acos_upward_test_data): New variable.
23632         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23633         (acosh_test_data): New variable.
23634         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23635         (asin_test_data): New variable.
23636         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23637         (asin_tonearest_test_data): New variable.
23638         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23639         (asin_towardzero_test_data): New variable.
23640         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23641         (asin_downward_test_data): New variable.
23642         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23643         (asin_upward_test_data): New variable.
23644         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23645         (asinh_test_data): New variable.
23646         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23647         (atan_test_data): New variable.
23648         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23649         (atanh_test_data): New variable.
23650         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23651         (cbrt_test_data): New variable.
23652         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23653         (ceil_test_data): New variable.
23654         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23655         (cos_test_data): New variable.
23656         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23657         (cos_tonearest_test_data): New variable.
23658         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23659         (cos_towardzero_test_data): New variable.
23660         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23661         (cos_downward_test_data): New variable.
23662         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23663         (cos_upward_test_data): New variable.
23664         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23665         (cosh_test_data): New variable.
23666         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23667         (cosh_tonearest_test_data): New variable.
23668         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23669         (cosh_towardzero_test_data): New variable.
23670         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23671         (cosh_downward_test_data): New variable.
23672         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23673         (cosh_upward_test_data): New variable.
23674         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23675         (erf_test_data): New variable.
23676         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23677         (erfc_test_data): New variable.
23678         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23679         (exp_test_data): New variable.
23680         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23681         (exp_tonearest_test_data): New variable.
23682         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23683         (exp_towardzero_test_data): New variable.
23684         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23685         (exp_downward_test_data): New variable.
23686         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23687         (exp_upward_test_data): New variable.
23688         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23689         (exp10_test_data): New variable.
23690         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23691         (exp2_test_data): New variable.
23692         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23693         (expm1_test_data): New variable.
23694         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23695         (fabs_test_data): New variable.
23696         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23697         (floor_test_data): New variable.
23698         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23699         (j0_test_data): New variable.
23700         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23701         (j1_test_data): New variable.
23702         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23703         (log_test_data): New variable.
23704         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23705         (log10_test_data): New variable.
23706         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23707         (log1p_test_data): New variable.
23708         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23709         (log2_test_data): New variable.
23710         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23711         (logb_test_data): New variable.
23712         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23713         (logb_downward_test_data): New variable.
23714         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23715         (nearbyint_test_data): New variable.
23716         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23717         (rint_test_data): New variable.
23718         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23719         (rint_tonearest_test_data): New variable.
23720         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23721         (rint_towardzero_test_data): New variable.
23722         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23723         (rint_downward_test_data): New variable.
23724         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23725         (rint_upward_test_data): New variable.
23726         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23727         (round_test_data): New variable.
23728         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23729         (sin_test_data): New variable.
23730         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23731         (sin_tonearest_test_data): New variable.
23732         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23733         (sin_towardzero_test_data): New variable.
23734         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23735         (sin_downward_test_data): New variable.
23736         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23737         (sin_upward_test_data): New variable.
23738         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23739         (sinh_test_data): New variable.
23740         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23741         (sinh_tonearest_test_data): New variable.
23742         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23743         (sinh_towardzero_test_data): New variable.
23744         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23745         (sinh_downward_test_data): New variable.
23746         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23747         (sinh_upward_test_data): New variable.
23748         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23749         (sqrt_test_data): New variable.
23750         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23751         (tan_test_data): New variable.
23752         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23753         (tan_tonearest_test_data): New variable.
23754         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23755         (tan_towardzero_test_data): New variable.
23756         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23757         (tan_downward_test_data): New variable.
23758         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23759         (tan_upward_test_data): New variable.
23760         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23761         (tanh_test_data): New variable.
23762         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23763         (tgamma_test_data): New variable.
23764         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23765         (trunc_test_data): New variable.
23766         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23767         (y0_test_data): New variable.
23768         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23769         (y1_test_data): New variable.
23770         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23771         (significand_test_data): New variable.
23772         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23773
23774 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23775
23776         [BZ #12387]
23777         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23778
23779 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23780
23781         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23782
23783 2013-05-10  Andreas Jaeger  <aj@suse.de>
23784
23785         [BZ #15448]
23786         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23787         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23788
23789 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23790
23791         * math/gen-libm-test.pl (adjust_arg): New function.
23792         (special_functions): Handle generating output in both functions
23793         and arrays.
23794         (parse_args): Likewise.
23795         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23796         $in_func argument to parse_args.
23797         * math/libm-test.inc (struct test_f_f_data): New type.
23798         (IF_ROUND_INIT_): New macro.
23799         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23800         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23801         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23802         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23803         (ROUND_RESTORE_): Likewise.
23804         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23805         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23806         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23807         (ROUND_RESTORE_FE_UPWARD): Likewise.
23808         (RUN_TEST_LOOP_f_f): New macro.
23809         (acos_test_data): New variable.
23810         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23811         (acos_tonearest_test_data): New variable.
23812         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23813
23814 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23815
23816         * benchtests/bench-skeleton.c (startup): Fix coding style.
23817
23818 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23819
23820         [BZ #6809]
23821         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23822         negative infinity argument.
23823         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23824         negative infinity argument.
23825         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23826         negative infinity argument.
23827         * math/libm-test.inc (tgamma_test): Expect errno to be set for
23828         domain errors.
23829
23830 2013-05-10  Florian Weimer  <fweimer@redhat.com>
23831
23832         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23833         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23834         * iconv/iconv_prog.c (main): Likewise.
23835         * locale/programs/charmap-dir.c (charmap_readdir)
23836         (fopen_uncompressed): Likewise.
23837         * locale/programs/locfile.c (siblings_uncached)
23838         (write_locale_data): Use lstat64 instead of lstat.
23839         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23840         stat.
23841
23842 2013-05-10  Andreas Jaeger  <aj@suse.de>
23843
23844         [BZ #15395]
23845         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23846         localization.
23847         Include <locale.h>.
23848
23849 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
23850
23851         * elf/dl-close.c (_dl_close_worker): Add comments.
23852
23853 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
23854
23855         [BZ #15359]
23856         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23857         high part of pi/2.
23858         (__ieee754_rem_pio2l): Update comments.
23859
23860         [BZ #15429]
23861         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23862         high part of pi/2.
23863         (__ieee754_rem_pio2l): Update comments.
23864
23865         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23866         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23867
23868         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23869         M_PI_4l.
23870
23871         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23872         (M_PI_34_LOG10El): Likewise.
23873         (M_PI2_LOG10El): Likewise.
23874         (M_PI4_LOG10El): Likewise.
23875         (M_PI_LOG10El): Likewise.
23876
23877 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23878
23879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23880
23881 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
23882
23883         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23884         (MINUS_ZERO_INIT): Likewise.
23885         (PLUS_INFTY_INIT): Likewise.
23886         (MINUS_INFTY_INIT): Likewise.
23887         (QNAN_VALUE_INIT): Likewise.
23888         (MAX_VALUE_INIT): Likewise.
23889         (MIN_VALUE_INIT): Likewise.
23890         (MIN_SUBNORM_VALUE_INIT): Likewise.
23891         (plus_zero): Initialize with PLUS_ZERO_INIT.
23892         (minus_zero): Initialize with MINUS_ZERO_INIT.
23893         (plus_infty): Initialize with PLUS_INFTY_INIT.
23894         (minus_infty): Initialize with MINUS_INFTY_INIT.
23895         (qnan_value): Initialize with QNAN_VALUE_INIT.
23896         (max_value): Initialize with MAX_VALUE_INIT.
23897         (min_value): Initialize with MIN_VALUE_INIT.
23898         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23899
23900         * math/libm-test.inc (RUN_TEST_if_f): New macro.
23901         (jn_test): Use TEST_if_f instead of TEST_ff_f.
23902         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23903         (yn_test): Use TEST_if_f instead of TEST_ff_f.
23904
23905         * math/libm-test.inc (RUN_TEST_f_f): New macro.
23906         (RUN_TEST_2_f): Likewise.
23907         (RUN_TEST_ff_f): Likewise.
23908         (RUN_TEST_fi_f): Likewise.
23909         (RUN_TEST_fl_f): Likewise.
23910         (RUN_TEST_fff_f): Likewise.
23911         (RUN_TEST_c_f): Likewise.
23912         (RUN_TEST_f_f1): Likewise.
23913         (RUN_TEST_fF_f1): Likewise.
23914         (RUN_TEST_fI_f1): Likewise.
23915         (RUN_TEST_ffI_f1): Likewise.
23916         (RUN_TEST_c_c): Likewise.
23917         (RUN_TEST_cc_c): Likewise.
23918         (RUN_TEST_f_i): Likewise.
23919         (RUN_TEST_f_i_tg): Likewise.
23920         (RUN_TEST_ff_i_tg): Likewise.
23921         (RUN_TEST_f_b): Likewise.
23922         (RUN_TEST_f_b_tg): Likewise.
23923         (RUN_TEST_f_l): Likewise.
23924         (RUN_TEST_f_L): Likewise.
23925         (RUN_TEST_sincos): Likewise.
23926         * math/gen-libm-test.pl (new_test): Take new argument to indicate
23927         whether to show exceptions.  Do not include ");\n" in return
23928         value.
23929         (special_functions): Output call to RUN_TEST_sincos instead of
23930         check_float calls.  Update calls to new_test.
23931         (parse_args): Output call to single RUN_TEST_* macro instead of
23932         check_* calls and other assignments.  Update calls to new_test.
23933
23934         [BZ #2546]
23935         [BZ #2560]
23936         [BZ #5159]
23937         [BZ #15426]
23938         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23939         input to result for tgamma overflow.
23940         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23941         (gamma_coeff): New variable.
23942         (NCOEFF): New macro.
23943         (gamma_positive): New function.
23944         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23945         underflow here.  Use gamma_positive instead of exp (lgamma) for
23946         other arguments.
23947         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23948         (gamma_coeff): New variable.
23949         (NCOEFF): New macro.
23950         (gammaf_positive): New function.
23951         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23952         underflow here.  Use gamma_positive instead of exp (lgamma) for
23953         other arguments.
23954         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23955         (gamma_coeff): New variable.
23956         (NCOEFF): New macro.
23957         (gammal_positive): New function.
23958         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23959         underflow here.  Use gamma_positive instead of exp (lgamma) for
23960         other arguments.
23961         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23962         (gamma_coeff): New variable.
23963         (NCOEFF): New macro.
23964         (gammal_positive): New function.
23965         (__ieee754_gammal_r): Handle positive infinity, overflow and
23966         underflow here.  Handle NaN the same as positive infinity.  Remove
23967         check x < 0xffffffff for negative integers.  Use gamma_positive
23968         instead of exp (lgamma) for other arguments.
23969         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23970         (gamma_coeff): New variable.
23971         (NCOEFF): New macro.
23972         (gammal_positive): New function.
23973         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23974         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23975         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23976         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23977         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23978         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23979         * sysdeps/generic/math_private.h (__gamma_productf): New
23980         prototype.
23981         (__gamma_product): Likewise.
23982         (__gamma_productl): Likewise.
23983         * math/Makefile (libm-calls): Add gamma_product.
23984         * math/libm-test.inc (tgamma_test): Add more tests.
23985         * sysdeps/i386/fpu/libm-test-ulps: Update.
23986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23987
23988 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
23989
23990         * benchtests/bench-skeleton.c (main): Preheat CPU.
23991
23992 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
23993
23994         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23995
23996 2013-05-07  Roland McGrath  <roland@hack.frob.com>
23997
23998         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23999         and _dl_skip_args_internal.
24000
24001 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
24002
24003         * manual/message.texi (Message Translation): Talk about users.
24004         Message to key mapping impacts design.
24005
24006 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24007
24008         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24009
24010         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24011
24012         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24013         * sysdeps/wordsize-64/glob64.c: ... here.
24014
24015         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24016         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24017         New macros.
24018
24019         * debug/getlogin_r_chk.c: Moved to ...
24020         * login/getlogin_r_chk.c: ... here.
24021         * debug/Makefile (routines): Move getlogin_r_chk to ...
24022         * login/Makefile (routines): ... here.
24023         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24024         * login/Versions (libc: GLIBC_2.4): ... here.
24025
24026         * io/poll.c (__poll): Renamed from poll.
24027         Add libc_hidden_def.
24028         (poll): Define as weak alias.
24029
24030         * debug/ptsname_r_chk.c: Moved to ...
24031         * login/ptsname_r_chk.c: ... here.
24032         * debug/Makefile (routines): Move ptsname_r_chk to ...
24033         * login/Makefile (routines): ... here.
24034         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24035         * login/Versions (libc: GLIBC_2.4): ... here.
24036
24037         * posix/getlogin.c: Moved to ...
24038         * login/getlogin.c: ... here.
24039         * posix/getlogin_r.c: Moved to ...
24040         * login/getlogin_r.c: ... here.
24041         * posix/getlogin_r.c: Moved to ...
24042         * login/getlogin_r.c: ... here.
24043         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24044         * login/Makefile (routines): ... here.
24045         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24046         * login/Versions (libc: GLIBC_2.0): ... here.
24047
24048         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24049         (setrlimit): Define as weak alias.
24050
24051         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24052         Call __ names for open, ftruncate, and close.
24053         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24054         (truncate): Define as weak alias.
24055
24056 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
24057
24058         * math/gen-libm-test.pl (parse_args): Initialize x before each
24059         test of frexp, modf and remquo.
24060
24061         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24062         test signgam value.
24063
24064 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24065
24066         [BZ #15418]
24067         [BZ #15419]
24068         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24069         internal tests.
24070         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24071
24072 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24073
24074         * elf/dl-writev.h: New file.
24075         * elf/dl-misc.c: Include it.
24076         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24077         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24078
24079 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
24080
24081         * math/libm-test.inc (noXFails): Remove variable.
24082         (noXPasses): Likewise.
24083         (BUILD_COMPLEX_INT): Remove macro.
24084         (print_screen): Remove xfail argument.
24085         (print_screen_max_error): Likewise.
24086         (update_stats): Likewise.
24087         (print_max_error): Likewise.  Update calls to other affected
24088         functions.
24089         (print_complex_max_error): Likewise.
24090         (test_single_exception): Update calls to print_screen.
24091         (test_single_errno): Likewise.
24092         (check_float_internal): Remove xfail argument.  Update calls to
24093         other affected functions.
24094         (check_float): Likewise.
24095         (check_complex): Likewise.
24096         (check_int): Likewise.
24097         (check_long): Likewise.
24098         (check_bool): Likewise.
24099         (check_longlong): Likewise.
24100         (main): Don't print noXFails and noXPasses.
24101         * math/gen-libm-test.pl (top level): Don't mention expected
24102         failure handling in comment.
24103         (new_test): Don't handle expected failures.
24104         (parse_args): Don't mention expected failure handling in comment.
24105         (generate_testfile): Don't handle expected failures.
24106         (parse_ulps): Likewise.
24107         (print_ulps_file): Likewise.
24108         (get_failure): Remove function.
24109         (output_test): Don't handle expected failures.
24110         * make/README.libm-test: Don't mention expected failure handling.
24111
24112         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
24113         (minus_zero): Likewise.
24114         (plus_infty): Likewise.
24115         (minus_infty): Likewise.
24116         (qnan_value): Likewise.
24117         (max_value): Likewise.
24118         (min_value): Likewise.
24119         (min_subnorm_value): Likewise.
24120         (initialize): Do not initialize those variables dynamically.
24121
24122 2013-05-03  Roland McGrath  <roland@hack.frob.com>
24123
24124         * io/open.c (__open_2): Moved to ...
24125         * io/open_2.c: ... this new file.
24126         * io/open64.c (__open64_2): Moved to ...
24127         * io/open64_2.c: ... this new file.
24128         * io/openat.c (__openat_2): Moved to ...
24129         * io/openat_2.c: ... this new file.
24130         * io/openat64.c (__openat64_2): Moved to ...
24131         * io/openat64_2.c: ... this new file.
24132         * io/Makefile (routines): Add them.
24133         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24134         * sysdeps/unix/sysv/linux/open_2.c: File removed.
24135         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24136         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24137         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24138         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24139         (__openat64): Add hidden_ver.
24140         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24141         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24142
24143         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24144         Separately conditionalize setting of GLRO(dl_sysinfo) so
24145         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24146         as well, but the actual setting is only under [NEED_DL_SYSINFO].
24147
24148 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24149
24150         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24151         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24152         definition.
24153         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24154         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24155         (_libc_vdso_platform_setup): Add __vdso_time initialization.
24156         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24157         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24158
24159 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
24160
24161         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24162         test signgam value.
24163
24164         * math/libm-test.inc (hypot_test): Do not use
24165         IGNORE_ZERO_INF_SIGN.
24166
24167 2013-05-03  Andreas Jaeger  <aj@suse.de>
24168
24169         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24170         Linux 3.9.
24171         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24172         (PF_MAX): Adjust for VSOCK change.
24173
24174 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24175
24176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24177
24178 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
24179
24180         [BZ #15264]
24181         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24182         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24183         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24184
24185 2013-05-02  David S. Miller  <davem@davemloft.net>
24186
24187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24188
24189 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
24190
24191         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24192
24193 2013-05-01  Roland McGrath  <roland@hack.frob.com>
24194
24195         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24196
24197 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
24198
24199         [BZ #14952]
24200         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24201         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24202         Use __attribute__ ((__gnu_inline__)).
24203         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24204         Don't use __attribute__ ((__gnu_inline__)).
24205
24206 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
24207
24208         [BZ #15423]
24209         * math/s_catan.c (__catan): Handle small real or imaginary part of
24210         input specially to avoid spurious underflow.
24211         * math/s_catanf.c (__catanf): Likewise.
24212         * math/s_catanh.c (__catanh): Likewise.
24213         * math/s_catanhf.c (__catanhf): Likewise.
24214         * math/s_catanhl.c (__catanhl): Likewise.
24215         * math/s_catanl.c (__catanl): Likewise.
24216         * math/libm-test.inc (catan_test): Add more tests.
24217         (catanh_test): Likewise.
24218         * sysdeps/i386/fpu/libm-test-ulps: Update.
24219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24220
24221 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24222
24223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24224
24225 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
24226
24227         [BZ #15416]
24228         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24229         accurately for denominator in atan2.
24230         * math/s_catanf.c (__catanf): Likewise.
24231         * math/s_catanh.c (__catanh): Likewise.
24232         * math/s_catanhf.c (__catanhf): Likewise.
24233         * math/s_catanhl.c (__catanhl): Likewise.
24234         * math/s_catanl.c (__catanl): Likewise.
24235         * math/libm-test.inc (catan_test): Add more tests.
24236         (catanh_test): Likewise.
24237         * sysdeps/i386/fpu/libm-test-ulps: Update.
24238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24239
24240 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24241
24242         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24243
24244         * benchtests/Makefile (bench): Remove slow benchmarks.
24245         * benchtests/atan-inputs: Add slow benchmark inputs.
24246         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24247         (BENCH_FUNC): Accept variant offset.
24248         (VARIANT): Define.
24249         * benchtests/bench-skeleton.c (main): Run benchmark for each
24250         variant.
24251         * benchtests/cos-inputs: Add slow benchmark inputs.
24252         * benchtests/exp-inputs: Likewise.
24253         * benchtests/pow-inputs: Likewise.
24254         * benchtests/sin-inputs: Likewise.
24255         * benchtests/slowatan-inputs: Remove.
24256         * benchtests/slowatan.c: Remove.
24257         * benchtests/slowcos-inputs: Remove.
24258         * benchtests/slowcos.c: Remove.
24259         * benchtests/slowexp-inputs: Remove.
24260         * benchtests/slowexp.c: Remove.
24261         * benchtests/slowpow-inputs: Remove.
24262         * benchtests/slowpow.c: Remove.
24263         * benchtests/slowsin-inputs: Remove.
24264         * benchtests/slowsin.c: Remove.
24265         * benchtests/slowtan-inputs: Remove.
24266         * benchtests/slowtan.c: Remove.
24267         * benchtests/tan-inputs: Add slow benchmark inputs.
24268         * scripts/bench.pl: Parse comments and directives.
24269
24270         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
24271         in CPPFLAGS.
24272         ($(objpfx)bench-%.c): Remove *-ITER.
24273         * benchtests/bench-modf.c: Remove definition of ITER.
24274         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24275         (main): Loop for DURATION seconds instead of fixed number of
24276         iterations.
24277         * scripts/bench.pl: Don't expect iterations in parameters.
24278
24279 2013-04-29  Roland McGrath  <roland@hack.frob.com>
24280
24281         * io/fchdir.c (__fchdir): Renamed from fchdir.
24282         (fchdir): Define as weak alias.
24283
24284 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24285
24286         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24287         (ERRNO_EDOM): Likewise.
24288         (ERRNO_ERANGE): Likewise.
24289         (noErrnoTests): New variable.
24290         (init_max_error): Set errno to 0.
24291         (test_single_errno): New function.
24292         (test_errno): Likewise.
24293         (check_float_internal): Call test_errno.  Set errno to 0.
24294         (check_complex): Refer to errno tests in comment.
24295         (check_int): Call test_errno.  Set errno to 0.
24296         (check_long): Likewise.
24297         (check_bool): Likewise.
24298         (check_longlong): Likewise.
24299         (cos_test): Use ERRNO_* flags for errno tests instead of
24300         check_int.
24301         (expm1_test): Likewise.
24302         (fmod_test): Likewise.
24303         (ilogb_test): Likewise.
24304         (lgamma_test): Likewise.
24305         (pow_test): Likewise.
24306         (remainder_test): Likewise.
24307         (sin_test): Likewise.
24308         (tan_test): Likewise.
24309         (yn_test): Likewise.
24310         (initialize): Set errno to 0.
24311         (main): Print number of errno tests.
24312         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24313
24314 2013-04-29  Andreas Jaeger  <aj@suse.de>
24315
24316         [BZ #15084]
24317         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24318         and RES_USEVC.
24319
24320         [BZ #15085]
24321         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24322         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24323         unimplemented.
24324
24325         [BZ #15380]
24326         * stdlib/random.c (__initstate): Return NULL if
24327         __initstate fails.
24328
24329         [BZ #15086]
24330         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24331         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24332         RES_SNGLKUPREOP.
24333
24334 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24335
24336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24337
24338 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24339
24340         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24341         of individual tests.
24342         (casin_test): Likewise.
24343         (casinh_test): Likewise.
24344
24345 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
24346
24347         [BZ #15409]
24348         * math/s_catan.c (__catan): Handle arguments with large real or
24349         imaginary part separately without squaring.
24350         * math/s_catanf.c (__catanf): Likewise.
24351         * math/s_catanh.c (__catanh): Likewise.
24352         * math/s_catanhf.c (__catanhf): Likewise.
24353         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24354         and redefine.
24355         (__catanhl): Handle arguments with large real or imaginary part
24356         separately without squaring.
24357         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24358         and redefine.
24359         (__catanl): Handle arguments with large real or imaginary part
24360         separately without squaring.
24361         * math/libm-test.inc (catan_test): Add more tests.
24362         (catanh_test): Likewise.
24363         * sysdeps/i386/fpu/libm-test-ulps: Update.
24364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24365
24366 2013-04-27  Andreas Jaeger  <aj@suse.de>
24367
24368         [BZ #15007]
24369         * stdlib/stdlib.h: Update guards for qecvt.
24370         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24371         <stdlib.h>.
24372
24373 2013-04-27  Allan McRae  <allan@archlinux.org>
24374
24375         * sysdeps/i386/fpu/libm-test-ulps: Update.
24376
24377 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
24378
24379         [BZ #15406]
24380         * math/s_catan.c: Include <float.h>.
24381         (__catan): Ensure underflow exception occurs for underflowed
24382         result.
24383         * math/s_catanf.c: Include <float.h>.
24384         (__catanf): Ensure underflow exception occurs for underflowed
24385         result.
24386         * math/s_catanh.c: Include <float.h>.
24387         (__catanh): Ensure underflow exception occurs for underflowed
24388         result.
24389         * math/s_catanhf.c: Include <float.h>.
24390         (__catanhf): Ensure underflow exception occurs for underflowed
24391         result.
24392         * math/s_catanhl.c: Include <float.h>.
24393         (__catanhl): Ensure underflow exception occurs for underflowed
24394         result.
24395         * math/s_catanl.c: Include <float.h>.
24396         (__catanl): Ensure underflow exception occurs for underflowed
24397         result.
24398         * math/libm-test.inc (catan_test): Add more tests.
24399         (catanh_test): Likewise.
24400
24401         [BZ #15405]
24402         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24403         underflowed result.
24404         * math/s_ccoshf.c (__ccoshf): Likewise.
24405         * math/s_ccoshl.c (__ccoshl): Likewise.
24406         * math/s_csin.c (__csin): Likewise.
24407         * math/s_csinf.c (__csinf): Likewise.
24408         * math/s_csinh.c (__csinh): Likewise.
24409         * math/s_csinhf.c (__csinhf): Likewise.
24410         * math/s_csinhl.c (__csinhl): Likewise.
24411         * math/s_csinl.c (__csinl): Likewise.
24412         * math/libm-test.inc (ccos_test): Add more tests.
24413         (ccosh_test): Likewise.
24414         (csin_test): Likewise.
24415         (csinh_test): Likewise.
24416
24417 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24418
24419         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24420         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24421         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24422         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24423         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24424         powerpc/power5+/fpu folders.
24425         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24426
24427
24428 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24429
24430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24431
24432 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
24433
24434         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24435         additions to variable.
24436         [$(config-machine) = x86_64] (modules-names): Likewise.
24437         ($(objpfx)tst-audit3): Remove dependency.
24438         ($(objpfx)tst-audit3.out): Likewise.
24439         ($(objpfx)tst-audit4): Likewise.
24440         ($(objpfx)tst-audit4.out): Likewise.
24441         ($(objpfx)tst-audit5): Likewise.
24442         ($(objpfx)tst-audit5.out): Likewise.
24443         ($(objpfx)tst-audit6): Likewise.
24444         ($(objpfx)tst-audit6.out): Likewise.
24445         ($(objpfx)tst-audit7): Likewise.
24446         ($(objpfx)tst-audit7.out): Likewise.
24447         (tst-audit3-ENV): Remove variable.
24448         (tst-audit4-ENV): Likewise.
24449         (tst-audit5-ENV): Likewise.
24450         (tst-audit6-ENV): Likewise.
24451         (tst-audit7-ENV): Likewise.
24452         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24453         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24454         addition to variable.
24455         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24456         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24457         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24458         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24459         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24460         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24461         tst-audit3, tst-audit4 and tst-audit5.
24462         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24463         tst-audit6 and tst-audit7.
24464         [$(subdir) = elf] (modules-names): Add audit modules for those
24465         tests.
24466         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24467         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24468         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24469         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24470         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24471         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24472         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24473         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24474         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24475         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24476         [$(subdir) = elf] (tst-audit3-ENV): New variable.
24477         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24478         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24479         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24480         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24481         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24482         Likewise.
24483         [$(subdir) = elf && $(config-cflags-avx) = yes]
24484         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24485         [$(subdir) = elf && $(config-cflags-avx) = yes]
24486         (CFLAGS-tst-auditmod4a.c): Likewise.
24487         [$(subdir) = elf && $(config-cflags-avx) = yes]
24488         (CFLAGS-tst-auditmod4b.c): Likewise.
24489         [$(subdir) = elf && $(config-cflags-avx) = yes]
24490         (CFLAGS-tst-auditmod6b.c): Likewise.
24491         [$(subdir) = elf && $(config-cflags-avx) = yes]
24492         (CFLAGS-tst-auditmod6c.c): Likewise.
24493         [$(subdir) = elf && $(config-cflags-avx) = yes]
24494         (CFLAGS-tst-auditmod7b.c): Likewise.
24495         * elf/tst-audit3.c: Move to ...
24496         * sysdeps/x86_64/tst-audit3.c: ... here.
24497         * elf/tst-audit4.c: Move to ...
24498         * sysdeps/x86_64/tst-audit4.c: ... here.
24499         * elf/tst-audit5.c: Move to ...
24500         * sysdeps/x86_64/tst-audit5.c: ... here.
24501         * elf/tst-audit6.c: Move to ...
24502         * sysdeps/x86_64/tst-audit6.c: ... here.
24503         * elf/tst-audit7.c: Move to ...
24504         * sysdeps/x86_64/tst-audit7.c: ... here.
24505         * elf/tst-auditmod3a.c: Move to ...
24506         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24507         * elf/tst-auditmod3b.c: Move to ...
24508         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24509         * elf/tst-auditmod4a.c: Move to ...
24510         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24511         * elf/tst-auditmod4b.c: Move to ...
24512         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24513         * elf/tst-auditmod5a.c: Move to ...
24514         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24515         * elf/tst-auditmod5b.c: Move to ...
24516         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24517         * elf/tst-auditmod6a.c: Move to ...
24518         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24519         * elf/tst-auditmod6b.c: Move to ...
24520         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24521         * elf/tst-auditmod6c.c: Move to ...
24522         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24523         * elf/tst-auditmod7a.c: Move to ...
24524         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24525         * elf/tst-auditmod7b.c: Move to ...
24526         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24527
24528 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
24529
24530         [BZ #15366]
24531         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24532         define unconditionally.
24533         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24534         define unconditionally.
24535         (INT8_C, INT16_C, etc.): Likewise.
24536
24537 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
24538
24539         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24540         __ehdr_start with hidden visibility.
24541
24542         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24543
24544 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
24545
24546         * math/libm-test.inc (cos_test): Use accurate hex constants.
24547         (sincost_test): Likewise.
24548
24549 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
24550
24551         * math/libm-test.inc (catan_test): Add more tests.
24552         (catanh_test): Likewise.
24553
24554         * math/s_catanf.c (__catanf): Use suffixed floating-point
24555         constants.
24556         * math/s_catanhf.c (__catanhf): Likewise.
24557         * math/s_catanhl.c (__catanhl): Likewise.
24558         * math/s_catanl.c (__catanl): Likewise.
24559
24560         [BZ #15394]
24561         * math/s_catan.c (__catan): Calculate imaginary part of result
24562         with log1p not log unless computing log of number close to 0.
24563         * math/s_catanf.c (__catanf): Likewise.
24564         * math/s_catanl.c (__catanl): Likewise.
24565         * math/s_catanh.c (__catanh): Calculate real part of result with
24566         log1p not log unless computing log of number close to 0.
24567         * math/s_catanhf.c (__catanhf): Likewise.
24568         * math/s_catanhl.c (__catanhl): Likewise.
24569         * math/libm-test.inc (catan_test): Add more tests.
24570         (catanh_test): Likewise.
24571         * sysdeps/i386/fpu/libm-test-ulps: Update.
24572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24573
24574 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24575
24576         * benchtests/Makefile: Mention files in which fast and slow
24577         paths of math functions are implemented.
24578
24579 2013-04-23  Roland McGrath  <roland@hack.frob.com>
24580
24581         * sysdeps/posix/timespec_get.c: New file.
24582
24583 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24584
24585         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24586         POWER.
24587         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24588         for POWER.
24589         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24590         powerpc/power5/fpu folders.
24591         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24592         * benchtests/Makefile: Add modf testcase.
24593         * benchtests/bench-modf.c: New file: Benchmark test for mo
24594
24595 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24596
24597         [BZ #14888]
24598         * time/Makefile (tests): Add tst-strptime-whitespace.
24599         * time/strptime_l.c (get_number): Use ISSPACE.
24600         (__strptime_internal): Likewise.
24601         * time/tst-strptime-whitespace.c: New test case.
24602
24603 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
24604
24605         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24606         member.
24607         (_nss_files_init): Set it here.
24608
24609 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
24610
24611         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24612         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24613         unsigned.
24614
24615 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
24616
24617         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24618
24619 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24620
24621         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24622         size just once.
24623
24624 2013-04-21  David S. Miller  <davem@davemloft.net>
24625
24626         * po/ru.po: Update Russion translation from translation project.
24627
24628 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24629
24630         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24631         and setfsgid.
24632
24633 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24634
24635         * configure.in: Remove i386 configure warning. Remove i386 case.
24636         * configure: Regenerate.
24637         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24638         Add example to error message.
24639         * sysdeps/i386/configure: Regenerate.
24640
24641 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24642
24643         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24644         slowtan.
24645         * benchtests/cos-inputs: New file.
24646         * benchtests/slowcos-inputs: New file.
24647         * benchtests/slowcos.c: New file.
24648         * benchtests/slowtan-inputs: New file.
24649         * benchtests/slowtan.c: New file.
24650         * benchtests/tan-inputs: New file.
24651
24652 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24653
24654         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24655         considered kosher.
24656
24657 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24658
24659         * benchtests/Makefile: Include cppflags-iterator.mk to add
24660         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24661
24662         * Makefile.in (bench-clean): New target.
24663         * benchtests/Makefile (bench-clean): Likewise.
24664
24665 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24666
24667         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24668
24669 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24670
24671         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24672
24673 2013-04-15  Andreas Schwab  <schwab@suse.de>
24674
24675         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24676         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24677         * nscd/pwdcache.c (cache_addpw): Likewise.
24678         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24679         more than recsize.
24680
24681 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24682
24683         * benchtests/Makefile (bench): Write all output to
24684         bench-out.tmp together.
24685
24686 2013-04-15  Andreas Schwab  <schwab@suse.de>
24687
24688         * nscd/nscd.c (main): Don't fork again after closing files.
24689
24690 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24691
24692         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24693
24694         * benchtests/Rules (bench-deps): Collect dependencies into a
24695         single variable.  Add Makefile to dependencies.
24696         ($(objpfx)bench-%.c): Depend on bench-deps.
24697
24698 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24699             Xavier Roche  <roche+kml2@exalead.com>
24700
24701         [BZ #15361]
24702         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24703         just that it's a file descriptor.
24704         * manual/llio.texi (Synchronizing AIO Operations): Update description
24705         for EBADF error from aio_fsync.
24706
24707 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24708
24709         * Rules (bench): Move target definition...
24710         * benchtests/Makefile: ... here.
24711
24712 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24713
24714         * math/libm-test.inc (cos_test): Fix PI/2 test.
24715         (sincos_test): Likewise.
24716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24717         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24718
24719 2013-04-11  Andreas Schwab  <schwab@suse.de>
24720
24721         [BZ #13988]
24722         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24723         accept exponent character only when digits were seen.
24724         * stdio-common/Makefile (tests): Add bug26.
24725         * stdio-common/bug26.c: New file.
24726
24727         [BZ #14293]
24728         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24729         non-freeable.
24730
24731 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24732
24733         * Makeconfig (rtld-prefix): Define built linker prefix.
24734         * Rules (run-bench): Use it.
24735         * math/Makefile (run-regen-ulps): Likewise.
24736
24737         * Rules (bench): Remove eval.
24738
24739 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24740             Roland McGrath  <roland@hack.frob.com>
24741             Ondrej Bilka  <neleai@seznam.cz>
24742
24743         [BZ #15346]
24744         * time/getdate.c: Include ctype.h and alloca.h.
24745         (__getdate_r): Trim leading and trailing spaces of input.
24746         * time/tst-getdate.c (tests): Add tests with leading and
24747         trailing spaces.
24748
24749 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24750
24751         [BZ #14280]
24752         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24753         when computing value.
24754
24755 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24756
24757         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24758         Use testrun.sh to run libm tests.
24759
24760         [BZ #15309]
24761         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24762
24763 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24764
24765         [BZ #15264]
24766         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24767
24768 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24769
24770         * Makefile.in (regen-ulps): New target.
24771         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24772         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24773         [ifneq (no,$(PERL)] (regen-ulps): New target.
24774         [ifeq (no,$(PERL)] (regen-ulps): New target.
24775         * math/libm-test.inc (ulps_file_name): Define.
24776         (output_dir): New variable.
24777         (options): Add "output-dir" option.
24778         (parse_opt): Handle 'o' case.
24779         (main): If output_dir is non-NULL use it as a prefix
24780         otherwise use "".
24781         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24782
24783 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24784
24785         [BZ #10060, #10062]
24786         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24787         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24788         fail configure if __sync_val_compare_and_swap is not inlined.
24789         * sysdeps/i386/configure: Regenerate.
24790         * configure.in: Build for i686 when configured for i386.
24791         * configure: Regenerate.
24792         * README: Remove i386 reference.
24793
24794 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24795
24796         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24797         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24798
24799 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24800
24801         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24802         (lmsnanval): New variables.
24803         (F): Add conversion tests.
24804         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24805         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24806
24807         * stdio-common/tstdiomisc.c (F): Properly collect individual
24808         tests' results.
24809
24810         [BZ #14686, #15336]
24811         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24812         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24813         Instead, use input NaN values or generate a qNaN by arithmetic
24814         operation.  Also fix bugs to comply with the standard.
24815         * math/libm-test.inc (remainder_test): Add more tests.
24816
24817         [BZ #15335, #15342]
24818         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24819         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24820         input NaN values or generate a qNaN by arithmetic operation.
24821
24822         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24823         unreachable code.
24824
24825         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24826         definitions.
24827
24828 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
24829
24830         [BZ #14478]
24831         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24832         underflowed result.
24833         * math/s_cexpf.c (__cexpf): Likewise.
24834         * math/s_cexpl.c (__cexpl): Likewise.
24835         * math/libm-test.inc (cexp_test): Add more tests.
24836
24837 2013-04-03  Andreas Schwab  <schwab@suse.de>
24838
24839         [BZ #15330]
24840         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24841         order arrays from heap if bigger than alloca cutoff.
24842
24843 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
24844
24845         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24846         (SNAN_TESTS_double): Refer to GCC PR56831.
24847         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24848         GCC PR56828.
24849
24850 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24851
24852         * Rules (bench): Move bench.out after the run is complete.
24853
24854         * Rules (bench): Echo currently running benchmark.
24855
24856         * benchtests/Makefile (bench): Add atan and slowatan.
24857         * benchtests/atan-inputs: New file.
24858         * benchtests/slowatan-inputs: New file.
24859         * benchtests/slowatan.c: New file.
24860
24861         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24862         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24863         its value.
24864
24865         [BZ #15305]
24866         * sysdeps/unix/sysv/linux/kernel-features.h
24867         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24868         __ASSUME_XFS_RESTRICTED_CHOWN.
24869         * sysdeps/unix/sysv/linux/pathconf.c
24870         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24871         Save and restore errno.
24872
24873 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
24874
24875         [BZ #15327]
24876         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24877         arguments using __kernel_casinh.
24878         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24879         arguments using __kernel_casinhf.
24880         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24881         arguments using __kernel_casinhl.
24882         * math/libm-test.inc (cacosh_test): Add more tests.
24883         * sysdeps/i386/fpu/libm-test-ulps: Update.
24884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24885
24886 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24887
24888         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24890
24891         * bench/Makefile (bench): Add sin and slowsin.
24892         * benchtests/sin-inputs: New file.
24893         * benchtests/slowsin-inputs: New file.
24894         * benchtests/slowsin.c: New file.
24895
24896         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24897         (bench): Add slowexp and slowpow.
24898         (exp-ITER): Increase iterations.
24899         (pow-ITER): Likewise.
24900         * benchtests/exp-inputs: Change input.
24901         * benchtests/pow-inputs: Likewise.
24902         * benchtests/slowexp-inputs: New file.
24903         * benchtests/slowexp.c: New file.
24904         * benchtests/slowpow-inputs: New file.
24905         * benchtests/slowpow.c: New file.
24906
24907 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24908
24909         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24910         instructions.
24911         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24912         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24913         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24914         * benchtests/Makefile: Add rint benchtest.
24915         * benchtests/rint-inputs: Input for rint benchtest.
24916
24917 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24918
24919         * Versions.def (libm): Add GLIBC_2.18.
24920         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24921         hidden libm prototypes.
24922         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24923         * math/Makefile (libm-calls): Add s_issignaling.
24924         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24925         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
24926         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24927         declaration.
24928         * math/math.h [__USE_GNU] (issignaling): New macro.
24929         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24930         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24931         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24932         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24933         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24934         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24935         * manual/arith.texi (issignaling): New section.
24936         * manual/libm-err-tab.pl (@all_functions): Update comment.
24937         * math/gen-libm-test.pl (parse_args): Apply special handling for
24938         issignaling.
24939         * math/libm-test.inc (print_float, issignaling_test): New
24940         functions.
24941         (check_float_internal): Add issignaling checks.
24942         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24943         default definition.
24944         * sysdeps/powerpc/math-tests.h: New file.
24945         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24946         tests.
24947         * math/test-snan.c (TEST_FUNC): Likewise.
24948
24949 2013-03-30  David S. Miller  <davem@davemloft.net>
24950
24951         * po/de.po: Update from translation team.
24952
24953 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
24954
24955         [BZ #10357]
24956         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24957         imaginary part less than 1.0 and real part less than 0.5
24958         specially.
24959         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24960         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24961         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24962         (cacos_test): Add more tests.
24963         (casin_test): Likewise.
24964         (casinh_test): Likewise.
24965         * sysdeps/i386/fpu/libm-test-ulps: Update.
24966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24967
24968 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24969
24970         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24971         ONE with its value.
24972
24973         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24974         (__pow_mp): Replace ONE and MONE with their values.
24975         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24976         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24977         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24978         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24979         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24980         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24981
24982         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24983
24984         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24985         (__pow_mp): Replace ZERO and MZERO with their values.
24986         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24987         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24988         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24989         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24990         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24991         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24992         (__sqr): Likewise.
24993
24994         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24995
24996         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24997
24998 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24999
25000         * include/stdlib.h [!SHARED] (__call_tls_dtors):
25001         Declare with __attribute__ ((weak)).
25002         * stdlib/exit.c (__libc_atexit) [!SHARED]:
25003         Call __call_tls_dtors only if it's not NULL.
25004
25005 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25006
25007         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25008         didn't do it already, then set _dl_phdr and _dl_phnum based on the
25009         magic __ehdr_start linker symbol if it's defined.
25010         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25011         them up here if it was already done.
25012
25013         * elf/dl-support.c (_dl_phdr): Make pointer to const.
25014         (_dl_aux_init): Use const in cast when setting it.
25015         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25016         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25017         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25018
25019         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25020         Declare them here.
25021         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25022         * csu/libc-tls.c: Nor here.
25023         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25024
25025         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25026         (__libc_message): Never call vsyslog.
25027
25028 2013-03-28  Alan Modra  <amodra@gmail.com>
25029
25030         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25031         Define as empty.
25032         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25033         Likewise.
25034
25035 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25036
25037         [BZ #15214]
25038         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25039         underflow.
25040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25041
25042 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25043
25044         [BZ #15304]
25045         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25046         Don't add gid passed as argument.
25047
25048         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25049
25050 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
25051
25052         [BZ #15307]
25053         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25054         imaginary part between 1.0 and 1.5 and real part less than 0.5
25055         specially.
25056         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25057         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25058         * math/libm-test.inc (cacos_test): Add more tests.
25059         (casin_test): Likewise.
25060         (casinh_test): Likewise.
25061         * sysdeps/i386/fpu/libm-test-ulps: Update.
25062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25063
25064 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25065
25066         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25067         constants.
25068         (norm): Likewise.
25069         (denorm): Likewise.
25070         (__dbl_mp): Likewise.
25071         (add_magnitudes): Likewise.
25072         (sub_magnitudes): Likewise.
25073         (__add): Likewise.
25074         (__sub): Likewise.
25075         (__mul): Likewise.
25076         (__sqr): Likewise.
25077         (__inv): Likewise.
25078         (__dvd): Likewise.
25079
25080         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25081         commented code.
25082         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25083         (__dubcos): Likewise.
25084         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25085         (__ieee754_acos): Likewise.
25086         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25087         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25088         (__exp1): Likewise.
25089         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25090         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25091         (log1): Likewise.
25092         (my_log2): Likewise.
25093         (checkint): Likewise.
25094         * sysdeps/ieee754/dbl-64/e_remainder.c
25095         (__ieee754_remainder): Likewise.
25096         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25097         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25098         (bsloww): Likewise.
25099         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25100
25101         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25102         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25103         MANTISSA_STORE_T to store computations on mantissa.  Use
25104         macros for rounding and division.
25105         (denorm): Likewise.
25106         (__dbl_mp): Likewise.
25107         (add_magnitudes): Likewise.
25108         (sub_magnitudes): Likewise.
25109         (__mul): Likewise.
25110         (__sqr): Likewise.
25111         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25112         powers of two in terms of TWOPOW macro.
25113         (mp_no): Make type of mantissa as MANTISSA_T.
25114         [!RADIXI]: Define RADIXI.
25115         [!TWO52]: Define TWO52.
25116         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25117
25118 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25119
25120         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25121         llroundl symbol when building for PPC32.
25122
25123 2013-03-24  Mark H Weaver  <mhw@netris.org>
25124
25125         * manual/arith.texi (Normalization Functions): Fix prototypes for
25126         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25127
25128 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25129
25130         [BZ #13889]
25131         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25132         high value to check if expl overflow.
25133         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25134         to check for underflow and overflow.
25135         * math/libm-test.inc: Add exp test.
25136
25137 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
25138
25139         [BZ #11120]
25140         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25141         with NOT_IN_libc.
25142
25143 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25144
25145         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25146         symbol.
25147
25148 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25149
25150         * math/gen-libm-test.pl (parse_args, special_functions): Properly
25151         wrap blocks consisting of several statements.
25152
25153         * sysdeps/generic/math-tests.h: New file.
25154         * sysdeps/i386/fpu/math-tests.h: Likewise.
25155         * math/test-snan.c: Include it.
25156         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25157
25158 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25159
25160         [BZ #15285]
25161         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25162         (__ieee754_j0l): Do not improve calculations using cos of twice
25163         input for inputs above LDBL_MAX / 2.0L.
25164         (__ieee754_y0l): Likewise.
25165         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25166         (__ieee754_j1l): Do not improve calculations using cos of twice
25167         input for inputs above LDBL_MAX / 2.0L.
25168         (__ieee754_y1l): Likewise.
25169         * math/libm-test.inc (j0_test): Add another test.
25170         (j1_test): Likewise.
25171         (y0_test): Likewise.
25172         (y1_test): Likewise.
25173         * sysdeps/i386/fpu/libm-test-ulps: Update.
25174
25175 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25176
25177         * Rules ($(objpfx)bench-%.c): Include code from a C source
25178         file.
25179
25180 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25181
25182         [BZ #15287]
25183         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25184         imaginary part 1.0 and real part less than 0.5 specially.
25185         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25186         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25187         * math/libm-test.inc (cacos_test): Add more tests.
25188         (casin_test): Likewise.
25189         (casinh_test): Likewise.
25190         * sysdeps/i386/fpu/libm-test-ulps: Update.
25191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25192
25193 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25194
25195         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25196         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25197
25198 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
25199
25200         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25201         * config.make.in (config-cflags-sse4): Remove variable.
25202         (config-cflags-avx): Likewise.
25203         (config-cflags-sse2avx): Likewise.
25204         (config-cflags-novzeroupper): Likewise.
25205         (config-asflags-i686): Likewise.
25206         (have-mfma4): Likewise.
25207         (have-as-vis3): Likewise.
25208         (MIG): Likewise.
25209         * configure.in (MIG): Do not AC_SUBST.
25210         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25211         (libc_cv_cc_sse4): Do not AC_SUBST.
25212         (libc_cv_cc_avx): Likewise.
25213         (libc_cv_cc_sse2avx): Likewise.
25214         (libc_cv_cc_novzeroupper): Likewise.
25215         (libc_cv_cc_fma4): Likewise.
25216         (libc_cv_as_i686): Likewise.
25217         (libc_cv_sparc_as_vis3): Likewise.
25218         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25219         LIBC_CONFIG_VAR.
25220         (config-asflags-i686): Likewise.
25221         (config-cflags-avx): Likewise.
25222         (config-cflags-sse2avx): Likewise.
25223         (have-mfma4): Likewise.
25224         (config-cflags-novzeroupper): Likewise.
25225         * sysdeps/mach/configure.in (MIG): Likewise.
25226         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25227         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25228         LIBC_CONFIG_VAR.
25229         (config-cflags-avx): Likewise.
25230         (config-cflags-sse2avx): Likewise.
25231         (have-mfma4): Likewise.
25232         (config-cflags-novzeroupper): Likewise.
25233         * configure: Regenerated.
25234         * sysdeps/i386/configure: Likewise.
25235         * sysdeps/mach/configure: Likewise.
25236         * sysdeps/sparc/configure: Likewise.
25237         * sysdeps/x86_64/configure: Likewise.
25238
25239 2013-03-20  Roland McGrath  <roland@hack.frob.com>
25240
25241         [BZ #14812]
25242         * locale/programs/localedef.c (options): Put N_ translation marker
25243         on argument names, not just descriptions.
25244
25245 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25246
25247         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25248
25249 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
25250
25251         [BZ #14176]
25252         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25253
25254 2013-03-19  Roland McGrath  <roland@hack.frob.com>
25255
25256         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25257         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25258         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25259         [!BEFORE_ABORT] (before_abort): New function.
25260         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25261         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25262         (writev_for_fatal): New function.
25263         (WRITEV_FOR_FATAL): New macro; call that.
25264         (backtrace_and_maps): New function.
25265         (BEFORE_ABORT): New macro; call that.
25266         (struct str_list): Type removed.
25267         (__libc_message, __libc_fatal): Functions removed.
25268         Include <sysdeps/posix/libc_fatal.c> instead.
25269
25270 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
25271
25272         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25273         constants.
25274         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25275         double constants.
25276
25277 2013-03-19  Andreas Schwab  <schwab@suse.de>
25278
25279         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25280         * sysdeps/gnu/configure: Regenerate.
25281
25282         * configure.in: Substitute libc_cv_rtlddir.
25283         * configure: Regenerate.
25284         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25285         * Makeconfig (rtlddir, inst_rtlddir): New variables.
25286         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25287         * elf/Makefile (install-others, CFLAGS-interp.c)
25288         (ldso_install, common-ldd-rewrite): Likewise.
25289         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25290         $(inst_slibdir)/$(rtld-installed-name).
25291         * scripts/rellns-sh: Add -p option.
25292         * Makerules (make-shlib-link): Use rellns-sh to get relative name
25293         for source.
25294
25295 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25296
25297         * manual/nptl.texi: Renamed to ...
25298         * manual/threads.texi: ... this.
25299         * manual/Makefile (chapters): Update.
25300
25301 2013-03-18  Roland McGrath  <roland@hack.frob.com>
25302
25303         [BZ #14812]
25304         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25305         on argument names, not just descriptions.
25306         * malloc/memusagestat.c (options): Likewise.
25307         * nss/getent.c (options): Likewise.
25308
25309 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
25310
25311         [BZ #14812]
25312         * iconv/iconv_prog.c (options): Put N_ translation marker
25313         on argument names, not just descriptions.
25314         * iconv/iconvconfig.c (options): Likewise.
25315
25316 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
25317
25318         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25319         implementation which is faster on all x86_64 architectures.
25320         Tested on AMD, Intel Nehalem, SNB, IVB.
25321         * sysdeps/x86_64/strnlen.S: Likewise.
25322
25323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25324         Remove all multiarch strlen and strnlen versions.
25325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25326         Remove strlen and strnlen related parts.
25327
25328         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25329         Inline strlen part.
25330         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25331
25332         * sysdeps/x86_64/multiarch/strlen.S: Remove.
25333         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25334         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25335         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25336         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25337         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25338
25339 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
25340
25341         * manual/memory.texi (Malloc Tunable Parameters):
25342         Sort parameters alphabetically. Add comments for missing entries.
25343
25344 2013-03-17  David S. Miller  <davem@davemloft.net>
25345
25346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25347
25348 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
25349
25350         [BZ #15283]
25351         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25352         for arguments at most half maximum finite value.
25353         * math/libm-test.inc (j0_test): Add more tests.
25354         (j1_test): Likewise.
25355         (y0_test): Likewise.
25356         (y1_test): Likewise.
25357         * sysdeps/i386/fpu/libm-test-ulps: Update.
25358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25359
25360         [BZ #14155]
25361         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25362         1 / x and functions P and Q for arguments above 0x1p256L.
25363         (__ieee754_y0l): Likewise.
25364         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25365         (__ieee754_y1l): Likewise.
25366         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25367         (j1_test): Likewise.
25368         (y0_test): Likewise.
25369         (y1_test): Likewise.
25370
25371 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
25372
25373         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25374         variable.
25375
25376 2013-03-15  Roland McGrath  <roland@hack.frob.com>
25377
25378         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25379         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25380         zero since it's initialized to EXEC_PAGESIZE.
25381
25382         * sysdeps/unix/sysv/linux/ldsodefs.h
25383         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25384         * sysdeps/generic/ldsodefs.h: ... here.
25385
25386 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
25387
25388         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25389
25390         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25391         math/test-snan.c.
25392         * math/test-snan.c: Renamed from
25393         sysdeps/powerpc/fpu/test-powerpc-snan.c.
25394         * math/Makefile (tests): Add test-snan.
25395         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25396         test-powerpc-snan.
25397
25398         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25399         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
25400         functions.
25401         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
25402         __builtin_nan family of functions.
25403         * math/libm-test.inc (initialize): Initialize qnan_value with
25404         __builtin_nan family of functions.
25405         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25406         Remove variables.
25407         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25408         Remove functions.
25409         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
25410         storage class.  Initialize qNaN_var and sNaN_var with
25411         __builtin_nan and __builtin_nans families of functions,
25412         respectively.
25413
25414         * math/libm-test.inc (acosh_test): Also test with qNaN input.
25415         (sqrt_test): Remove duplicate test with qNaN input.
25416         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25417         (round_test, signbit_test, significand_test): Note missing +/-Inf
25418         as well as qNaN tests.
25419
25420         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25421         qNaN_var.  Fix a few strings, too.
25422         * math/libm-test.inc (nan_value): Rename to qnan_value.
25423         * math/gen-libm-test.pl (%beautify): Adjust to that.
25424         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25425         * math/test-misc.c (main): Likewise.
25426         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25427         to __qnan_bytes, and __qnan_union, respectively.
25428         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25429         Likewise.
25430         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25431         and lqnanval, respectively.
25432         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25433         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25434         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25435         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25436
25437         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25438         * math/test-misc.c (main) [__x86_64__]: Enable test for long
25439         doubles.
25440
25441         * math/test-misc.c (main): Fix copy'n'pastos.
25442         * misc/tst-efgcvt.c (special): Likewise.
25443
25444         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25445         Remove declarations.
25446
25447 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25448
25449         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25450         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25451         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25452         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25453
25454 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25455
25456         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25457         macro to return vdso values correctly in IFUNC implementations.
25458         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25459         Optimization by using IFUNC.
25460
25461 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25462             Richard Henderson  <rth@redhat.com>
25463             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25464
25465         * Makefile.in (bench): New target.
25466         * NEWS: Mention the benchmark framework.
25467         * Rules (bench): Likewise.
25468         (binaries-bench): Generate binaries for functions to
25469         benchmark.
25470         * benchtests/Makefile: New makefile for benchmark tests.
25471         * benchtests/bench-skeleton.c: New skeleton file for benchmark
25472         programs.
25473         * benchtests/exp-inputs: New input file for EXP function.
25474         * benchtests/pow-inputs: New input file for POW function.
25475         * scripts/bench.pl: New script to generate source files for
25476         benchmark programs.
25477
25478 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25479
25480         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25481         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25482         computations on mantissa.  Use macros for rounding and
25483         division.
25484         (denorm): Likewise.
25485         (__dbl_mp): Likewise.
25486         (add_magnitudes): Likewise.
25487         (sub_magnitudes): Likewise.
25488         (__mul): Likewise.
25489         (__sqr): Likewise.
25490         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25491         powers of two in terms of TWOPOW macro.
25492         (mp_no): Make type of mantissa as MANTISSA_T.
25493         [!RADIXI]: Define RADIXI.
25494         [!TWO52]: Define TWO52.
25495         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25496
25497         * manual/nptl.texi (cindex): Modify threads to pthreads.
25498
25499 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
25500
25501         * sysdeps/x86_64/preconfigure: Regenerated.
25502
25503 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
25504
25505         [BZ #14155]
25506         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25507         0x1p28 and above.
25508         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25509         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25510         0x1p28 and above.
25511         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25512         * math/libm-test.inc (j0_test): Do not allow one spurious
25513         underflow exception.
25514         (y1_test): Likewise.
25515
25516 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25517
25518         * manual/Makefile (chapters): Add nptl.
25519         * manual/debug.texi (Debugging Support): Add link to Threads
25520         chapter.
25521         * manual/nptl.texi: New file.
25522
25523         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25524
25525 2013-03-14  Petr Baudis  <pasky@ucw.cz>
25526
25527         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25528         for non-NULL pointer before the memory validity test. Pointed
25529         out by Holger Brunck <holger.brunck@keymile.com>.
25530
25531 2013-03-13  Andreas Schwab  <schwab@suse.de>
25532
25533         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25534         instead of .os.
25535
25536 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
25537
25538         * timezone/zic.c: Update from tzcode 2013b.
25539
25540 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
25541
25542         * manual/install.texi (Configuring and compiling):
25543         Mention i686 and i586.
25544         * INSTALL: Regenerate.
25545
25546 2013-03-12  Roland McGrath  <roland@hack.frob.com>
25547
25548         * sysdeps/init_array/elf-init.c: New file.
25549         * csu/elf-init.c
25550         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25551         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25552
25553         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25554         __gmon_start__ as global, but as static with a .preinit_array pointer.
25555         * sysdeps/init_array/gmon-start.c: New file.  Use that.
25556         * sysdeps/init_array/crti.S: New file, empty except for comments.
25557         * sysdeps/init_array/crtn.S: Likewise.
25558
25559 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
25560
25561         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25562         definining bcopy.
25563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25564         Remove Prefer_SSE_for_memop.
25565         * sysdeps/x86_64/multiarch/init-arch.h: Remove
25566         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25567         HAS_PREFER_SSE_FOR_MEMOP.
25568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25569         memset-x86-64.
25570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25571         Remove bzero, memset ifunc support.
25572         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25573         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25574         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25575         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25576
25577 2013-03-11  Andreas Schwab  <schwab@suse.de>
25578
25579         [BZ #15234]
25580         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25581         by SHLIB_COMPAT.
25582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25583         (GLIBC_2.16): Remove pthread_atfork.
25584
25585 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25586
25587         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25588         (ptestcases.h): Likewise.
25589
25590 2013-03-08  Roland McGrath  <roland@hack.frob.com>
25591
25592         * Makeconfig ($(common-objpfx)config.status): Depend on
25593         sysdeps/*/preconfigure{,.in} too.
25594
25595 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
25596
25597         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25598         (__free_hook): Use void * instead of __malloc_ptr_t.
25599         (__malloc_hook): Likewise.
25600         (__realloc_hook): Likewise.
25601         (__memalign_hook): Likewise.
25602         (__after_morecore_hook): Likewise.
25603         * malloc/arena.c (save_malloc_hook): Likewise.
25604         (save_free_hook): Likewise.
25605         * malloc/hooks.c (malloc_hook_ini): Likewise.
25606         (realloc_hook_ini): Likewise.
25607         (memalign_hook_ini): Likewise.
25608         * malloc/malloc.c (malloc_hook_ini): Likewise.
25609         (realloc_hook_ini): Likewise.
25610         (memalign_hook_ini): Likewise.
25611         (__free_hook): Likewise.
25612         (__malloc_hook): Likewise.
25613         (__realloc_hook): Likewise.
25614         (__memalign_hook): Likewise.
25615         (__libc_malloc): Likewise.
25616         (__libc_free): Likewise.
25617         (__libc_realloc): Likewise.
25618         (__libc_memalign): Likewise.
25619         (__libc_valloc): Likewise.
25620         (__libc_pvalloc): Likewise.
25621         (__libc_calloc): Likewise.
25622         (__posix_memalign): Likewise.
25623         * malloc/morecore.c (__sbrk): Likewise.
25624         (__default_morecore): Likewise.
25625
25626         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25627
25628         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25629         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25630         __malloc_ptrdiff_t.
25631
25632         * malloc/malloc.h (__malloc_size_t): Remove macro.
25633         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25634         __malloc_size_t.
25635         (old_memalign_hook): Likewise.
25636         (old_realloc_hook): Likewise.
25637         (struct hdr): Likewise.
25638         (flood): Likewise.
25639         (mallochook): Likewise.
25640         (memalignhook): Likewise.
25641         (reallochook): Likewise.
25642         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25643         (tr_old_realloc_hook): Likewise.
25644         (tr_old_memalign_hook): Likewise.
25645         (tr_mallochook): Likewise.
25646         (tr_reallochook): Likewise.
25647         (tr_memalignhook): Likewise.
25648
25649 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25650
25651         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25652         default_ldbl_pack and using as default implementation.
25653         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25654         implementation.
25655         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25656         redundant definition.
25657         (ldbl_insert_mantissa): Likewise.
25658         (ldbl_canonicalize): Likewise.
25659         (ldbl_nearbyint): Likewise.
25660         (ldbl_pack): Rename to ldbl_pack_ppc.
25661         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25662         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25663         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25664
25665 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25666
25667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25668         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25669         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25670         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25671         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25672         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25673         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25674         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25675
25676 2013-03-07  Andreas Jaeger  <aj@suse.de>
25677
25678         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25679         bits/mman-linux.h.
25680
25681 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25682
25683         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25684         Include mpa.h and declare __MPEXP.
25685         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25686         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25687         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25688         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25689         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25690         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25691         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25692
25693         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25694         (__slowpow): Use long double EXPL and LOGL functions to
25695         compute POW.
25696         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25697         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25698         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25699         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25700         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25701         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25702
25703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25704         intermediate variable to calculate exponent.
25705         (__sqr): Likewise.
25706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25707         Likewise.
25708         (__sqr): Likewise.
25709
25710         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25711         [!NO__SQR]: Define __sqr.
25712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25713         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25714         sysdeps/ieee754/dbl-64/mpa.c.
25715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25716
25717         [BZ #12723]
25718         * posix/Makefile (tests): Add tst-pathconf.
25719         * posix/tst-pathconf.c: New test case.
25720         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25721         _PC_PIPE_BUF.
25722         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25723
25724 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25725
25726         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25727
25728 2013-03-06  Andreas Jaeger  <aj@suse.de>
25729
25730         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25731         definition via __MAP_ANONYMOUS.
25732
25733         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25734         it's not part of Linux headers.
25735
25736         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25737         (MAP_HUGE_MASK): Define.
25738
25739         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25740         Define.
25741         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25742         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25743         Define.
25744         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25745         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25746         Define.
25747         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25748         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25749         Define.
25750         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25751
25752         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25753         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25754         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25755         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25756         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25757         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25758
25759         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25760         Handle f2fs.
25761
25762         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25763         Handle f2fs and efivarfs.
25764
25765         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25766         f2fs.
25767
25768         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25769         (EFIVARFS_MAGIC): Add.
25770         (F2FS_LINK_MAX): Add.
25771
25772 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25773
25774         * stdio-common/vfprintf.c: Replace __builtin_expect with
25775         __glibc_unlikely.
25776
25777 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25778
25779         [BZ #13550]
25780         * sysdeps/generic/bp-sym.h: Remove file.
25781         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25782         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25783         <bp-sym.h> and <bp-asm.h>.
25784         (__longjmp): Don't use BP_SYM.
25785         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25786         and <bp-asm.h>.
25787         (memcpy): Don't use BP_SYM.
25788         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25789         <bp-sym.h> and <bp-asm.h>.
25790         (memcpy): Don't use BP_SYM.
25791         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25792         <bp-asm.h>.
25793         (memcpy): Don't use BP_SYM.
25794         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25795         <bp-asm.h>.
25796         (memset): Don't use BP_SYM.
25797         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25798         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25799         (__bzero): Don't use BP_SYM.
25800         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25801         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25802         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25803         <bp-sym.h> and <bp-asm.h>.
25804         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25805         pointers.
25806         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25807         <bp-sym.h> and <bp-asm.h>.
25808         (memcpy): Don't use BP_SYM.
25809         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25810         <bp-sym.h> and <bp-asm.h>.
25811         (memset): Don't use BP_SYM.
25812         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25813         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25814         (__bzero): Don't use BP_SYM.
25815         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25816         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25817         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25818         <bp-sym.h> and <bp-asm.h>.
25819         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25820         pointers.
25821         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25822         <bp-sym.h> and <bp-asm.h>.
25823         (memcpy): Don't use BP_SYM.
25824         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25825         <bp-sym.h> and <bp-asm.h>.
25826         (memset): Don't use BP_SYM.
25827         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25828         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25829         (__bzero): Don't use BP_SYM.
25830         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25831         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25832         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25833         <bp-sym.h> and <bp-asm.h>.
25834         (__memchr): Don't use BP_SYM.
25835         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25836         <bp-sym.h> and <bp-asm.h>.
25837         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25838         pointers.
25839         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25840         <bp-sym.h> and <bp-asm.h>.
25841         (memcpy): Don't use BP_SYM.
25842         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25843         <bp-sym.h> and <bp-asm.h>.
25844         (__mempcpy): Don't use BP_SYM.
25845         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25846         <bp-sym.h> and <bp-asm.h>.
25847         (__memrchr): Don't use BP_SYM.
25848         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25849         <bp-sym.h> and <bp-asm.h>.
25850         (memset): Don't use BP_SYM.
25851         (__bzero): Likewise.
25852         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25853         <bp-sym.h> and <bp-asm.h>.
25854         (__rawmemchr): Don't use BP_SYM.
25855         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25856         <bp-sym.h> and <bp-asm.h>.
25857         (__STRCMP): Don't use BP_SYM.
25858         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25859         <bp-sym.h> and <bp-asm.h>.
25860         (strchr): Don't use BP_SYM.
25861         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25862         <bp-sym.h> and <bp-asm.h>.
25863         (__strchrnul): Don't use BP_SYM.
25864         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25865         <bp-sym.h> and <bp-asm.h>.
25866         (strlen): Don't use BP_SYM.
25867         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25868         <bp-sym.h> and <bp-asm.h>.
25869         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25870         pointers.
25871         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25872         <bp-sym.h> and <bp-asm.h>.
25873         (__strnlen): Don't use BP_SYM.
25874         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25875         <bp-sym.h> and <bp-asm.h>.
25876         (__GI__setjmp): Don't use BP_SYM.
25877         (_setjmp): Likewise.
25878         (__sigsetjmp): Likewise.
25879         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25880         (L(start_addresses)): Don't use BP_SYM.
25881         (_start): Likewise.
25882         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25883         <bp-asm.h>.
25884         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25885         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25886         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25887         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25888         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25889         <bp-asm.h>.
25890         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25891         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
25892         about bounded pointers.
25893         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25894         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25895         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25896         <bp-asm.h>.
25897         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25898         about bounded pointers.  Remove GKM FIXME comments.
25899         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25900         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25901         <bp-asm.h>.
25902         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25903         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
25904         Remove GKM FIXME comments.
25905         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25906         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25907         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25908         <bp-asm.h>.
25909         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25910         about bounded pointers.  Remove GKM FIXME comment.
25911         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25912         and <bp-asm.h>.
25913         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25914         pointers.
25915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25916         <bp-sym.h> and <bp-asm.h>.
25917         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25919         <bp-sym.h> and <bp-asm.h>.
25920         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25921         comment.
25922
25923 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25924
25925         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25926         call free(NULL).
25927
25928 2013-03-05  David S. Miller  <davem@davemloft.net>
25929
25930         * po/es.po: Update from translation team.
25931
25932 2013-03-05  Andreas Jaeger  <aj@suse.de>
25933
25934         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25935         <bits/mman-linux.h>.
25936         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25937         is fine.
25938         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25939         <bits/mman-linux.h> to end of file.
25940         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25941         is fine.
25942         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25943         <bits/mman-linux.h> to end of file.
25944         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25945         is fine.
25946         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25947         <bits/mman-linux.h> to end of file.
25948
25949         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25950         (MCL_CURRENT, MCL_FUTURE): Define here.
25951
25952 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25953
25954         [BZ #15232]
25955         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25956         attribute_hidden.
25957         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25958
25959 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25960
25961         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25962         fourth parameter needed for rt_sigprocmask syscall.
25963         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25964         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25965         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25966         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25967         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25968         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25969
25970 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
25971
25972         [BZ #13550]
25973         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25974         comment about bounded pointers.
25975         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25976         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25977
25978 2013-03-04  Andreas Jaeger  <aj@suse.de>
25979
25980         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25981         common definitions.
25982
25983         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25984         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25985         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25986         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25987         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25988         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25989
25990 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25991
25992         [BZ #15055]
25993         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25994         __ieee754_sqrl instead of __sqrl.
25995
25996 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
25997
25998         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25999         * sysdeps/powerpc/fpu_control.h: ... here.
26000         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26001         * sysdeps/powerpc/bits/fenvinline.h: ... here.
26002         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26003         * sysdeps/powerpc/bits/mathinline.h: ... here.
26004
26005 2013-03-01  Roland McGrath  <roland@hack.frob.com>
26006
26007         * elf/dl-hwcaps.c (_dl_important_hwcaps):
26008         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26009         to just [NEED_DL_SYSINFO_DSO].
26010         * elf/dl-support.c: Likewise.
26011         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26012         * elf/rtld.c (dl_main): Likewise.
26013         * elf/setup-vdso.h (setup_vdso): Likewise.
26014         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26015         * sysdeps/unix/sysv/linux/dl-sysdep.c
26016         (_dl_discover_osversion): Likewise.
26017
26018 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
26019
26020         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26021         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26022
26023 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26024
26025         * NEWS: Mention libm performance improvements and non-x86 PI
26026         futex support.
26027
26028         * csu/libc-start.c (__pthread_initialize_minimal): Change
26029         function arguments.
26030         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26031
26032 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
26033
26034         [BZ #13550]
26035         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26036         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26037         <bp-sym.h> and <bp-asm.h>.
26038         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26039         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26040         and <bp-asm.h>.
26041         (memcpy): Don't use BP_SYM.
26042         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26043         <bp-asm.h>.
26044         (__mpn_add_n): Don't use BP_SYM.
26045         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26046         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26047         and <bp-asm.h>.
26048         (__mpn_addmul_1): Don't use BP_SYM.
26049         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26050         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26051         <bp-sym.h>.
26052         (_setjmp): Don't use BP_SYM.
26053         (__novmx_setjmp): Likewise.
26054         (__GI__setjmp): Likewise.
26055         (__vmx_setjmp): Likewise.
26056         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26057         <bp-sym.h>.
26058         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26059         (__bzero): Don't use BP_SYM.
26060         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26061         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26062         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26063         <bp-sym.h> and <bp-asm.h>.
26064         (memcpy): Don't use BP_SYM.
26065         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26066         <bp-sym.h> and <bp-asm.h>.
26067         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26068         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26069         <bp-sym.h> and <bp-asm.h>.
26070         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26071         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26072         <bp-asm.h>.
26073         (__mpn_lshift): Don't use BP_SYM.
26074         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26075         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26076         <bp-asm.h>.
26077         (memset): Don't use BP_SYM.
26078         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26079         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26080         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26081         <bp-asm.h>.
26082         (__mpn_mul_1): Don't use BP_SYM.
26083         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26084         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26085         <bp-sym.h> and <bp-asm.h>.
26086         (memcmp): Don't use BP_SYM.
26087         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26088         <bp-sym.h> and <bp-asm.h>.
26089         (memcpy): Don't use BP_SYM.
26090         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26091         <bp-sym.h> and <bp-asm.h>.
26092         (memset): Don't use BP_SYM.
26093         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26094         <bp-sym.h> and <bp-asm.h>.
26095         (strncmp): Don't use BP_SYM.
26096         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26097         <bp-sym.h> and <bp-asm.h>.
26098         (memcpy): Don't use BP_SYM.
26099         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26100         <bp-sym.h> and <bp-asm.h>.
26101         (memset): Don't use BP_SYM.
26102         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26103         <bp-sym.h> and <bp-asm.h>.
26104         (__memchr): Don't use BP_SYM.
26105         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26106         <bp-sym.h> and <bp-asm.h>.
26107         (memcmp): Don't use BP_SYM.
26108         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26109         <bp-sym.h> and <bp-asm.h>.
26110         (memcpy): Don't use BP_SYM.
26111         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26112         <bp-sym.h> and <bp-asm.h>.
26113         (__mempcpy): Don't use BP_SYM.
26114         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26115         <bp-sym.h> and <bp-asm.h>.
26116         (__memrchr): Don't use BP_SYM.
26117         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26118         <bp-sym.h> and <bp-asm.h>.
26119         (memset): Don't use BP_SYM.
26120         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26121         <bp-sym.h> and <bp-asm.h>.
26122         (__rawmemchr): Don't use BP_SYM.
26123         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26124         <bp-sym.h> and <bp-asm.h>.
26125         (__STRCMP): Don't use BP_SYM.
26126         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26127         <bp-sym.h> and <bp-asm.h>.
26128         (strchr): Don't use BP_SYM.
26129         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26130         <bp-sym.h> and <bp-asm.h>.
26131         (__strchrnul): Don't use BP_SYM.
26132         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26133         <bp-sym.h> and <bp-asm.h>.
26134         (strlen): Don't use BP_SYM.
26135         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26136         <bp-sym.h> and <bp-asm.h>.
26137         (strncmp): Don't use BP_SYM.
26138         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26139         <bp-sym.h> and <bp-asm.h>.
26140         (__strnlen): Don't use BP_SYM.
26141         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26142         <bp-asm.h>.
26143         (__mpn_rshift): Don't use BP_SYM.
26144         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26145         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26146         <bp-sym.h> and <bp-asm.h>.
26147         (__sigsetjmp): Don't use BP_SYM.
26148         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26149         (L(start_addresses)): Don't use BP_SYM.
26150         (_start): Likewise.
26151         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26152         <bp-asm.h>.
26153         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26154         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26155         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26156         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26157         <bp-asm.h>.
26158         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26159         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26160         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26161         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26162         <bp-asm.h>.
26163         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26164         comments.
26165         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26166         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26167         <bp-asm.h>.
26168         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
26169         FIXME comments.
26170         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26171         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26172         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26173         <bp-asm.h>.
26174         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26175         comment.
26176         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26177         and <bp-asm.h>.
26178         (strncmp): Don't use BP_SYM,
26179         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26180         <bp-asm.h>.
26181         (__mpn_sub_n): Don't use BP_SYM.
26182         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26183         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26184         and <bp-asm.h>.
26185         (__mpn_submul_1): Don't use BP_SYM.
26186         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26188         <bp-sym.h> and <bp-asm.h>.
26189         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26191         <bp-sym.h> and <bp-asm.h>.
26192         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26193         comment.
26194
26195 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26196
26197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26198         Use ZK to minimize writes to Z.
26199         (sub_magnitudes): Simplify code a bit.
26200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26201         Use ZK to minimize writes to Z.
26202         (sub_magnitudes): Simplify code a bit.
26203
26204 2013-02-27  Roland McGrath  <roland@hack.frob.com>
26205
26206         * csu/gmon-start.c: Add special exception to license text.
26207
26208 2013-02-27  Richard Henderson  <rth@redhat.com>
26209
26210         * scripts/config.guess: Update from config.git.
26211         * scripts/config.sub: Likewise.
26212
26213 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26214
26215         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26216
26217         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26218
26219         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26220
26221         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26222
26223         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26224
26225 2013-02-26  Roland McGrath  <roland@hack.frob.com>
26226
26227         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26228         [$(build-shared = yes].
26229
26230 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26231
26232         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26233         (__mul): Reduce iterations for calculating mantissa.
26234
26235         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26236         MPTWO.
26237         (__mpranred): Likewise.
26238
26239         [BZ #15160]
26240         * malloc/memusagestat.c (main): Draw graphs for heap and stack
26241         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26242
26243 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
26244
26245         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26246         Define __attribute__.
26247
26248 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26249
26250         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26251         unused.
26252         * posix/regex_internal.h (__attribute): Remove.
26253         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26254         (re_string_context_at): Likewise.
26255         (bitset_not): Use __attribute__ and mark function as possibly
26256         unused.
26257         (bitset_merge): Likewise.
26258         (bitset_mask): Likewise.
26259         (re_string_char_size_at): Likewise.
26260         (re_string_wchar_at): Likewise.
26261         (re_string_elem_size_at): Likewise.
26262
26263 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26264
26265         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26266         code.
26267         (cc32): Likewise.
26268
26269         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26270         (__acr): Likewise.
26271         (__cpy): Likewise.
26272         (norm): Likewise.
26273         (denorm): Likewise.
26274         (__dbl_mp): Likewise.
26275         (add_magnitudes): Likewise.
26276         (sub_magnitudes): Likewise.
26277         (__mul): Likewise.
26278         (__inv): Likewise.
26279
26280         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26281         style.
26282
26283         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26284         style.
26285
26286         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26287         code.
26288
26289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26290         up changes with default code.
26291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26292         Likewise.
26293
26294 2013-02-24  Allan McRae  <allan@archlinux.org>
26295
26296         * manual/socket.texi (The Internet Namespace): Order menu items
26297         to match that in the file.
26298
26299         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26300         node listing of the info page menu.
26301
26302 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
26303
26304         [BZ #13550]
26305         * sysdeps/i386/bp-asm.h: Remove file.
26306         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26307         (PARMS): Do not use macros from bp-asm.h.
26308         (S1): Likewise.
26309         (S2): Likewise.
26310         (SIZE): Likewise.
26311         (__mpn_add_n): Do not use BP_SYM
26312         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26313         "bp-asm.h".
26314         (PARMS): Do not use macros from bp-asm.h.
26315         (S1): Likewise.
26316         (SIZE): Likewise.
26317         (__mpn_addmul_1): Do not use BP_SYM
26318         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26319         "bp-asm.h".
26320         (PARMS): Do not use macros from bp-asm.h.
26321         (SIGMSK): Likewise.
26322         (_setjmp): Likewise.  Do not use BP_SYM.
26323         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26324         "bp-asm.h".
26325         (PARMS): Do not use macros from bp-asm.h.
26326         (SIGMSK): Likewise.
26327         (setjmp): Likewise.  Do not use BP_SYM.
26328         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26329         "bp-asm.h".
26330         (PARMS): Do not use macros from bp-asm.h.
26331         (__frexp): Do not use BP_SYM.
26332         (frexp): Likewise.
26333         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26334         "bp-asm.h".
26335         (PARMS): Do not use macros from bp-asm.h.
26336         (__frexpf): Do not use BP_SYM.
26337         (frexpf): Likewise.
26338         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26339         "bp-asm.h".
26340         (PARMS): Do not use macros from bp-asm.h.
26341         (__frexpl): Do not use BP_SYM.
26342         (frexpl): Likewise.
26343         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26344         "bp-asm.h".
26345         (PARMS): Do not use macros from bp-asm.h.
26346         (__remquo): Do not use BP_SYM.
26347         (remquo): Likewise.
26348         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26349         "bp-asm.h".
26350         (PARMS): Do not use macros from bp-asm.h.
26351         (__remquof): Do not use BP_SYM.
26352         (remquof): Likewise.
26353         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26354         "bp-asm.h".
26355         (PARMS): Do not use macros from bp-asm.h.
26356         (__remquol): Do not use BP_SYM.
26357         (remquol): Likewise.
26358         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26359         "bp-asm.h".
26360         (PARMS): Do not use macros from bp-asm.h.
26361         (DEST): Likewise.
26362         (SRC): Likewise.
26363         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
26364         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26365         "bp-asm.h".
26366         (PARMS): Do not use macros from bp-asm.h.
26367         (strlen): Do not use BP_SYM.
26368         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26369         "bp-asm.h".
26370         (PARMS): Do not use macros from bp-asm.h.
26371         (S1): Likewise.
26372         (S2): Likewise.
26373         (SIZE): Likewise.
26374         (__mpn_add_n): Do not use BP_SYM.
26375         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26376         "bp-asm.h".
26377         (PARMS): Do not use macros from bp-asm.h.
26378         (S1): Likewise.
26379         (SIZE): Likewise.
26380         (__mpn_addmul_1): Do not use BP_SYM.
26381         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26382         weak_alias.
26383         (bzero): Likewise.
26384         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26385         "bp-asm.h".
26386         (PARMS): Do not use macros from bp-asm.h.
26387         (S): Likewise.
26388         (SIZE): Likewise.
26389         (__mpn_lshift): Do not use BP_SYM.
26390         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26391         "bp-asm.h".
26392         (PARMS): Do not use macros from bp-asm.h.
26393         (DEST): Likewise.
26394         (SRC): Likewise.
26395         (LEN): Likewise.
26396         (memcpy): Likewise.  Do not use BP_SYM.
26397         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26398         libc_hidden_def and weak_alias.
26399         (mempcpy): Do not use BP_SYM in weak_alias.
26400         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26401         "bp-asm.h".
26402         (PARMS): Do not use macros from bp-asm.h.
26403         (DEST): Likewise.
26404         (LEN): Likewise.
26405         [!BZERO_P] (CHR): Likewise.
26406         (memset): Likewise.  Do not use BP_SYM.
26407         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26408         "bp-asm.h".
26409         (PARMS): Do not use macros from bp-asm.h.
26410         (S1): Likewise.
26411         (SIZE): Likewise.
26412         (__mpn_mul_1): Do not use BP_SYM.
26413         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26414         "bp-asm.h".
26415         (PARMS): Do not use macros from bp-asm.h.
26416         (S): Likewise.
26417         (SIZE): Likewise.
26418         (__mpn_rshift): Do not use BP_SYM.
26419         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26420         "bp-asm.h".
26421         (PARMS): Do not use macros from bp-asm.h.
26422         (STR): Likewise.
26423         (CHR): Likewise.
26424         (strchr): Likewise.  Do not use BP_SYM.
26425         (index): Do not use BP_SYM in weak_alias.
26426         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26427         "bp-asm.h".
26428         (PARMS): Do not use macros from bp-asm.h.
26429         (DEST): Likewise.
26430         (SRC): Likewise.
26431         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
26432         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26433         "bp-asm.h".
26434         (PARMS): Do not use macros from bp-asm.h.
26435         (strlen): Do not use BP_SYM.
26436         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26437         "bp-asm.h".
26438         (PARMS): Do not use macros from bp-asm.h.
26439         (S1): Likewise.
26440         (S2): Likewise.
26441         (SIZE): Likewise.
26442         (__mpn_sub_n): Do not use BP_SYM.
26443         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26444         "bp-asm.h".
26445         (PARMS): Do not use macros from bp-asm.h.
26446         (S1): Likewise.
26447         (SIZE): Likewise.
26448         (__mpn_submul_1): Do not use BP_SYM.
26449         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26450         "bp-asm.h".
26451         (PARMS): Do not use macros from bp-asm.h.
26452         (S1): Likewise.
26453         (S2): Likewise.
26454         (SIZE): Likewise.
26455         (__mpn_add_n): Do not use BP_SYM.
26456         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26457         weak_alias.
26458         (bzero): Likewise.
26459         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26460         "bp-asm.h".
26461         (PARMS): Do not use macros from bp-asm.h.
26462         (BLK2): Likewise.
26463         (LEN): Likewise.
26464         (memcmp): Do not use BP_SYM.
26465         (bcmp): Do not use BP_SYM in weak_alias.
26466         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26467         "bp-asm.h".
26468         (PARMS): Do not use macros from bp-asm.h.
26469         (DEST): Likewise.
26470         (SRC): Likewise.
26471         (LEN): Likewise.
26472         (memcpy): Likewise.  Do not use BP_SYM.
26473         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26474         "bp-asm.h".
26475         (PARMS): Do not use macros from bp-asm.h.
26476         (DEST): Likewise.
26477         (SRC): Likewise.
26478         (LEN): Likewise.
26479         (memmove): Likewise.  Do not use BP_SYM.
26480         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26481         "bp-asm.h".
26482         (PARMS): Do not use macros from bp-asm.h.
26483         (DEST): Likewise.
26484         (SRC): Likewise.
26485         (LEN): Likewise.
26486         (__mempcpy): Likewise.  Do not use BP_SYM.
26487         (mempcpy): Do not use BP_SYM in weak_alias.
26488         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26489         "bp-asm.h".
26490         (PARMS): Do not use macros from bp-asm.h.
26491         (DEST): Likewise.
26492         (LEN): Likewise.
26493         [!BZERO_P] (CHR): Likewise.
26494         (memset): Likewise.  Do not use BP_SYM.
26495         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26496         "bp-asm.h".
26497         (PARMS): Do not use macros from bp-asm.h.
26498         (STR2): Likewise.
26499         (strcmp): Do not use BP_SYM.
26500         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26501         "bp-asm.h".
26502         (PARMS): Do not use macros from bp-asm.h.
26503         (STR): Likewise.
26504         (DELIM): Likewise.
26505         [USE_AS_STRTOK_R] (SAVE): Likewise.
26506         (FUNCTION): Likewise.  Do not use BP_SYM.
26507         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26508         aliases.
26509         (strtok_r): Likewise.
26510         (__GI___strtok_r): Likewise.
26511         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26512         (PARMS): Do not use macros from bp-asm.h.
26513         (S): Likewise.
26514         (SIZE): Likewise.
26515         (__mpn_lshift): Do not use BP_SYM.
26516         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26517         (PARMS): Do not use macros from bp-asm.h.
26518         (STR): Likewise.
26519         (CHR): Likewise.
26520         (__memchr): Do not use BP_SYM.
26521         (memchr): Do not use BP_SYM in weak_alias.
26522         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26523         (PARMS): Do not use macros from bp-asm.h.
26524         (BLK2): Likewise.
26525         (LEN): Likewise.
26526         (memcmp): Do not use BP_SYM.
26527         (bcmp): Do not use BP_SYM in weak_alias.
26528         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26529         (PARMS): Do not use macros from bp-asm.h.
26530         (S1): Likewise.
26531         (SIZE): Likewise.
26532         (__mpn_mul_1): Do not use BP_SYM.
26533         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26534         "bp-asm.h".
26535         (PARMS): Do not use macros from bp-asm.h.
26536         (STR): Likewise.
26537         (CHR): Likewise.
26538         (__rawmemchr): Do not use BP_SYM.
26539         (rawmemchr): Do not use BP_SYM in weak_alias.
26540         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26541         (PARMS): Do not use macros from bp-asm.h.
26542         (S): Likewise.
26543         (SIZE): Likewise.
26544         (__mpn_rshift): Do not use BP_SYM.
26545         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26546         (PARMS): Do not use macros from bp-asm.h.
26547         (SIGMSK): Likewise.
26548         (__sigsetjmp): Likewise.  Do not use BP_SYM.
26549         * sysdeps/i386/start.S: Do not include "bp-sym.h".
26550         (_start): Do not use BP_SYM.
26551         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26552         (PARMS): Do not use macros from bp-asm.h.
26553         (DEST): Likewise.
26554         (SRC): Likewise.
26555         (__stpcpy): Likewise.  Do not use BP_SYM.
26556         (stpcpy): Do not use BP_SYM in weak_alias.
26557         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26558         "bp-asm.h".
26559         (PARMS): Do not use macros from bp-asm.h.
26560         (DEST): Likewise.
26561         (SRC): Likewise.
26562         (LEN): Likewise.
26563         (__stpncpy): Likewise.  Do not use BP_SYM.
26564         (stpncpy): Do not use BP_SYM in weak_alias.
26565         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26566         (PARMS): Do not use macros from bp-asm.h.
26567         (STR): Likewise.
26568         (CHR): Likewise.
26569         (strchr): Likewise.  Do not use BP_SYM.
26570         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26571         "bp-asm.h".
26572         (PARMS): Do not use macros from bp-asm.h.
26573         (STR): Likewise.
26574         (CHR): Likewise.
26575         (__strchrnul): Likewise.  Do not use BP_SYM.
26576         (strchrnul): Do not use BP_SYM in weak_alias.
26577         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26578         "bp-asm.h".
26579         (PARMS): Do not use macros from bp-asm.h.
26580         (STOP): Likewise.
26581         (strcspn): Do not use BP_SYM.
26582         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26583         "bp-asm.h".
26584         (PARMS): Do not use macros from bp-asm.h.
26585         (STR): Likewise.
26586         (STOP): Likewise.
26587         (strpbrk): Likewise.  Do not use BP_SYM.
26588         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26589         "bp-asm.h".
26590         (PARMS): Do not use macros from bp-asm.h.
26591         (STR): Likewise.
26592         (CHR): Likewise.
26593         (strrchr): Likewise.  Do not use BP_SYM.
26594         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26595         (PARMS): Do not use macros from bp-asm.h.
26596         (SKIP): Likewise.
26597         (strspn): Do not use BP_SYM.
26598         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26599         (PARMS): Do not use macros from bp-asm.h.
26600         (STR): Likewise.
26601         (DELIM): Likewise.
26602         (SAVE): Likewise.
26603         (FUNCTION): Likewise.  Do not use BP_SYM.
26604         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26605         aliases.
26606         (strtok_r): Likewise.
26607         (__GI___strtok_r): Likewise.
26608         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26609         (PARMS): Do not use macros from bp-asm.h.
26610         (S1): Likewise.
26611         (S2): Likewise.
26612         (SIZE): Likewise.
26613         (__mpn_sub_n): Do not use BP_SYM.
26614         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26615         "bp-asm.h".
26616         (PARMS): Do not use macros from bp-asm.h.
26617         (S1): Likewise.
26618         (SIZE): Likewise.
26619         (__mpn_submul_1): Do not use BP_SYM.
26620         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26621         <bp-sym.h>.
26622         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26623         and <bp-asm.h>.
26624         (PARMS): Do not use macros from bp-asm.h.
26625         (FLAGS): Likewise.
26626         (PTID): Likewise.
26627         (TLS): Likewise.
26628         (CTID): Likewise.
26629         (__clone): Do not use BP_SYM.
26630         (clone): Do not use BP_SYM in weak_alias.
26631         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26632         and <bp-asm.h>.
26633         (PARMS): Do not use macros from bp-asm.h.
26634         (LEN): Likewise.
26635         (__mmap64): Do not use BP_SYM.
26636         (mmap64): Do not use BP_SYM in weak_alias.
26637         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26638         <bp-sym.h> and <bp-asm.h>.
26639         (PARMS): Do not use macros from bp-asm.h.
26640         (__posix_fadvise64_l64): Do not use BP_SYM.
26641         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26642         (PARMS): Do not use macros from bp-asm.h.
26643         (NSOPS): Likewise.
26644         (semtimedop): Do not use BP_SYM.
26645         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26646         and <bp-asm.h>.
26647
26648 2013-02-21  Allan McRae  <allan@archlinux.org>
26649
26650         * manual/message.texi (Charset conversion in gettext):
26651         Move @end statement to beginning of line.
26652
26653 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26654
26655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26656         static.
26657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26658         Likewise.
26659
26660         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26661         (denorm): Likewise.
26662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26663         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26664
26665 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26666
26667         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26668         tail-call to the resolved function if pltexit isn't needed.
26669
26670 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26671
26672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26673         or Y being zero as being unlikely.
26674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26675         Likewise.
26676
26677 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26678
26679         * manual/nss.texi (System Databases and Name Service Switch):
26680         Remove frobnicate @pxref.
26681
26682 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26683
26684         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26685         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26686
26687 2013-02-20  Petr Machata  <pmachata@redhat.com>
26688
26689         * elf/elf.h (R_ARM_TARGET1): New macro.
26690         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26691         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26692         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26693         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26694         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26695         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26696         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26697         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26698         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26699         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26700         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26701         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26702         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26703         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26704         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26705         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26706         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26707         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26708         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26709         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26710         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26711         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26712         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26713         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26714         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26715         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26716         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26717         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26718         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26719         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26720         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26721         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26722         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26723         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26724         (R_ARM_THM_GOT_BREL12): Likewise.
26725         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26726         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26727         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26728         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26729         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26730         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26731         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26732         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26733         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26734
26735 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26736
26737         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26738         __attribute_used__ to __attribute__ ((unused)).
26739
26740 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26741
26742         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26743         powerpc mpa.c.
26744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26745         comment formatting.
26746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26747
26748 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26749
26750         [BZ #13550]
26751         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26752         Remove macro.
26753         (ENTER): Remove both macro definitions.
26754         (LEAVE): Likewise.
26755         (CHECK_BOUNDS_LOW): Likewise.
26756         (CHECK_BOUNDS_HIGH): Likewise.
26757         (CHECK_BOUNDS_BOTH): Likewise.
26758         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26759         (RETURN_BOUNDED_POINTER): Likewise.
26760         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26761         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26762         (POP_ERRNO_LOCATION_RETURN): Likewise.
26763         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26764         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26765         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26766         macros.
26767         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26768         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26769         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26770         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26771         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26772         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26773         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26774         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26775         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26776         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26777         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26778         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26779         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26780         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26781         removed macros.
26782         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26783         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26784         macros.
26785         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26786         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26787         * sysdeps/i386/i586/memset.S (memset): Likewise.
26788         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26789         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26790         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26791         macros.
26792         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26793         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26794         Change uses of L(2) to L(out).
26795         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26796         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26797         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26798         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26799         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26800         removed macros.
26801         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26802         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26803         macros.
26804         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26805         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26806         (RETURN): Do not use macro LEAVE.
26807         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26808         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26809         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26810         * sysdeps/i386/i686/memset.S (memset): Likewise.
26811         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26812         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26813         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26814         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26815         Likewise.
26816         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26817         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
26818         L(1_2) and L(1_3) into L(1).
26819         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26820         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26821         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26822         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26823         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26824         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26825         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26826         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26827         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26828         macros.
26829         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26830         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26831         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26832         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26833         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26834         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26835         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26836         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26837         * sysdeps/i386/strcspn.S (strcspn): Likewise.
26838         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26839         * sysdeps/i386/strrchr.S (strrchr): Likewise.
26840         * sysdeps/i386/strspn.S (strspn): Likewise.
26841         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26842         conditional code.
26843         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26844         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26845         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26846         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
26847         L(1_3) into L(1_1).
26848         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26849         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26850         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26851         macros.
26852         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26853
26854 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
26855
26856         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26857         macro.
26858
26859 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26860
26861         * math/atest-exp.c (exp_mpn): Remove ROUND.
26862         * math/atest-exp2.c (exp_mpn): Likewise.
26863         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26864
26865         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26866         * stdlib/tst-tls-atexit-lib.c: Likewise.
26867         * stdlib/tst-tls-atexit.c: Likewise.
26868
26869 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26870
26871         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26872         and __attribute_alloc_size__.
26873
26874 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26875
26876         * include/programs/xmalloc.h: Change __attribute_alloc_size to
26877         __attribute_alloc_size__.
26878         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26879         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26880
26881 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26882
26883         * include/programs/xmalloc.h: New file.
26884         * catgets/gencat.c: Include it.
26885         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26886         * elf/pldd.c: Likewise.
26887         * iconv/iconv_charmap.c: Likewise.
26888         * iconv/iconvconfig.c: Likewise.
26889         * iconv/strtab.c: Likewise.
26890         * locale/programs/locale.c: Likewise.
26891         * locale/programs/localedef.h: Likewise.
26892         * locale/programs/simple-hash.c: Likewise.
26893         * nscd/nscd.h: Likewise.
26894         * nss/makedb.c: Likewise.
26895         * sysdeps/generic/ldconfig.h: Likewise.
26896
26897 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26898
26899         * Versions.def: Add GLIBC_2.18.
26900         * include/link.h (struct link_map): New member l_tls_dtor_count.
26901         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26902         (__call_tls_dtors): Likewise.
26903         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26904         __cxa_thread_atexit_impl.
26905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26906         Likewise.
26907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26908         Likewise.
26909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26910         Likewise.
26911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26912         Likewise.
26913         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26915         Likewise.
26916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26917         Likewise.
26918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26920         Likewise.
26921         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26922         (tests): Add test case tst-tls-atexit.
26923         (modules-names): Add shared library for tst-tls-atexit.
26924         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26925         (GLIBC_PRIVATE): Add __call_tls_dtors.
26926         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26927         for libstdc++.
26928         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26929         * stdlib/tst-tls-atexit.c: New test case.
26930         * stdlib/tst-tls-atexit-lib.c: New test case.
26931
26932         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26933
26934         * elf/Versions (ld): Add _dl_find_dso_for_object.
26935         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26936         * elf/dl-open.c (_dl_find_dso_for_object): New function.
26937         (dl_open_worker): Use _dl_find_dso_for_object.
26938         * elf/dl-sym.c (do_sym): Likewise.
26939         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26940
26941 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26942
26943         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26944         Syntactic changes only.
26945         (_dl_runtime_profile): Do a tail-call to the resolved function.
26946
26947 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
26948
26949         [BZ #13550]
26950         * sysdeps/x86_64/bp-asm.h: Remove file.
26951         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26952         <bp-sym.h> and <bp-asm.h>.
26953         (__clone): Do not use BP_SYM.
26954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26955         <bp-sym.h> and <bp-asm.h>.
26956         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26957         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26958         "bp-asm.h".
26959         (_setjmp): Do not use BP_SYM.
26960         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26961         "bp-asm.h".
26962         (setjmp): Do not use BP_SYM.
26963         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26964         libc_hidden_def.
26965         (mempcpy): Do not use BP_SYM in weak_alias.
26966         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26967         "bp-asm.h".
26968         (strchr): Do not use BP_SYM.
26969         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26970         "bp-asm.h".
26971         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26972         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26973         (_start): Do not use BP_SYM.
26974         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26975         "bp-asm.h".
26976         (strcat): Do not use BP_SYM.
26977         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26978         "bp-asm.h".
26979         (STRCMP): Do not use BP_SYM.
26980         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26981         "bp-asm.h".
26982         (STRCPY): Do not use BP_SYM.
26983         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26984         "bp-asm.h".
26985         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26986         "bp-asm.h".
26987         (FUNCTION): Do not use BP_SYM.
26988         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26989         weak_alias.
26990         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26991
26992 2013-02-17  Andreas Jaeger  <aj@suse.de>
26993
26994         * time/Versions: Sort entries.
26995         * string/Versions: Likewise.
26996         * resolv/Versions: Likewise.
26997         * posix/Versions: Likewise.
26998         * iconv/Versions: Likewise.
26999         * elf/Versions: Likewise.
27000         * wcsmbs/Versions: Likewise.
27001
27002 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27003
27004         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27005         loop termination condition.
27006
27007         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27008         variable to calculate EZ.
27009         (__sqr): Likewise.
27010
27011         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27012         the lower precision input.
27013
27014 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
27015
27016         [BZ #13550]
27017         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27018         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27019         (run-via-rtld-prefix): Do not handle %-bp tests.
27020         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27021         (all-object-suffixes): Remove .ob.
27022         (bppfx): Remove variable.
27023         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27024         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27025         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27026         [$(build-bounded) = yes] (libtype.ob): Likewise.
27027         * Makerules (elide-routines.ob): Remove variable.
27028         (do-tests-clean): Do not handle *-bp.out.
27029         (common-mostlyclean): Do not handle *-bp and *-bp.out.
27030         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27031         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27032         (tests): Do not include $(tests-bp.out).
27033         (xtests): Do not include $(xtests-bp.out).
27034         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27035         [$(build-bounded) = yes] ($(addprefix
27036         $(objpfx),$(binaries-bounded))): Remove rule.
27037         ($(objpfx)%-bp.out): Remove rule.
27038         * config.make.in (build-bounded): Remove variable.
27039         * crypt/Makefile [$(build-bounded) = yes]
27040         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27041         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27042         append to variable.
27043         [$(build-bounded) = yes] (install-lib): Likewise.
27044         [$(build-bounded) = yes] (generated): Likewise.
27045         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27046         Remove rule.
27047         * intl/Makefile [$(build-bounded) = yes]
27048         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27049         * math/Makefile [$(build-bounded) = yes]
27050         ($(tests:%=$(objpfx)%-bp): Likewise.
27051         * misc/Makefile [$(build-bounded) = yes]
27052         ($(objpfx)tst-tsearch-bp): Likewise.
27053         * nptl/Makeconfig (bounded-thread-library): Remove variable.
27054         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27055         Remove dependency.
27056         * string/Makefile (o-objects.ob): Remove variable.
27057         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27058         (CFLAGS-.ob): Remove variable.
27059         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27060         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27061         both definitions of variable.
27062         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27063         (ASFLAGS-.ob): Remove variable.
27064
27065 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
27066
27067         [BZ #13550]
27068         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27069         Remove __BOUNDED_POINTERS__ from condition.
27070         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27071         * string/bits/string2.h [!__NO_STRING_INLINES &&
27072         !__BOUNDED_POINTERS__]: Likewise.
27073         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27074         Likewise.
27075         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27076         Remove conditional code.
27077         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27078         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27079         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27080         condition.
27081
27082         [BZ #13550]
27083         * csu/libc-start.c: Do not include <bp-sym.h>.
27084         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27085         * elf/dl-open.c: Do not include <bp-sym.h>.
27086         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27087         * math/fegetenv.c: Do not include <bp-sym.h>.
27088         (fegetenv): Do not use BP_SYM in versioned symbols.
27089         * nptl/sysdeps/pthread/bits/libc-lockP.h
27090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27091         <bp-sym.h>.
27092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27093         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27095         (__pthread_mutex_destroy): Likewise.
27096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27097         (__pthread_mutex_lock): Likewise.
27098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27099         (__pthread_mutex_trylock): Likewise.
27100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27101         (__pthread_mutex_unlock): Likewise.
27102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27103         (__pthread_mutexattr_init): Likewise.
27104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27105         (__pthread_mutexattr_destroy): Likewise.
27106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27107         (__pthread_mutexattr_settype): Likewise.
27108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27109         (__pthread_rwlock_init): Likewise.
27110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27111         (__pthread_rwlock_destroy): Likewise.
27112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27113         (__pthread_rwlock_rdlock): Likewise.
27114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27115         (__pthread_rwlock_tryrdlock): Likewise.
27116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27117         (__pthread_rwlock_wrlock): Likewise.
27118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27119         (__pthread_rwlock_trywrlock): Likewise.
27120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27121         (__pthread_rwlock_unlock): Likewise.
27122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27123         (__pthread_key_create): Likewise.
27124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27125         (__pthread_setspecific): Likewise.
27126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27127         (__pthread_getspecific): Likewise.
27128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27129         Likewise.
27130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27131         (_pthread_cleanup_push_defer): Likewise.
27132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27133         (_pthread_cleanup_pop_restore): Likewise.
27134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27135         (pthread_setcancelstate): Likewise.
27136         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27137         <bp-sym.h>.
27138         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27139         (memchr): Do not use BP_SYM in weak_alias.
27140         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27141         (fegetenv): Do not use BP_SYM in versioned symbols.
27142         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27143         (fesetenv): Do not use BP_SYM in versioned symbols.
27144         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27145         (feupdateenv): Do not use BP_SYM in versioned symbols.
27146         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27147         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27148         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27149         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27150         (open64): Do not use BP_SYM in weak_alias.
27151         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27152         (fegetenv): Do not use BP_SYM in versioned symbols.
27153         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27154         (fesetenv): Do not use BP_SYM in versioned symbols.
27155         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27156         (feupdateenv): Do not use BP_SYM in versioned symbols.
27157         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27158         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27159         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27160         (feraiseexcept): Do not use BP_SYM in versioned symbols.
27161         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27162         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27163         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27164         <bp-sym.h>.
27165         (__libc_start_main): Do not use BP_SYM.
27166
27167 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27168
27169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27170         redundant return line.
27171         (norm): Likewise.
27172         (denorm): Likewise.
27173         (dbl_mp): Likewise.
27174         (sub_magnitudes): Likewise.
27175         (__add): Likewise.
27176         (__sub): Likewise.
27177         (__mul): Likewise.
27178         (__inv): Likewise.
27179         (__dvd): Likewise.
27180         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27181         (norm): Likewise.
27182         (denorm): Likewise.
27183         (dbl_mp): Likewise.
27184         (sub_magnitudes): Likewise.
27185         (__add): Likewise.
27186         (__sub): Likewise.
27187         (__mul): Likewise.
27188         (__inv): Likewise.
27189         (__dvd): Likewise.
27190
27191         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27192         instead of __mul.
27193         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27194         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27195         (cc32): Likewise.
27196
27197         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27198         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27199         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27200         of __mul for squares.
27201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27202         function
27203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27204         Likewise.
27205         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27206         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27207
27208 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
27209
27210         [BZ #13550]
27211         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27212         code.
27213         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27214         prototype or function definition.  Rename ubp_* variables and
27215         parameters.  Remove argv definitions conditional on
27216         [__BOUNDED_POINTERS__].
27217         * debug/backtrace.c (__backtrace): Do not use __unbounded.
27218         * elf/dl-runtime.c (_dl_fixup): Likewise.
27219         * include/set-hooks.h (RUN_HOOK): Likewise.
27220         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27221         definition.
27222         * string/strcpy.c (strcpy): Do not use __unbounded.
27223         * sysdeps/generic/frame.h (struct layout): Likewise.
27224         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27225         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27226         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27227         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27228         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27229         (__backtrace): Likewise.
27230         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27231         use __ptrvalue.
27232         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27233         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27234         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27235         Likewise.
27236         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27237         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27238         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27239         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27240         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27241         Do not use __unbounded.
27242         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27243         Rename __unboundedrlimits parameter to rlimits in prototype.
27244         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27245         Do not use __unbounded.
27246         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27247         not use __ptrvalue.
27248         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27249         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27250         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27251         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27252         __ptrvalue or __unbounded.
27253         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27254         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27255         use __unbounded.
27256         (__new_msgctl): Do not use __ptrvalue.
27257         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27258         __unbounded.
27259         (__libc_msgrcv): Do not use __ptrvalue.
27260         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27261         startup_info): Do not use __unbounded.
27262         (__libc_start_main): Likewise.  Rename ubp_* variables and
27263         parameters.  Remove argv definitions conditional on
27264         [__BOUNDED_POINTERS__].
27265         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27266         __ptrvalue.
27267         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27268         use __unbounded.
27269         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27270         or __ptrvalue.
27271         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27272         use __unbounded.
27273         (__new_shmctl): Do not use __ptrvalue.
27274         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27275         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27276         Likewise.
27277         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27278         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27279         (__libc_sigaction): Likewise.
27280         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27281         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27282         Likewise.
27283         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27284
27285 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
27286
27287         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27288
27289         * string/mempcpy.c: Implement by calling memcpy.
27290
27291 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27292
27293         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27294
27295         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27296         evaluation.
27297
27298         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27299         values in the mantissa.
27300
27301         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27302         minimize writes to Z.
27303         (sub_magnitudes): Simplify code a bit.
27304
27305 2013-02-12  Roland McGrath  <roland@hack.frob.com>
27306
27307         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27308         from the message.  The linker prefixes all warnings with that already.
27309
27310 2013-02-12  Andreas Schwab  <schwab@suse.de>
27311
27312         [BZ #15078]
27313         * posix/regexec.c (extend_buffers): Add parameter min_len.
27314         (check_matching): Pass minimum needed length.
27315         (clean_state_log_if_needed): Likewise.
27316         (get_subexp): Likewise.
27317         * posix/Makefile (tests): Add bug-regex34.
27318         (bug-regex34-ENV): Define.
27319         * posix/bug-regex34.c: New file.
27320
27321         [BZ #11561]
27322         * posix/regcomp.c (parse_bracket_exp): When looking up collating
27323         elements compare against the byte sequence of it, not its name.
27324         * posix/Makefile (tests): Add bug-regex35.
27325         (bug-regex35-ENV): Define.
27326         * posix/bug-regex35.c: New file.
27327
27328 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27329
27330         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
27331         comment.
27332         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27333         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27334         (CHECK_EOL): Add undef.
27335
27336 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
27337
27338         * bits/stdlib-bsearch.h: New file.
27339         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27340         * stdlib/stdlib.h: Likewise.
27341
27342 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27343
27344         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27345         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27346         declaration.
27347         * manual/search.texi (Array Search Function): Add missing const in
27348         lfind prototype.
27349         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27350         declaration to use rlim_t.
27351         (Basic Scheduling Functions): Remove erroneous const from
27352         sched_getparam prototype.  Remove erroneous * from
27353         sched_get_priority_max and sched_get_priority_min prototypes.
27354         (Resource Usage): Fix summary @comment on vtimes to refer to
27355         sys/vtimes.h rather than vtimes.h.
27356         Add missing *s in vtimes prototype.
27357         (Limits on Resources): Fix ulimit prototype to return long int.
27358         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27359         prototypes to use long int rather than double.
27360         (BSD Random): Fix initstate and setstate to use char *, not void *.
27361         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27362         prototype to make second argument 'struct aiocb64 *const[]'.
27363         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27364         (Status of AIO Operations): Remove erroneous const in aio_return and
27365         aio_return64 prototypes.
27366         (Synchronizing I/O): Fix sync prototype to return void.
27367         * manual/startup.texi (Suboptions): Remove an erroneous const in
27368         getsubopt prototype.
27369         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27370         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27371         use size_t rather than int.
27372         (Scanning All Users): Likewise for getpwent_r.
27373         (Setting Groups): Add missing const to setgroups prototype.
27374         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27375         * manual/socket.texi (Host Names): Fix gethostbyaddr and
27376         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27377         'const void *' rather than 'const char *'.
27378         (Host Address Functions): Likewise for inet_ntop.
27379         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27380         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27381         ssize_t for return value.
27382         (Sending Data): Likewise for send, sendto, sendmsg.
27383         (Socket Option Functions): Add a missing const in setsockopt prototype.
27384         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27385         use wchar_t for the argument.
27386         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27387         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27388         take no arguments.
27389         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27390         double/float/long double for second argument.
27391         Fix return types of significand, significandf, significandl.
27392         * manual/filesys.texi (Setting Permissions): Use mode_t for second
27393         argument in fchmod prototype.
27394         (File Owner): Use uid_t and gid_t in fchown prototype.
27395         (File Times): Add const to utimes, futimes, and lutimes prototypes.
27396         (Making Special Files): Use mode_t and dev_t in mknod prototype.
27397         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27398         use 'const struct dirent **' as argument types to CMP function pointer
27399         argument.
27400         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27401         (File Times): Fix summary magic @comment for struct utimbuf and utime
27402         to refer to utime.h, not time.h.
27403         * manual/string.texi (Argz Functions): Add missing const in
27404         argz_extract and argz_next prototypes.
27405         (Finding Tokens in a String): Likewise for basename.
27406         (String/Array Comparison): Fix typo in wcscasecmp prototype.
27407         (Copying and Concatenation): Fix typo in wmemmove prototype.
27408         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27409         (Signal Stack): Remove erroneous const in sigstack prototype.
27410         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27411         prototype.
27412         (Simple Calendar Time): Likewise for stime.
27413         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27414         prototype.
27415         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27416         say sys/sysctl.h instead.
27417         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27418         and vsyslog prototypes.
27419
27420 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27421
27422         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27423         Remove.
27424
27425 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27426
27427         * misc/sys/mman.h: Fix typo in mremap comment.
27428
27429 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27430
27431         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27432         the '\0' terminator.
27433
27434 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27435
27436         [BZ #13550]
27437         * debug/segfault.c: Don't include <bp-checks.h>.
27438         * sysdeps/generic/bp-checks.h: Remove file.
27439         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27440         (__GETDENTS): Don't use CHECK_N.
27441         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27442         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27443         (__getgroups): Don't use CHECK_N.
27444         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27445         (setgroups): Don't use CHECK_N.
27446         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27447         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27448         (__libc_msgrcv): Don't use CHECK_N.
27449         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27450         (__libc_msgsnd): Don't use CHECK_N.
27451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27452         <bp-checks.h>.
27453         (__libc_pread): Don't use CHECK_N.
27454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27455         include <bp-checks.h>.
27456         (__libc_pread64): Don't use CHECK_N.
27457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27458         include <bp-checks.h>.
27459         (__libc_pwrite): Don't use CHECK_N.
27460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27461         include <bp-checks.h>.
27462         (__libc_pwrite64): Don't use CHECK_N.
27463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27464         <bp-checks.h>.
27465         (__libc_pread): Don't use CHECK_N.
27466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27467         include <bp-checks.h>.
27468         (__libc_pread64): Don't use CHECK_N.
27469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27470         include <bp-checks.h>.
27471         (__libc_pwrite): Don't use CHECK_N.
27472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27473         include <bp-checks.h>.
27474         (__libc_pwrite64): Don't use CHECK_N.
27475         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27476         (do_pread): Don't use CHECK_N.
27477         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27478         (do_pread64): Don't use CHECK_N.
27479         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27480         (do_pwrite): Don't use CHECK_N.
27481         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27482         (do_pwrite64): Don't use CHECK_N.
27483         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27484         (__libc_readv): Don't use CHECK_N.
27485         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27486         (semop): Don't use CHECK_N.
27487         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27488         <bp-checks.h>.
27489         (semtimedop): Don't use CHECK_N.
27490         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27491         (__libc_pread): Don't use CHECK_N.
27492         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27493         <bp-checks.h>.
27494         (__libc_pread64): Don't use CHECK_N.
27495         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27496         <bp-checks.h>.
27497         (__libc_pwrite): Don't use CHECK_N.
27498         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27499         <bp-checks.h>.
27500         (__libc_pwrite64): Don't use CHECK_N.
27501         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27502         <bp-checks.h>.
27503         (__libc_msgrcv): Don't use CHECK_N.
27504         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27505         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
27506         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27507         (__libc_writev): Don't use CHECK_N.
27508
27509 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27510
27511         * string/strcpy.c: Removed unused variable.
27512
27513         * Makeconfig (+sysdep-includes): Define with := rather than =.
27514         Use an existing include/ subdir of each sysdeps dir before it.
27515
27516 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27517
27518         * nscd/connection.c (register_traced_file): Comment function.
27519         [HAVE_INOTIFY] (union __inev): Define.
27520         [HAVE_INOTIFY] (inotify_check_files): New function.
27521         [HAVE_INOTIFY] (clear_db_cache): Likewise.
27522         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27523         clear_db_cache.
27524         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27525
27526 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27527
27528         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27529         loaded if not already and that a failure is permanent.
27530
27531 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27532
27533         [BZ #15006]
27534         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27535         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27536
27537 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27538
27539         [BZ #13550]
27540         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27541         (CHECK_1_NULL_OK): Likewise.
27542         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27543         (__fxstat): Do not use CHECK_1.
27544         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27545         <bp-checks.h>.
27546         (___fxstat64): Do not use CHECK_1.
27547         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27548         <bp-checks.h>.
27549         (__fxstatat): Do not use CHECK_1.
27550         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27551         <bp-checks.h>.
27552         (__fxstatat64): Do not use CHECK_1.
27553         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27554         <bp-checks.h>.
27555         (__fxstat): Do not use CHECK_1.
27556         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27557         <bp-checks.h>.
27558         (__fxstatat): Do not use CHECK_1.
27559         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27560         <bp-checks.h>.
27561         (__getresgid): Do not use CHECK_1.
27562         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27563         <bp-checks.h>.
27564         (__getresuid): Do not use CHECK_1.
27565         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27566         <bp-checks.h>.
27567         (__lxstat): Do not use CHECK_1.
27568         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27569         <bp-checks.h>.
27570         (__old_msgctl): Do not use CHECK_1.
27571         (__new_msgctl): Likewise.
27572         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27573         <bp-checks.h>.
27574         (__new_setrlimit): Do not use CHECK_1.
27575         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27576         <bp-checks.h>.
27577         (__old_shmctl): Do not use CHECK_1.
27578         (__new_shmctl): Likewise.
27579         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27580         <bp-checks.h>.
27581         (__xstat): Do not use CHECK_1.
27582         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27583         (__lxstat): Do not use CHECK_1.
27584         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27585         <bp-checks.h>.
27586         (___lxstat64): Do not use CHECK_1.
27587         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27588         (__old_msgctl): Do not use CHECK_1.
27589         (__new_msgctl): Likewise.
27590         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27591         <bp-checks.h>.
27592         (__gettimeofday): Do not use CHECK_1.
27593         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27594         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27595         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27596         <bp-checks.h>.
27597         (__gettimeofday): Do not use CHECK_1.
27598         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27599         (__old_shmctl): Do not use CHECK_1_NULL_OK.
27600         (__new_shmctl): Do not use CHECK_1.
27601         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27602         <bp-checks.h>.
27603         (do_sigtimedwait): Do not use CHECK_1.
27604         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27605         <bp-checks.h>.
27606         (do_sigwaitinfo): Do not use CHECK_1.
27607         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27608         <bp-checks.h>.
27609         (msgctl): Do not use CHECK_1.
27610         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27611         <bp-checks.h>.
27612         (shmctl): Do not use CHECK_1.
27613         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27614         (ustat): Do not use CHECK_1.
27615         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27616         <bp-checks.h>.
27617         (__fxstat): Do not use CHECK_1.
27618         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27619         <bp-checks.h>.
27620         (__fxstatat): Do not use CHECK_1.
27621         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27622         <bp-checks.h>.
27623         (__lxstat): Do not use CHECK_1.
27624         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27625         <bp-checks.h>.
27626         (__xstat): Do not use CHECK_1.
27627         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27628         (__xstat): Do not use CHECK_1.
27629         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27630         (___xstat64): Do not use CHECK_1.
27631
27632         [BZ #13550]
27633         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27634         definitions.
27635         (CHECK_BOUNDS_HIGH): Likewise.
27636         * string/strcpy.c: Do not include <bp-checks.h>.
27637         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27638
27639 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27640
27641         * nscd/nscd-client.h (__nscd_drop_map_ref):
27642         Add __attribute__ ((unused)).
27643         * nis/nss-nisplus.h (niserr2nss): Likewise.
27644
27645         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27646         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27647
27648         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27649         Remove inline keyword.
27650         * include/rounding-mode.h (round_away): Likewise.
27651         * libio/wfileops.c (adjust_wide_data): Likewise.
27652         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27653         (__m128i_strloadu_tolower): Likewise.
27654         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27655         (__m128i_strloadu_tolower): Likewise.
27656         * time/mktime.c (ydhms_diff): Likewise.
27657         * locale/elem-hash.h (elem_hash): Likewise.
27658         * locale/setlocale.c (setdata): Likewise.
27659         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27660         (re_string_wchar_at): Likewise.
27661         (bitset_not, bitset_merge, bitset_mask): Likewise.
27662         [!(__GNUC__ > 3)] (inline): Remove macro.
27663         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27664         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27665         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27666         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27667         * string/memcmp.c (memcmp_bytes): Likewise.
27668         * locale/programs/locarchive.c (compute_hashval): Likewise.
27669         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27670         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27671         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27672         * nss/getent.c (print_rpc, print_protocols): Likewise.
27673         (print_passwd, print_group, print_aliases): Likewise.
27674         * nis/nss-nisplus.h (niserr2nss): Likewise.
27675         * nscd/connections.c (restart_p): Likewise.
27676         Change return type to bool.
27677
27678 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27679
27680         * Makeconfig (all-Depend-files): Add existing
27681         $(sorted-subdirs:=/Depend) files.
27682         (all-subdirs): Remove nss.
27683         * sysdeps/unix/inet/Subdirs: Add it here instead.
27684         * hesiod/Depend: New file.
27685
27686         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27687         instead of calling alloca.
27688
27689         * io/lseek.c (__lseek): Rename to __libc_lseek.
27690         Define __lseek as an alias.
27691
27692         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27693
27694 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27695
27696         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27697         else clause and remove check for non-standard endianness.
27698
27699 2013-02-04  David S. Miller  <davem@davemloft.net>
27700
27701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27702
27703 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27704
27705         [BZ #13550]
27706         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27707         (__ubp_memchr): Remove prototype.
27708         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27709         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27710         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27711         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27712         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27713         Remove alias.
27714         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27715         (__ubp_memchr): Likewise.
27716         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27717         (__ubp_memchr): Likewise.
27718         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27719         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27720         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27721         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27722         CHECK_STRING.
27723         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27724         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27725         (__getcwd): Do not use CHECK_STRING.
27726         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27727         <bp-checks.h>.
27728         (__real_chown): Do not use CHECK_STRING.
27729         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27730         <bp-checks.h>.
27731         (fchownat): Do not use CHECK_STRING.
27732         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27733         CHECK_STRING.
27734         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27735         <bp-checks.h>.
27736         (__lchown): Do not use CHECK_STRING.
27737         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27738         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27739         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27740         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27742         include <bp-checks.h>.
27743         (truncate64): Do not use CHECK_STRING.
27744         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27745         <bp-checks.h>.
27746         (__real_chown): Do not use CHECK_STRING.
27747         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27748         <bp-checks.h>.
27749         (__lchown): Do not use CHECK_STRING.
27750         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27751         <bp-checks.h>.
27752         (__chown): Do not use CHECK_STRING.
27753         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27754         <bp-checks.h>.
27755         (truncate64): Do not use CHECK_STRING.
27756         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27757         Likewise.
27758         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27759         (__xmknod): Do not use CHECK_STRING.
27760         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27761         <bp-checks.h>.
27762         (__xmknodat): Do not use CHECK_STRING.
27763         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27764         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27765
27766 2013-02-04  Andreas Schwab  <schwab@suse.de>
27767
27768         [BZ #14142]
27769         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27770         * include/netdb.h: Likewise for h_errno.
27771         * elf/tst-stackguard1.c: Include <tls.h>.
27772
27773 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27774
27775         * elf/link.h (struct link_map): Extend the l_addr comment.
27776         * include/link.h (struct link_map): Likewise.
27777
27778 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27779
27780         [BZ #13550]
27781         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27782         (BOUNDED_1): Remove macro.
27783         * debug/backtrace.c: Don't include <bp-checks.h>.
27784         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27785         (__backtrace): Likewise.
27786         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27787         <bp-checks.h>.
27788         (__backtrace): Don't use BOUNDED_1.
27789         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27790         <bp-checks.h>.
27791         (__backtrace): Don't use BOUNDED_1.
27792         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27793         (__backtrace): Don't use BOUNDED_1.
27794         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27795         (shmat): Don't use BOUNDED_N.
27796
27797 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27798
27799         [BZ #13550]
27800         * sysdeps/generic/bp-start.h: Remove file.
27801         * csu/libc-start.c: Don't include <bp-start.h>.
27802         (LIBC_START_MAIN): Set up __environ directly instead of using
27803         INIT_ARGV_and_ENVIRON.
27804         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27805         <bp-start.h>.
27806
27807         [BZ #13550]
27808         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27809         definitions.
27810         (CHECK_FCNTL): Likewise.
27811         (CHECK_N_PAGES): Likewise.
27812
27813         [BZ #13550]
27814         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27815         definitions.
27816         (CHECK_SIGSET_NULL_OK): Likewise.
27817         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27818         <bp-checks.h>.
27819         (sigpending): Don't use CHECK_SIGSET.
27820         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27821         <bp-checks.h>.
27822         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27823         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27824         <bp-checks.h>.
27825         (do_sigsuspend): Don't use CHECK_SIGSET.
27826         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27827         use CHECK_SIGSET.
27828         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27829         (do_sigwait): Don't use CHECK_SIGSET.
27830         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27831         use CHECK_SIGSET.
27832         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27833         include <bp-checks.h>.
27834         (sigpending): Don't use CHECK_SIGSET.
27835         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27836         include <bp-checks.h>.
27837         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27838         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27839         <bp-checks.h>.
27840         (sigpending): Don't use CHECK_SIGSET.
27841         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27842         <bp-checks.h>.
27843         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27844
27845         [BZ #13550]
27846         * sysdeps/generic/bp-semctl.h: Remove file.
27847         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27848         <bp-checks.h> and <bp-semctl.h>.
27849         (__old_semctl): Don't use CHECK_SEMCTL.
27850         (__new_semctl): Likewise.
27851         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27852         and <bp-semctl.h>.
27853         (__old_semctl): Don't use CHECK_SEMCTL.
27854         (__new_semctl): Likewise.
27855         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27856         <bp-checks.h> and <bp-semctl.h>.
27857         (__old_semctl): Don't use CHECK_SEMCTL.
27858         (__new_semctl): Likewise.
27859         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27860         <bp-checks.h> and <bp-semctl.h>.
27861         (semctl): Don't use CHECK_SEMCTL.
27862
27863         [BZ #13550]
27864         * Makerules (elide-bp-thunks): Remove variable.
27865         (elide-routines.oS): Don't use $(elide-bp-thunks).
27866         (elide-routines.os): Likewise.
27867         (elide-routines.o): Likewise.
27868         (elide-routines.op): Likewise.
27869         (elide-routines.og): Likewise.
27870         (objects): Don't use $(bp-thunks).
27871         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27872         include.
27873         (common-generated): Do not add s-proto-bp.d.
27874         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27875         (int): Likewise.
27876         (typ): Likewise.
27877         Do not generate makefile rules for bounded-pointer thunks.
27878         * sysdeps/generic/bp-thunks.h: Remove file.
27879         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27880         * sysdeps/unix/s-proto-bp.S: Likewise.
27881
27882         [BZ #15062]
27883         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27884         parts of result separately when argument is not close to line from
27885         -i to i and one part of argument is small.
27886         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27887         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27888         * math/libm-test.inc (cacos_test): Add more tests.
27889         (casin_test): Likewise.
27890         (casinh_test): Likewise.
27891         * sysdeps/i386/fpu/libm-test-ulps: Update.
27892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27893
27894 2013-01-31  David S. Miller  <davem@davemloft.net>
27895
27896         * po/de.po: Update from translation team.
27897
27898 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
27899
27900         * time/tzfile.c: Include stdint.h for SIZE_MAX.
27901
27902 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
27903
27904         * configure.in (_AC_PROG_CC_C89): New definition.
27905         * configure: Regenerate.
27906
27907         * configure.in (AC_PROG_CPP): New definition.
27908         * configure: Regenerate.
27909
27910 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27911
27912         * debug/tst-backtrace.h: New file.
27913         * debug/tst-backtrace2.c: Include tst-backtrace.h.
27914         (ret): Remove variable.
27915         (x): Likewise.
27916         (FAIL): Remove macro.
27917         (NO_INLINE): Likewise.
27918         (fn1): Use match function instead of strstr.
27919         * debug/tst-backtrace3.c: Include tst-backtrace.h.
27920         (ret): Remove variable.
27921         (x): Likewise.
27922         (FAIL): Remove macro.
27923         (NO_INLINE): Likewise.
27924         (fn): Use match function instead of strstr.
27925         * debug/tst-backtrace4.c: Include tst-backtrace.h.
27926         (ret): Remove variable.
27927         (x): Likewise.
27928         (FAIL): Remove macro.
27929         (NO_INLINE): Likewise.
27930         (handle_signal): Use match function instead of strstr.
27931         * debug/tst-backtrace5.c: Include tst-backtrace.h.
27932         (ret): Remove variable.
27933         (x): Likewise.
27934         (FAIL): Remove macro.
27935         (NO_INLINE): Likewise.
27936         (handle_signal): Use match function instead of strstr.
27937
27938 2013-01-23  Roland McGrath  <roland@hack.frob.com>
27939
27940         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27941
27942 2013-01-23  David S. Miller  <davem@davemloft.net>
27943
27944         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27945         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27946         argument of CAS if possible.
27947         * sysdeps/sparc/sparc64/bits/atomic.h
27948         (__arch_compare_and_exchange_val_32_acq): Likewise.
27949         (__arch_compare_and_exchange_val_64_acq): Likewise.
27950
27951 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
27952
27953         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27954         * sysdeps/posix/ulimit.c: ... this.
27955         Include <limits.h>.
27956         * sysdeps/unix/bsd/ulimit.c: Remove file.
27957
27958 2013-01-23  Adam Conrad  <adconrad@0c3.net>
27959
27960         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27961         (LDFLAGS-tst-array5): Likewise.
27962
27963 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27964
27965         [BZ #15036]
27966         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27967         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27968         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27969         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27970
27971 2013-01-21  David S. Miller  <davem@davemloft.net>
27972
27973         * sysdeps/sparc/backtrace.c: New file.
27974         * sysdeps/sparc/sparc32/backtrace.h: New file.
27975         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27976         * sysdeps/sparc/sparc64/backtrace.h: New file.
27977         * sysdeps/sparc/sparc64/backtrace.c: Delete.
27978         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27979         -funwind-tables.
27980
27981 2013-01-21  Andreas Schwab  <schwab@suse.de>
27982
27983         [BZ #15020]
27984         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27985         closed its stdout.
27986
27987 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
27988
27989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27990         "mpa2.h".
27991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27992
27993 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
27994             Mark Mitchell  <mark@codesourcery.com>
27995             Tom de Vries  <tom@codesourcery.com>
27996             Paul Pluzhnikov  <ppluzhnikov@google.com>
27997
27998         * debug/tst-backtrace2.c: New file.
27999         * debug/tst-backtrace3.c: Likewise.
28000         * debug/tst-backtrace4.c: Likewise.
28001         * debug/tst-backtrace5.c: Likewise.
28002         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28003         (CFLAGS-tst-backtrace3.c): Likewise.
28004         (CFLAGS-tst-backtrace4.c): Likewise.
28005         (CFLAGS-tst-backtrace5.c): Likewise.
28006         (LDFLAGS-tst-backtrace2): Likewise.
28007         (LDFLAGS-tst-backtrace3): Likewise.
28008         (LDFLAGS-tst-backtrace4): Likewise.
28009         (LDFLAGS-tst-backtrace5): Likewise.
28010         (tests): Add new tests tst-backtrace2, tst-backtrace3,
28011         tst-backtrace4 and tst-backtrace5.
28012
28013 2013-01-18  Anton Blanchard  <anton@samba.org>
28014             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28015
28016         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28017         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28018         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28019         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28021         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28022         "+r" and remove output regs list as redundant.  Add explicit inline
28023         asm to specify register of return val to work around compiler codegen
28024         bug.  Remove (int) cast on return value.  Add return type parameter to
28025         use in macro so that this macro does not truncate return value for
28026         64-bit values.
28027         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28028         pass to INTERNAL_VSYSCALL_NCS.
28029         (INLINE_VSYSCALL): Add 'long int' as return type to
28030         INTERNAL_VSYSCALL_NCS macro invocation.
28031         (INTERNAL_VSYSCALL): Add 'long int' as return type to
28032         INTERNAL_VSYSCALL_NCS macro invocation.
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28034
28035 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28036
28037         [BZ #14496]
28038         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28039         Fix application of SIMD FP exception mask.
28040
28041         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28042         mp_no from a power of two.
28043         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28044         __mpexp_twomm1.  Use __pow_mp.
28045
28046         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28047         multiplication.
28048
28049 2013-01-17  David S. Miller  <davem@davemloft.net>
28050
28051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28052
28053 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28054
28055         [BZ #15023]
28056         * include/complex.h: Condition contents on [!_COMPLEX_H].
28057         (__kernel_casinhf): New prototype.
28058         (__kernel_casinh): Likewise.
28059         (__kernel_casinhl): Likewise.
28060         * math/Makefile (libm_calls): Add k_casinh.
28061         * math/k_casinh.c: New file.
28062         * math/k_casinhf.c: Likewise.
28063         * math/k_casinhl.c: Likewise.
28064         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28065         finite nonzero arguments.
28066         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28067         finite nonzero arguments.
28068         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28069         finite nonzero arguments.
28070         * math/s_casinh.c: Do not include <float.h>.
28071         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28072         * math/s_casinhf.c: Do not include <float.h>.
28073         (__casinhf): Move code for finite nonzero arguments to
28074         k_casinhf.c.
28075         * math/s_casinhl.c: Do not include <float.h>.
28076         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28077         redefine.
28078         (__casinhl): Move code for finite nonzero arguments to
28079         k_casinhl.c.
28080         * math/libm-test.inc (cacos_test): Add more tests.
28081         * sysdeps/i386/fpu/libm-test-ulps: Update.
28082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28083
28084 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
28085
28086         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28087         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28088         [!HAVE_MREMAP]: Remove [defined linux] case.
28089         * malloc/arena.c: Do not include <malloc-sysdep.h>.
28090
28091 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28092
28093         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28094
28095 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
28096
28097         * elf/elf.h (R_386_SIZE32): New relocation.
28098         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28099         R_386_SIZE32.
28100         (elf_machine_rela): Likewise.
28101         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28102         R_X86_64_SIZE64 and R_X86_64_SIZE32.
28103
28104 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28105
28106         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28107         (FP_FAST_FMA): Do not define.
28108         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28109         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28110         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28111         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28112         !_SOFT_FLOAT]: Likewise.
28113         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28114         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28115         value.
28116         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28117         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28118         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28119         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28120         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28121         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28122         file.
28123
28124 2013-01-16  Andreas Schwab  <schwab@suse.de>
28125
28126         [BZ #14327]
28127         * include/stdlib.h (__mktemp): Add declaration.
28128         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28129         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28130
28131 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28132
28133         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28134         definitions.
28135         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28136         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28137         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28138         definitions here.
28139         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28140         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28141         definitions.
28142         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28143         and ONE.
28144         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28145         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28146         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28147         definitions.
28148         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28149         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28150         definitions.
28151         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28152
28153         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28154
28155 2013-01-15  David S. Miller  <davem@davemloft.net>
28156
28157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28158         trunc{,f} to libm-sysdep_routes.
28159         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28161         file.
28162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28164         file.
28165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28166         file.
28167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28169         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28170         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28171         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28172         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28173         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28174         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28175
28176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28177         nearbyint{,f} to libm-sysdep_routes.
28178         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28180         New file.
28181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28182         file.
28183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28184         New file.
28185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28186         file.
28187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28189         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28190         file.
28191         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28192         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28193         file.
28194         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28195         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28196         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28197
28198         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28199         libc_feholdexcept and libc_fesetenv.
28200
28201 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
28202
28203         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28204
28205 2013-01-14  David S. Miller  <davem@davemloft.net>
28206
28207         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28208         (SPARC_ASM_VIS2_IFUNC): Likewise.
28209         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28211         use of 'siam' instruction.
28212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28213         Likewise.
28214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28215         Likewise.
28216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28217         Likewise.
28218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28223         file.
28224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28225         file.
28226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28227         file.
28228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28229         file.
28230         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28235         new VIS2 routines.
28236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28239         Likewise.
28240         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28241         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28245         routines to libm-sysdep_routines.
28246         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28247
28248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28249         fdim/fdimf to libm-sysdep_routines.
28250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28251         file.
28252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28254         file.
28255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28258         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28259         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28260         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28261         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28262
28263 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28264
28265         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28266         to optimize copies.
28267
28268         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28271
28272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28273         local variable MPTWO.
28274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28275         Likewise.
28276
28277 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28278
28279         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28280         GLOB_NOESCAPE.
28281
28282 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28283
28284         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28285
28286 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28287
28288         * manual/pattern.texi (glob_t): Document gl_flags.
28289         (glob64_t): Likewise.
28290
28291 2013-01-11  David S. Miller  <davem@davemloft.net>
28292
28293         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28294         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28295         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
28296         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28297         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28298         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28299         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28300         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28301         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28302         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28303         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28304         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28305         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28306
28307         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28308         sparc V9 rather than using V8 code.
28309         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28310         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28311
28312         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28313         Move to...
28314         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28315         Here.
28316
28317 2013-01-11  Roland McGrath  <roland@hack.frob.com>
28318
28319         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28320         not in the main loop.
28321         * configure: Regenerated.
28322
28323 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
28324
28325         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28326         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28327         to just #else.
28328         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
28329         [!__GLIBC_HAVE_LONG_LONG] case.
28330         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28331         condition to just #else.
28332         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28333         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28334         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28335         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28336         unconditional.
28337         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28338         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28339         #elif condition to just #else.
28340         * sysdeps/unix/sysv/linux/sys/sysmacros.h
28341         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28342         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28343         #elif condition to just #else.
28344
28345 2013-01-11  Steve Ellcey  <sellcey@mips.com>
28346
28347         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28348         (EF_MIPS_ARCH_64): Fix value.
28349         (EF_MIPS_ARCH_32R2): New.
28350         (EF_MIPS_ARCH_64R2): New.
28351
28352 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
28353
28354         * Makeconfig (+link-pie-before-libc): New.
28355         (+link-pie-after-libc): Likewise.
28356         (+link-pie-tests): Likewise.
28357         (+link-pie): Rewritten.
28358         (link-before-libc): Remove $(config-LDFLAGS).
28359         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28360         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28361         (config-LDFLAGS): Renamed to ...
28362         (rtld-LDFLAGS): This.
28363         (rtld-tests-LDFLAGS): New macro.
28364         (link-libc-rpath-link): Likewise.
28365         (link-libc-tests-rpath-link): Likewise.
28366         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28367         (link-libc): Prepand $(link-libc-rpath-link).
28368         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28369         (test-program-prefix): New macro.
28370         (test-via-rtld-prefix): Likewise.
28371         (test-program-cmd): Likewise.
28372         (host-test-program-cmd): Likewise.
28373         * Makefile ($(common-objpfx)testrun.sh): Replace
28374         $(run-program-prefix) with $(test-program-prefix).
28375         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28376         $(rtld-LDFLAGS).
28377         ($(common-objpfx)shlib.lds): Likewise.
28378         (build-module-helper): Likewise.
28379         ($(common-objpfx)format.lds): Likewise.
28380         * Rules (binaries-pie-tests): New.
28381         (binaries-pie-notests): Likewise.
28382         (binaries-pie): Rewritten.
28383         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28384         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28385         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28386         (make-test-out): Replace $(host-built-program-cmd) with
28387         $(host-test-program-cmd).
28388         * config.make.in (build-hardcoded-path-in-tests): New variable.
28389         * configure.in (--enable-hardcoded-path-in-tests): New configure
28390         option.
28391         (hardcoded_path_in_tests): New AC_SUBST.
28392         * configure: Regenerated.
28393         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28394         $(built-program-cmd) with $(test-program-cmd).
28395         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28396         (test_program_cmd): This.
28397         * elf/Makefile ($(objpfx)order.out): Run test with
28398         $(test-program-prefix).
28399         ($(objpfx)order2.out): Likewise.
28400         ($(objpfx)tst-initorder.out): Likewise.
28401         ($(objpfx)tst-initorder2.out): Likewise.
28402         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28403         $(test-program-cmd).
28404         ($(objpfx)tst-array1-static.out): Likewise.
28405         ($(objpfx)tst-array2.out): Likewise.
28406         ($(objpfx)tst-array3.out): Likewise.
28407         ($(objpfx)tst-array4.out): Likewise.
28408         ($(objpfx)tst-array5.out): Likewise.
28409         ($(objpfx)tst-array5-static.out): Likewise.
28410         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28411         $(test-program-cmd).
28412         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28413         $(run-program-prefix) with $(test-program-prefix).
28414         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28415         (test_program_prefix): This.
28416         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28417         $(run-program-prefix) with $(test-program-prefix).
28418         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28419         (test_program_prefix): This.
28420         * iconvdata/tst-tables.sh: Likewise.
28421         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28422         $(run-program-prefix) with $(test-program-prefix).
28423         ($(objpfx)tst-translit.out): Likewise.
28424         ($(objpfx)tst-gettext2.out): Likewise.
28425         ($(objpfx)tst-gettext4.out): Likewise.
28426         ($(objpfx)tst-gettext6.out): Likewise.
28427         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28428         (test_program_prefix): This.
28429         * intl/tst-gettext2.sh: Likewise.
28430         * intl/tst-gettext4.sh  Likewise.
28431         * intl/tst-gettext6.sh: Likewise.
28432         * intl/tst-translit.sh: Likewise.
28433         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28434         with $(test-program-cmd).
28435         * libio/Makefile ($(objpfx)test-freopen.out): Replace
28436         $(run-program-prefix) with $(test-program-prefix).
28437         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28438         (test_program_prefix): This.
28439         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28440         $(run-program-prefix) with $(test-program-prefix).
28441         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28442         (test_program_prefix): This.
28443         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28444         * posix/Makefile ($(objpfx)globtest.out): Replace
28445         $(run-via-rtld-prefix) and $(test-wrapper) with
28446         $(test-program-prefix) and $(test-via-rtld-prefix).
28447         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28448         $(test-program-prefix).
28449         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28450         $(host-test-program-cmd).
28451         (tst-spawn-ARGS): Likewise.
28452         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28453         $(test-program-prefix).
28454         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28455         (test_via_rtld_prefix): This.
28456         (test_wrapper): Renamed to ...
28457         (test_program_prefix): This.
28458         (run_program_prefix): Replaced by test_program_prefix.
28459         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28460         (test_program_prefix): This.
28461         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28462         with $(host-test-program-cmd).
28463         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28464         $(run-program-prefix) with $(test-program-prefix).
28465         ($(objpfx)tst-printf.out): Likewise.
28466         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28467         $(test-program-cmd).
28468         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28469         (test_program_prefix): This.
28470         * stdio-common/tst-unbputc.sh: Likewise.
28471         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28472         $(run-program-prefix) with $(test-program-prefix).
28473         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28474         (test_program_prefix): This.
28475         * string/Makefile ($(objpfx)tst-svc.out):  Replace
28476         $(built-program-cmd) with $(test-program-cmd).
28477
28478 2013-01-11  Andreas Jaeger  <aj@suse.de>
28479
28480         [BZ #15003]
28481         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28482         value. Sync with Linux 3.7.
28483
28484 2013-01-10  David S. Miller  <davem@davemloft.net>
28485
28486         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28487         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28488         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28489
28490 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28491
28492         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28493         never set.
28494         * configure: Regenerated.
28495
28496 2013-01-10  David S. Miller  <davem@davemloft.net>
28497
28498         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28499         sparc V9 rather than using V8 code.
28500         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28501         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28502
28503 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28504
28505         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28506         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28507         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28508         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28509         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28510         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28511         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28512         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28513         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28514         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28515         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28516         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28517         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28518         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28519         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28520         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28521         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28522         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28523         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28524         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28525         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28526         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28527         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28528         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28529         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28530         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28531         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28532
28533 2013-01-10  David S. Miller  <davem@davemloft.net>
28534
28535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28536
28537 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28538
28539         * posix/Makefile (tests-static): New variable.
28540         (tests): Add $(tests-static).
28541         (tst-exec-static-ARGS): New variable.
28542         (tst-spawn-static-ARGS): Likewise.
28543         * posix/tst-exec-static.c: New file.
28544         * posix/tst-spawn-static.c: Likewise.
28545         * posix/tst-exec.c: Support run directly.
28546         * posix/tst-spawn.c: Likewise.
28547
28548 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
28549
28550         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28551         long.
28552         * math/bits/mathcalls.h (llrint): Likewise.
28553         (llround): Likewise.
28554         * stdlib/stdlib.h (struct drand48_data): Likewise.
28555         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28556         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28557         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28558         Likewise.
28559         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28560         Likewise.
28561         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28562         (elf_greg_t): Likewise.
28563         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28564         (__jmp_buf): Likewise.
28565         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28566         definitions.
28567         (llrint): Likewise, for all definitions.
28568         (llrintl): Likewise.
28569
28570         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28571         Remove [__GNUC__] condition.
28572         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28573         condition to just [__USE_ISOC99].
28574         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28575
28576 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28577
28578         [BZ #14200]
28579         * sysdeps/unix/sysv/linux/x86/bits/environments.h
28580         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28581         defined.
28582         (_POSIX_V6_ILP32_OFF32): Likewise.
28583         (_XBS5_ILP32_OFF32): Likewise.
28584         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28585         (__ILP32_OFFBIG_LDFLAGS): Likewise.
28586
28587 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28588
28589         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28590
28591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28592         doubles __mpexp_twomm1.  Adjust usage.
28593         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28594         Remove.
28595
28596 2013-01-10  Andreas Schwab  <schwab@suse.de>
28597
28598         [BZ #14964]
28599         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28600         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28601
28602 2013-01-09  David S. Miller  <davem@davemloft.net>
28603
28604         [BZ #15003]
28605         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28606         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28607         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28608         (TCP_FASTOPEN): Define.
28609         (tcp_repair_opt): New structure.
28610         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28611         enum values.
28612         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28613         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28614         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28615         (tcp_cookie_transactions): New structure.
28616
28617 2013-01-09  Anton Blanchard  <anton@samba.org>
28618
28619         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28620         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28621         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28622         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28623
28624 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28625
28626         * include/features.h (__USE_ANSI): Remove.
28627
28628 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28629
28630         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28631
28632         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28633
28634 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28635
28636         * sysdeps/s390/fpu/libm-test-ulps: Update.
28637
28638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28639
28640         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28641         (__acr): Likewise.
28642         (__cpy): Likewise.
28643         (norm): Likewise.
28644         (denorm): Likewise.
28645         (__mp_dbl): Likewise.
28646         (__dbl_mp): Likewise.
28647         (add_magnitudes): Likewise.
28648         (sub_magnitudes): Likewise.
28649         (__add): Likewise.
28650         (__sub): Likewise.
28651         (__mul): Likewise.
28652         (__inv): Likewise.
28653         (__dvd): Likewise.
28654         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28655         (__acr): Likewise.
28656         (__cpy): Likewise.
28657         (norm): Likewise.
28658         (denorm): Likewise.
28659         (__mp_dbl): Likewise.
28660         (__dbl_mp): Likewise.
28661         (add_magnitudes): Likewise.
28662         (sub_magnitudes): Likewise.
28663         (__add): Likewise.
28664         (__sub): Likewise.
28665         (__mul): Likewise.
28666         (__inv): Likewise.
28667         (__dvd): Likewise.
28668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28669         (__acr): Likewise.
28670         (__cpy): Likewise.
28671         (norm): Likewise.
28672         (denorm): Likewise.
28673         (__mp_dbl): Likewise.
28674         (__dbl_mp): Likewise.
28675         (add_magnitudes): Likewise.
28676         (sub_magnitudes): Likewise.
28677         (__add): Likewise.
28678         (__sub): Likewise.
28679         (__mul): Likewise.
28680         (__inv): Likewise.
28681         (__dvd): Likewise.
28682
28683 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28684
28685         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28686         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28687         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28688         2 && __USE_EXTERN_INLINES]: Likewise.
28689
28690 2013-01-08  Andreas Jaeger  <aj@suse.de>
28691
28692         [BZ# 14985]
28693         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28694         Remove.
28695         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28696         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28697
28698 2013-01-07  Anton Blanchard  <anton@samba.org>
28699
28700         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28701         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28702         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28703         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28704         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28705         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28706         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28707         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28709         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28710         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28711         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28712         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28713         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28714         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28715         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28716         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28717         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28718         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28719         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28720         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28721         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28722         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28723         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28724         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28725         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28726         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28727         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28728         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28729         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28730         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28732         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28733         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28734         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28735         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28736         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28737         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28738         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28739         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28740         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28741         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28742         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28743
28744 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28745
28746         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28747         (__MALLOC_PMT): Likewise.
28748         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28749         [__GNUC__], only on [_LIBC].
28750         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28751         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28752         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28753         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28754         forward declaration.
28755         (realloc_hook_ini): Likewise.
28756         (memalign_hook_ini): Likewise.
28757         (__libc_memalign): Do not use __MALLOC_PMT in variable
28758         declaration.
28759         (__libc_valloc): Likewise.
28760         (__libc_pvalloc): Likewise.
28761         (__libc_calloc): Likewise.
28762         (__posix_memalign): Likewise.
28763
28764         [BZ #14996]
28765         * math/s_casinh.c: Include <float.h>.
28766         (__casinh): Do not do computation with squaring and square root
28767         for large arguments.
28768         * math/s_casinhf.c: Include <float.h>.
28769         (__casinhf): Do not do computation with squaring and square root
28770         for large arguments.
28771         * math/s_casinhl.c: Include <float.h>.
28772         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28773         (__casinhl): Do not do computation with squaring and square root
28774         for large arguments.
28775         * math/libm-test.inc (casin_test): Add more tests.
28776         (casinh_test): Likewise.
28777         * sysdeps/i386/fpu/libm-test-ulps: Update.
28778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28779
28780 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28781
28782         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28783         (__x86_64_raw_data_cache_size): Likewise.
28784         (__x86_64_data_cache_size_half): Likewise.
28785         (__x86_64_raw_data_cache_size_half): Likewise.
28786         (__x86_64_shared_cache_size): Likewise.
28787         (__x86_64_raw_shared_cache_size): Likewise.
28788         (__x86_64_shared_cache_size_half): Likewise.
28789         (__x86_64_raw_shared_cache_size_half): Likewise.
28790         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28791         to ...
28792         (__x86_data_cache_size): This.
28793         (__x86_64_raw_data_cache_size): Renamed to ...
28794         (__x86_raw_data_cache_size): This.
28795         (__x86_64_data_cache_size_half): Renamed to ...
28796         (__x86_data_cache_size_half): This.
28797         (__x86_64_raw_data_cache_size_half): Renamed to ...
28798         (__x86_raw_data_cache_size_half): This.
28799         (__x86_64_shared_cache_size): Renamed to ...
28800         (__x86_shared_cache_size): This.
28801         (__x86_64_raw_shared_cache_size): Renamed to ...
28802         (__x86_raw_shared_cache_size): This.
28803         (__x86_64_shared_cache_size_half): Renamed to ...
28804         (__x86_shared_cache_size_half): This.
28805         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28806         (__x86_raw_shared_cache_size_half): This.
28807         * sysdeps/x86_64/memcpy.S: Updated.
28808         * sysdeps/x86_64/memset.S: Likewise.
28809         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28810         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28811         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28812
28813 2013-01-04  David S. Miller  <davem@davemloft.net>
28814
28815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28816
28817 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
28818
28819         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28820         1 to avoid redefinition warning.
28821         (__USE_GNU): Don't define.
28822         (init_signaling_nan): Protoize.
28823
28824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28825
28826 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28827
28828         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28830         (__cpymn): Likewise.
28831         (norm): Remove commented code.
28832         (denorm): Likewise.
28833         (__mp_dbl): Likewise.
28834         (__inv): Likewise.
28835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28836         (__cpymn): Likewise.
28837         (norm): Remove commented code.
28838         (denorm): Likewise.
28839         (__mp_dbl): Likewise.
28840         (__inv): Likewise.
28841
28842         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28843         mp_no value for 1.0 and 2.0.
28844         (norm): Use RADIXI instead of radixi.d.
28845         (denorm): Likewise.
28846         (__mul): Use 0.0 instead of zero.d.
28847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28848         mp_no value for 1.0 and 2.0.
28849         (norm): Use RADIXI instead of radixi.d.
28850         (denorm): Likewise.
28851         (__mul): Use 0.0 instead of zero.d.
28852
28853 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
28854
28855         [BZ #14994]
28856         * math/s_casinh.c (__casinh): Reduce finite argument to first
28857         quadrant then set signs of results at the end.
28858         * math/s_casinhf.c (__casinhf): Likewise.
28859         * math/s_casinhl.c (__casinhl): Likewise.
28860         * math/libm-test.inc (casin_test): Add more tests.
28861         (casinh_test): Likewise.
28862         * sysdeps/i386/fpu/libm-test-ulps: Update.
28863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28864
28865 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28866
28867         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28868
28869         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28870
28871         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28872         declarations.
28873         (denorm): Likewise.
28874         (__mp_dbl): Likewise.
28875         (__inv): Likewise.
28876
28877         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28878         and adjust the header comment.
28879
28880         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28881         variable name from declaration.
28882
28883 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
28884
28885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28886         Initialize COMMON_CPUID_INDEX_7 element.
28887         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28888         (CPUID_RTM): Likewise.
28889         (HAS_RTM): Likewise.
28890         (COMMON_CPUID_INDEX_7): New enum.
28891
28892 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
28893
28894         [BZ #14981]
28895         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28896         size is zero, record memory as freed.
28897
28898 2013-01-03  Andreas Jaeger  <aj@suse.de>
28899
28900         * po/ia.po: Add new Interlingua translation.
28901
28902 2012-01-03  Allan McRae  <allan@archlinux.org>
28903
28904         * locale/programs/localedef.c: Fix description of '--posix' flag.
28905
28906 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
28907
28908         * NEWS: Update dates in second copyright notice.
28909         * README: Update copyright dates in example.
28910         * manual/libc.texinfo: Update copyright dates.
28911         * scripts/test-installation.pl: Update copyright date in --version
28912         output.
28913
28914         * hurd/ctty-input.c: Fix copyright notice formatting.
28915         * hurd/ctty-output.c: Likewise.
28916         * hurd/dtable.c: Likewise.
28917         * hurd/hurd-raise.c: Likewise.
28918         * hurd/hurdprio.c: Likewise.
28919         * hurd/msgportdemux.c: Likewise.
28920         * misc/sys/file.h: Likewise.
28921         * misc/sys/ioctl.h: Likewise.
28922         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28923         * sysdeps/mach/hurd/chdir.c: Likewise.
28924         * sysdeps/mach/hurd/fchdir.c: Likewise.
28925         * sysdeps/mach/hurd/rename.c: Likewise.
28926         * sysdeps/mach/hurd/rmdir.c: Likewise.
28927         * sysdeps/mach/hurd/seekdir.c: Likewise.
28928         * sysdeps/mach/hurd/setsid.c: Likewise.
28929         * sysdeps/posix/wait3.c: Likewise.
28930
28931         * All files with FSF copyright notices: Update copyright dates
28932         using scripts/update-copyrights.
28933         * intl/plural.c: Regenerated.
28934         * locale/programs/charmap-kw.h: Likewise.
28935         * locale/programs/locfile-kw.h: Likewise.
28936
28937 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28938
28939         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28940         four values.
28941
28942         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28943         calculation loop and add branch prediction.
28944
28945         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28946         check access beyond bounds of m1np.
28947
28948         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28949         MPTWO.
28950         (__inv): Remove local variable MPTWO to use the global
28951         constant.
28952         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28953         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28954         variable MPTWO.
28955         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28956         MP3HALFS static const.
28957
28958 2013-01-01  David S. Miller  <davem@davemloft.net>
28959
28960         * po/ca.po: Update from translation team.
28961
28962 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
28963
28964         * scripts/update-copyrights: New file.
28965         * Makeconfig: Reformat copyright notice.
28966         * ctype/ctype.h: Likewise.
28967         * debug/swprintf_chk.c: Likewise.
28968         * elf/dl-cache.c: Likewise.
28969         * elf/dl-debug.c: Likewise.
28970         * elf/dl-object.c: Likewise.
28971         * grp/initgroups.c: Likewise.
28972         * hurd/Makefile: Likewise.
28973         * hurd/hurd/signal.h: Likewise.
28974         * hurd/hurdfault.c: Likewise.
28975         * hurd/hurdioctl.c: Likewise.
28976         * hurd/hurdlookup.c: Likewise.
28977         * hurd/intr-msg.c: Likewise.
28978         * iconv/gconv_open.c: Likewise.
28979         * libio/swprintf.c: Likewise.
28980         * locale/lc-ctype.c: Likewise.
28981         * locale/nl_langinfo.c: Likewise.
28982         * mach/Machrules: Likewise.
28983         * mach/Makefile: Likewise.
28984         * malloc/obstack.h: Likewise.
28985         * manual/Makefile: Likewise.
28986         * manual/tsort.awk: Likewise.
28987         * misc/bits/stab.def: Likewise.
28988         * nis/nis_print_group_entry.c: Likewise.
28989         * nis/nis_table.c: Likewise.
28990         * nis/nss_compat/compat-pwd.c: Likewise.
28991         * nis/nss_compat/compat-spwd.c: Likewise.
28992         * po/Makefile: Likewise.
28993         * posix/fnmatch.c: Likewise.
28994         * posix/regex.h: Likewise.
28995         * resolv/Makefile: Likewise.
28996         * resolv/nss_dns/dns-network.c: Likewise.
28997         * resolv/res_hconf.c: Likewise.
28998         * scripts/gen-sorted.awk: Likewise.
28999         * soft-fp/soft-fp.h: Likewise.
29000         * stdio-common/printf.h: Likewise.
29001         * stdlib/monetary.h: Likewise.
29002         * stdlib/random.c: Likewise.
29003         * stdlib/random_r.c: Likewise.
29004         * sysdeps/generic/Makefile: Likewise.
29005         * sysdeps/gnu/Makefile: Likewise.
29006         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29007         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29008         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29009         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29010         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29011         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29012         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29013         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29014         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29015         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29016         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29017         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29018         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29019         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29020         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29021         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29022         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29023         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29024         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29025         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29026         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29027         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29028         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29029         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29030         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29031         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29032         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29033         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29034         * sysdeps/mach/hurd/errnos.awk: Likewise.
29035         * sysdeps/mach/hurd/fork.c: Likewise.
29036         * sysdeps/mach/hurd/getcwd.c: Likewise.
29037         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29038         * sysdeps/mach/hurd/mmap.c: Likewise.
29039         * sysdeps/mach/hurd/utimes.c: Likewise.
29040         * sysdeps/mach/hurd/xmknod.c: Likewise.
29041         * sysdeps/posix/profil.c: Likewise.
29042         * sysdeps/posix/readdir_r.c: Likewise.
29043         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29044         * sysdeps/powerpc/bits/setjmp.h: Likewise.
29045         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29046         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29048         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29049         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29050         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29052         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29053         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29054         * sysdeps/pthread/lio_listio.c: Likewise.
29055         * sysdeps/sparc/dl-procinfo.h: Likewise.
29056         * sysdeps/unix/i386/sysdep.S: Likewise.
29057         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29058         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29059         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29060         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29062         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29063         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29064         * sysdeps/unix/sysv/linux/speed.c: Likewise.
29065         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29066         * sysdeps/wordsize-32/divdi3.c: Likewise.
29067         * time/sys/time.h: Likewise.
29068         * wcsmbs/Makefile: Likewise.
29069
29070 2013-01-01  David S. Miller  <davem@davemloft.net>
29071
29072         * po/fr.po: Update from translation team.
29073
29074         * catgets/gencat.c: Update copyright year.
29075         * csu/version.c: Likewise.
29076         * debug/catchsegv.sh: Likewise.
29077         * debug/pcprofiledump.c: Likewise.
29078         * debug/xtrace.sh: Likewise.
29079         * elf/ldconfig.c: Likewise.
29080         * elf/ldd.bash.in: Likewise.
29081         * elf/pldd.c: Likewise.
29082         * elf/sotruss.ksh: Likewise.
29083         * elf/sprof.c: Likewise.
29084         * iconv/iconv_prog.c: Likewise.
29085         * iconv/iconvconfig.c: Likewise.
29086         * locale/programs/locale.c: Likewise.
29087         * locale/programs/localedef.c: Likewise.
29088         * login/programs/pt_chown.c: Likewise.
29089         * malloc/memusage.sh: Likewise.
29090         * malloc/memusagestat.c: Likewise.
29091         * malloc/mtrace.pl: Likewise.
29092         * nscd/nscd.c: Likewise.
29093         * nss/getent.c: Likewise.
29094         * nss/makedb.c: Likewise.
29095         * posix/getconf.c: Likewise.
29096
29097 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29098
29099         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29100         numbers.
29101
29102 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
29103
29104         * math/bits/mathcalls.h (modf): Use __nonnull.
29105
29106 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29107
29108         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29109         (split): Use macro CN instead of the bare value.
29110         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29111         could be used.
29112         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29113         instead of the bare value.
29114         (power1): Likewise.
29115
29116 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29117
29118         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29119         __ATAN_TWOM.
29120         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29121
29122         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29123         their values.
29124         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29125         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29126         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29127         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29128
29129 2012-12-28  Andreas Jaeger  <aj@suse.de>
29130
29131         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
29132         values are from Linux 3.7.
29133
29134         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29135         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
29136
29137 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29138
29139         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29140         TRUE case.
29141
29142         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29143         (norm): Likewise.
29144         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29145         variables with preprocessor constants.
29146         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29147         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29148         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29149
29150 2012-12-27  Bruno Haible  <bruno@clisp.org>
29151
29152         [BZ #14317]
29153         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29154         only if needed.
29155
29156 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29157
29158         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29159         and use variable directly.
29160         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29161
29162         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29163         MPONE.
29164         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29165         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29166         variable MPONE.
29167         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29169         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29170         include directive.  Remove local variable MPONE.
29171         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29172         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29173         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29174
29175 2012-12-25  David S. Miller  <davem@davemloft.net>
29176
29177         * version.h (RELEASE): Set to "development".
29178         (VERSION): Set to "2.17.90".
29179         * NEWS: Add 2.18 section.
29180
29181 2012-12-21  David S. Miller  <davem@davemloft.net>
29182
29183         * po/hr.po: Update from translation team.
29184
29185 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29186
29187         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29188
29189 2012-12-19  Steve Ellcey  <sellcey@mips.com>
29190
29191         * NEWS:  Mention new memcpy for MIPS.
29192
29193 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29194
29195         * manual/contrib.texi (Contributors): Spelling correction.
29196
29197 2012-12-15  David S. Miller  <davem@davemloft.net>
29198
29199         * po/ru.po: Update from translation team.
29200
29201 2012-12-13  David S. Miller  <davem@davemloft.net>
29202
29203         * NEWS: Mention IFUNC testsuite enhancements.
29204
29205         * po/pl.po: Update from translation team.
29206         * po/bg.po: Likewise.
29207
29208         * manual/contrib.texi (Contributors): Update entries for Hongjiu
29209         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
29210
29211 2012-12-11  David S. Miller  <davem@davemloft.net>
29212
29213         * po/sv.po: Update from translation team.
29214
29215         * po/vi.po: Update from translation team.
29216
29217         * po/cs.po: Update from translation team.
29218
29219         * po/de.po: Update from translation team.
29220         * po/eo.po: Likewise.
29221         * po/nl.po: Likewise.
29222
29223 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29224
29225         [BZ #14246]
29226         * manual/argp.texi (Argp Helper Functions): Move node to follow
29227         Argp Parsing State.
29228
29229         [BZ #14872]
29230         * manual/conf.texi (Limits on File System Capacity): Mention if
29231         terminating null is included in the max size.
29232
29233 2012-12-10  Andreas Jaeger  <aj@suse.de>
29234
29235         * po/cs.po: Update from translation team.
29236
29237 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29238
29239         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29240         void pointer and cast to uintptr_t.
29241         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29242         path.
29243         * sysdeps/s390/s390-64/memcpy.S: Likewise.
29244         * sysdeps/s390/s390-64/memset.S: Likewise.
29245
29246 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
29247
29248         [BZ #14833]
29249         * menual/message.texi (Message Translation): Fix typos.
29250         (Helper programs for gettext): Likewise.
29251
29252 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
29253
29254         [BZ #14898]
29255         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29256         Change to -1.
29257
29258 2012-12-07  David S. Miller  <davem@davemloft.net>
29259
29260         * po/libc.pot: Update.
29261
29262 2012-12-07  Richard Henderson  <rth@redhat.com>
29263
29264         [BZ #10114]
29265         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29266         normal/normal case to before the switch.
29267         (_FP_DIV): Likewise.
29268
29269 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
29270             Mike Frysinger  <vapier@gentoo.org>
29271
29272         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29273         check for __NR_fadvise64_64.
29274
29275 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
29276
29277         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29278         0, not just to plain "0" as a statement.
29279         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29280         with cw.
29281
29282 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
29283
29284         * NEWS: Use sourceware.org in Bugzilla URL.
29285
29286 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29287
29288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29289         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29290
29291         * stdio-common/tst-put-error.c (do_test): Add newline to the
29292         padded test to ensure flush.
29293
29294 2012-12-05  Jeff Law  <law@redhat.com>
29295
29296         * sunrpc/etc.rpc (fedfs_admin): Add entry.
29297
29298 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
29299
29300         * README: Don't refer to ports add-on as distributed separately.
29301         Mention AArch64 in list of systems supported in the ports add-on.
29302
29303         * LICENSES: Add more non-FSF copyright and license notices.
29304
29305         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29306         ((unused)).
29307
29308         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29309
29310         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29311         10000 as width of padded output.
29312
29313 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29314
29315         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29316
29317         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29318         variable LX with __attribute__ ((unused)).
29319         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29320         Likewise.
29321         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29322         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29323         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29324         with __attribute__ ((unused)).
29325
29326 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
29327
29328         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29329
29330 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29331
29332         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29333         (CFLAGS-nldbl-acos.c): New variable.
29334         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29335         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29336         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29337         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29338         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29339         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29340         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29341         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29342         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29343         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29344         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29345         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29346         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29347         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29348         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29349         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29350         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29351         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29352         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29353         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29354         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29355         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29356         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29357         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29358         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29359         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29360         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29361         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29362         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29363         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29364         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29365         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29366         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29367         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29368         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29369         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29370         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29371         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29372         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29373         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29374         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29375         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29376         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29377         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29378         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29379         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29380         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29381         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29382         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29383         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29384         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29385         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29386         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29387         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29388         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29389         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29390         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29391         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29392         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29393         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29394         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29395         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29396         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29397         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29398         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29399         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29400         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29401         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29402         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29403         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29404         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29405         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29406         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29407         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29408         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29409         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29410         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29411         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29412         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29413         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29414         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29415         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29416         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29417         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29418         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29419         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29420         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29421         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29422         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29423         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29424         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29425         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29426         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29427         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29428         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29429         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29430         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29431
29432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29433         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29434
29435         [BZ #14914]
29436         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29437         whole low double instead of just low 47 bits when splitting values
29438         into two parts.
29439
29440 2012-12-03  Allan McRae  <allan@archlinux.org>
29441
29442         * manual/stdio.texi (Predefined Printf Handlers): Remove
29443         @hsep and @vsep usage.
29444
29445 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
29446
29447         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29448         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29449
29450 2012-12-03  Jeff Law  <law@redhat.com>
29451
29452         * time/sys/time.h (settimeofday): Do not mark TV argument
29453         as __nonnull.
29454
29455 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
29456
29457         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29458         when currently writing and seek to current position when not.
29459         * libio/Makefile (tests): Remove bug-fclose1.
29460         * libio/bug-fclose1.c: Delete.
29461
29462 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
29463
29464         * manual/arith.texi (feenableexcept): Fix typo.
29465         (fedisableexcept): Likewise.
29466
29467 2012-11-30  Roland McGrath  <roland@hack.frob.com>
29468
29469         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29470         second, differently-typed declaration, rather than a cast.
29471
29472 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29473
29474         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29475         * include/rpc/svc.h: ... here.
29476
29477 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
29478
29479         [BZ #13013]
29480         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29481         depending n and resplen2 to catch cases where answer
29482         equals answerp2.
29483
29484 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
29485
29486         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29487         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29488
29489 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
29490
29491         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29492
29493 2012-11-29  Roland McGrath  <roland@hack.frob.com>
29494
29495         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29496
29497 2012-11-28  Jeff Law  <law@redhat.com>
29498
29499         [BZ #13761]
29500         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29501         dataset_temporary.  Track alloca usage into alloca_used.
29502         If dataset is large allocate and release it via malloc/free.
29503
29504 2012-06-04  Florian Weimer  <fweimer@redhat.com>
29505
29506         [BZ #14197]
29507         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29508
29509 2012-11-28  David S. Miller  <davem@davemloft.net>
29510
29511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29512
29513 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29514
29515         [BZ #14803]
29516         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29517         of pi/2 rounded to nearest to 64 bits.
29518         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29519         nearest to 64 bits.
29520         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29521         bits.
29522
29523 2012-11-28  Jeff Law <law@redhat.com>
29524             Martin Osvald <mosvald@redhat.com>
29525
29526         [BZ #14889]
29527         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29528         * sunrpc/svc.c: Include time.h.
29529         (__svc_accept_failed): New function.
29530         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29531         any reason other than EINTR, call __svc_accept_failed.
29532         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29533         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29534
29535 2012-11-28  Andreas Schwab  <schwab@suse.de>
29536
29537         * scripts/abilist.awk: Also handle indirect functions in .opd
29538         section.
29539
29540 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29541
29542         [BZ #13881]
29543         * sysdeps/x86/fpu/powl_helper.c: New file.
29544         * sysdeps/x86/fpu/Makefile: Likewise.
29545         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29546         (p3): New object.
29547         (__ieee754_powl): Use __powl_helper for finite arguments except
29548         integer exponents below 8.
29549         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29550         (p3): New object.
29551         (__ieee754_powl): Use __powl_helper for finite arguments except
29552         integer exponents below 8.
29553         * math/libm-test.inc (pow_test): Add more tests and enable some
29554         previously disabled tests.
29555         * sysdeps/i386/fpu/libm-test-ulps: Update.
29556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29557
29558 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29559             Carlos O'Donell  <carlos_odonell@mentor.com>
29560
29561         * nss/makedb.c (is_prime): Assert that input is odd and greater
29562         than 4.  Note that fact in a comment too.
29563         (next_prime): Add 4 to input.
29564
29565 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29566
29567         [BZ #11741]
29568         * libio/Makefile (tests): Add test case tst-fwrite-error.
29569         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29570         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29571         * libio/tst-fwrite-error.c: New test case.
29572
29573 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
29574
29575         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29576         before casting to void *.
29577         * include/libc-internal.h (__pointer_type): New macro.
29578         (__integer_if_pointer_type_sub): Likewise.
29579         (__integer_if_pointer_type): Likewise.
29580         (cast_to_integer): Likewise.
29581         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29582         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29583         before casting to atomic64_t.
29584         (atomic_exchange_acq): Likewise.
29585         (__arch_exchange_and_add_body): Likewise.
29586         (__arch_add_body): Likewise.
29587         (atomic_add_negative): Likewise.
29588         (atomic_add_zero): Likewise.
29589
29590 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
29591
29592         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29593         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29594         (add_fdes): Likewise.
29595         (linear_search_fdes): Likewise.
29596         (binary_search_unencoded_fdes): Likewise.
29597
29598 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
29599
29600         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29601
29602 2012-11-24  Adam Conrad  <adconrad@0c3.net>
29603
29604         * configure.in: Autodetect C++ header directories.
29605         * configure: Regenerated.
29606
29607 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
29608
29609         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29610
29611 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
29612
29613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29614
29615 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
29616
29617         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29618         LDBL_MANT_DIG == 106]: Disable some tests.
29619         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29620         Likewise.
29621         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29622         Likewise.
29623
29624         [BZ #14871]
29625         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29626         input for small inputs.  Return +/- pi/2 for large inputs.
29627         * math/libm-test.inc (atan_test): Add more tests.
29628
29629         * sysdeps/generic/unwind-dw2-fde-glibc.c
29630         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29631         __attribute__ ((unused)).
29632
29633         [BZ #14645]
29634         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29635         x * y if x and y are nonzero and z is zero.
29636
29637         [BZ #14811]
29638         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29639         nonzero exponents with absolute value below 0x1p-117 to +/-
29640         0x1p-117.
29641
29642         [BZ #14869]
29643         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29644         up arguments below 2**-450, not just those below 2**-500.
29645         * math/libm-test.inc (hypot_test): Add another test.
29646
29647         [BZ #14868]
29648         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29649         Return a+b for ratio over 2**120, not 2**60.
29650         * math/libm-test.inc (hypot_test): Add another test.
29651
29652         * math/libm-test.inc (clog_test): Use
29653         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29654         (clog10_test): Likewise.
29655
29656         [BZ #6778]
29657         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29658
29659 2012-11-22  Andreas Schwab  <schwab@suse.de>
29660
29661         * sysdeps/i386/fpu/libm-test-ulps: Update.
29662
29663 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29664
29665         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29666         printf output with newline.
29667
29668 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29669
29670         [BZ #14865]
29671         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29672         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29673         -z nodlopen, -z initfirst and -z execstack support.
29674         * configure: Regenerated.
29675
29676         * elf/elf.h (DF_1_NODIRECT): New macro.
29677         (DF_1_IGNMULDEF): Likewise.
29678         (DF_1_NOKSYMS): Likewise.
29679         (DF_1_NOHDR): Likewise.
29680         (DF_1_EDITED): Likewise.
29681         (DF_1_NORELOC): Likewise.
29682         (DF_1_SYMINTPOSE): Likewise.
29683         (DF_1_GLOBAUDIT): Likewise.
29684         (DF_1_SINGLETON): Likewise.
29685         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29686         DT_1_SUPPORTED_MASK bits.
29687         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29688
29689 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29690
29691         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29692
29693 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29694
29695         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29696         macro.
29697
29698         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29699         (sendmmsg): Move declarations...
29700         * socket/sys/socket.h: ... here.
29701         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29702         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29703         include it from...
29704         * socket/recvmmsg.c: ... this new file.
29705         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29706         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29707         definition of __sendmmsg hidden.
29708         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29709         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29710         Move ENOSYS stub into and include it from...
29711         * socket/sendmmsg.c: ... this new file.
29712         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29713         (sysdep_routines): Move recvmmsg and sendmmsg...
29714         * socket/Makefile (routines): ... here.
29715         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29716         (GLIBC_PRIVATE): Add __sendmmsg.
29717         * include/sys/socket.h (__sendmmsg): Add declarations.
29718         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29719         sendmmsg.
29720
29721 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29722
29723         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29724         variable I1 with __attribute__ ((unused)).
29725         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29726
29727 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29728
29729         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29730         DUMMY variables with __attribute__ ((unused)).
29731
29732         * bits/byteswap.h: Include <bits/types.h>.
29733         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29734
29735 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29736
29737         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29738         string_t.  Do not manually set errno.
29739         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29740         length with __strnlen.  Make sure to both set errno and return it on
29741         failure.
29742
29743 2012-11-19  David S. Miller  <davem@davemloft.net>
29744
29745         With help from Joseph Myers.
29746         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29747         very large arguments properly.
29748         * math/libm-test.inc (atan_test): New tests.
29749         (atan2_test): New tests.
29750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29751         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29752
29753 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29754
29755         [BZ #14856]
29756         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29757         Define to 3.
29758
29759         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29760         [POSIX] (EADDRNOTAVAIL): Likewise.
29761         [POSIX] (EAFNOSUPPORT): Likewise.
29762         [POSIX] (EALREADY): Likewise.
29763         [POSIX] (ECONNABORTED): Likewise.
29764         [POSIX] (ECONNREFUSED): Likewise.
29765         [POSIX] (ECONNRESET): Likewise.
29766         [POSIX] (EDESTADDRREQ): Likewise.
29767         [POSIX] (EDQUOT): Likewise.
29768         [POSIX] (EHOSTUNREACH): Likewise.
29769         [POSIX] (EIDRM): Likewise.
29770         [POSIX] (EISCONN): Likewise.
29771         [POSIX] (ELOOP): Likewise.
29772         [POSIX] (EMULTIHOP): Likewise.
29773         [POSIX] (ENETDOWN): Likewise.
29774         [POSIX] (ENETUNREACH): Likewise.
29775         [POSIX] (ENOBUFS): Likewise.
29776         [POSIX] (ENODATA): Likewise.
29777         [POSIX] (ENOLINK): Likewise.
29778         [POSIX] (ENOMSG): Likewise.
29779         [POSIX] (ENOPROTOOPT): Likewise.
29780         [POSIX] (ENOSR): Likewise.
29781         [POSIX] (ENOSTR): Likewise.
29782         [POSIX] (ENOTCONN): Likewise.
29783         [POSIX] (ENOTSOCK): Likewise.
29784         [POSIX] (EOPNOTSUPP): Likewise.
29785         [POSIX] (EOVERFLOW): Likewise.
29786         [POSIX] (EPROTO): Likewise.
29787         [POSIX] (EPROTONOSUPPORT): Likewise.
29788         [POSIX] (EPROTOTYPE): Likewise.
29789         [POSIX] (ESTALE): Likewise.
29790         [POSIX] (ETIME): Likewise.
29791         [POSIX] (ETXTBSY): Likewise.
29792         [POSIX] (EWOULDBLOCK): Likewise.
29793         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29794         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29795         [POSIX] (SEEK_CUR): Likewise.
29796         [POSIX] (SEEK_END): Likewise.
29797         [POSIX || UNIX98] (mode_t): Do not require.
29798         [POSIX] (off_t): Likewise.
29799         [POSIX] (pid_t): Likewise.
29800         [POSIX] (sys/stat.h): Do not allow header.
29801         [POSIX] (unistd.h): Likewise.
29802         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29803         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29804         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29805         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29806         require.
29807         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29808         sigevent): Specify elements.
29809         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29810         entry.
29811         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29812         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29813
29814         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29815         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29816         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29817         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29818         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29819         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29820         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29821         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29822         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29823         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29824         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29825         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29826         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29827         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29828         Likewise.
29829         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29830         Likewise.
29831         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29832         Likewise.
29833         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29834         Likewise.
29835         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29836         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29837         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29838         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29839         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29840         Specify lower bound on value.
29841         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29842         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29843         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29844         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29845         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29846         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29847         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29848         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29849         value.
29850         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29851         as optional.
29852         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29853         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29854         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29855         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29856         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29857         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29858         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29859         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29860         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29861         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29862         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29863         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29864         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29865         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29866         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29867         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29868         entry.
29869         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29870         optional.
29871         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29872         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29873         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29874         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29875         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29876         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29877         Likewise.
29878         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29879         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29880         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29881         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29882         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
29883         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29884         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29885         as optional.
29886         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29887         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29888         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29889         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29890         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29891         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29892         specify as optional.
29893         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29894         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29895         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29896         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29897         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29898         [XPG3] (NL_LANGMAX): Likewise.
29899         [POSIX || XPG3] (NL_MSGMAX): Likewise.
29900         [POSIX || XPG3] (NL_NMAX): Likewise.
29901         [POSIX || XPG3] (NL_SETMAX): Likewise.
29902         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29903         [XPG3] (NZERO): Likewise.
29904         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29905         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29906         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29907         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29908         (REG_ERANGE): Expect.
29909         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29910         optional-constant.
29911         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29912         Use (void) in prototype.
29913         [POSIX] (*_t): Allow.
29914         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29915         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29916         (WRDE_BADVAL): Expect.
29917
29918         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29919         expect.
29920         [XPG3 || XPG4] (O_RSYNC): Likewise.
29921         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29922         Likewise.
29923         [XPG3 || XPG4] (pthread_sigmask): Likewise.
29924         [XPG3 || XPG4] (sigqueue): Likewise.
29925         [XPG3 || XPG4] (sigtimedwait): Likewise.
29926         [XPG3 || XPG4] (sigwaitinfo): Likewise.
29927         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29928         [XPG3 || XPG4] (vsnprintf): Likewise.
29929         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29930         Likewise.
29931         [XPG3 || XPG4] (blksize_t): Likewise.
29932         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29933         Likewise.
29934         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29935         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29936         [XPG3 || XPG4] (struct itimerspec): Likewise.
29937         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29938         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29939         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29940         [XPG3 || XPG4] (clockid_t): Likewise.
29941         [XPG3 || XPG4] (timer_t): Likewise.
29942         [XPG3 || XPG4] (clock_getres): Likewise.
29943         [XPG3 || XPG4] (clock_gettime): Likewise.
29944         [XPG3 || XPG4] (clock_settime): Likewise.
29945         [XPG3 || XPG4] (nanosleep): Likewise.
29946         [XPG3 || XPG4] (timer_create): Likewise.
29947         [XPG3 || XPG4] (timer_delete): Likewise.
29948         [XPG3 || XPG4] (timer_gettime): Likewise.
29949         [XPG3 || XPG4] (timer_getoverrun): Likewise.
29950         [XPG3 || XPG4] (timer_settime): Likewise.
29951         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29952         [XPG3 || XPG4] (getlogin_r): Likewise.
29953         [XPG3 || XPG4] (pread): Likewise.
29954         [XPG3 || XPG4] (pthread_atfork): Likewise.
29955         [XPG3 || XPG4] (pwrite): Likewise.
29956
29957         [BZ #14835]
29958         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29959         <bits/siginfo.h>.
29960
29961 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29962
29963         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29964         finalizing MALLSTREAM.
29965
29966         * sysdeps/mach/hurd/syncfs.c: New file.
29967
29968 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29969
29970         [BZ #14719]
29971         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29972         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29973         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29974         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29975         (_nss_dns_gethostbyname4_r): Likewise.
29976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29977         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29978
29979 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
29980
29981         [BZ #13763]
29982         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29983
29984 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
29985
29986         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29987         * elf/cache.c (print_entry): Print ",AArch64" for
29988         FLAG_AARCH64_LIB64
29989
29990         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29991         * elf/cache.c (print_entry): Print ",hard-float" for
29992         FLAG_ARM_LIBHF.
29993
29994 2012-11-18  David S. Miller  <davem@davemloft.net>
29995
29996         With help from Joseph Myers.
29997         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29998         cutoff to 2**-13.
29999         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30000         cutoff to 2**-25.
30001         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30002         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30003         small.
30004         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30005         * math/libm-test.inc (y0_test): New tests.
30006         (y1_test): New tests.
30007         * sysdeps/i386/fpu/libm-test-ulps: Update.
30008         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30010
30011 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
30012
30013         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30014         64-bit targets.
30015         * configure: Regenerated.
30016
30017 2012-11-17  David S. Miller  <davem@davemloft.net>
30018
30019         [BZ #14811]
30020         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30021         nonzero exponents with absolute value below 0x1p-128 to +/-
30022         0x1p-128.
30023
30024 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
30025
30026         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30027
30028         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30029
30030         * posix/getconf-speclist.c: New file.
30031         * posix/posix-envs.def: Likewise.
30032         * posix/confstr.c (START_ENV_GROUP): New macro.
30033         (END_ENV_GROUP): Likewise.
30034         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30035         (KNOWN_PRESENT_ENV_STRING): Likewise.
30036         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30037         (UNKNOWN_ENVIRONMENT): Likewise.
30038         (confstr): Include posix-envs.def instead of handling
30039         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30040         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30041         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30042         (END_ENV_GROUP): Likewise.
30043         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30044         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30045         (UNKNOWN_ENVIRONMENT): Likewise.
30046         (__sysconf): Include posix-envs.def instead of handling associated
30047         cases directly here.
30048         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30049         preprocessing getconf-speclist.c rather than running getconf or
30050         generating empty file.
30051
30052 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
30053
30054         * scripts/check-local-headers.sh: Ignore 'mach' headers.
30055
30056 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
30057
30058         [BZ #14672]
30059         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30060
30061 2012-11-16  David S. Miller  <davem@davemloft.net>
30062
30063         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30064         smaller than LDBL_EPSILON/2.0L, just return xm1.
30065
30066 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
30067
30068         * elf/tst-array1.c (init): Set constructor priority to 1000.
30069         (fini): Set destructor priority to 1000.
30070         * elf/tst-array2dep.c: Likewise.
30071
30072 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30073
30074         [BZ #11741]
30075         * libio/fileops.c (_IO_new_file_write): Correctly return error.
30076         (_IO_new_file_xsputn): Also return EOF if none of the input
30077         data was written when overflow failed.
30078         * libio/iopadn.c (_IO_padn): Likewise.
30079         * libio/iowpadn.c (_IO_wpadn): Likewise.
30080         * stdio-common/tst-put-error.c: Add copyright notice.
30081         (do_test): Add case for printing padded string.
30082         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30083         _IO_padn returned error.
30084         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30085         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30086         return EOF.
30087
30088 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30089
30090         * libio/libioP.h: Add comment note that the references to C++
30091         bits are now obsolete.
30092
30093 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30094
30095         * math/libm-test.inc (check_complex): Use asprintf.
30096
30097 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
30098
30099         * debug/pcprofiledump.c (print_version): Update copyright year.
30100         * malloc/memusagestat.c (print_version): Likewise.
30101
30102 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
30103
30104         [BZ #14831]
30105         * elf/Makefile (tests): Add tst-audit8.
30106         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30107         ($(objpfx)tst-audit8.out): New target.
30108         (tst-audit8-ENV): New variable.
30109         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30110         audit if l_reloc_result is NULL.
30111         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30112         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30113         * elf/tst-audit8.c: New file.
30114
30115 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30116
30117         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30118         * misc/Makefile (CFLAGS-select.c): Define.
30119         * posix/Makefile (CFLAGS-pause.c): Define.
30120
30121 2012-11-13  David S. Miller  <davem@davemloft.net>
30122
30123         * crypt/Makefile: Move test targets after toplevel Rules
30124         inclusion.  Grab any necessary sysdep routines when linking.
30125         * crypt/md5.c (md5_process_block): Remove define, we will always
30126         name it __md5_process_block.
30127         (md5_finish_ctx): Update md5_process_block call.
30128         (md5_stream): Likewise.
30129         (md5_process_bytes): Likewise.
30130         (md5_process_block): Rename to __md5_process_block and move to ...
30131         * crypt/md5-block.c: ... here.
30132         * crypt/sha256.c (sha256_process_block): Move to ...
30133         * crypt/sha256-block.c: ... here.
30134         * crypt/sha512.c (sha512_process_block): Move to ...
30135         * crypt/sha512-block.c: ... here.
30136         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30137         path.
30138         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30139         * sysdeps/sparc/sparc64/multiarch/Makefile
30140         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30141         crypt subdir.
30142         (localedef-aux): Add md5 crypto assembler when in locale subdir.
30143         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30144         multiarch changes.
30145         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30146         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30147         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30148         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30149         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30150         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30151         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30152         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30153         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30154         file.
30155         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30156         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30157         file.
30158         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30159
30160 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
30161
30162         * timezone/tzselect.ksh: Update from tzcode git revision
30163         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30164         * timezone/zdump.c: Likewise.
30165         * timezone/zic.c: Likewise.
30166         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30167         in TZVERSION setting, not $(PKGVERSION).
30168         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
30169         REPORT_BUGS_TO settings.
30170
30171         [BZ #14838]
30172         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30173         macro.
30174
30175 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30176
30177         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30178         detection to immediately after _FP_ROUND().
30179         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30180         bits are 0.
30181
30182 2012-11-11  David S. Miller  <davem@davemloft.net>
30183
30184         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30185         inttypes.h
30186         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30187         __close rather than their public counterparts.
30188
30189 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
30190
30191         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30192         file.
30193         [UNIX98] (sem_timedwait): Do not expect.
30194         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30195         [XPG4 || UNIX98] (sockatmark): Do not expect.
30196         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30197         (clock_getcpuclockid): Do not expect.
30198         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30199         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30200         Do not expect.
30201         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30202         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30203         [UNIX98] (vwscanf): Likewise.
30204         [UNIX98] (vswscanf): Likewise.
30205
30206 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
30207
30208         * timezone/version.h: Remove file.
30209         * timezone/README: Do not refer to version.h.
30210         * timezone/Makefile ($(objpfx)zic.o): New dependency on
30211         $(objpfx)version.h.
30212         ($(objpfx)zdump.o): Likewise.
30213         ($(objpfx)version.h): New target.
30214
30215         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30216         2012i.
30217         * timezone/README: Don't mention modification to tzselect.ksh.
30218         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30219         work on unmodified tzselect.ksh.  Substitute version numbers in
30220         tzselect.ksh.
30221
30222         * Makefile (format-me): Remove.
30223         (INSTALL): Adjust indentation.  Use commands directly instead of
30224         using $(format-me).
30225
30226         * aclocal.m4 (ACX_PKGVERSION): New macro.
30227         (ACX_BUGURL): Likewise.
30228         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30229         (PKGVERSION): New AC_DEFINE_UNQUOTED.
30230         (REPORT_BUGS_TO): Likewise.
30231         * configure: Regenerated.
30232         * config.h.in (PKGVERSION): New macro.
30233         (REPORT_BUGS_TO): Likewise.
30234         * config.make.in (PKGVERSION): New variable.
30235         (PKGVERSION_TEXI): Likewise.
30236         (REPORT_BUGS_TO): Likewise.
30237         (REPORT_BUGS_TEXI): Likewise.
30238         * Makefile (format-me): Use -I$(common-objpfx)manual.
30239         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30240         ($(common-objpfx)manual/%): New target.
30241         (manual/%): Remove target.
30242         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30243         (print_version): Use PKGVERSION.
30244         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30245         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30246         and REPORT_BUGS_TO.
30247         ($(objpfx)xtrace): Likewise.
30248         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30249         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30250         (print_version): Use PKGVERSION.
30251         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30252         (do_version): Use PKGVERSION.
30253         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30254         REPORT_BUGS_TO.
30255         (common-ldd-rewrite): Likewise.
30256         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30257         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30258         (print_version): Use PKGVERSION.
30259         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30260         * elf/pldd.c (argp_program_bug_address): Remove variable.
30261         (more_help): New function.
30262         (argp): Use more_help.
30263         (print_version): Use PKGVERSION.
30264         * elf/sln.c (main): Use PKGVERSION.
30265         (usage): Use REPORT_BUGS_TO.
30266         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30267         (top level): Use PKGVERSION.
30268         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30269         (print_version): Use PKGVERSION.
30270         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30271         (print_version): Use PKGVERSION.
30272         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30273         (print_version): Use PKGVERSION.
30274         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30275         (print_version): Use PKGVERSION.
30276         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30277         (print_version): Use PKGVERSION.
30278         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30279         (print_version): Use PKGVERSION.
30280         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30281         and BUGURL.
30282         ($(objpfx)memusage): Likewise.
30283         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30284         (do_version): Use PKGVERSION.
30285         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30286         (print_version): Use PKGVERSION.
30287         * malloc/mtrace.pl ($PACKAGE): Remove variable.
30288         ($PKGVERSION): New variable.
30289         ($REPORT_BUGS_TO): Likewise.
30290         (usage): Use $REPORT_BUGS_TO.
30291         (top level): Use $PKGVERSION.
30292         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30293         ($(objpfx)pkgvers.texi): New rule.
30294         ($(objpfx)stamp-pkgvers): Likewise.
30295         * manual/install.texi: Include pkgvers.texi.
30296         (--with-pkgversion): Document new configure option.
30297         (--with-bugurl): Likewise.
30298         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30299         than necessarily for this particular distribution.  Use
30300         REPORT_BUGS_TO for where to report bugs.
30301         * INSTALL: Regenerated.
30302         * manual/libc.texinfo: Include pkgvers.texi.
30303         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30304         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30305         (print_version): Use PKGVERSION.
30306         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30307         (print_version): Use PKGVERSION.
30308         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30309         (print_version): Use PKGVERSION.
30310         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30311         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30312         macro.
30313         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30314         (print_version): Use PKGVERSION.
30315         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30316         (print_version): Use PKGVERSION.
30317         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30318         and PKGVERSION.
30319
30320         * timezone/checktab.awk: Update from tzcode 2012i.
30321         * timezone/ialloc.c: Likewise.
30322         * timezone/private.h: Likewise.
30323         * timezone/scheck.c: Likewise.
30324         * timezone/tzfile.h: Likewise.
30325         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30326         (TZVERSION): Hardcode tzcode version number.
30327         * timezone/zdump.c: Update from tzcode 2012i.
30328         * timezone/zic.c: Likewise.
30329         * timezone/version.h: New file.
30330         * timezone/README: Describe version.h.  Update upstream location.
30331
30332         [BZ #14824]
30333         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30334         (mktemp): Enable declaration.
30335         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30336         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30337         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30338         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30339         Likewise.
30340         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30341         Likewise.
30342         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30343         Likewise.
30344         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30345         Likewise.
30346         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30347         Likewise.
30348         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30349         Likewise.
30350
30351         [BZ #14821]
30352         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30353         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
30354         for copies of such integer values.
30355         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30356         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30357
30358 2012-11-09  Andreas Jaeger  <aj@suse.de>
30359
30360         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30361         definitions and declarations that are provided by
30362         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30363
30364 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30365
30366         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30367         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30368         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30369         definition.
30370
30371 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30372
30373         * elf/elf.h: Update comment before AArch64 relocations.
30374
30375 2012-11-07  David S. Miller  <davem@davemloft.net>
30376
30377         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30378         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30379         (__start_context): Declare.
30380         (__makecontext_ret): Delete.
30381         (__makecontext): Hook up __start_context instead of
30382         __makecontext_ret.
30383         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30384         (sysdep_routines): Add __start_context when in stdlib.
30385
30386 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30387
30388         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30389         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30390         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
30391         hardcoded "nm".
30392         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
30393         (READELF): New variable.  Use it instead of hardcoded "readelf".
30394
30395 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30396
30397         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30398         * sysdeps/x86/Makefile: Here.
30399         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30400         * sysdeps/x86/tst-xmmymm.sh: This.
30401
30402 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30403
30404         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30405         expectations.
30406         [UNIX98] (pthread_barrier_t): Do not expect.
30407         [UNIX98] (pthread_barrierattr_t): Likewise.
30408         [UNIX98] (pthread_spinlock_t): Likewise.
30409         [UNIX98] (pthread_barrier_destroy): Likewise.
30410         [UNIX98] (pthread_barrier_init): Likewise.
30411         [UNIX98] (pthread_barrier_wait): Likewise.
30412         [UNIX98] (pthread_barrierattr_destroy): Likewise.
30413         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30414         [UNIX98] (pthread_barrierattr_init): Likewise.
30415         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30416         [UNIX98] (pthread_getcpuclockid): Likewise.
30417         [UNIX98] (pthread_mutex_timedlock): Likewise.
30418         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30419         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30420         [UNIX98] (pthread_sigmask): Likewise.
30421         [UNIX98] (pthread_spin_destroy): Likewise.
30422         [UNIX98] (pthread_spin_init): Likewise.
30423         [UNIX98] (pthread_spin_lock): Likewise.
30424         [UNIX98] (pthread_spin_trylock): Likewise.
30425         [UNIX98] (pthread_spin_unlock): Likewise.
30426         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30427         Do not expect.
30428         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30429         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30430         [XPG3 || XPG4] (pthread_cond_t): Likewise.
30431         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30432         [XPG3 || XPG4] (pthread_key_t): Likewise.
30433         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30434         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30435         [XPG3 || XPG4] (pthread_once_t): Likewise.
30436         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30437         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30438         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30439         [XPG3 || XPG4] (pthread_t): Likewise.
30440
30441         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30442         not expect.
30443         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30444
30445         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30446         Change function return type to int.
30447
30448         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30449         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30450         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30451         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30452         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30453         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30454         [!POSIX] (posix_madvise): Likewise.
30455         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30456         && !UNIX98].
30457         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30458         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30459         (mode_t): Likewise.
30460         (posix_mem_offset): Likewise.
30461         (posix_typed_mem_get_info): Likewise.
30462         (posix_typed_mem_open): Likewise.
30463
30464         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30465         Change condition to [XOPEN2K8].
30466
30467         * conform/conformtest.pl: Preprocess allow-header data with -x c
30468         instead of from stdin.
30469         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30470         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30471         [C99-based standards] (cerfc): Likewise.
30472         [C99-based standards] (cexp2): Likewise.
30473         [C99-based standards] (cexpm1): Likewise.
30474         [C99-based standards] (clog10): Likewise.
30475         [C99-based standards] (clog1p): Likewise.
30476         [C99-based standards] (clog2): Likewise.
30477         [C99-based standards] (clgamma): Likewise.
30478         [C99-based standards] (ctgamma): Likewise.
30479         [C99-based standards] (cerff): Likewise.
30480         [C99-based standards] (cerfcf): Likewise.
30481         [C99-based standards] (cexp2f): Likewise.
30482         [C99-based standards] (cexpm1f): Likewise.
30483         [C99-based standards] (clog10f): Likewise.
30484         [C99-based standards] (clog1pf): Likewise.
30485         [C99-based standards] (clog2f): Likewise.
30486         [C99-based standards] (clgammaf): Likewise.
30487         [C99-based standards] (ctgammaf): Likewise.
30488         [C99-based standards] (cerfl): Likewise.
30489         [C99-based standards] (cerfcl): Likewise.
30490         [C99-based standards] (cexp2l): Likewise.
30491         [C99-based standards] (cexpm1l): Likewise.
30492         [C99-based standards] (clog10l): Likewise.
30493         [C99-based standards] (clog1pl): Likewise.
30494         [C99-based standards] (clog2l): Likewise.
30495         [C99-based standards] (clgammal): Likewise.
30496         [C99-based standards] (ctgammal): Likewise.
30497         * conform/data/inttypes.h-data [C99-based standards]: Include
30498         stdint.h-data.  Remove all expectations for stdint.h contents.
30499         [C99-based standards] (PRI*): Do not allow.
30500         [C99-based standards] (SCN*): Likewise.
30501         [C99-based standards] (*_t): Likewise.
30502         [C99-based-standards] (PRId8): Expect macro.
30503         [C99-based-standards] (PRIi8): Likewise.
30504         [C99-based-standards] (PRIo8): Likewise.
30505         [C99-based-standards] (PRIu8): Likewise.
30506         [C99-based-standards] (PRIx8): Likewise.
30507         [C99-based-standards] (PRIX8): Likewise.
30508         [C99-based-standards] (SCNd8): Likewise.
30509         [C99-based-standards] (SCNi8): Likewise.
30510         [C99-based-standards] (SCNo8): Likewise.
30511         [C99-based-standards] (SCNu8): Likewise.
30512         [C99-based-standards] (SCNx8): Likewise.
30513         [C99-based-standards] (PRIdLEAST8): Likewise.
30514         [C99-based-standards] (PRIiLEAST8): Likewise.
30515         [C99-based-standards] (PRIoLEAST8): Likewise.
30516         [C99-based-standards] (PRIuLEAST8): Likewise.
30517         [C99-based-standards] (PRIxLEAST8): Likewise.
30518         [C99-based-standards] (PRIXLEAST8): Likewise.
30519         [C99-based-standards] (SCNdLEAST8): Likewise.
30520         [C99-based-standards] (SCNiLEAST8): Likewise.
30521         [C99-based-standards] (SCNoLEAST8): Likewise.
30522         [C99-based-standards] (SCNuLEAST8): Likewise.
30523         [C99-based-standards] (SCNxLEAST8): Likewise.
30524         [C99-based-standards] (PRIdFAST8): Likewise.
30525         [C99-based-standards] (PRIiFAST8): Likewise.
30526         [C99-based-standards] (PRIoFAST8): Likewise.
30527         [C99-based-standards] (PRIuFAST8): Likewise.
30528         [C99-based-standards] (PRIxFAST8): Likewise.
30529         [C99-based-standards] (PRIXFAST8): Likewise.
30530         [C99-based-standards] (SCNdFAST8): Likewise.
30531         [C99-based-standards] (SCNiFAST8): Likewise.
30532         [C99-based-standards] (SCNoFAST8): Likewise.
30533         [C99-based-standards] (SCNuFAST8): Likewise.
30534         [C99-based-standards] (SCNxFAST8): Likewise.
30535         [C99-based-standards] (PRId16): Likewise.
30536         [C99-based-standards] (PRIi16): Likewise.
30537         [C99-based-standards] (PRIo16): Likewise.
30538         [C99-based-standards] (PRIu16): Likewise.
30539         [C99-based-standards] (PRIx16): Likewise.
30540         [C99-based-standards] (PRIX16): Likewise.
30541         [C99-based-standards] (SCNd16): Likewise.
30542         [C99-based-standards] (SCNi16): Likewise.
30543         [C99-based-standards] (SCNo16): Likewise.
30544         [C99-based-standards] (SCNu16): Likewise.
30545         [C99-based-standards] (SCNx16): Likewise.
30546         [C99-based-standards] (PRIdLEAST16): Likewise.
30547         [C99-based-standards] (PRIiLEAST16): Likewise.
30548         [C99-based-standards] (PRIoLEAST16): Likewise.
30549         [C99-based-standards] (PRIuLEAST16): Likewise.
30550         [C99-based-standards] (PRIxLEAST16): Likewise.
30551         [C99-based-standards] (PRIXLEAST16): Likewise.
30552         [C99-based-standards] (SCNdLEAST16): Likewise.
30553         [C99-based-standards] (SCNiLEAST16): Likewise.
30554         [C99-based-standards] (SCNoLEAST16): Likewise.
30555         [C99-based-standards] (SCNuLEAST16): Likewise.
30556         [C99-based-standards] (SCNxLEAST16): Likewise.
30557         [C99-based-standards] (PRIdFAST16): Likewise.
30558         [C99-based-standards] (PRIiFAST16): Likewise.
30559         [C99-based-standards] (PRIoFAST16): Likewise.
30560         [C99-based-standards] (PRIuFAST16): Likewise.
30561         [C99-based-standards] (PRIxFAST16): Likewise.
30562         [C99-based-standards] (PRIXFAST16): Likewise.
30563         [C99-based-standards] (SCNdFAST16): Likewise.
30564         [C99-based-standards] (SCNiFAST16): Likewise.
30565         [C99-based-standards] (SCNoFAST16): Likewise.
30566         [C99-based-standards] (SCNuFAST16): Likewise.
30567         [C99-based-standards] (SCNxFAST16): Likewise.
30568         [C99-based-standards] (PRId32): Likewise.
30569         [C99-based-standards] (PRIi32): Likewise.
30570         [C99-based-standards] (PRIo32): Likewise.
30571         [C99-based-standards] (PRIu32): Likewise.
30572         [C99-based-standards] (PRIx32): Likewise.
30573         [C99-based-standards] (PRIX32): Likewise.
30574         [C99-based-standards] (SCNd32): Likewise.
30575         [C99-based-standards] (SCNi32): Likewise.
30576         [C99-based-standards] (SCNo32): Likewise.
30577         [C99-based-standards] (SCNu32): Likewise.
30578         [C99-based-standards] (SCNx32): Likewise.
30579         [C99-based-standards] (PRIdLEAST32): Likewise.
30580         [C99-based-standards] (PRIiLEAST32): Likewise.
30581         [C99-based-standards] (PRIoLEAST32): Likewise.
30582         [C99-based-standards] (PRIuLEAST32): Likewise.
30583         [C99-based-standards] (PRIxLEAST32): Likewise.
30584         [C99-based-standards] (PRIXLEAST32): Likewise.
30585         [C99-based-standards] (SCNdLEAST32): Likewise.
30586         [C99-based-standards] (SCNiLEAST32): Likewise.
30587         [C99-based-standards] (SCNoLEAST32): Likewise.
30588         [C99-based-standards] (SCNuLEAST32): Likewise.
30589         [C99-based-standards] (SCNxLEAST32): Likewise.
30590         [C99-based-standards] (PRIdFAST32): Likewise.
30591         [C99-based-standards] (PRIiFAST32): Likewise.
30592         [C99-based-standards] (PRIoFAST32): Likewise.
30593         [C99-based-standards] (PRIuFAST32): Likewise.
30594         [C99-based-standards] (PRIxFAST32): Likewise.
30595         [C99-based-standards] (PRIXFAST32): Likewise.
30596         [C99-based-standards] (SCNdFAST32): Likewise.
30597         [C99-based-standards] (SCNiFAST32): Likewise.
30598         [C99-based-standards] (SCNoFAST32): Likewise.
30599         [C99-based-standards] (SCNuFAST32): Likewise.
30600         [C99-based-standards] (SCNxFAST32): Likewise.
30601         [C99-based-standards] (PRId64): Likewise.
30602         [C99-based-standards] (PRIi64): Likewise.
30603         [C99-based-standards] (PRIo64): Likewise.
30604         [C99-based-standards] (PRIu64): Likewise.
30605         [C99-based-standards] (PRIx64): Likewise.
30606         [C99-based-standards] (PRIX64): Likewise.
30607         [C99-based-standards] (SCNd64): Likewise.
30608         [C99-based-standards] (SCNi64): Likewise.
30609         [C99-based-standards] (SCNo64): Likewise.
30610         [C99-based-standards] (SCNu64): Likewise.
30611         [C99-based-standards] (SCNx64): Likewise.
30612         [C99-based-standards] (PRIdLEAST64): Likewise.
30613         [C99-based-standards] (PRIiLEAST64): Likewise.
30614         [C99-based-standards] (PRIoLEAST64): Likewise.
30615         [C99-based-standards] (PRIuLEAST64): Likewise.
30616         [C99-based-standards] (PRIxLEAST64): Likewise.
30617         [C99-based-standards] (PRIXLEAST64): Likewise.
30618         [C99-based-standards] (SCNdLEAST64): Likewise.
30619         [C99-based-standards] (SCNiLEAST64): Likewise.
30620         [C99-based-standards] (SCNoLEAST64): Likewise.
30621         [C99-based-standards] (SCNuLEAST64): Likewise.
30622         [C99-based-standards] (SCNxLEAST64): Likewise.
30623         [C99-based-standards] (PRIdFAST64): Likewise.
30624         [C99-based-standards] (PRIiFAST64): Likewise.
30625         [C99-based-standards] (PRIoFAST64): Likewise.
30626         [C99-based-standards] (PRIuFAST64): Likewise.
30627         [C99-based-standards] (PRIxFAST64): Likewise.
30628         [C99-based-standards] (PRIXFAST64): Likewise.
30629         [C99-based-standards] (SCNdFAST64): Likewise.
30630         [C99-based-standards] (SCNiFAST64): Likewise.
30631         [C99-based-standards] (SCNoFAST64): Likewise.
30632         [C99-based-standards] (SCNuFAST64): Likewise.
30633         [C99-based-standards] (SCNxFAST64): Likewise.
30634         [C99-based-standards] (PRIdMAX): Likewise.
30635         [C99-based-standards] (PRIiMAX): Likewise.
30636         [C99-based-standards] (PRIoMAX): Likewise.
30637         [C99-based-standards] (PRIuMAX): Likewise.
30638         [C99-based-standards] (PRIxMAX): Likewise.
30639         [C99-based-standards] (PRIXMAX): Likewise.
30640         [C99-based-standards] (SCNdMAX): Likewise.
30641         [C99-based-standards] (SCNiMAX): Likewise.
30642         [C99-based-standards] (SCNoMAX): Likewise.
30643         [C99-based-standards] (SCNuMAX): Likewise.
30644         [C99-based-standards] (SCNxMAX): Likewise.
30645         [C99-based-standards] (PRIdPTR): Likewise.
30646         [C99-based-standards] (PRIiPTR): Likewise.
30647         [C99-based-standards] (PRIoPTR): Likewise.
30648         [C99-based-standards] (PRIuPTR): Likewise.
30649         [C99-based-standards] (PRIxPTR): Likewise.
30650         [C99-based-standards] (PRIXPTR): Likewise.
30651         [C99-based-standards] (SCNdPTR): Likewise.
30652         [C99-based-standards] (SCNiPTR): Likewise.
30653         [C99-based-standards] (SCNoPTR): Likewise.
30654         [C99-based-standards] (SCNuPTR): Likewise.
30655         [C99-based-standards] (SCNxPTR): Likewise.
30656         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30657         allow.
30658         * conform/data/stdint.h-data: Update comments to clarify
30659         requirements.
30660         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30661         type.
30662         [C99-based standards] (INT8_MAX): Likewise.
30663         [C99-based standards] (INT16_MIN): Likewise.
30664         [C99-based standards] (INT16_MAX): Likewise.
30665         [C99-based standards] (INT32_MIN): Likewise.
30666         [C99-based standards] (INT32_MAX): Likewise.
30667         [C99-based standards] (INT64_MIN): Likewise.
30668         [C99-based standards] (INT64_MAX): Likewise.
30669         [C99-based standards] (UINT8_MAX): Likewise.
30670         [C99-based standards] (UINT16_MAX): Likewise.
30671         [C99-based standards] (UINT32_MAX): Likewise.
30672         [C99-based standards] (UINT64_MAX): Likewise.
30673         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30674         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30675         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30676         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30677         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30678         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30679         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30680         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30681         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30682         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30683         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30684         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30685         [C99-based standards] (INT_FAST8_MIN): Likewise.
30686         [C99-based standards] (INT_FAST8_MAX): Likewise.
30687         [C99-based standards] (INT_FAST16_MIN): Likewise.
30688         [C99-based standards] (INT_FAST16_MAX): Likewise.
30689         [C99-based standards] (INT_FAST32_MIN): Likewise.
30690         [C99-based standards] (INT_FAST32_MAX): Likewise.
30691         [C99-based standards] (INT_FAST64_MIN): Likewise.
30692         [C99-based standards] (INT_FAST64_MAX): Likewise.
30693         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30694         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30695         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30696         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30697         [C99-based standards] (INTPTR_MIN): Likewise.
30698         [C99-based standards] (INTPTR_MAX): Likewise.
30699         [C99-based standards] (UINTPTR_MAX): Likewise.
30700         [C99-based standards] (INTMAX_MIN): Likewise.
30701         [C99-based standards] (INTMAX_MAX): Likewise.
30702         [C99-based standards] (UINTMAX_MAX): Likewise.
30703         [C99-based standards] (PTRDIFF_MIN): Likewise.
30704         [C99-based standards] (PTRDIFF_MAX): Likewise.
30705         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30706         [C99-based standards] (SIZE_MAX): Likewise.
30707         [C99-based standards] (WCHAR_MAX): Likewise.
30708         [C99-based standards] (WINT_MAX): Likewise.
30709         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30710         constraint on value.
30711         [C99-based standards] (WCHAR_MIN): Likewise.
30712         [C99-based standards] (WINT_MIN): Likewise.
30713         [C99-based standards] (*_t): Allow.
30714         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30715         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30716         Include math.h-data and complex.h-data.  Remove all expectations
30717         of math.h and complex.h contents.
30718         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30719         at end of line.
30720         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30721         (struct tm): Expect tag.
30722         [C99-based-standards] (wcstof): Expect function.
30723         [C99-based-standards] (wcstold): Likewise.
30724         [C99-based-standards] (wcstoll): Likewise.
30725         [C99-based-standards] (wcstoull): Likewise.
30726         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30727         macro-int-constant.  Specify type.
30728         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30729         constraint on value.
30730         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30731         Specify type.
30732         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30733         Specify value.
30734         [ISO C standards]: Do not allow headers.
30735         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30736         wcs[abcdefghijklmnopqrstuvwxyz]*.
30737         [ISO C standards] (*_t): Do not allow.
30738         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30739         Expect function.
30740         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30741         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30742         Specify type.
30743         [ISO C standards]: Do not allow headers.
30744         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30745         is[abcdefghijklmnopqrstuvwxyz]*.
30746         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30747         to[abcdefghijklmnopqrstuvwxyz]*.
30748         [ISO C standards] (*_t): Do not allow.
30749         * conform/data/stdalign.h-data: New file.
30750         * conform/data/stdbool.h-data: Likewise.
30751         * conform/data/stdnoreturn.h-data: Likewise.
30752
30753 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30754
30755         [BZ #14815]
30756         * manual/filesys.texi (Directory Entries): Typo fix.
30757         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30758
30759 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30760
30761         * elf/elf.h (EM_AARCH64): New macro.
30762         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30763         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30764         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30765         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30766         (R_AARCH64_TLSDESC): Likewise.
30767         (NT_ARM_TLS): Likewise.
30768         (NT_ARM_HW_BREAK): Likewise.
30769         (NT_ARM_HW_WATCH): Likewise.
30770
30771 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30772
30773         [BZ #14811]
30774         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30775         (__ieee754_powl): Saturate nonzero exponents with absolute value
30776         below 0x1p-79 to +/- 0x1p-79.
30777         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30778         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30779         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30780         nonzero exponents with absolute value below 0x1p-32 to +/-
30781         0x1p-32.
30782         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30783         (__ieee754_powl): Saturate nonzero exponents with absolute value
30784         below 0x1p-79 to +/- 0x1p-79.
30785         * math/libm-test.inc (pow_test): Add more tests.
30786
30787 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30788
30789         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30790         _dl_s390_cap_flags with kernel. Increase string length.
30791         (_dl_s390_platforms): Add z196 and zEC12.
30792
30793 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30794
30795         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30796         Change XOPEN21K to XOPEN2K.
30797
30798 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30799
30800         * string/memmove.c: Use memcpy when possible.
30801
30802 2012-11-06  Andreas Jaeger  <aj@suse.de>
30803
30804         * po/eo.po: Update from translation team.
30805
30806 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30807
30808         [BZ #14793]
30809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30810         exponent and small x and y exponents, scale x or y up.  Increase
30811         by 2 the exponent used in scaling up.
30812         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30813         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30814         * math/libm-test.inc (fma_test): Add more tests.
30815         (fma_test_towardzero): Likewise.
30816         (fma_test_downward): Likewise.
30817         (fma_test_upward): Likewise.
30818
30819 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
30820
30821         [BZ #14805]
30822         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30823         fenv_t *.
30824
30825         [BZ #14801]
30826         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30827         namespace for names of struct fields.
30828         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30829         fenv_t fields.
30830         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30831         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30832
30833 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30834
30835         [BZ #3665]
30836         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30837
30838 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30839
30840         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30841         PTR_DEMANGLE.
30842
30843         [BZ #5246]
30844         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30845         PTR_DEMANGLE.
30846
30847 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
30848
30849         [BZ #14797]
30850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30851         definitely overflow as x * y not x * y + z.
30852         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30853         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30854         * math/libm-test.inc (fma_test): Add more tests.
30855         (fma_test_towardzero): Likewise.
30856         (fma_test_downward): Likewise.
30857         (fma_test_upward): Likewise.
30858
30859 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30860
30861         [BZ #157]
30862
30863         * include/stub-tag.h: Remove file.
30864         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30865         '#include' of it.
30866         * manual/maint.texi (Porting): Don't reference it.
30867         * Makerules ($(objpfx)stubs): Likewise.
30868         * dirent/closedir.c: Don't include <stub-tag.h>.
30869         * dirent/dirfd.c: Likewise.
30870         * dirent/fdopendir.c: Likewise.
30871         * dirent/getdents.c: Likewise.
30872         * dirent/getdents64.c: Likewise.
30873         * dirent/opendir.c: Likewise.
30874         * dirent/readdir.c: Likewise.
30875         * dirent/readdir64.c: Likewise.
30876         * dirent/readdir64_r.c: Likewise.
30877         * dirent/readdir_r.c: Likewise.
30878         * dirent/rewinddir.c: Likewise.
30879         * dirent/seekdir.c: Likewise.
30880         * dirent/telldir.c: Likewise.
30881         * gmon/profil.c: Likewise.
30882         * grp/setgroups.c: Likewise.
30883         * inet/if_index.c: Likewise.
30884         * io/access.c: Likewise.
30885         * io/chdir.c: Likewise.
30886         * io/chmod.c: Likewise.
30887         * io/chown.c: Likewise.
30888         * io/close.c: Likewise.
30889         * io/dup.c: Likewise.
30890         * io/dup2.c: Likewise.
30891         * io/dup3.c: Likewise.
30892         * io/euidaccess.c: Likewise.
30893         * io/faccessat.c: Likewise.
30894         * io/fchdir.c: Likewise.
30895         * io/fchmod.c: Likewise.
30896         * io/fchmodat.c: Likewise.
30897         * io/fchown.c: Likewise.
30898         * io/fchownat.c: Likewise.
30899         * io/fcntl.c: Likewise.
30900         * io/flock.c: Likewise.
30901         * io/fstatfs.c: Likewise.
30902         * io/fstatfs64.c: Likewise.
30903         * io/fstatvfs.c: Likewise.
30904         * io/fstatvfs64.c: Likewise.
30905         * io/futimens.c: Likewise.
30906         * io/fxstat.c: Likewise.
30907         * io/fxstat64.c: Likewise.
30908         * io/fxstatat.c: Likewise.
30909         * io/fxstatat64.c: Likewise.
30910         * io/getcwd.c: Likewise.
30911         * io/isatty.c: Likewise.
30912         * io/lchmod.c: Likewise.
30913         * io/lchown.c: Likewise.
30914         * io/link.c: Likewise.
30915         * io/linkat.c: Likewise.
30916         * io/lseek.c: Likewise.
30917         * io/lseek64.c: Likewise.
30918         * io/lxstat64.c: Likewise.
30919         * io/mkdir.c: Likewise.
30920         * io/mkdirat.c: Likewise.
30921         * io/mkfifo.c: Likewise.
30922         * io/mkfifoat.c: Likewise.
30923         * io/open.c: Likewise.
30924         * io/open64.c: Likewise.
30925         * io/openat.c: Likewise.
30926         * io/openat64.c: Likewise.
30927         * io/pipe.c: Likewise.
30928         * io/pipe2.c: Likewise.
30929         * io/poll.c: Likewise.
30930         * io/posix_fadvise.c: Likewise.
30931         * io/posix_fadvise64.c: Likewise.
30932         * io/posix_fallocate.c: Likewise.
30933         * io/posix_fallocate64.c: Likewise.
30934         * io/read.c: Likewise.
30935         * io/readlink.c: Likewise.
30936         * io/readlinkat.c: Likewise.
30937         * io/rmdir.c: Likewise.
30938         * io/sendfile.c: Likewise.
30939         * io/sendfile64.c: Likewise.
30940         * io/statfs.c: Likewise.
30941         * io/statfs64.c: Likewise.
30942         * io/statvfs.c: Likewise.
30943         * io/statvfs64.c: Likewise.
30944         * io/symlink.c: Likewise.
30945         * io/symlinkat.c: Likewise.
30946         * io/ttyname.c: Likewise.
30947         * io/ttyname_r.c: Likewise.
30948         * io/umask.c: Likewise.
30949         * io/unlink.c: Likewise.
30950         * io/unlinkat.c: Likewise.
30951         * io/utime.c: Likewise.
30952         * io/utimensat.c: Likewise.
30953         * io/write.c: Likewise.
30954         * io/xmknod.c: Likewise.
30955         * io/xmknodat.c: Likewise.
30956         * io/xstat.c: Likewise.
30957         * io/xstat64.c: Likewise.
30958         * login/getpt.c: Likewise.
30959         * login/grantpt.c: Likewise.
30960         * login/unlockpt.c: Likewise.
30961         * math/e_acoshl.c: Likewise.
30962         * math/e_acosl.c: Likewise.
30963         * math/e_asinl.c: Likewise.
30964         * math/e_atan2l.c: Likewise.
30965         * math/e_atanhl.c: Likewise.
30966         * math/e_coshl.c: Likewise.
30967         * math/e_expl.c: Likewise.
30968         * math/e_fmodl.c: Likewise.
30969         * math/e_gammal_r.c: Likewise.
30970         * math/e_hypotl.c: Likewise.
30971         * math/e_j0l.c: Likewise.
30972         * math/e_j1l.c: Likewise.
30973         * math/e_jnl.c: Likewise.
30974         * math/e_lgammal_r.c: Likewise.
30975         * math/e_log10l.c: Likewise.
30976         * math/e_log2l.c: Likewise.
30977         * math/e_logl.c: Likewise.
30978         * math/e_powl.c: Likewise.
30979         * math/e_rem_pio2l.c: Likewise.
30980         * math/e_sinhl.c: Likewise.
30981         * math/e_sqrtl.c: Likewise.
30982         * math/fclrexcpt.c: Likewise.
30983         * math/fedisblxcpt.c: Likewise.
30984         * math/feenablxcpt.c: Likewise.
30985         * math/fegetenv.c: Likewise.
30986         * math/fegetexcept.c: Likewise.
30987         * math/fegetround.c: Likewise.
30988         * math/feholdexcpt.c: Likewise.
30989         * math/fesetenv.c: Likewise.
30990         * math/fesetround.c: Likewise.
30991         * math/feupdateenv.c: Likewise.
30992         * math/fgetexcptflg.c: Likewise.
30993         * math/fraiseexcpt.c: Likewise.
30994         * math/fsetexcptflg.c: Likewise.
30995         * math/ftestexcept.c: Likewise.
30996         * math/k_cosl.c: Likewise.
30997         * math/k_rem_pio2l.c: Likewise.
30998         * math/k_sinl.c: Likewise.
30999         * math/k_tanl.c: Likewise.
31000         * math/s_asinhl.c: Likewise.
31001         * math/s_atanl.c: Likewise.
31002         * math/s_cbrtl.c: Likewise.
31003         * math/s_erfl.c: Likewise.
31004         * math/s_expm1l.c: Likewise.
31005         * math/s_log1pl.c: Likewise.
31006         * math/s_tanhl.c: Likewise.
31007         * misc/acct.c: Likewise.
31008         * misc/brk.c: Likewise.
31009         * misc/chflags.c: Likewise.
31010         * misc/chroot.c: Likewise.
31011         * misc/fchflags.c: Likewise.
31012         * misc/fgetxattr.c: Likewise.
31013         * misc/flistxattr.c: Likewise.
31014         * misc/fremovexattr.c: Likewise.
31015         * misc/fsetxattr.c: Likewise.
31016         * misc/fsync.c: Likewise.
31017         * misc/ftruncate.c: Likewise.
31018         * misc/futimes.c: Likewise.
31019         * misc/futimesat.c: Likewise.
31020         * misc/getdomain.c: Likewise.
31021         * misc/getdtsz.c: Likewise.
31022         * misc/gethostid.c: Likewise.
31023         * misc/gethostname.c: Likewise.
31024         * misc/getloadavg.c: Likewise.
31025         * misc/getpagesize.c: Likewise.
31026         * misc/getsysstats.c: Likewise.
31027         * misc/getxattr.c: Likewise.
31028         * misc/gtty.c: Likewise.
31029         * misc/ioctl.c: Likewise.
31030         * misc/lgetxattr.c: Likewise.
31031         * misc/listxattr.c: Likewise.
31032         * misc/llistxattr.c: Likewise.
31033         * misc/lremovexattr.c: Likewise.
31034         * misc/lsetxattr.c: Likewise.
31035         * misc/lutimes.c: Likewise.
31036         * misc/madvise.c: Likewise.
31037         * misc/mincore.c: Likewise.
31038         * misc/mlock.c: Likewise.
31039         * misc/mlockall.c: Likewise.
31040         * misc/mmap.c: Likewise.
31041         * misc/mprotect.c: Likewise.
31042         * misc/msync.c: Likewise.
31043         * misc/munlock.c: Likewise.
31044         * misc/munlockall.c: Likewise.
31045         * misc/munmap.c: Likewise.
31046         * misc/preadv.c: Likewise.
31047         * misc/preadv64.c: Likewise.
31048         * misc/ptrace.c: Likewise.
31049         * misc/pwritev.c: Likewise.
31050         * misc/pwritev64.c: Likewise.
31051         * misc/readv.c: Likewise.
31052         * misc/reboot.c: Likewise.
31053         * misc/remap_file_pages.c: Likewise.
31054         * misc/removexattr.c: Likewise.
31055         * misc/revoke.c: Likewise.
31056         * misc/select.c: Likewise.
31057         * misc/setdomain.c: Likewise.
31058         * misc/setegid.c: Likewise.
31059         * misc/seteuid.c: Likewise.
31060         * misc/sethostid.c: Likewise.
31061         * misc/sethostname.c: Likewise.
31062         * misc/setregid.c: Likewise.
31063         * misc/setreuid.c: Likewise.
31064         * misc/setxattr.c: Likewise.
31065         * misc/sstk.c: Likewise.
31066         * misc/stty.c: Likewise.
31067         * misc/swapoff.c: Likewise.
31068         * misc/swapon.c: Likewise.
31069         * misc/sync.c: Likewise.
31070         * misc/syncfs.c: Likewise.
31071         * misc/syscall.c: Likewise.
31072         * misc/truncate.c: Likewise.
31073         * misc/ualarm.c: Likewise.
31074         * misc/usleep.c: Likewise.
31075         * misc/ustat.c: Likewise.
31076         * misc/utimes.c: Likewise.
31077         * misc/vhangup.c: Likewise.
31078         * misc/writev.c: Likewise.
31079         * posix/_exit.c: Likewise.
31080         * posix/alarm.c: Likewise.
31081         * posix/execve.c: Likewise.
31082         * posix/fexecve.c: Likewise.
31083         * posix/fork.c: Likewise.
31084         * posix/fpathconf.c: Likewise.
31085         * posix/getaddrinfo.c: Likewise.
31086         * posix/getegid.c: Likewise.
31087         * posix/geteuid.c: Likewise.
31088         * posix/getgid.c: Likewise.
31089         * posix/getgroups.c: Likewise.
31090         * posix/getlogin.c: Likewise.
31091         * posix/getlogin_r.c: Likewise.
31092         * posix/getpgid.c: Likewise.
31093         * posix/getpid.c: Likewise.
31094         * posix/getppid.c: Likewise.
31095         * posix/getresgid.c: Likewise.
31096         * posix/getresuid.c: Likewise.
31097         * posix/getsid.c: Likewise.
31098         * posix/getuid.c: Likewise.
31099         * posix/glob64.c: Likewise.
31100         * posix/nanosleep.c: Likewise.
31101         * posix/pathconf.c: Likewise.
31102         * posix/pause.c: Likewise.
31103         * posix/posix_madvise.c: Likewise.
31104         * posix/pread.c: Likewise.
31105         * posix/pread64.c: Likewise.
31106         * posix/pwrite.c: Likewise.
31107         * posix/pwrite64.c: Likewise.
31108         * posix/sched_getaffinity.c: Likewise.
31109         * posix/sched_getp.c: Likewise.
31110         * posix/sched_gets.c: Likewise.
31111         * posix/sched_primax.c: Likewise.
31112         * posix/sched_primin.c: Likewise.
31113         * posix/sched_rr_gi.c: Likewise.
31114         * posix/sched_setaffinity.c: Likewise.
31115         * posix/sched_setp.c: Likewise.
31116         * posix/sched_sets.c: Likewise.
31117         * posix/sched_yield.c: Likewise.
31118         * posix/setgid.c: Likewise.
31119         * posix/setlogin.c: Likewise.
31120         * posix/setpgid.c: Likewise.
31121         * posix/setresgid.c: Likewise.
31122         * posix/setresuid.c: Likewise.
31123         * posix/setsid.c: Likewise.
31124         * posix/setuid.c: Likewise.
31125         * posix/sleep.c: Likewise.
31126         * posix/spawni.c: Likewise.
31127         * posix/sysconf.c: Likewise.
31128         * posix/times.c: Likewise.
31129         * posix/wait.c: Likewise.
31130         * posix/wait3.c: Likewise.
31131         * posix/wait4.c: Likewise.
31132         * posix/waitpid.c: Likewise.
31133         * resolv/gai_sigqueue.c: Likewise.
31134         * resource/getpriority.c: Likewise.
31135         * resource/getrlimit.c: Likewise.
31136         * resource/getrusage.c: Likewise.
31137         * resource/nice.c: Likewise.
31138         * resource/setpriority.c: Likewise.
31139         * resource/setrlimit.c: Likewise.
31140         * resource/ulimit.c: Likewise.
31141         * rt/aio_cancel.c: Likewise.
31142         * rt/aio_fsync.c: Likewise.
31143         * rt/aio_read.c: Likewise.
31144         * rt/aio_sigqueue.c: Likewise.
31145         * rt/aio_suspend.c: Likewise.
31146         * rt/aio_write.c: Likewise.
31147         * rt/clock_getres.c: Likewise.
31148         * rt/clock_gettime.c: Likewise.
31149         * rt/clock_nanosleep.c: Likewise.
31150         * rt/clock_settime.c: Likewise.
31151         * rt/lio_listio.c: Likewise.
31152         * rt/mq_close.c: Likewise.
31153         * rt/mq_getattr.c: Likewise.
31154         * rt/mq_notify.c: Likewise.
31155         * rt/mq_open.c: Likewise.
31156         * rt/mq_receive.c: Likewise.
31157         * rt/mq_send.c: Likewise.
31158         * rt/mq_setattr.c: Likewise.
31159         * rt/mq_timedreceive.c: Likewise.
31160         * rt/mq_timedsend.c: Likewise.
31161         * rt/mq_unlink.c: Likewise.
31162         * rt/shm_open.c: Likewise.
31163         * rt/shm_unlink.c: Likewise.
31164         * rt/timer_create.c: Likewise.
31165         * rt/timer_delete.c: Likewise.
31166         * rt/timer_getoverr.c: Likewise.
31167         * rt/timer_gettime.c: Likewise.
31168         * rt/timer_settime.c: Likewise.
31169         * setjmp/__longjmp.c: Likewise.
31170         * setjmp/setjmp.c: Likewise.
31171         * signal/kill.c: Likewise.
31172         * signal/killpg.c: Likewise.
31173         * signal/raise.c: Likewise.
31174         * signal/sigaction.c: Likewise.
31175         * signal/sigaltstack.c: Likewise.
31176         * signal/sigblock.c: Likewise.
31177         * signal/sigignore.c: Likewise.
31178         * signal/sigintr.c: Likewise.
31179         * signal/signal.c: Likewise.
31180         * signal/sigpause.c: Likewise.
31181         * signal/sigpending.c: Likewise.
31182         * signal/sigqueue.c: Likewise.
31183         * signal/sigreturn.c: Likewise.
31184         * signal/sigset.c: Likewise.
31185         * signal/sigsetmask.c: Likewise.
31186         * signal/sigstack.c: Likewise.
31187         * signal/sigsuspend.c: Likewise.
31188         * signal/sigtimedwait.c: Likewise.
31189         * signal/sigvec.c: Likewise.
31190         * signal/sigwait.c: Likewise.
31191         * signal/sigwaitinfo.c: Likewise.
31192         * signal/sysv_signal.c: Likewise.
31193         * socket/accept.c: Likewise.
31194         * socket/accept4.c: Likewise.
31195         * socket/bind.c: Likewise.
31196         * socket/connect.c: Likewise.
31197         * socket/getpeername.c: Likewise.
31198         * socket/getsockname.c: Likewise.
31199         * socket/getsockopt.c: Likewise.
31200         * socket/isfdtype.c: Likewise.
31201         * socket/listen.c: Likewise.
31202         * socket/recv.c: Likewise.
31203         * socket/recvfrom.c: Likewise.
31204         * socket/recvmsg.c: Likewise.
31205         * socket/send.c: Likewise.
31206         * socket/sendmsg.c: Likewise.
31207         * socket/sendto.c: Likewise.
31208         * socket/setsockopt.c: Likewise.
31209         * socket/shutdown.c: Likewise.
31210         * socket/sockatmark.c: Likewise.
31211         * socket/socket.c: Likewise.
31212         * socket/socketpair.c: Likewise.
31213         * stdio-common/ctermid.c: Likewise.
31214         * stdio-common/cuserid.c: Likewise.
31215         * stdio-common/remove.c: Likewise.
31216         * stdio-common/rename.c: Likewise.
31217         * stdio-common/renameat.c: Likewise.
31218         * stdio-common/tempname.c: Likewise.
31219         * stdlib/getcontext.c: Likewise.
31220         * stdlib/makecontext.c: Likewise.
31221         * stdlib/setcontext.c: Likewise.
31222         * stdlib/swapcontext.c: Likewise.
31223         * stdlib/system.c: Likewise.
31224         * streams/fattach.c: Likewise.
31225         * streams/fdetach.c: Likewise.
31226         * streams/getmsg.c: Likewise.
31227         * streams/getpmsg.c: Likewise.
31228         * streams/putmsg.c: Likewise.
31229         * streams/putpmsg.c: Likewise.
31230         * sysdeps/unix/bsd/getpt.c: Likewise.
31231         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31232         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31233         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31235         Likewise.
31236         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31237         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31238         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31239         * sysvipc/msgctl.c: Likewise.
31240         * sysvipc/msgget.c: Likewise.
31241         * sysvipc/msgrcv.c: Likewise.
31242         * sysvipc/msgsnd.c: Likewise.
31243         * sysvipc/semctl.c: Likewise.
31244         * sysvipc/semget.c: Likewise.
31245         * sysvipc/semop.c: Likewise.
31246         * sysvipc/semtimedop.c: Likewise.
31247         * sysvipc/shmat.c: Likewise.
31248         * sysvipc/shmctl.c: Likewise.
31249         * sysvipc/shmdt.c: Likewise.
31250         * sysvipc/shmget.c: Likewise.
31251         * termios/tcdrain.c: Likewise.
31252         * termios/tcflow.c: Likewise.
31253         * termios/tcflush.c: Likewise.
31254         * termios/tcgetattr.c: Likewise.
31255         * termios/tcgetpgrp.c: Likewise.
31256         * termios/tcsendbrk.c: Likewise.
31257         * termios/tcsetattr.c: Likewise.
31258         * termios/tcsetpgrp.c: Likewise.
31259         * time/adjtime.c: Likewise.
31260         * time/clock.c: Likewise.
31261         * time/getitimer.c: Likewise.
31262         * time/gettimeofday.c: Likewise.
31263         * time/setitimer.c: Likewise.
31264         * time/settimeofday.c: Likewise.
31265         * time/stime.c: Likewise.
31266         * time/time.c: Likewise.
31267
31268 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
31269
31270         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31271         /usr/old/bin.
31272
31273         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31274         instead of spaces.
31275         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31276
31277 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
31278
31279         [BZ #14796]
31280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31281         FE_TONEAREST before applying Dekker multiplication and Knuth
31282         addition.  Clear inexact exceptions and check for exact zero
31283         results afterwards.
31284         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31285         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31286         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31287         * math/libm-test.inc (fma_test): Add more tests.
31288         (fma_test_towardzero): Likewise.
31289         (fma_test_downward): Likewise.
31290         (fma_test_upward): Likewise.
31291         * sysdeps/generic/math_private.h (default_libc_fesetround): New
31292         function.
31293         (libc_fesetround): New macro.
31294         (libc_fesetroundf): Likewise.
31295         (libc_fesetroundl): Likewise.
31296         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31297         function.
31298         (libc_fesetround_387): Likewise.
31299         (libc_fesetroundf): New macro.
31300         (libc_fesetround): Likewise.
31301         (libc_fesetroundl): Likewise.
31302         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31303         function.
31304         (libc_fesetroundf): New macro.
31305         (libc_fesetround): Likewise.
31306         (libc_fesetroundl): Likewise.
31307         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31308         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31309         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31310         libm_hidden_ver.
31311         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31312         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31313         libm_hidden_def.
31314         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31315         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31316         libm_hidden_ver.
31317         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31318         libm_hidden_def.
31319
31320         [BZ #3439]
31321         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31322         integer constant usable in #if and use that to give value to enum
31323         constant.
31324         (FE_DIVBYZERO): Likewise.
31325         (FE_UNDERFLOW): Likewise.
31326         (FE_OVERFLOW): Likewise.
31327         (FE_INVALID): Likewise.
31328         (FE_INVALID_SNAN): Likewise.
31329         (FE_INVALID_ISI): Likewise.
31330         (FE_INVALID_IDI): Likewise.
31331         (FE_INVALID_ZDZ): Likewise.
31332         (FE_INVALID_IMZ): Likewise.
31333         (FE_INVALID_COMPARE): Likewise.
31334         (FE_INVALID_SOFTWARE): Likewise.
31335         (FE_INVALID_SQRT): Likewise.
31336         (FE_INVALID_INTEGER_CONVERSION): Likewise.
31337         (FE_TONEAREST): Likewise.
31338         (FE_TOWARDZERO): Likewise.
31339         (FE_UPWARD): Likewise.
31340         (FE_DOWNWARD): Likewise.
31341         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31342         (FE_DIVBYZERO): Likewise.
31343         (FE_OVERFLOW): Likewise.
31344         (FE_UNDERFLOW): Likewise.
31345         (FE_INEXACT): Likewise.
31346         (FE_TONEAREST): Likewise.
31347         (FE_DOWNWARD): Likewise.
31348         (FE_UPWARD): Likewise.
31349         (FE_TOWARDZERO): Likewise.
31350         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31351         (FE_UNDERFLOW): Likewise.
31352         (FE_OVERFLOW): Likewise.
31353         (FE_DIVBYZERO): Likewise.
31354         (FE_INVALID): Likewise.
31355         (FE_TONEAREST): Likewise.
31356         (FE_TOWARDZERO): Likewise.
31357         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31358         (FE_OVERFLOW): Likewise.
31359         (FE_UNDERFLOW): Likewise.
31360         (FE_DIVBYZERO): Likewise.
31361         (FE_INEXACT): Likewise.
31362         (FE_TONEAREST): Likewise.
31363         (FE_TOWARDZERO): Likewise.
31364         (FE_UPWARD): Likewise.
31365         (FE_DOWNWARD): Likewise.
31366         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31367         (FE_DIVBYZERO): Likewise.
31368         (FE_OVERFLOW): Likewise.
31369         (FE_UNDERFLOW): Likewise.
31370         (FE_INEXACT): Likewise.
31371         (FE_TONEAREST): Likewise.
31372         (FE_DOWNWARD): Likewise.
31373         (FE_UPWARD): Likewise.
31374         (FE_TOWARDZERO): Likewise.
31375
31376 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
31377
31378         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31379
31380 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
31381
31382         * scripts/cross-test-ssh.sh (command): Use newlines to separate
31383         commands.  Quote $PWD.
31384         (blacklist_exports): Don't use remove_newlines.  Replace "declare
31385         -x" by "export".
31386         (remove_newlines): Remove.
31387
31388 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
31389
31390         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31391         * stdlib/stdlib.h (atof): Moved to ...
31392         * include/bits/stdlib-float.h: Here.  New file.
31393         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31394         * stdlib/bits/stdlib-float.h: New file.
31395         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31396         -mno-sse -mno-mmx.
31397         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31398         <xmmintrin.h>.
31399
31400 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31401
31402         * conform/conformtest.pl (@headers): Add fenv.h.
31403         * conform/data/fenv.h-data: New file.
31404         * include/fenv.h [_ISOMAC]: Disable all contents of file except
31405         include of <math/fenv.h>.
31406
31407         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31408         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31409         && !UNIX98].  Enables tests for XOPEN2K8.
31410         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31411         POSIX2008]: Likewise.
31412
31413         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31414         (struct rusage): Do not expect type or its members.
31415
31416         [BZ #3439]
31417         * math/math.h (FP_NAN): Define macro to integer constant usable in
31418         #if and use that to give value to enum constant.
31419         (FP_INFINITE): Likewise.
31420         (FP_ZERO): Likewise.
31421         (FP_SUBNORMAL): Likewise.
31422         (FP_NORMAL): Likewise.
31423
31424 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
31425
31426         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31427         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31428         arguments.
31429
31430 2012-11-02  Roland McGrath  <roland@hack.frob.com>
31431
31432         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31433         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31434         autoconf-time if not.
31435         * configure.in: Remove AC_PREREQ.
31436
31437 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31438
31439         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31440         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31441         of the internal implementation.
31442
31443 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31444
31445         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31446         except include of <misc/sys/syslog.h>.
31447
31448 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31449
31450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31451         function returns with a NULL context exit with zero.
31452
31453 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31454
31455         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31456
31457 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
31458
31459         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31460         (run_program_cmd): This.
31461         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31462         (tst_langinfo): New variable.  Use it.
31463
31464 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
31465
31466         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31467         floating point opcodes.
31468
31469 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31470
31471         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31472         variable.
31473
31474         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31475
31476         * sysdeps/mach/hurd/powerpc: Remove directory.
31477         * sysdeps/mach/powerpc: Likewise.
31478
31479 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31480
31481         * scripts/check-local-headers.sh: Ignore c++ headers.
31482
31483 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31484
31485         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31486         __libc_cleanup_region_start argument.
31487
31488 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
31489
31490         [BZ #14784]
31491         [BZ #14785]
31492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31493         x * y using scaling, not as x * y + z.
31494         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31495         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31496         * math/libm-test.inc (fma_test): Add more tests.
31497         (fma_test_towardzero): Likewise.
31498         (fma_test_downward): Likewise.
31499         (fma_test_upward): Likewise.
31500
31501 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31502
31503         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31504
31505 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31506
31507         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31508         New variable.
31509
31510 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
31511
31512         * rt/tst-shm.c (worker): Correct checking for mmap failure.
31513
31514 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31515
31516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31517         Fix sort order.
31518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31519         Likewise.
31520
31521 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31522
31523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31524         Fix the order of the list for glibc 2.17.
31525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31526         Likewise.
31527
31528 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31529
31530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31531
31532 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31533
31534         [BZ #14610]
31535         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31536         for low part of x being zero before using __atanl (y).
31537         * math/libm-test.inc (atan2_test): Add another test.
31538
31539         * manual/install.texi (Configuring and compiling): Document
31540         general use of test-wrapper and test-wrapper-env.
31541         * INSTALL: Regenerated.
31542
31543         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31544         (__fma): Do not extract and scale down low bits on after-rounding
31545         systems when result rounded to normal precision would have normal
31546         exponent.
31547         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31548         (__fmal): Do not extract and scale down low bits on after-rounding
31549         systems when result rounded to normal precision would have normal
31550         exponent.
31551         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31552         (__fmal): Do not extract and scale down low bits on after-rounding
31553         systems when result rounded to normal precision would have normal
31554         exponent.
31555         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31556         macro.
31557         (fma_test): Add more tests.
31558         (fma_test_towardzero): Likewise.
31559         (fma_test_downward): Likewise.
31560         (fma_test_upward): Likewise.
31561
31562 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
31563
31564         * sysdeps/i386/tininess.h: Renamed to ...
31565         * sysdeps/x86/tininess.h: This.
31566         * sysdeps/x86_64/tininess.h: Removed.
31567
31568 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31569
31570         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31571         input.  Use $(build-program-cmd).
31572         ($(objpfx)tst-array1-static.out): Likewise.
31573         ($(objpfx)tst-array2.out): Likewise.
31574         ($(objpfx)tst-array3.out): Likewise.
31575         ($(objpfx)tst-array4.out): Likewise.
31576         ($(objpfx)tst-array5.out): Likewise.
31577         ($(objpfx)tst-array5-static.out): Likewise.
31578
31579 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
31580
31581         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31582         if defined.
31583
31584         * nss/nsswitch.h (nss_interface_function): Provide new
31585         macro for use with NSS functions.
31586         * grp/initgroups.c: Use new macro.
31587         * nss/getXXbyYY.c: Likewise.
31588         * nss/getXXbyYY_r.c: Likewise.
31589         * nss/getXXent.c: Likewise.
31590         * nss/getXXent_r.c: Likewise.
31591         * sysdeps/posix/getaddrinfo.c: Likewise.
31592
31593 2012-10-30  Andreas Jaeger  <aj@suse.de>
31594
31595         * po/ru.po: Update Russion translation from translation project.
31596
31597 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31598
31599         [BZ #14152]
31600         [BZ #14783]
31601         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31602         result and shift together with sticky bit instead of replicating
31603         round-to-nearest rounding.
31604         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31605         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31606         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
31607         missing underflow exceptions.
31608         (fma_test_towardzero): Add more tests.
31609         (fma_test_downward): Likewise.
31610         (fma_test_upward): Likewise.
31611
31612         [BZ #14047]
31613         * sysdeps/generic/tininess.h: New file.
31614         * sysdeps/i386/tininess.h: Likewise.
31615         * sysdeps/sh/tininess.h: Likewise.
31616         * sysdeps/x86_64/tininess.h: Likewise.
31617         * stdlib/tst-strtod-underflow.c: Likewise.
31618         * stdlib/tst-tininess.c: Likewise.
31619         * stdlib/strtod_l.c: Include <tininess.h>.
31620         (round_and_return): Do not set errno for exact underflow cases.
31621         Force an underflow exception when setting errno for underflow.
31622         Determine underflow based on rounding to normal precision if
31623         TININESS_AFTER_ROUNDING.
31624         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31625         ERANGE for exact underflow cases.
31626         * stdlib/Makefile (tests): Add tst-tininess and
31627         tst-strtod-underflow.
31628         ($(objpfx)tst-tininess): Use $(link-libm).
31629         ($(objpfx)tst-strtod-underflow): Likewise.
31630
31631 2012-10-30  Andreas Jaeger  <aj@suse.de>
31632
31633         [BZ#14767]
31634         * elf/Makefile (tests): Remove conditional for have-initfini-array
31635         since this is now always required and the variable does not exist
31636         anymore.
31637         (tests-static): Likewise.
31638         (modules-names): Likewise.
31639
31640         * po/eo.po: Add Esperanto translation from translation project.
31641
31642         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31643         merged with constructor/destructor.
31644         (init_array): Likewise.
31645         * elf/tst-array2dep.c (fini_array): Likewise.
31646         (init_array): Likewise.
31647
31648 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31649
31650         * manual/message.texi: Delete @cartouche tags.
31651
31652 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31653
31654         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31655         EOPNOTSUPP.
31656         * sysdeps/mach/hurd/fsync.c: Likewise.
31657
31658         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31659         [_POSIX_REALTIME_SIGNALS]: Change condition to
31660         [_POSIX_REALTIME_SIGNALS > 0].
31661
31662 2012-10-27  Andreas Jaeger  <aj@suse.de>
31663
31664         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31665         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31666         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31667         [__WORDSIZE != 64]: Likewise.
31668
31669 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31670
31671         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31672         *  iconvdata/tst-tables.sh: Likewise.
31673
31674 2012-10-25  David S. Miller  <davem@davemloft.net>
31675
31676         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31677         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31678         of strtoull.
31679
31680         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31681         ifunc-impl-list.c
31682         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31683         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31684         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31685         file.
31686
31687 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31688
31689         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31690         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31691         __getdirentries.
31692
31693 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31694             Jim Blandy  <jimb@codesourcery.com>
31695
31696         * scripts/cross-test-ssh.sh: New file.
31697         * manual/install.texi (Configuring and compiling): Document use of
31698         cross-test-ssh.sh.
31699         * INSTALL: Regenerated.
31700
31701 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31702
31703         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31704         EOPNOTSUPP.
31705
31706 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31707
31708         * Makeconfig (run-program-prefix): Fix comment.
31709
31710 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31711             Jim Blandy  <jimb@codesourcery.com>
31712
31713         * Makeconfig (test-wrapper): New variable,
31714         (test-wrapper-env): Likewise.
31715         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31716         (run-built-tests): Define to yes.
31717         (run-program-prefix): Use $(test-wrapper).
31718         (built-program-cmd): Likewise.
31719         * Rules (make-test-out): Use $(test-wrapper-env) and
31720         $(host-built-program-cmd).
31721         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31722         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31723         tst-pathopt.sh.
31724         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31725         $(test-wrapper-env) to tst-rtld-load-self.sh.
31726         ($(objpfx)order2.out): Use $(test-wrapper).
31727         ($(objpfx)tst-initorder.out): Likewise.
31728         ($(objpfx)tst-initorder2.out): Likewise.
31729         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31730         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31731         (test_wrapper_env): New variable.  Use it to run ld.so.
31732         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31733         Use it to run ld.so.
31734         (test_wrapper_env): Likewise.
31735         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31736         $(test-wrapper) to run-iconv-test.sh.
31737         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31738         (ICONV): Use $test_wrapper.
31739         * posix/Makefile ($(objpfx)globtest.out): Pass
31740         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31741         globtest.sh, not $(run-program-prefix).
31742         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31743         (test_wrapper): Likewise.
31744         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31745         set together with run_via_rtld_prefix.
31746         (run_program_prefix): Define in terms of test_wrapper and
31747         run_via_rtld_prefix.
31748
31749 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31750
31751         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31752         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31753         Targets removed.
31754
31755         [BZ #14743]
31756         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31757         Declare __clock_getres, __clock_gettime, __clock_settime,
31758         __clock_nanosleep, and __clock_getcpuclockid.
31759         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31760         Remove librt_hidden_def (clock_gettime).
31761         * sysdeps/unix/clock_gettime.c: Likewise.
31762         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31763         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31764         * rt/clock_getres.c: Define __clock_getres as an alias.
31765         * sysdeps/posix/clock_getres.c: Likewise.
31766         * rt/clock_settime.c: Define __clock_settime as an alias.
31767         * sysdeps/unix/clock_settime.c: Likewise.
31768         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31769         * sysdeps/unix/clock_nanosleep.c: Likewise.
31770         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31771         * rt/clock-compat.c: New file.
31772         * rt/Makefile (librt-routines): Add clock-compat and move
31773         $(clock-routines) to ...
31774         (routines): ... here, new variable.
31775         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31776         Don't add get_clockfreq here.
31777         * rt/Versions (libc: GLIBC_2.17): New version set.
31778         Add clock_* symbols here.
31779         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31780         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31781         (GLIBC_2.17): Add clock_* symbols.
31782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31784         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31786         Likewise.
31787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31788         Likewise.
31789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31793         * NEWS: Mention the move.
31794
31795         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31796         Use __open, __read, __close rather than their public counterparts.
31797         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31798         (__get_clockfreq_via_cpuinfo): Likewise.
31799         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31800         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31801
31802         * config.h.in (HAVE_IFUNC): New #undef.
31803         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31804         was successful.
31805         * configure: Regenerated.
31806
31807 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31808
31809         * configure.in: Move READELF check to start of file.
31810         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31811         libc_cv_asm_gnu_indirect_function in the process.
31812         * configure: Regenerated.
31813
31814 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31815
31816         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31817         send the output to /dev/null.
31818         (libc_cv_cc_with_libunwind): Likewise.
31819         (libc_cv_as_noexecstack): Likewise.
31820         * configure: Regenerate.
31821
31822 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31823
31824         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31825
31826         * posix/globtest.sh (TMPDIR): Do not set.
31827         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31828         (testout): Likewise.
31829
31830 2012-10-24  Andreas Jaeger  <aj@suse.de>
31831
31832         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31833         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31834         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31835         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31836         posix_fadvise64, posix_fallocate64.
31837
31838         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31839         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31840         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31841         Likewise.
31842         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31843         Likewise.
31844         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31845
31846         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31847         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31848         <bits/fcntl-linux.h>.
31849         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31850
31851         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31852         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31853         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31854         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31855         [__WORDSIZE != 64]: Likewise.
31856
31857 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31858
31859         * Makeconfig (run-built-tests): New variable.
31860         * Rules [$(cross-compiling) = yes]: Change condition to
31861         [$(run-built-tests) = no].
31862         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31863         to [$(run-built-tests) = yes].
31864         * elf/Makefile [$(cross-compiling) = no]: Likewise
31865         * grp/Makefile [$(cross-compiling) = no]: Likewise.
31866         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31867         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31868         * intl/Makefile [$(cross-compiling) = no]: Likewise.
31869         * io/Makefile [$(cross-compiling) = no]: Likewise.
31870         * libio/Makefile [$(cross-compiling) = no]: Likewise.
31871         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31872         * misc/Makefile [$(cross-compiling) = no]: Likewise.
31873         * posix/Makefile [$(cross-compiling) = no]: Likewise.
31874         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31875         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31876         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31877         * string/Makefile [$(cross-compiling) = no]: Likewise.
31878
31879         * posix/Makefile ($(objpfx)globtest.out): Pass
31880         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31881         $(rtld-installed-name).
31882         * posix/globtest.sh (elf_objpfx): Remove variable.
31883         (rtld_installed_name): Likewise.
31884         (library_path): Likewise.
31885         (run_program_prefix): New variable.  Use for running globtest
31886         binary.
31887
31888 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
31889             Joseph Myers  <joseph@codesourcery.com>
31890
31891         * Makeconfig (host-built-program-cmd): New variable.
31892         * elf/Makefile (tst-stackguard1-ARGS): Use
31893         $(host-built-program-cmd).
31894         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31895         (tst-spawn-ARGS): Likewise.
31896         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31897
31898 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31899             Jim Blandy  <jimb@codesourcery.com>
31900
31901         * Makeconfig (run-via-rtld-prefix): New variable.
31902         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31903         (built-program-cmd): Likewise.
31904
31905 2012-10-22  Andreas Jaeger  <aj@suse.de>
31906
31907         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31908         __O_RSYNC if it exists, otherwise to O_SYNC.
31909
31910 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
31911             Joseph Myers  <joseph@codesourcery.com>
31912
31913         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31914         /dev/null.
31915         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31916         from /dev/null
31917         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31918         /dev/null.
31919
31920 2012-10-22  Andreas Jaeger  <aj@suse.de>
31921
31922         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31923         Define always.
31924         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31925
31926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31927         bits/fcntl-linux.h.
31928
31929         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31930         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31931
31932         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31933         to __O_LARGEFILE.
31934         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31935         to __O_LARGEFILE.
31936
31937 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
31938             Joseph Myers  <joseph@codesourcery.com>
31939
31940         * config.make.in (NM): New variable.
31941
31942 2012-10-21  Andreas Jaeger  <aj@suse.de>
31943
31944         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31945         definitions and declarations that are provided by
31946         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31947
31948 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31949
31950         [BZ #14683]
31951         * elf/Makefile (tests-static): Add tst-leaks1-static.
31952         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31953         ($(objpfx)tst-leaks1-static): New rule.
31954         ($(objpfx)tst-leaks1-static-mem): Likewise.
31955         (tst-leaks1-static-ENV): New macro.
31956         * elf/dl-open.c (dl_open_worker): Check the main application
31957         only if SHARED is defined.
31958         * elf/tst-leaks1-static.c: New file.
31959
31960 2012-10-20  Andreas Jaeger  <aj@suse.de>
31961
31962         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31963         generic values for Linux.
31964         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31965         and declarations that are provided by <bits/fcntl-linux.h> and
31966         include <bits/fcntl-linux.h>.
31967         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31968         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31969
31970 2012-10-20  Roland McGrath  <roland@hack.frob.com>
31971
31972         * io/fcntl.h: Move include of <bits/types.h> to the top and
31973         include it unconditionally.
31974
31975 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31976
31977         * wcsmbs/Makefile (tests-ifunc): New variable.
31978         (tests): Add $(tests-ifunc).
31979         * wcsmbs/test-wcschr-ifunc.c: New file.
31980         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31981         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31982         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31983         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31984         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31985
31986         * string/Makefile (tests-ifunc): New variable.
31987         (tests): Add $(tests-ifunc).
31988         * string/test-memccpy.c (TEST_NAME): New macro.
31989         * string/test-memchr.c (TEST_NAME): Likewise.
31990         * string/test-memcmp.c (TEST_NAME): Likewise.
31991         * string/test-memcpy.c (TEST_NAME): Likewise.
31992         * string/test-memmem.c (TEST_NAME): Likewise.
31993         * string/test-memmove.c (TEST_NAME): Likewise.
31994         * string/test-memset.c (TEST_NAME): Likewise.
31995         * string/test-rawmemchr.c (TEST_NAME): Likewise.
31996         * string/test-stpcpy.c (TEST_NAME): Likewise.
31997         * string/test-stpncpy.c (TEST_NAME): Likewise.
31998         * string/test-strcasecmp.c (TEST_NAME): Likewise.
31999         * string/test-strcasestr.c (TEST_NAME): Likewise.
32000         * string/test-strcat.c (TEST_NAME): Likewise.
32001         * string/test-strchr.c (TEST_NAME): Likewise.
32002         * string/test-strcmp.c(TEST_NAME): Likewise.
32003         * string/test-strcpy.c (TEST_NAME): Likewise.
32004         * string/test-strcspn.c (TEST_NAME): Likewise.
32005         * string/test-strlen.c (TEST_NAME): Likewise.
32006         * string/test-strncasecmp.c (TEST_NAME): Likewise.
32007         * string/test-strncmp.c (TEST_NAME): Likewise.
32008         * string/test-strncpy.c (TEST_NAME): Likewise.
32009         * string/test-strnlen.c (TEST_NAME): Likewise.
32010         * string/test-strpbrk.c (TEST_NAME): Likewise.
32011         * string/test-strrchr.c (TEST_NAME): Likewise.
32012         * string/test-strspn.c (TEST_NAME): Likewise.
32013         * string/test-strstr.c (TEST_NAME): Likewise.
32014         * string/test-bcopy-ifunc.c: New file.
32015         * string/test-bzero-ifunc.c: Likewise.
32016         * string/test-memccpy-ifunc.c: Likewise.
32017         * string/test-memchr-ifunc.c: Likewise.
32018         * string/test-memcmp-ifunc.c: Likewise.
32019         * string/test-memcpy-ifunc.c: Likewise.
32020         * string/test-memmem-ifunc.c: Likewise.
32021         * string/test-memmove-ifunc.c: Likewise.
32022         * string/test-mempcpy-ifunc.c: Likewise.
32023         * string/test-memset-ifunc.c: Likewise.
32024         * string/test-rawmemchr-ifunc.c: Likewise.
32025         * string/test-stpcpy-ifunc.c: Likewise.
32026         * string/test-stpncpy-ifunc.c: Likewise.
32027         * string/test-strcasecmp-ifunc.c: Likewise.
32028         * string/test-strcasestr-ifunc.c: Likewise.
32029         * string/test-strcat-ifunc.c: Likewise.
32030         * string/test-strchr-ifunc.c: Likewise.
32031         * string/test-strchrnul-ifunc.c: Likewise.
32032         * string/test-strcmp-ifunc.c: Likewise.
32033         * string/test-strcpy-ifunc.c: Likewise.
32034         * string/test-strcspn-ifunc.c: Likewise.
32035         * string/test-strlen-ifunc.c: Likewise.
32036         * string/test-strncasecmp-ifunc.c: Likewise.
32037         * string/test-strncat-ifunc.c: Likewise.
32038         * string/test-strncmp-ifunc.c: Likewise.
32039         * string/test-strncpy-ifunc.c: Likewise.
32040         * string/test-strnlen-ifunc.c: Likewise.
32041         * string/test-strpbrk-ifunc.c: Likewise.
32042         * string/test-strrchr-ifunc.c: Likewise.
32043         * string/test-strspn-ifunc.c: Likewise.
32044         * string/test-strstr-ifunc.c: Likewise.
32045
32046         * debug/Makefile (tests-ifunc): New variable.
32047         (tests): Add $(tests-ifunc).
32048         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32049         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32050         * debug/test-stpcpy_chk-ifunc.c: New file.
32051         * debug/test-strcpy_chk-ifunc.c: Likewise.
32052
32053 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32054
32055         [BZ #13601]
32056         * elf/dl-load.c (open_verify): Retry read if the entire ELF
32057         header is not read in.
32058
32059 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
32060
32061         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
32062         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
32063         directly.  Pass built executable to script as
32064         $(built-program-cmd).
32065         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
32066         $testprogram without using LD_LIBRARY_PATH and $ldso.
32067
32068         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32069         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32070         $(rtld-installed-name).
32071         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32072         (rtld_installed_name): Likewise.
32073         (library_path): Likewise.
32074         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
32075         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32076         $(run-program-prefix) to tst-tables.sh.
32077         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
32078         it to run tst-table-from and tst-table-to.
32079         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32080         Pass it to tst-table.sh.
32081         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32082         $(run-program-prefix) to tst-gettext.sh.
32083         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32084         tst-translit.sh.
32085         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32086         tst-gettext2.sh.
32087         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
32088         to run tst-gettext.
32089         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
32090         to run tst-gettext2.
32091         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
32092         to run tst-translit.
32093         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32094         $(run-program-prefix) to tst-mtrace.sh.
32095         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
32096         to run tst-mtrace.
32097         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32098         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32099         $(rtld-installed-name).
32100         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32101         (rtld_installed_name): Likewise.
32102         (run_program_prefix): New variable.  Use it to run wordexp-test.
32103
32104         * Makeconfig (ARCH): Remove all definitions.
32105         (machine): Likewise.
32106         [ARCH]: Remove conditional code.
32107         [!objdir]: Give error.
32108         [!objdir] (objpfx): Remove.
32109         [!objdir] (common-objpfx): Likewise.
32110         [!objdir] (common-objdir): Likewise.
32111         * configure.in (config_makefile): Remove.  Hardcode Makefile in
32112         AC_CONFIG_FILES call.
32113         * configure: Regenerated.
32114
32115         [BZ #13888]
32116         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32117         or TMPDIR.
32118         (testout): Likewise.
32119
32120         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32121         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32122         $(rtld-installed-name).
32123         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32124         (rtld_installed_name): Likwise.
32125         (runit): Remove function.
32126         (run_getconf): New variable,  Use it for running getconf binary.
32127
32128 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
32129
32130         [BZ #14716]
32131         * string/test-memmem.c (check_result): New function.
32132         (do_one_test): Use it.
32133         (check1): New function.
32134         (test_main): Use it.
32135
32136 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
32137
32138         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32139
32140 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
32141
32142         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32143         (_G_LSEEK64): Likewise.
32144         (_G_MMAP64): Likewise.
32145         (_G_FSTAT64): Likewise.
32146         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32147         (_G_LSEEK64): Likewise.
32148         (_G_MMAP64): Likewise.
32149         (_G_FSTAT64): Likewise.
32150         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32151         unconditional.  Call __mmap64 directly.
32152         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32153         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
32154         __lseek64 directly.
32155         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32156         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
32157         __mmap64 directly.
32158         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32159         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32160         __lseek64 directly.
32161         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32162         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32163         __lseek64 directly.
32164         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32165         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
32166         __lseek64 directly.
32167         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32168         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
32169         __fxstat64 directly.
32170         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32171         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32172         unconditional.
32173         (freopen64) [!_G_OPEN64]: Remove conditional code.
32174         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32175         unconditional.
32176         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32177         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32178         unconditional.
32179         (ftello64) [!_G_LSEEK64]: Remove conditional code.
32180         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32181         unconditional.
32182         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32183         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32184         unconditional.
32185         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32186         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32187         unconditional.
32188         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32189         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32190         unconditional.
32191         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32192         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32193         unconditional.
32194         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32195
32196 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32197
32198         [BZ #12140]
32199         * manual/memory.texi (Malloc Tunable Parameters): Add note
32200         about free list pointers overwriting some perturb bytes.
32201         Wording suggested by Roland McGrath.
32202
32203 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
32204
32205         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32206         (lgamma_test): Likewise.
32207         (tgamma_test): Likewise.
32208
32209 2012-10-16  Florian Weimer  <fweimer@redhat.com>
32210
32211         [BZ #14700]
32212         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32213         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32214
32215 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
32216
32217         * NEWS: Mention BZ #14716.
32218         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32219         when removing AVAILABLE1_USES_J macro.
32220
32221 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
32222
32223         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32224         (__bswap_64): __uint64_t for unsigned 64-bit int.
32225
32226 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
32227
32228         * include/string.h (memmem): Declare libc hidden alias.
32229         * string/memmem.c (memmem): Define libc hidden alias.
32230         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32231         __read, __close instead of open, read, close.
32232
32233 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
32234
32235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32236         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32237         global and hidden.
32238         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32239         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32240         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32241         Likewise.
32242         (__rawmemchr_sse2): Likewise.
32243         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32244         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32245         (__strchr_sse2): Likewise.
32246         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32247         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32248         (__strcasecmp_sse2): Likewise.
32249         (__strncasecmp_sse2): Likewise.
32250         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32251         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32252         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32253         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32254         (__strrchr_sse2): Likewise.
32255         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32256         ifunc-impl-list.c.
32257         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32258         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32259         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32260         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32261         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32262         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32263         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32264         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32265         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32266         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32267         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32268         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32269         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32270         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32271         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32272         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32273         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32274         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32275         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32276         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32277         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32278         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32279         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32280         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32281         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32282         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32283         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32284         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32285         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32286         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32287
32288         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32289         global and hidden.
32290         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32291         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32292         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32293         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32294         Likewise.
32295         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32296         Likewise.
32297         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32298         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32299         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32300         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32301         ifunc-impl-list.c.
32302         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32303         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32304         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32305         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32306         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32307         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32308         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32309         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32310         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32311         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32312         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32313         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32314         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32315         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32316         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32317         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32318         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32319         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32320         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32321         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32322         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32323         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32324         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32325         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32326         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32327         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32328         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32329         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32330         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32331         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32332         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32333         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32334         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32335         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32336         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32337         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32338         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32339         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32340         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32341         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32342         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32343
32344         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32345         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32346         * include/ifunc-impl-list.h: New file.
32347         * misc/ifunc-impl-list.c: Likewise.
32348         * misc/Makefile (routines): Add ifunc-impl-list.
32349         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32350         * string/test-string.h: Include <ifunc-impl-list.h>.
32351         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32352         TEST_NAME]: New variables.
32353         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32354         are defined.
32355         (test_init): Call __libc_ifunc_impl_list to initialize
32356         func_list if TEST_IFUNC and TEST_NAME are defined.
32357
32358         * string/Makefile (strop-tests): Add bcopy and bzero.
32359         * string/test-bcopy.c: New file.
32360         * string/test-bzero.c: Likewise.
32361         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32362         defined.
32363         * string/test-memset.c: Support bzero test if TEST_BZERO is
32364         defined.
32365         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32366         __libc_memmove.
32367         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32368         __libc_memset.
32369         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32370         of memset.
32371
32372 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
32373
32374         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32375         * configure: Regenerated.
32376
32377         * Makeconfig (+link-static-before-libc): Don't include
32378         $(link-static-libc).
32379
32380         * libio/libio.h (_IO_pos_t): Remove.
32381
32382 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32383
32384         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
32385         McGrath.
32386
32387 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32388
32389         * crypt/crypt-entry.c: Include fips-private.h.
32390         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32391         * crypt/md5c-test.c (main): Tolerate disabled MD5.
32392         * sysdeps/unix/sysv/linux/fips-private.h: New file.
32393         * sysdeps/generic/fips-private.h: New file, dummy fallback.
32394
32395 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32396
32397         * crypt/crypt-private.h: Include stdbool.h.
32398         (_ufc_setup_salt_r): Return bool.
32399         * crypt/crypt-entry.c: Include errno.h.
32400         (__crypt_r): Return NULL with EINVAL for bad salt.
32401         * crypt/crypt_util.c (bad_for_salt): New.
32402         (_ufc_setup_salt_r): Check that salt is long enough and within
32403         the specified alphabet.
32404         * crypt/badsalttest.c: New file.
32405         * crypt/Makefile (tests): Add it.
32406         ($(objpfx)badsalttest): New.
32407
32408 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
32409
32410         * NEWS: Add entry for BZ #14602.
32411
32412 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32413
32414         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32415         type-generic.
32416         * math/libm-test.inc: Update comment listing what functions and
32417         macros are tested.
32418         (isgreater_test): New function.
32419         (isgreaterequal_test): Likewise.
32420         (isless_test): Likewise.
32421         (islessequal_test): Likewise.
32422         (islessgreater_test): Likewise.
32423         (isunordered_test): Likewise.
32424         (main): Call the new functions.
32425
32426 2012-10-09  Roland McGrath  <roland@hack.frob.com>
32427
32428         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32429         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32430         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32431         * sysdeps/i386/configure: Regenerated.
32432         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32433         * sysdeps/mach/configure: Regenerated.
32434         * sysdeps/mach/hurd/configure: Regenerated.
32435         * sysdeps/powerpc/configure: Regenerated.
32436         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32437         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32438         * sysdeps/s390/s390-32/configure: Regenerated.
32439         * sysdeps/s390/s390-64/configure: Regenerated.
32440         * sysdeps/sh/configure: Regenerated.
32441         * sysdeps/sparc/configure: Regenerated.
32442         * sysdeps/unix/sysv/linux/configure: Regenerated.
32443         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32444         * sysdeps/x86_64/configure: Regenerated.
32445
32446         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32447         defined.  Don't check if MAP is NULL.
32448
32449 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32450
32451         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32452         (_G_stat64): Likewise.
32453         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32454         (_G_stat64): Likewise.
32455         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32456         instead of struct _G_stat64.
32457         * libio/fileops.c (mmap_remap_check): Likewise.
32458         (decide_maybe_mmap): Likewise.
32459         (_IO_new_file_seekoff): Likewise.
32460         (_IO_file_stat): Likewise.
32461         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32462         _G_off64_t.
32463         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32464         instead of struct _G_stat64.
32465         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32466
32467 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
32468
32469         [BZ #14602]
32470         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32471         Replace with ...
32472         (CHECK_EOL): New macro.
32473         (two_way_short_needle): Check beginning of haystack for EOL.  Use
32474         CHECK_EOL.
32475         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32476         Replace with CHECK_EOL.
32477         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32478         Replace with CHECK_EOL.
32479
32480 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
32481
32482         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32483         type-generic.
32484         * math/libm-test.inc: Update comment listing what functions and
32485         macros are tested.
32486         (finite_test): New function.
32487         (isinf_test): Likewise.
32488         (isnan_test): Likewise.
32489         (fpclassify_test): Test subnormal input.
32490         (isfinite_test): Likewise.
32491         (isnormal_test): Likewise.
32492         (main): Call the new functions.
32493
32494 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
32495
32496         [BZ #14660]
32497         * Makerules (%.dynsym): Force C locale when running
32498         $(OBJDUMP) --dynamic-syms.
32499
32500 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
32501
32502         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32503         <stdint.h>.
32504
32505 2012-10-06  David S. Miller  <davem@davemloft.net>
32506
32507         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32508         upper 32-bits of the length value in %o2 since we use branch-on-register
32509         tests which consider the entire 64-bit register.
32510
32511 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
32512
32513         * string/test-strstr.c (check2): Add a test for page boundary.
32514
32515 2012-10-05  David S. Miller  <davem@davemloft.net>
32516
32517         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32518         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32519         file.
32520         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32521         sysdep_routines.
32522         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32523         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32524         and bzero when HWCAP_SPARC_CRYPTO is present.
32525
32526 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
32527
32528         [BZ #14602]
32529         * string/test-strstr.c (check2): New function.
32530         (test_main): Call check2.
32531
32532         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32533         and bug-strchr1.
32534         * string/bug-strcasestr1.c (do_test): Moved to ...
32535         * string/test-strcasestr.c (check1): Here.  New function.
32536         (do_one_test): Break out result checking code into ...
32537         (check_result): This.  New function.
32538         (do_one_test): Call check_result.
32539         (test_main): Call check1.
32540         * string/bug-strchr1.c (do_test): Moved to ...
32541         * string/test-strchr.c (check1): Here.  New function.
32542         (do_one_test): Break out result checking code into ...
32543         (check_result): This.  New function.
32544         (do_one_test): Call check_result.
32545         (test_main): Call check1.
32546         * string/bug-strstr1.c (main): Moved to ...
32547         * string/test-strstr.c (check1): Here.  New function.
32548         (do_one_test): Break out result checking code into ...
32549         (check_result): This.  New function.
32550         (do_one_test): Call check_result.
32551         (test_main): Call check1.
32552         * string/bug-strcasestr1.c: Removed.
32553         * string/bug-strchr1.c: Likewise.
32554         * string/bug-strstr1.c: Likewise.
32555
32556         * elf/Makefile (dl-routines): Add hwcaps.
32557         * elf/dl-support.c (_dl_important_hwcaps): Removed.
32558         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32559         (_dl_important_hwcaps): Moved to ...
32560         * elf/dl-hwcaps.c: Here.  New file.
32561         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32562
32563         [BZ #14557]
32564         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32565         if IS_IN_rtld isn't defined.
32566
32567         * elf/dl-support.c (_dl_sysinfo_map): New.
32568         Include "get-dynamic-info.h" and "setup-vdso.h".
32569         (_dl_non_dynamic_init): Call setup_vdso.
32570         * elf/dynamic-link.h: Don't include <assert.h>.
32571         (elf_get_dynamic_info): Moved to ...
32572         * elf/get-dynamic-info.h: Here.  New file.
32573         * elf/dynamic-link.h: Include "get-dynamic-info.h".
32574         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32575         * elf/setup-vdso.h: Here.  New file.
32576         * elf/rtld.c: Include "setup-vdso.h".
32577         (dl_main): Call setup_vdso.
32578
32579 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
32580
32581         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32582         creal in comment listing functions tested.  List finite, isinf,
32583         isnan, isless, islessequal, isgreater, isgreaterequal,
32584         islessgreater, isunordered, lgamma_r and pow10 as functions and
32585         macros not tested.  Mention which functions not tested are aliases
32586         for other functions.  Fix typo.  Note that signs of NaNs are not
32587         tested.
32588
32589         * scripts/config.guess: Update from config.git.
32590         * scripts/config.sub: Likewise.
32591
32592 2012-10-04  Roland McGrath  <roland@hack.frob.com>
32593
32594         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32595         * misc/madvise.c (madvise): Renamed to __madvise.
32596         Make madvise a weak alias.
32597         * include/sys/mman.h: Declare __madvise.
32598         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32599         * sysdeps/unix/syscalls.list
32600         (madvise): Make __madvise the strong name, and madvise a weak alias.
32601         * sysdeps/unix/sysv/linux/syscalls.list
32602         (madvise, mmap): Remove redundant entries.
32603         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32604         * malloc/malloc.c (mtrim): Likewise.
32605         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32606
32607 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32608
32609         * sysdeps/mach/hurd/dl-cache.c: File removed.
32610         * config.h.in (USE_LDCONFIG): New #undef.
32611         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32612         * configure: Regenerated.
32613         * elf/Makefile (dl-routines): Add dl-cache only under
32614         [$(use-ldconfig) = yes].
32615         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32616         cache on [USE_LDCONFIG].
32617         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32618         [USE_LDCONFIG].
32619         * elf/rtld.c (dl_main): Likewise.
32620
32621 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32622
32623         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32624         _SC_LEVEL4_CACHE_LINESIZE.
32625
32626 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32627
32628         * sysdeps/unix/bsd/confstr.h: File removed.
32629
32630 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32631
32632         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32633         sys/sdt-config.h.
32634
32635 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32636
32637         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32638         Make 'mapoff' field ElfW(Off) rather than off_t.
32639
32640 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32641
32642         * nscd/Makefile: Remove nscd-cflags and all its users.
32643         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32644         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32645
32646         [BZ #10631]
32647         * malloc.c (malloc_printerr): Clarify error message.
32648
32649 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32650
32651         [BZ #14648]
32652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32653         Set bit_FMA_Usable if FMA is supported.
32654         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32655         macro.
32656         (bit_FMA4_Usable): Updated.
32657         (index_FMA_Usable): New macro.
32658         (CPUID_FMA): Likewise
32659         (HAS_FMA): Defined with bit_FMA_Usable.
32660
32661 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32662
32663         * bits/types.h (__swblk_t): Type removed.
32664         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32665         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32666         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32667         (__SWBLK_T_TYPE): Likewise.
32668         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32669         (__SWBLK_T_TYPE): Likewise.
32670         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32671         (__SWBLK_T_TYPE): Likewise.
32672         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32673         (__SWBLK_T_TYPE): Likewise.
32674
32675 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32676             Honza Horak <hhorak@redhat.com>
32677
32678         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32679         (xdr_mapname): Use YPMAXMAP as maxsize.
32680         (xdr_peername): Use YPMAXPEER as maxsize.
32681         (xdr_keydat): Use YPAXRECORD as maxsize.
32682         (xdr_valdat): Use YPMAXRECORD as maxsize.
32683
32684 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32685
32686         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32687
32688         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32689         * csu/init-first.c: ... here.
32690         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32691         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32692         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32693         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32694         * sysdeps/i386/init-first.c: File removed.
32695         * sysdeps/sh/init-first.c: File removed.
32696
32697 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32698
32699         [BZ #14645]
32700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32701         if x * y might underflow to zero and z is zero.
32702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32704         * math/libm-test.inc (min_subnorm_value): New variable.
32705         (fma_test): Add more tests.
32706         (fma_test_towardzero): Likewise.
32707         (fma_test_downward): Likewise
32708         (fma_test_upward): Likewise.
32709         (initialize): Set min_subnorm_value.
32710
32711 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32712
32713         [BZ #14638]
32714         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32715         0 + 0.
32716         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32717         mode for addition resulting in exact zero.
32718         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32720         exact 0 + 0.
32721         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32722         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32723         * math/libm-test.inc (fma_test): Add more tests.
32724         (fma_test_towardzero): New function.
32725         (fma_test_downward): Likewise.
32726         (fma_test_upward): Likewise.
32727         (main): Call the new functions.
32728
32729 2012-09-28  David S. Miller  <davem@davemloft.net>
32730
32731         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32732
32733 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32734
32735         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32736         instead of SIGALRM.
32737
32738         * sysdeps/gnu/_G_config.h: Moved to ...
32739         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32740         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32741         * sysdeps/generic/_G_config.h: ... here.
32742
32743         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32744
32745         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32746
32747         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32748         Conditionalize target on [libnss_test1.so-version].
32749
32750         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32751
32752         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32753         (elfobjdir): Move out of conditionals.
32754
32755         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32756         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32757         (__nss_lookup_function): Conditionalize label remove_from_tree on
32758         [!DO_STATIC_NSS || SHARED], matching its only use.
32759
32760 2012-09-28  David S. Miller  <davem@davemloft.net>
32761
32762         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32763         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32764         file.
32765         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32766         sysdep_routines.
32767         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32768         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32769         when HWCAP_SPARC_CRYPTO is present.
32770
32771 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32772
32773         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32774
32775 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32776
32777         [BZ #6530]
32778         * stdio-common/vfprintf.c (process_string_arg): Revert
32779         2000-07-22 change.
32780
32781 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32782
32783         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32784         for testcase.
32785         * stdio-common/tst-sprintf.c: Include <locale.h>
32786         (main): Test sprintf's handling of incomplete multibyte
32787         characters.
32788
32789 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32790
32791         * elf/dl-runtime.c (VERSYMIDX): Removed.
32792         * elf/dl-version.c (VERSYMIDX): Likewise.
32793         * elf/do-rel.h (VERSYMIDX): Likewise.
32794         (VALIDX): Likewise.
32795         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32796         * elf/rtld.c (VALIDX): Likewise.
32797         (ADDRIDX): Likewise.
32798         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32799         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32800         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32801         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32802         (VALIDX): Likewise.
32803         (ADDRIDX): Likewise.
32804
32805 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32806
32807         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32808
32809 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32810
32811         [BZ #11438]
32812         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32813         to global scope.
32814         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32815         addresses are in the same scope as 192.0.2/24.
32816         * posix/gai.conf: Document new scope table defaults.
32817
32818 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32819
32820         [BZ #5298]
32821         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32822         for ftell.  Compute offsets from write pointers instead.
32823         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32824
32825 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32826
32827         [BZ #14543]
32828         * libio/Makefile (tests): New test case tst-fseek.
32829         * libio/tst-fseek.c: New test case to verify that fseek/ftell
32830         combination works in wide mode.
32831         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32832         state when the external buffer state changes.
32833
32834 2012-09-27  David S. Miller  <davem@davemloft.net>
32835
32836         [BZ #14376]
32837         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32838         pass reloc->r_addend in as the 'high' argument to
32839         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32840
32841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32842
32843 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32844
32845         * rt/tst-aio2.c: Include <pthread.h>.
32846         * rt/tst-aio3.c: Likewise.
32847
32848 2012-09-27  Steve Ellcey  <sellcey@mips.com>
32849
32850         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32851
32852 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
32853
32854         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32855         contents on [SHARED].
32856
32857 2012-09-26  Marek Polacek  <polacek@redhat.com>
32858
32859         [BZ #14530]
32860         [BZ #13741]
32861         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32862         for C++ and GCC <4.3 as well as for non GCC compilers.
32863
32864 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32865
32866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32867
32868 2012-09-25  Roland McGrath  <roland@hack.frob.com>
32869
32870         * Makefile.in (all, install): Declare with .PHONY.
32871         Reported by Michael Hope <michael.hope@linaro.org>.
32872
32873 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32874
32875         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32876         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32877         system header.
32878         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32879         Likewise.
32880         (sydep_routines): Add the new and the internal functions.
32881         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32882         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32884         (GLIBC_2.17): Add the new function.
32885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32886         (GLIBC_2.17): Likewise.
32887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32888         (GLIBC_2.17): Likewise.
32889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32890         (GLIBC_2.17): Likewise.
32891         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32892
32893 2012-09-25  Alan Modra  <amodra@gmail.com>
32894
32895         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32896         Add release barrier before setting once_control to say
32897         initialisation is done.  Add hints on lwarx.  Use macro in
32898         place of isync.
32899         (clear_once_control): Add release barrier.
32900
32901 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32902
32903         [BZ #13629]
32904         * math/s_clog.c (__clog): Handle more values close to |z| = 1
32905         specially.
32906         * math/s_clog10.c (__clog10): Likewise.
32907         * math/s_clog10f.c (__clog10f): Likewise.
32908         * math/s_clog10l.c (__clog10l): Likewise.
32909         * math/s_clogf.c (__clogf): Likewise.
32910         * math/s_clogl.c (__clogl): Likewise.
32911         * math/Makefile (libm-calls): Add x2y2m1.
32912         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32913         (__x2y2m1): Likewise.
32914         (__x2y2m1l): Likewise.
32915         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32916         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32917         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32918         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32919         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32920         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32921         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32922         * sysdeps/i386/fpu/libm-test-ulps: Update.
32923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32924
32925         [BZ #14621]
32926         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32927         int as type of variable DEPTH.
32928         (glob): Use size_t instead of int as type of variables NEWCOUNT
32929         and OLD_PATHC.
32930
32931 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32932
32933         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32934         Add s_sincosf-sse2.
32935         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32936         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32937         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32938         macros for using routine as __sincosf_ia32.
32939         Use macro for function declaration and weak_alias.
32940         * sysdeps/i386/fpu/libm-test-ulps: Update.
32941
32942         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32944
32945         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32946         subnormal argument.
32947         * math/s_cexpf.c (__cexpf): Likewise.
32948         * math/s_csinf.c (__csinf): Likewise.
32949         * math/s_csinhf.c (__csinhf): Likewise.
32950         * math/s_ctanf.c (__ctanf): Likewise.
32951         * math/s_ctanhf.c (__ctanhf): Likewise.
32952         * math/s_ccosh.c (__ccoshf): Likewise.
32953         * math/s_cexp.c (__cexpl): Likewise.
32954         * math/s_csin.c (__csin): Likewise.
32955         * math/s_csinh.c (__csinh): Likewise.
32956         * math/s_ctan.c (__ctan): Likewise.
32957         * math/s_ctanh.c (ctanh): Likewise.
32958         * math/s_ccoshl.c (__ccoshl): Likewise.
32959         * math/s_cexpl.c (__cexpl): Likewise.
32960         * math/s_csinl.c (__csinl): Likewise.
32961         * math/s_csinhl.c (__csinhl): Likewise.
32962         * math/s_ctanl.c (__ctanl): Likewise.
32963         * math/s_ctanhl.c (__ctanhl): Likewise.
32964
32965 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32966
32967         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32968         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32969         (_IO_off_t): Define to __off_t, not _G_off_t.
32970         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32971         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32972         (_IO_wint_t): Define to wint_t, not _G_wint_t.
32973         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32974         type of __dummy and __dummy2 fields.
32975         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32976         (_G_ssize_t): Likewise.
32977         (_G_off_t): Likewise.
32978         (_G_pid_t): Likewise.
32979         (_G_uid_t): Likewise.
32980         (_G_wchar_t): Likewise.
32981         (_G_wint_t): Likewise.
32982         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32983         (_G_ssize_t): Likewise.
32984         (_G_off_t): Likewise.
32985         (_G_pid_t): Likewise.
32986         (_G_uid_t): Likewise.
32987         (_G_wchar_t): Likewise.
32988         (_G_wint_t): Likewise.
32989         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32990         (_G_ssize_t): Likewise.
32991         (_G_off_t): Likewise.
32992         (_G_pid_t): Likewise.
32993         (_G_uid_t): Likewise.
32994         (_G_wchar_t): Likewise.
32995         (_G_wint_t): Likewise.
32996
32997 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32998
32999         * malloc/arena.c: Include malloc-sysdep.h.
33000         (shrink_heap): Use check_may_shrink_heap to decide if madvise
33001         is sufficient to shrink the heap or an unmap is needed.
33002         * sysdeps/generic/malloc-sysdep.h: New file.  Define
33003         new function check_may_shrink_heap.
33004         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
33005         new function check_may_shrink_heap.
33006
33007 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33008
33009         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33010         comments.
33011
33012 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
33013
33014         * catgets/test-gencat.sh: Add "set -e".
33015         * elf/tst-pathopt.sh: Likewise.
33016         * grp/tst_fgetgrent.sh: Likewise.
33017         * iconvdata/run-iconv-test.sh: Likewise.
33018         * intl/tst-gettext.sh: Likewise.
33019         * intl/tst-gettext2.sh: Likewise.
33020         * intl/tst-gettext4.sh: Likewise.
33021         * intl/tst-gettext6.sh: Likewise.
33022         * intl/tst-translit.sh: Likewise.
33023         * io/ftwtest-sh: Likewise.
33024         * libio/test-freopen.sh: Likewise.
33025         * malloc/tst-mtrace.sh: Likewise.
33026         * posix/globtest.sh: Likewise.
33027         * posix/tst-getconf.sh: Likewise.
33028         * posix/wordexp-tst.sh: Likewise.
33029         * stdio-common/tst-printf.sh: Likewise.
33030         * stdio-common/tst-unbputc.sh: Likewise.
33031         * stdlib/tst-fmtmsg.sh: Likewise.
33032         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33033         * catgets/Makefile: Do not specify -e option when running
33034         testsuite shell scripts.
33035         * elf/Makefile: Likewise.
33036         * grp/Makefile: Likewise.
33037         * iconvdata/Makefile: Likewise.
33038         * intl/Makefile: Likewise.
33039         * io/Makefile: Likewise.
33040         * libio/Makefile: Likewise.
33041         * malloc/Makefile: Likewise.
33042         * posix/Makefile: Likewise.
33043         * stdio-common/Makefile: Likewise.
33044         * stdlib/Makefile: Likewise.
33045         * sysdeps/x86_64/Makefile: Likewise.
33046
33047         * io/ftwtest-sh: Add copyright header.
33048         * posix/globtest.sh: Likewise.
33049         * posix/tst-getconf.sh: Likewise.
33050         * posix/wordexp-tst.sh: Likewise.
33051         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33052
33053 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
33054
33055         [BZ #13679]
33056         * Makeconfig (+link): Defined as $(+link-static) if
33057         $(build-shared) isn't yes.
33058         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33059         isn't yes.
33060         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33061
33062         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33063
33064         [BZ #14562]
33065         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33066         new chunk size with MALLOC_ALIGN_MASK.
33067
33068 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
33069
33070         [BZ #5044]
33071         * stdio-common/printf_fphex.c: Include <stdbool.h> and
33072         <rounding-mode.h>.
33073         (__printf_fphex): Determine rounding using get_rounding_mode and
33074         round_away.
33075         * stdio-common/tst-printf-round.c (struct hex_test): New
33076         structure.
33077         (hex_tests): New variable.
33078         (test_hex_in_one_mode): New function.
33079         (do_test): Also run tests for hex float output.
33080
33081 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
33082
33083         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33084         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33085         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33086         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33087         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33088         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33089         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33090         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33091
33092 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
33093
33094         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33095         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33096         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33097         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33098
33099 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
33100
33101         [BZ #14579]
33102         * elf/rtld.c (dl_main): Limit the check for self loading to normal
33103         mode only.
33104         * elf/tst-rtld-load-self.sh: New test.
33105         * elf/Makefile: Run it.
33106
33107 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
33108
33109         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33110         (tst-writev-ENV): Remove.
33111         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33112
33113 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
33114
33115         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33116
33117 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
33118
33119         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33120         unconditional.
33121         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33122         Likewise.
33123         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33124         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33125         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33126         Likewise.
33127
33128 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
33129
33130         [BZ #14587]
33131         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33132         * config.make.in (have-cpp-asm-debuginfo): Removed.
33133         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33134         * configure: Regenerated.
33135
33136 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
33137
33138         [BZ #5044]
33139         * stdio-common/printf_fp.c: Include <stdbool.h> and
33140         <rounding-mode.h>.
33141         (___printf_fp): Determine rounding using get_rounding_mode and
33142         round_away.
33143         * stdio-common/tst-printf-round.c: New file.
33144         * stdio-common/Makefile (tests): Add tst-printf-round.
33145         (link-libm): New variable.
33146         ($(objpfx)tst-printf-round): Depend in $(link-libm).
33147
33148 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
33149
33150         [BZ #14576]
33151         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33152         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33153         Likewise.
33154         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33155         Likewise.
33156
33157 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
33158
33159         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33160         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33161         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33162         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33163
33164 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
33165
33166         [BZ #14518]
33167         * include/rounding-mode.h: New file.
33168         * sysdeps/generic/get-rounding-mode.h: Likewise.
33169         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33170         * stdlib/strtod_l.c: Include <rounding-mode.h>.
33171         (MAX_VALUE): New macro.
33172         (MIN_VALUE): Likewise.
33173         (overflow_value): New function.
33174         (underflow_value): Likewise.
33175         (round_and_return): Use overflow_value and underflow_value to
33176         determine return values in overflow and underflow cases.  Use
33177         round_away to determine rounding depending on rounding mode.
33178         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33179         determine return values in overflow and underflow cases.
33180         * stdlib/tst-strtod-round.c: Include <fenv.h>.
33181         (struct test_results): New structure.
33182         (struct test): Use struct test_results to store expected results
33183         for all rounding modes.
33184         (TEST): Include expected results for all rounding modes.
33185         (test_in_one_mode): New function.
33186         (do_test): Use test_in_one_mode to compute and check results.
33187         Check results for all rounding modes.
33188         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33189         $(link-libm).
33190
33191 2012-12-09  Allan McRae  <allan@archlinux.org>
33192
33193         * sysdeps/i386/fpu/libm-test-ulps: Update
33194
33195 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
33196
33197         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33198         (_G_int32_t): Likewise.
33199         (_G_uint16_t): Likewise.
33200         (_G_uint32_t): Likewise.
33201         (_G_HAVE_BOOL): Likewise.
33202         (_G_HAVE_ATEXIT): Likewise.
33203         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33204         (_G_HAVE_IO_FILE_OPEN): Likewise.
33205         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33206         (_G_int32_t): Likewise.
33207         (_G_uint16_t): Likewise.
33208         (_G_uint32_t): Likewise.
33209         (_G_HAVE_BOOL): Likewise.
33210         (_G_HAVE_ATEXIT): Likewise.
33211         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33212         (_G_HAVE_IO_FILE_OPEN): Likewise.
33213         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33214         (_G_int32_t): Likewise.
33215         (_G_uint16_t): Likewise.
33216         (_G_uint32_t): Likewise.
33217         (_G_HAVE_BOOL): Likewise.
33218         (_G_HAVE_ATEXIT): Likewise.
33219         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33220         (_G_HAVE_IO_FILE_OPEN): Likewise.
33221
33222 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
33223
33224         * csu/libc-tls.c: Update copyright years.
33225
33226 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
33227
33228         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33229         [!_G_USING_THUNKS]: Remove conditional code.
33230         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33231         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33232
33233         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33234         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33235         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33236         (_G_VTABLE_LABEL_PREFIX): Likewise.
33237         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33238         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33239         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33240         (_G_VTABLE_LABEL_PREFIX): Likewise.
33241         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33242         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33243         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33244         (_G_VTABLE_LABEL_PREFIX): Likewise.
33245         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33246
33247 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
33248
33249         * libio/Makefile: Include ../Makeconfig before tests.
33250         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33251         only if $(build-shared) is yes.
33252
33253         * iconv/gconv_db.c: Update copyright years.
33254
33255 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33256
33257         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33258         unwind info if defined PIC. Fix special cases description.
33259         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33260
33261         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33262         DP_HI_MASK entry.
33263         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33264
33265 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
33266
33267         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33268
33269         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33270         is NULL.
33271
33272         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33273         (LDLIBS-tst-chk4): This.
33274         (LDFLAGS-tst-chk5): Renamed to ...
33275         (LDLIBS-tst-chk5): This.
33276         (LDFLAGS-tst-chk6): Renamed to ...
33277         (LDLIBS-tst-chk6): This.
33278         (LDFLAGS-tst-lfschk4): Renamed to ...
33279         (LDLIBS-tst-lfschk4): This.
33280         (LDFLAGS-tst-lfschk5): Renamed to ...
33281         (LDLIBS-tst-lfschk5): This.
33282         (LDFLAGS-tst-lfschk6): Renamed to ...
33283         (LDLIBS-tst-lfschk6): This.
33284
33285         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33286         on $(common-objpfx)soversions.mk.
33287
33288 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
33289
33290         [BZ #10014]
33291         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33292         example host name.
33293
33294 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33295
33296         * malloc/arena.c (arena_get_retry): New function that gets
33297         another arena for the caller to try its request on.
33298         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33299         current arena cannot fulfill the request.
33300         (__libc_memalign): Likewise.
33301         (__libc_memalign): Likewise.
33302         (__libc_pvalloc): Likewise.
33303         (__libc_calloc): Likewise.
33304
33305 2012-09-05  John Tobey  <john.tobey@gmail.com>
33306
33307         [BZ #13542]
33308         * manual/arith.texi (Operations on Complex): Fix description
33309         of carg branch cut.
33310
33311 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33312
33313         [BZ #10014]
33314         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33315         host name.
33316
33317         [BZ #10038]
33318         * manual/memory.texi (Memory): Make order of menu items match
33319         order of sections.
33320
33321 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33322
33323         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33324         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
33325         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33326
33327 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33328
33329         * csu/libc-tls.c (static_dtv): Renamed to ...
33330         (_dl_static_dtv): This.  Make it global.
33331         (_dl_initial_dtv): Removed.
33332         (__libc_setup_tls): Updated.
33333         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33334         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33335         DL_INITIAL_DTV.
33336
33337 2012-09-06  Petr Machata  <pmachata@redhat.com>
33338
33339         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33340         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33341         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33342         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33343
33344 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33345
33346         [BZ #14545]
33347         * csu/libc-tls.c (_dl_initial_dtv): New variable.
33348         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33349         freeing dtv[-1].
33350
33351 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33352
33353         [BZ #14544]
33354         * Makeconfig (link-static-before-libc): Replace $(+prector)
33355         with $(+prectorT).
33356         (link-static-after-libc): Replace $(+postctor) with
33357         $(+postctorT).
33358         (link-bounded): Replace $(+prector)/$(+postctor) with
33359         $(+prectorT)/$(+postctorT).
33360         (+prectorT): New macro.
33361         (+postctorT): Likewise.
33362
33363 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33364
33365         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33366         (round_str): Handle values above the maximum for IBM long double
33367         as inexact.
33368         * stdlib/tst-strtod-round.c (tests): Regenerated.
33369
33370 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33371
33372         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33373         assembler flag.
33374         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33375         zarch_nohighgprs around the zarch optimized routines.
33376         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33377         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33378         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33379         for zarch.
33380
33381 2012-09-05  David S. Miller  <davem@davemloft.net>
33382
33383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33384
33385         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33386         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33387         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33388         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33389         entries.
33390
33391 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33392
33393         * malloc/arena.c: Fold copyright years.
33394         * malloc/mcheck.c, malloc/memusage.c: Likewise.
33395
33396 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33397
33398         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33399
33400 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33401
33402         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
33403
33404 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33405
33406         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33407         change internal state upon failure.
33408
33409 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33410
33411         * malloc/mcheck.c (mcheck_check_all): Fix typo.
33412         * malloc/memusage.c (mmap): Likewise.
33413         (mmap64, mremap): Likewise.  Adjust name in comment.
33414
33415 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33416
33417         * libio/fileops.c: Fix typos in comments.
33418         * libio/oldfileops.c: Likewise.
33419         * libio/wfileops.c: Likewise.
33420
33421 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33422
33423         [BZ #1349]
33424         * malloc/Makefile (tests): Add tst-malloc-usable test case.
33425         (tst-malloc-usable-ENV): Set environment for test case.
33426         * malloc/hooks.c (malloc_check_get_size): New function to get
33427         requested size.
33428         * malloc/malloc.c (musable): Use malloc_check_get_size.
33429         * malloc/tst-malloc-usable.c: New test case.
33430
33431 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33432
33433         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33434
33435 2012-09-05  Allan McRae  <allan@archlinux.org>
33436
33437         [BZ #13966]
33438         * configure.in (CXX_SYSINCLUDES): Use compiler output to
33439         determine header location.
33440         * configure: Regenerated.
33441
33442 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33443
33444         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33445         float format.
33446         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33447         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33448         format.
33449         (test): Regenerate.
33450
33451 2012-09-04  David S. Miller  <davem@davemloft.net>
33452
33453         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33454         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33455         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33456
33457 2012-09-04  Florian Weimer  <fweimer@redhat.com>
33458
33459         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33460         failures.
33461
33462         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33463
33464 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
33465
33466         [BZ #9914]
33467         * libio/iogetdelim.c: Include <limits.h>.
33468         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33469         + len + 1 would overflow.
33470
33471 2012-09-03  Andreas Jaeger  <aj@suse.de>
33472
33473         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33474         * sysdeps/i386/fpu/libm-test-ulps: Update.
33475
33476 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33477
33478         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33479         Add s_sinf-sse2, s_conf-sse2.
33480
33481         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33482         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33483         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33484         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33485
33486         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33487         for using routine as __sinf_ia32.
33488         Use macro for function declaration and weak_alias.
33489         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33490         for using routine as __cosf_ia32.
33491         Use macro for function declaration and weak_alias.
33492
33493         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33494         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33495
33496         * sysdeps/x86_64/fpu/s_sinf.S: New file.
33497         * sysdeps/x86_64/fpu/s_cosf.S: New file.
33498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33499
33500         * math/libm-test.inc (cos_test): Add more test cases.
33501         (sin_test): Likewise.
33502         (sincos_test): Likewise.
33503
33504 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33505
33506         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33507         (IFUNC_RESOLVE): Make pointers to the specialized implementations
33508         hidden.
33509         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33510
33511 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
33512
33513         [BZ #14538]
33514         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33515         first element of the GOT.
33516         (elf_machine_load_address): Return the difference between
33517         the runtime address of _DYNAMIC and elf_machine_dynamic ().
33518
33519 2012-09-01  Allan McRae  <allan@archlinux.org>
33520
33521         [BZ #13412]
33522         * configure.in (AWK): Require gawk version 3.0 or later.
33523         * configure: Regenerated.
33524
33525 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
33526
33527         * sysdeps/unix/sysv/linux/kernel-features.h
33528         (__ASSUME_POSIX_CPU_TIMERS): Remove.
33529         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33530         [__NR_clock_getres]: Make code unconditional.
33531         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33532         (clock_getcpuclockid): Remove code left unreachable by removal of
33533         conditionals.
33534         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33535         code unconditional.
33536         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33537         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33538         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33539         Make code unconditional.
33540         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33541         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33542         * sysdeps/unix/sysv/linux/clock_settime.c
33543         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33544         conditional code.
33545         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33546         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33547
33548 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
33549
33550         [BZ #14476]
33551         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33552         scripts/test-installation.pl.
33553
33554         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33555         and $ld_so_version if it is set.
33556
33557 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33558
33559         [BZ #14516]
33560         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33561         failure if reading from procfs failed.
33562         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33563
33564 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33565
33566         * sysdeps/unix/sysv/linux/kernel-features.h
33567         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33568         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33569         Remove conditional code.
33570         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33571         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33572         Remove conditional code.
33573         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33574         * sysdeps/unix/sysv/linux/i386/fxstat.c
33575         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33576         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33577         * sysdeps/unix/sysv/linux/i386/fxstatat.c
33578         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33579         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33580         * sysdeps/unix/sysv/linux/i386/lxstat.c
33581         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33582         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33583         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33584         Remove conditional code.
33585         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33586         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33587         Remove conditional code.
33588         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33589         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33590         <kernel-features.h>.
33591         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33592         Remove.
33593         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33594         Remove conditional code.
33595         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33596         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33597         Remove conditional.
33598
33599 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
33600
33601         [BZ #5400]
33602         * NEWS: Add fixed bug number.
33603
33604 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33605
33606         [BZ #14519]
33607         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33608         underflowing exponent in case of negative sign.
33609         * stdlib/tst-strtod-round-data: Add more tests.
33610         * stdlib/tst-strtod-round.c (tests): Regenerated.
33611
33612         [BZ #3479]
33613         * stdlib/strtod_l.c (NDIG): Remove.
33614         (HEXNDIG): Likewise.
33615         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33616         smallest representable value.
33617         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33618         lie within an exact representation of 1/2 ulp of the result.
33619         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33620         unconditionally.
33621         (TENS_P9_IDX): Define unconditionally.
33622         (TENS_P9_SIZE): Likewise.
33623         (TENS_P10_IDX): Likewise.
33624         (TENS_P10_SIZE): Likewise.
33625         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33626         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33627         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33628         entries for 10^2^13 and 10^2^14.
33629         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33630         (TENS_P13_IDX): Define.
33631         (TENS_P13_SIZE): Likewise.
33632         (TENS_P14_IDX): Likewise.
33633         (TENS_P14_SIZE): Likewise.
33634         (_fpioconst_pow10): Change array size to
33635         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33636         unconditional.
33637         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33638         1024]: Add entries for 10^2^13 and 10^2^14.
33639         [LAST_POW10 > _LAST_POW10]: Remove #error.
33640         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33641         (_fpioconst_pow10): Change array size to
33642         FPIOCONST_POW10_ARRAY_SIZE.
33643         * stdlib/gen-fpioconst.c: New file.
33644         * stdlib/gen-tst-strtod-round.c: Likewise.
33645         * stdlib/tst-strtod-round-data: Likewise.
33646         * stdlib/tst-strtod-round.c: Likewise.
33647         * stdlib/Makefile (tests): Add tst-strtod-round.
33648
33649         [BZ #14459]
33650         * stdlib/strtod_l.c: Include <stdint.h>.
33651         (NDEBUG): Do not define.
33652         (round_and_return): Change EXPONENT parameter to type intmax_t.
33653         Rearrange calculations to avoid internal overflow possibilities.
33654         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33655         Rearrange calculations to avoid internal overflow possibilities.
33656         Assert that number fits inside MPNSIZE limbs.
33657         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33658         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33659         calculations and add assertions to avoid internal overflow
33660         possibilities.  Add casts to avoid signed/unsigned operations.
33661         * stdlib/tst-strtod-overflow.c: New file.
33662         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33663
33664 2012-08-25  Marek Polacek  <polacek@redhat.com>
33665
33666         * time/time.h: Fix some typos in comments.
33667
33668 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33669
33670         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33671         * posix/tst-rfc3484-2.c: Likewise.
33672         * posix/tst-rfc3484-3.c: Likewise.
33673
33674 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33675
33676         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33677         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33678
33679 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33680
33681         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33682         #include of fxstatat64.c.
33683
33684 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33685
33686         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33687         * shadow/getspent_r.c: Likewise.
33688         * shadow/getspnam.c: Likewise.
33689         * shadow/getspnam_r.c: Likewise.
33690         * gshadow/getsgent.c: Likewise.
33691         * gshadow/getsgent_r.c: Likewise.
33692         * gshadow/getsgnam.c: Likewise.
33693         * gshadow/getsgnam_r.c: Likewise.
33694         * inet/getnetbyad.c: Likewise.
33695         * inet/getnetbyad_r.c: Likewise.
33696         * inet/getnetbynm.c: Likewise.
33697         * inet/getnetbynm_r.c: Likewise.
33698         * inet/getnetent.c: Likewise.
33699         * inet/getnetent_r.c: Likewise.
33700         * inet/getproto.c: Likewise.
33701         * inet/getproto_r.c: Likewise.
33702         * inet/getprtent.c: Likewise.
33703         * inet/getprtent_r.c: Likewise.
33704         * inet/getprtname.c: Likewise.
33705         * inet/getprtname_r.c: Likewise.
33706         * inet/getrpcbyname.c: Likewise.
33707         * inet/getrpcbyname_r.c: Likewise.
33708         * inet/getrpcbynumber.c: Likewise.
33709         * inet/getrpcbynumber_r.c: Likewise.
33710         * inet/getrpcent.c: Likewise.
33711         * inet/getrpcent_r.c: Likewise.
33712         * inet/getaliasent.c: Likewise.
33713         * inet/getaliasent_r.c: Likewise.
33714         * inet/getaliasname.c: Likewise.
33715         * inet/getaliasname_r.c: Likewise.
33716         * nscd/getgrgid_r.c: Likewise.
33717         * nscd/getgrnam_r.c: Likewise.
33718         * nscd/gethstbyad_r.c: Likewise.
33719         * nscd/gethstbynm3_r.c: Likewise.
33720         * nscd/getpwnam_r.c: Likewise.
33721         * nscd/getpwuid_r.c: Likewise.
33722         * nscd/getsrvbynm_r.c: Likewise.
33723         * nscd/getsrvbypt_r.c: Likewise.
33724         * nscd/gai.c: Likewise.
33725
33726         * configure.in (build_nscd): New substituted variable, set
33727         by --disable-build-nscd and defaults to $use_nscd.
33728         * configure: Regenerated.
33729         * config.make.in (build-nscd): New substituted variable.
33730         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33731         Change conditional to require [$(build-nscd) = yes] as well.
33732         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33733
33734         [BZ# 13696]
33735         * configure.in (use_nscd): New substituted variable, set by
33736         --disable-nscd.  If enabled, define USE_NSCD.
33737         * configure: Regenerated.
33738         * config.h.in: Add USE_NSCD.
33739         * config.make.in (use-nscd): New substituted variable.
33740         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33741         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33742         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33743         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33744         (CFLAGS-getgrnam_r.c): Likewise.
33745         (CFLAGS-initgroups.c): Likewise.
33746         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33747         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33748         Variables removed.
33749         * inet/getnetgrent_r.c
33750         (nscd_setnetgrent): New function, broken out of ...
33751         (setnetgrent): ... here.  Call it.
33752         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33753         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33754         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33755         * nscd/Makefile (routines, aux): Move definitions after include of
33756         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33757         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33758         Conditionalize on [USE_NSCD].
33759         (is_nscd, nscd_init_cb): Likewise.
33760         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33761         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33762         * nss/nss_db/db-init.c: Likewise.
33763         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33764         [USE_NSCD].
33765         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33766         (make_request): Use it.
33767         (cache_valid_p): New function.
33768         (__check_pf): Use it.
33769         * NEWS: Add item for --disable-nscd.
33770
33771 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33772
33773         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33774         to support sed >= 4.2.1-20-ga9bf076.
33775         * configure: Regenerated.
33776
33777 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33778
33779         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33780         Conditionalize whole body on [IREL].
33781
33782 2012-08-22  Jeff Law <law@redhat.com>
33783
33784         [BZ #14505]
33785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33786         if the family is PF_UNSPEC.
33787
33788 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33789
33790         * Makerules (lib-version): Rename from V.
33791         (install-lib-nosubdir): Change V to lib-version.
33792
33793 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33794
33795         [BZ #14252]
33796         * powerpc32/power6/wcschr.c: New file.
33797         * powerpc32/power6/wcscpy.c: New file.
33798         * powerpc32/power6/wcsrchr.c: New file.
33799         * powerpc64/power6/wcschr.c: New file.
33800         * powerpc64/power6/wcscpy.c: New file.
33801         * powerpc64/power6/wcsrchr.c: New file.
33802
33803 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33804
33805         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33806         (two_way_short_needle): Use it.
33807         * string/strstr.c (AVAILABLE1_USES_J): Define.
33808         * string/strcasestr.c: Likewise.
33809
33810         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33811         array references.
33812         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33813
33814         [BZ #11607]
33815         * NEWS: Add an entry.
33816         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33817         define their defaults.
33818         (two_way_short_needle): Detect end-of-string on-the-fly.
33819         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33820         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33821         * string/bug-strcasestr1.c: New test.
33822         * string/Makefile: Run it.
33823
33824 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33825
33826         [BZ #11607]
33827         * string/str-two-way.h (two_way_short_needle): Optimize matching of
33828         the first character.
33829
33830 2012-08-21  Roland McGrath  <roland@hack.frob.com>
33831
33832         * csu/elf-init.c (__libc_csu_irel): Function removed.
33833         * csu/libc-start.c (apply_irel): New function.
33834         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33835
33836 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
33837
33838         * sysdeps/unix/sysv/linux/kernel-features.h
33839         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33840         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33841         <kernel-features.h>.
33842         [__NR_fadvise64_64]: Make code unconditional.
33843         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33844         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33845         !__NR_fadvise64_64)]: Likewise.
33846         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33847         !__NR_fadvise64_64))]: Likewise.
33848         [__NR_fadvise64]: Make code unconditional.
33849         [!__NR_fadvise64]: Remove conditional code.
33850         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33851         <kernel-features.h>.
33852         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33853         unconditional.
33854         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33855         conditional code.
33856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33857         not include <kernel-features.h>.
33858         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33859         unconditional.
33860         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33861         conditional code.
33862         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33863         include <kernel-features.h>.
33864         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33865         unconditional.
33866         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33867         conditional code.
33868
33869 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33870
33871         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33872         slight instruction rearrangements per scrollpipe analysis.
33873         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33874
33875 2012-08-20  Roland McGrath  <roland@hack.frob.com>
33876
33877         * manual/syslog.texi (syslog; vsyslog, closelog):
33878         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33879         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33880
33881         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33882         DSOCAPS to match condition on defining it.
33883
33884 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
33885
33886         * sysdeps/unix/sysv/linux/kernel-features.h
33887         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33889         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33890         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33892         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33893         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33895         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33896         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33897
33898         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33899         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33900
33901         * sysdeps/unix/sysv/linux/kernel-features.h
33902         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33903         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33904         unconditional.
33905         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33906         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33907         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33908         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33909         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33910         Make code unconditional.
33911         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33912         (__mmap64) [!__NR_mmap2]: Likewise.
33913         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33914         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33915         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33916         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33917         [__NR_mmap2]: Make code unconditional.
33918         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33919         (__mmap64) [!__NR_mmap2]: Likewise.
33920
33921 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33922
33923         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33924
33925 2012-08-18  Andreas Jaeger  <aj@suse.de>
33926
33927         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33928
33929 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33930
33931         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33932         * include/unistd.h (__have_sock_cloexec): Likewise.
33933         (__have_pipe2): Likewise.
33934         (__have_dup3): Likewise.
33935
33936 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33937
33938         [BZ #9685]
33939         * include/unistd.h (__have_pipe2): Change define into an extern int.
33940         (__have_dup3): Likewise.
33941         * socket/have_sock_cloexec.c: Include fcntl.h.
33942         (__have_pipe2): New variable.
33943         (__have_dup3): Likewise.
33944
33945 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
33946
33947         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33948
33949 2012-08-17  Marek Polacek  <polacek@redhat.com>
33950
33951         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33952         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33953
33954 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33955
33956         * configure.in: Add AC_SUBST for sysheaders.
33957         * configure: Regenerated.
33958         * config.make.in (sysheaders): New substituted variable.
33959
33960         * sysdeps/unix/mkfifo.c: Moved ...
33961         * sysdeps/posix/mkfifo.c: ... here.
33962         * sysdeps/unix/mkfifoat.c: Moved ...
33963         * sysdeps/posix/mkfifoat.c: ... here.
33964
33965         * sysdeps/unix/utime.c: Moved ...
33966         * sysdeps/posix/utime.c: ... here.
33967
33968         * sysdeps/unix/time.c: Moved ...
33969         * sysdeps/posix/time.c: ... here.
33970         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33971         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33972
33973         * sysdeps/unix/nice.c: Moved ...
33974         * sysdeps/posix/nice.c: ... here.
33975
33976         * sysdeps/unix/alarm.c: Moved ...
33977         * sysdeps/posix/alarm.c: ... here.
33978
33979         * intl/Makefile ($(codeset_mo)): Depend on the input file.
33980
33981 2012-08-17  Jeff Law <law@redhat.com>
33982
33983         * intl/Makefile (codeset_mo): New variable.
33984         ($(codeset_mo)): New target.
33985         (tst-codeset.out): Depend on that.  Remove explicit rule.
33986         (tst-gettext3.out, tst-gettext5.out): Likewise.
33987         (LOCPATH-ENV, tst-codeset-ENV): New variables.
33988         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33989         * intl/tst-codeset.sh: Remove.
33990         * intl/tst-gettext3.sh: Likewise.
33991         * intl/tst-gettext5.sh: Likewise.
33992
33993 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33994
33995         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
33996         * sysdeps/unix/syscalls.list: ... here.
33997
33998         * sysdeps/posix/getaddrinfo.c
33999         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34000         (gaiconf_init, gaiconf_reload): Use them.
34001         [!_STATBUF_ST_NSEC]
34002         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34003         Define using time_t rather than struct timespec.
34004
34005         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34006         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34007         Macros removed.
34008         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34009         [!NO_THREADS].
34010         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34011         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34012         Likewise.
34013
34014         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34015         __libc_cleanup_push argument.
34016
34017         * bits/param.h: New file.
34018         * misc/sys/param.h: New file.
34019         * include/sys/param.h: New file.
34020         * misc/Makefile (headers): Add bits/param.h.
34021         * sysdeps/generic/sys/param.h: File removed.
34022         * sysdeps/unix/sysv/linux/bits/param.h: New file.
34023         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34024         * sysdeps/mach/hurd/bits/param.h: New file.
34025         * sysdeps/mach/hurd/sys/param.h: File removed.
34026
34027         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34028         last change.
34029
34030         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34031         [_IO_MTSAFE_IO].
34032         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34033         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34034         New macros.
34035
34036         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34037         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34038         rather than -D_IO_MTSAFE_IO conditionally.
34039         * stdio-common/Makefile (CPPFLAGS): Likewise.
34040         * wcsmbs/Makefile (CPPFLAGS): Likewise.
34041         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34042         Use $(libio-mtsafe).
34043         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34044         of -D_IO_MTSAFE_IO.
34045         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34046         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34047         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34048         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34049         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34050         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34051         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34052         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34053         (CFLAGS-fread_u_chk.c): Likewise.
34054         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34055         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34056         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34057         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34058         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34059         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34060         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34061         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34062         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34063
34064         * libio/Makefile: Test [$(libc-reentrant) = yes]
34065         instead of [$(filter %REENTRANT, $(defines)) nonempty].
34066
34067         * Makeconfig
34068         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34069         * sysdeps/pthread/configure: File removed.
34070         * sysdeps/pthread/Makeconfig: New file.
34071         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34072         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34073
34074 2012-08-16  Gary Benson  <gbenson@redhat.com>
34075
34076         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34077         unmapping the first object in a namespace.
34078
34079 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34080
34081         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34082         (__internal_setnetgrent): ... this.  Add internal_function to
34083         definition.  Add libc_hidden_def.
34084         (setnetgrent): Update caller.
34085         (internal_endnetgrent): Renamed to ...
34086         (__internal_endnetgrent): ... this.  Add internal_function to
34087         definition.  Add libc_hidden_def.
34088         (endnetgrent): Update caller.
34089         (internal_getnetgrent_r): Renamed to ...
34090         (__internal_getnetgrent_r): ... this.  Add internal_function to
34091         definition.  Add libc_hidden_def.
34092         (__getnetgrent_r): Update caller.
34093         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
34094
34095 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34096
34097         * stdlib/longlong.h: Update from GCC.
34098
34099 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34100
34101         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34102         on _QL, which is set by umul_ppmm but never used.
34103         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34104         variables, which are set by GMP macros but never used.
34105         * stdio-common/_itowa.c (_itowa): Likewise.
34106         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34107         * stdlib/mod_1.c (mpn_mod_1): Likewise.
34108
34109 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
34110
34111         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34112         struct La_sh_regs is not constant.
34113         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34114         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34115         and struct La_sparc64_regs are not constant.
34116
34117 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34118
34119         * sysdeps/unix/sysv/linux/kernel-features.h
34120         (__ASSUME_POSIX_TIMERS): Remove.
34121         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34122         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34123         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34124         Make code unconditional.
34125         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34126         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34127         Make code unconditional.
34128         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34129         * sysdeps/unix/sysv/linux/clock_nanosleep.c
34130         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34131         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34132         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34133         Make code unconditional.
34134         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34135         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34136         (__libc_missing_posix_timers): Remove.
34137
34138 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34139
34140         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34141         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34142
34143         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34144
34145         * elf/dl-sym.c: Include <stdlib.h>.
34146
34147         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34148         constants, which avoids warnings in 32-bit builds.
34149
34150         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34151         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34152
34153         * misc/lseek.c: File moved to ...
34154         * io/lseek.c: ... here.
34155
34156         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34157
34158         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34159         shifting LEN more than 31 bits at once.
34160
34161 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34162
34163         [BZ #14195]
34164         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34165         segmentation fault for a case of two empty input strings.
34166         * string/test-strncasecmp.c (check1): Renamed to...
34167         (bz12205): ...this.
34168         (bz14195): Add new testcase for two empty input strings and N > 0.
34169         (test_main): Call new testcase, adapt for renamed function.
34170
34171 2012-08-15  Andreas Jaeger  <aj@suse.de>
34172
34173         [BZ #14090]
34174         * crypt/md5test2.c: New test, based on test supplied by Serge
34175         Belyshev <belyshev@depni.sinp.msu.ru>.
34176         * crypt/Makefile (xtests): Add md5test-giant..
34177         * crypt/Makefile ($(objpfx)md5test-giant): Add.
34178
34179 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
34180
34181         [BZ #14090]
34182         * crypt/md5.c (md5_process_block): Don't assume the buffer
34183         length is less than 2**32.
34184         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34185         length is less than 2**64.
34186
34187 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34188
34189         * string/str-two-way.h: Include <sys/param.h>.
34190         (MAX): Macro removed.
34191
34192         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34193         Move #define and #undef of memmove to just before and after
34194         including <string.h>.
34195
34196         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34197         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34198         and after including <string.h>.  Move declarations of
34199         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34200         to before #include "string/memmove.c".
34201
34202         * include/dirent.h: Declare __getdirentries.
34203
34204         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34205         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34206
34207 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
34208
34209         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34210         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34211         * sysdeps/i386/configure: Regenerated.
34212         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34213         STABS_CURRENT_FILE, and STABS_FUN.
34214         (END): Remove call to STABS_FUN_END.
34215         (STABS_CURRENT_FILE1): Delete.
34216         (STABS_CURRENT_FILE): Likewise.
34217         (STABS_FUN): Likewise.
34218         (STABS_FUN_END): Likewise.
34219         (STABS_FUN2): Likewise.
34220         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34221         * sysdeps/x86_64/configure: Regenerated.
34222
34223 2012-08-14  Roland McGrath  <roland@hack.frob.com>
34224
34225         * elf/dl-open.c: Include <atomic.h>.
34226         * elf/dl-lookup.c: Likewise.
34227
34228 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
34229
34230         * sysdeps/unix/sysv/linux/kernel-features.h
34231         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34232         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34233         unconditionally.
34234         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34235         unconditionally.
34236         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34237         condition on __ASSUME_CLONE_THREAD_FLAGS.
34238
34239 2012-08-14  Andreas Jaeger  <aj@suse.de>
34240
34241         * sysdeps/i386/fpu/libm-test-ulps: Update.
34242
34243 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
34244
34245         * include/atomic.h (atomic_exchange_and_add): Split into ...
34246         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34247         New atomic macros.
34248
34249 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
34250
34251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34252
34253 2012-08-13  Jeff Law <law@redhat.com>
34254
34255         * manual/stdio.texi (snprintf): Clarify handling of the trailing
34256         null byte in the output string.
34257
34258 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
34259
34260         * sysdeps/unix/sysv/linux/kernel-features.h
34261         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34262         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34263         (__ASSUME_ARG_MAX_STACK_BASED): Define.
34264         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34265         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34266         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
34267         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34268
34269 2012-08-09  Jeff Law <law@redhat.com>
34270
34271         [BZ #13939]
34272         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34273         When avoid_arena is set, don't retry in the that arena.  Pick the
34274         next one, whatever it might be.
34275         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34276         (arena_lock): Pass in new parameter to arena_get2.
34277         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34278         arena_get2.
34279         (__libc_malloc): Unify retrying after main arena failure with
34280         __libc_memalign version.
34281         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34282
34283 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
34284
34285         [BZ #14166]
34286         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34287         to __redirect_strstr.
34288         (__strstr_sse42): Use typeof __redirect_strstr.
34289         (__strstr_ia32): Likewise.
34290         (__libc_strstr): New prototype.
34291         (strstr): Renamed to ...
34292         (__libc_strstr): This.
34293         (strstr): New strong alias of __libc_strstr.
34294         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34295         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34296         __redirect_time.
34297         Include <time.h>.
34298         (__libc_time): New prototype.
34299         (time_ifunc): Replace time with __libc_time.
34300         (time): New strong alias and hidden definition of __libc_time.
34301         (__GI_time): Remove strong alias.
34302         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34303         Include <stddef.h>.
34304         (memmove): Redefined to __redirect_memmove.
34305         (__memmove_sse2): Use typeof __redirect_memmove.
34306         (__memmove_ssse3): Likewise.
34307         (__memmove_ssse3_back): Likewise.
34308         (__libc_memmove): New prototype.
34309         (memmove): Renamed to ...
34310         (__libc_memmove): This.
34311         (memmove): New strong alias of __libc_memmove.
34312
34313 2012-08-08  Mark Salter  <msalter@redhat.com>
34314
34315         * elf/elf.h
34316         (R_MN10300_TLS_GD): Define.
34317         (R_MN10300_TLS_LD): Likewise.
34318         (R_MN10300_TLS_LDO): Likewise.
34319         (R_MN10300_TLS_GOTIE): Likewise.
34320         (R_MN10300_TLS_IE): Likewise.
34321         (R_MN10300_TLS_LE): Likewise.
34322         (R_MN10300_TLS_DTPMOD): Likewise.
34323         (R_MN10300_TLS_DTPOFF): Likewise.
34324         (R_MN10300_TLS_TPOFF): Likewise.
34325         (R_MN10300_SYM_DIFF): Likewise.
34326         (R_MN10300_ALIGN): Likewise.
34327         (R_MN10300_NUM): Update.
34328
34329 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
34330
34331         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34332         Remove.
34333
34334 2012-08-08  Roland McGrath  <roland@hack.frob.com>
34335
34336         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34337
34338         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34339         sysdeps/unix -> sysdeps/posix move.
34340         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34341
34342 2012-08-07      Allan McRae     <allan@archlinux.org>
34343
34344         [BZ #14303]
34345         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34346         (SUNOS_CPP): Likewise.
34347         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34348         not found.
34349         (open_input): Call CPP using execvp.
34350
34351 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34352
34353         * sysdeps/unix/sysv/linux/kernel-features.h
34354         (__ASSUME_PROT_GROWSUPDOWN): Remove.
34355         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34356         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34357         (__ASSUME_WAITID_SYSCALL): Likewise.
34358         * sysdeps/unix/sysv/linux/dl-execstack.c
34359         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34360         code unconditional.
34361         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34362         conditional code.
34363         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34364         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34365         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34366         code.
34367         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34368         unconditional.
34369         [__ASSUME_WAITID_SYSCALL]: Likewise.
34370         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34371
34372 2012-08-07  Roland McGrath  <roland@hack.frob.com>
34373
34374         * sysdeps/unix/closedir.c: Renamed to ...
34375         * sysdeps/posix/closedir.c: ... here.
34376         * sysdeps/unix/dirfd.c: Renamed to ...
34377         * sysdeps/posix/dirfd.c: ... here.
34378         * sysdeps/unix/dirstream.h: Renamed to ...
34379         * sysdeps/posix/dirstream.h: ... here.
34380         * sysdeps/unix/fdopendir.c: Renamed to ...
34381         * sysdeps/posix/fdopendir.c: ... here.
34382         * sysdeps/unix/opendir.c: Renamed to ...
34383         * sysdeps/posix/opendir.c: ... here.
34384         * sysdeps/unix/readdir.c: Renamed to ...
34385         * sysdeps/posix/readdir.c: ... here.
34386         * sysdeps/unix/readdir_r.c: Renamed to ...
34387         * sysdeps/posix/readdir_r.c: ... here.
34388         * sysdeps/unix/rewinddir.c: Renamed to ...
34389         * sysdeps/posix/rewinddir.c: ... here.
34390         * sysdeps/unix/seekdir.c: Renamed to ...
34391         * sysdeps/posix/seekdir.c: ... here.
34392         * sysdeps/unix/telldir.c: Renamed to ...
34393         * sysdeps/posix/telldir.c: ... here.
34394         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34395         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34396         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34397         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34398
34399         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34400         * bits/fcntl.h: ... here.
34401
34402         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34403         not 0.
34404         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34405         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34406         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34407         (struct flock): Move l_start, l_len to the beginning.
34408         Use __pid_t for l_pid.
34409         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34410         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34411         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34412         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34413         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34414         [__USE_LARGEFILE64] (struct flock64): New type.
34415         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34416
34417         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34418         * bits/dirent.h: ... here.
34419
34420         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34421         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34422
34423 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34424
34425         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34426         Change from 2.6.0 to 2.6.16.
34427         * sysdeps/unix/sysv/linux/configure: Regenerated.
34428         * sysdeps/unix/sysv/linux/kernel-features.h
34429         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34430         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34431         version.
34432         (__ASSUME_UTIMES): Likewise.
34433         (__ASSUME_CLONE_STOPPED): Remove.
34434         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34435         architectures, not kernel version.
34436         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34437         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34438         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34439         (__ASSUME_WAITID_SYSCALL): Likewise.
34440         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34441         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34442         * README: State 2.6.16 as minimum Linux kernel version.  Do not
34443         refer to older versions.
34444
34445 2012-08-06  Roland McGrath  <roland@hack.frob.com>
34446
34447         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34448         Define alphasort64 as an alias.
34449         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34450         Define versionsort64 as an alias.
34451         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34452         Define scandir64 as an alias.
34453         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34454         Define scandirat64 as an alias.
34455         * dirent/alphasort64.c (alphasort64):
34456         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34457         * dirent/versionsort64.c: Likewise.
34458         * dirent/scandir64.c: Likewise.
34459         * dirent/scandirat64.c: Likewise.
34460         * sysdeps/wordsize-64/alphasort.c: File removed.
34461         * sysdeps/wordsize-64/alphasort64.c: File removed.
34462         * sysdeps/wordsize-64/scandir.c: File removed.
34463         * sysdeps/wordsize-64/scandir64.c: File removed.
34464         * sysdeps/wordsize-64/scandirat.c: File removed.
34465         * sysdeps/wordsize-64/scandirat64.c: File removed.
34466         * sysdeps/wordsize-64/versionsort.c: File removed.
34467         * sysdeps/wordsize-64/versionsort64.c: File removed.
34468         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34469         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34470         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34471         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34472         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34473         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34474         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34475         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34476
34477         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34478         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34479         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34480         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34481         [defined __arch64__ || defined __sparcv9]
34482         (__INO_T_MATCHES_INO64_T): New macro.
34483         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34484         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34485         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34486         * sysdeps/unix/sysv/linux/bits/dirent.h
34487         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34488         (_DIRENT_MATCHES_DIRENT64): New macro.
34489
34490         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34491         Define lockf64 as an alias.
34492         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34493         Define fseeko64 as an alias.
34494         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34495         Define ftello64 as an alias.
34496         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34497         Define _IO_fgetpos64 and fgetpos64 as aliases.
34498         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34499         Define _IO_fsetpos64 and fsetpos64 as aliases.
34500         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34501         Conditionalize body on this.
34502         * libio/fseeko64.c: Likewise.
34503         * libio/ftello64.c: Likewise.
34504         * libio/iofgetpos64.c: Likewise.
34505         * libio/iofsetpos64.c: Likewise.
34506         * sysdeps/wordsize-64/lockf.c: File removed.
34507         * sysdeps/wordsize-64/lockf64.c: File removed.
34508         * sysdeps/wordsize-64/fseeko.c: File removed.
34509         * sysdeps/wordsize-64/fseeko64.c: File removed.
34510         * sysdeps/wordsize-64/ftello.c: File removed.
34511         * sysdeps/wordsize-64/ftello64.c: File removed.
34512         * sysdeps/wordsize-64/iofgetpos.c: File removed.
34513         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34514         * sysdeps/wordsize-64/iofsetpos.c: File removed.
34515         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34516         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34517         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34518         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34519         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34520         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34521         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34522         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34523         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34524         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34525         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34526
34527         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34528         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34529         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34530         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34531         [defined __arch64__ || defined __sparcv9]
34532         (__OFF_T_MATCHES_OFF64_T): New macro.
34533         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34534         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34535         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34536         (__OFF_T_MATCHES_OFF64_T): New macro.
34537
34538 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34539
34540         * stdlib/secure-getenv.c (__secure_getenv): Replace
34541         GLIBC_2_16 with GLIBC_2_17.
34542
34543 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34544
34545         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34546         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34547
34548 2012-08-03  David S. Miller  <davem@davemloft.net>
34549
34550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34551
34552 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34553
34554         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34555         Remove.
34556         (__ASSUME_CORRECT_SI_PID): Likewise.
34557         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34558         (__ASSUME_TMPFS_NAME): Likewise.
34559         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34560         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34561         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34562         (HAVE_AUX_SECURE): Make definition unconditional.
34563         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34564         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34565
34566 2012-08-03  Roland McGrath  <roland@hack.frob.com>
34567
34568         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34569         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34570         * sysdeps/mach/hurd/eloop-threshold.h: New file.
34571         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34572         __eloop_threshold instead of SYMLOOP_MAX.
34573
34574         * sysdeps/generic/eloop-threshold.h: New file.
34575         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34576         of MAXSYMLINKS.
34577         * elf/chroot_canon.c (chroot_canon): Likewise.
34578
34579 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34580
34581         [BZ #13717]
34582         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34583         Change to 2.6.0 everywhere.
34584         * sysdeps/unix/sysv/linux/configure: Regenerated.
34585         * sysdeps/unix/sysv/linux/kernel-features.h
34586         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34587         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34588         kernel versions.
34589         (__ASSUME_POSIX_TIMERS): Define unconditionally.
34590         (__ASSUME_FUTEX_REQUEUE): Remove.
34591         (__ASSUME_STATFS64): Define unconditionally.
34592         (__ASSUME_AT_SECURE): Likewise.
34593         (__ASSUME_CORRECT_SI_PID): Likewise.
34594         (__ASSUME_TGKILL): Define without depending on kernel version for
34595         i386.
34596         (__ASSUME_UTIMES): Likewise.
34597         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34598         kernel version.
34599         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34600         (__ASSUME_TMPFS_NAME): Likewise.
34601         * README: Update reference to Linux kernel versions.
34602
34603 2012-08-02  Marek Polacek  <polacek@redhat.com>
34604
34605         [BZ# 14150]
34606         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
34607         libc_cv_asm_type_prefix with %.
34608         * configure: Regenerated.
34609         * include/libc-symbols.h: Remove comment about
34610         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34611         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34612         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34613         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34614         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34615         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34616         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34617         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34618         * elf/tst-unique2mod1.c: Likewise.
34619         * elf/tst-unique1mod2.c: Likewise.
34620         * elf/tst-unique1mod1.c: Likewise.
34621         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34622         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34623         Replace ASM_TYPE_DIRECTIVE with .type.
34624         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34625         * sysdeps/i386/sysdep.h: Likewise.
34626         * sysdeps/x86_64/sysdep.h: Likewise.
34627         * sysdeps/sh/sysdep.h: Likewise.
34628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34629         Do not define ASM_TYPE_DIRECTIVE.
34630         * sysdeps/powerpc/sysdep.h: Likewise.
34631         * sysdeps/powerpc/powerpc32/sysdep.h:
34632         Replace ASM_TYPE_DIRECTIVE with .type.
34633         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34634         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34635         * sysdeps/i386/fpu/e_powf.S: Likewise.
34636         * sysdeps/i386/fpu/e_expl.S: Likewise.
34637         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34638         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34639         * sysdeps/i386/fpu/e_pow.S: Likewise.
34640         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34641         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34642         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34643         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34644         * sysdeps/i386/fpu/e_log2.S: Likewise.
34645         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34646         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34647         * sysdeps/i386/fpu/e_powl.S: Likewise.
34648         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34649         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34650         * sysdeps/i386/fpu/e_logl.S: Likewise.
34651         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34652         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34653         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34654         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34655         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34656         * sysdeps/i386/fpu/e_log.S: Likewise.
34657         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34658         * sysdeps/i386/fpu/e_logf.S: Likewise.
34659         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34660         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34661         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34662         * sysdeps/i386/fpu/e_log10.S: Likewise.
34663         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34664         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34665         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34666         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34667         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34668         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34669         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34670         * sysdeps/i386/i686/strtok.S: Likewise.
34671         * sysdeps/i386/i386-mcount.S: Likewise.
34672         * sysdeps/i386/strtok.S: Likewise.
34673         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34674         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34675         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34676         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34677         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34678         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34679         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34680         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34681         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34682         * sysdeps/x86_64/_mcount.S: Likewise.
34683         * sysdeps/x86_64/strtok.S: Likewise.
34684         * sysdeps/sh/_mcount.S: Likewise.
34685
34686 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34687
34688         * libio/iofopen.c: Include <fcntl.h>.
34689         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34690         (_IO_fopen64, fopen64): Define as aliases.
34691         * libio/iofopen64.c: Include <fcntl.h>.
34692         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34693         Conditionalize body on this.
34694         * sysdeps/wordsize-64/iofopen.c: File removed.
34695         * sysdeps/wordsize-64/iofopen64.c: File removed.
34696
34697 2012-08-01  Marek Polacek  <polacek@redhat.com>
34698
34699         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34700         Use dlfcn directly instead of a variable.
34701         (binfmt-subdir): Do not define.
34702         (dlfcn): Likewise.
34703
34704 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34705
34706         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34707         Remove all definitions.
34708         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34709         <kernel-features.h>.
34710         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34711         (miss_F_GETOWN_EX): Remove all definitions.
34712         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34713         macro definition.
34714         [!__ASSUME_FCNTL64]: Remove conditional code.
34715         [__ASSUME_FCNTL64]: Make code unconditional.
34716         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34717         <kernel-features.h>.
34718         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34719         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34720         (lockf64) [__NR_fcntl64]: Make code unconditional.
34721         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34722
34723         * sysdeps/unix/sysv/linux/kernel-features.h
34724         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34725         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34726         Make code unconditional.
34727         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34728         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34730         [__NR_vfork]: Make code unconditional.
34731         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34732         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34734         [__NR_vfork]: Make code unconditional.
34735         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34736         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34737
34738 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34739
34740         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34741         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34742
34743         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34744         Define mkstemp64 as an alias.
34745         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34746         Define mkstemps64 as an alias.
34747         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34748         Define mkostemp64 as an alias.
34749         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34750         Define mkostemps64 as an alias.
34751         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34752         Conditionalize body on this.
34753         * misc/mkostemp64.c: Likewise.
34754         * misc/mkostemps64.c: Likewise.
34755         * misc/mkstemps64.c: Likewise.
34756         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34757         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34758         * sysdeps/wordsize-64/mkostemp.c: File removed.
34759         * sysdeps/wordsize-64/mkstemp.c: File removed.
34760         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34761         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34762         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34763         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34764
34765         [BZ #14138]
34766         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34767         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34768         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34769         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34770
34771         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34772         compat_symbol macros from <shlib-compat.h> rather than the underlying
34773         default_symbol_version and symbol_version macros, so that DEFAULT
34774         lines in shlib-versions are respected.
34775         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34776
34777 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34778
34779         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34780         Declare with warn_unused_result.
34781         (setgid, setregid, setegid, setresgid): Likewise.
34782         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34783         Likewise.
34784         * WUR-REPORT: Remove set*id functions.
34785
34786 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34787
34788         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34789
34790 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34791
34792         [BZ #10191]
34793         * include/sys/socket.h (__libc_accept, __libc_accept4):
34794         Add attribute_hidden.
34795         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34796
34797         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34798         use of PTR_MANGLE.
34799         * inet/getnetgrent_r.c (setup): Likewise.
34800
34801         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34802
34803 2012-07-31  David S. Miller  <davem@davemloft.net>
34804
34805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34806
34807 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34808
34809         [BZ #13629]
34810         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34811         value between 1.0 and 2.0 and smaller part has absolute value less
34812         than 1.0.
34813         * math/s_clog10.c (__clog10): Likewise.
34814         * math/s_clog10f.c (__clog10f): Likewise.
34815         * math/s_clog10l.c (__clog10l): Likewise.
34816         * math/s_clogf.c (__clogf): Likewise.
34817         * math/s_clogl.c (__clogl): Likewise.
34818         * math/libm-test.inc (clog_test): Add more tests.
34819         (clog10_test): Likewise.
34820         * sysdeps/i386/fpu/libm-test-ulps: Update.
34821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34822
34823 2012-07-31  Florian Weimer  <fweimer@redhat.com>
34824
34825         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34826         Exit with zero in case no suitable GID is found, and write a
34827         message to standard error.
34828
34829 2012-07-30  Roland McGrath  <roland@hack.frob.com>
34830
34831         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34832         rather than to 1.
34833         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34834         (MAXPATHLEN): Removed.
34835         (NOGROUP, NODEV): New macros.
34836         (setbit, clrbit, isset, isclr): New macros.
34837         (howmany, roundup, powerof2): New macros.
34838         (DEV_BSIZE): New macro.
34839
34840         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34841         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34842
34843         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34844         definition on [!__NO_LONG_DOUBLE_MATH].
34845
34846         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34847         PTR_MANGLE and PTR_DEMANGLE.
34848
34849         * socket/accept4.c (accept4): Rename to __libc_accept4.
34850         Define accept4 as a weak alias.
34851
34852         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34853         on [_DIRENT_HAVE_D_TYPE].
34854         * io/ftw.c (ftw_dir): Likewise.
34855
34856         * io/xmknod.c (__xmknod): Don't check PATH for being null.
34857
34858         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34859
34860         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34861         Use the BSD numbers rather than the arbitrary ones we had.
34862         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34863         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34864         (SIGXCPU, SIGXFSZ): New macros.
34865         (_NSIG): Now 32.
34866
34867         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34868         initializer on [_LIBC_REENTRANT].
34869
34870         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34871         definitions inside [_POSIX_MAPPED_FILES].
34872
34873         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34874
34875         * dirent/opendir.c: Include <fcntl.h>.
34876
34877         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34878         (__libc_getspecific): Likewise.
34879         (__libc_key_create): Likewise.
34880
34881         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34882         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34883         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34884         (tmpfile64): Define as alias.
34885         * sysdeps/wordsize-64/tmpfile.c: File removed.
34886         * sysdeps/wordsize-64/tmpfile64.c: File removed.
34887         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34888         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34889
34890         * stdio-common/vfscanf.c: Include <stdbool.h>.
34891         * nss/makedb.c: Likewise.
34892         * stdio-common/_i18n_number.h: Likewise.
34893         * argp/argp-help.c: Likewise.
34894         * posix/wordexp.c: Likewise.
34895         * sysdeps/posix/spawni.c: Likewise.
34896         * nss/nss_files/files-initgroups.c: Likewise.
34897         * stdio-common/reg-modifier.c: Include <stdlib.h>.
34898         * nss/nss_files/files-initgroups.c: Likewise.
34899         * nss/nss_db/db-netgrp.c: Likewise.
34900         * nss/nss_db/db-initgroups.c: Likewise.
34901         * io/fchmodat.c: Include <sys/stat.h>.
34902
34903         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34904         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34905
34906         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34907         [HAVE_MMAP].
34908
34909         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34910         Add multiple inclusion protection.
34911
34912 2012-07-27  David S. Miller  <davem@davemloft.net>
34913
34914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34915
34916 2012-07-27  Gary Benson  <gbenson@redhat.com>
34917
34918         [BZ #14298]
34919         * elf/rtld.c: Include <stap-probe.h>.
34920         (dl_main): Added static probes "init_start" and "init_complete".
34921         * elf/dl-load.c: Include <stap-probe.h>.
34922         (lose): Take new parameter "nsid".
34923         Added static probe "map_failed".
34924         (_dl_map_object_from_fd): Pass namespace id to lose.
34925         Added static probe "map_start".
34926         (open_verify): Pass namespace id to lose.
34927         * elf/dl-open.c: Include <stap-probe.h>.
34928         (dl_open_worker) Added static probes "map_complete", "reloc_start"
34929         and "reloc_complete".
34930         * elf/dl-close.c: Include <stap-probe.h>.
34931         (_dl_close_worker): Added static probes "unmap_start" and
34932         "unmap_complete".
34933         * elf/rtld-debugger-interface.txt: New file documenting the above.
34934
34935 2012-07-26  Roland McGrath  <roland@hack.frob.com>
34936
34937         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34938         rather than a string variable.
34939         * sunrpc/rpc_main.c (h_output): Likewise.
34940         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34941
34942 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
34943
34944         * inet/check_native.c: New file.
34945
34946 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
34947
34948         [BZ #13629]
34949         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34950         if larger part has absolute value 1.0.
34951         * math/s_clog10.c (__clog10): Likewise.
34952         * math/s_clog10f.c (__clog10f): Likewise.
34953         * math/s_clog10l.c (__clog10l): Likewise.
34954         * math/s_clogf.c (__clogf): Likewise.
34955         * math/s_clogl.c (__clogl): Likewise.
34956         * math/libm-test.inc (clog_test): Add more tests.
34957         (clog10_test): Likewise.
34958         * sysdeps/i386/fpu/libm-test-ulps: Update.
34959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34960
34961         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34962         (pltexit): Likewise.
34963         (La_regs): Likewise.
34964         (La_retval): Likewise.
34965         (int_retval): Likewise.
34966         Update #error for removed macros to refer only to definitions in
34967         tst-audit.h.
34968         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34969         macro.
34970         (pltexit): Likewise.
34971         (La_regs): Likewise.
34972         (La_retval): Likewise.
34973         (int_retval): Likewise.
34974         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34975         macro.
34976         (pltexit): Likewise.
34977         (La_regs): Likewise.
34978         (La_retval): Likewise.
34979         (int_retval): Likewise.
34980         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34981         macro.
34982         (pltexit): Likewise.
34983         (La_regs): Likewise.
34984         (La_retval): Likewise.
34985         (int_retval): Likewise.
34986         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34987         macro.
34988         (pltexit): Likewise.
34989         (La_regs): Likewise.
34990         (La_retval): Likewise.
34991         (int_retval): Likewise.
34992         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34993         macro.
34994         (pltexit): Likewise.
34995         (La_regs): Likewise.
34996         (La_retval): Likewise.
34997         (int_retval): Likewise.
34998         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34999         macro.
35000         (pltexit): Likewise.
35001         (La_regs): Likewise.
35002         (La_retval): Likewise.
35003         (int_retval): Likewise.
35004         * sysdeps/generic/tst-audit.h: Update comment to refer only to
35005         macro definitions in tst-audit.h.
35006         * sysdeps/i386/tst-audit.h: New file.
35007         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35008         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35009         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35010         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35011         * sysdeps/sh/tst-audit.h: Likewise.
35012         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35013         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35014         * sysdeps/x86_64/tst-audit.h: Likewise.
35015
35016 2012-07-26  Andreas Jaeger  <aj@suse.de>
35017
35018         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35019         ptrace.
35020
35021         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35022         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35023         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35024         PTRACE_O_MASK.
35025         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35026         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35027         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35028
35029         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35030         value.
35031
35032         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35033         _sigsys.
35034         (si_call_addr, si_syscall, si_arch): Define new macro.
35035         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35036         _sigsys.
35037         (si_call_addr, si_syscall, si_arch): Define new marcro.
35038         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35039         _sigsys.
35040         (si_call_addr, si_syscall, si_arch): Define new macro.
35041         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35042         _sigsys.
35043         (si_call_addr, si_syscall, si_arch): Define new macro.
35044
35045 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35046
35047         [BZ #13717]
35048         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35049         Change to 2.4.21 where previously 2.4.1.
35050         * sysdeps/unix/sysv/linux/configure: Regenerated.
35051         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35052         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35053         Linux kernel version.
35054         (__ASSUME_STD_AUXV): Remove.
35055         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35056         kernel version.
35057         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35058         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35059         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35060         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35061         (__ASSUME_NETLINK_SUPPORT): Likewise.
35062         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35063         (__no_netlink_support): Remove conditional definition.
35064         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35065         Remove.
35066         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35067         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35068         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35069         (if_nameindex_ioctl): Remove.
35070         (if_nameindex_netlink): Do not handle __no_netlink_support.
35071         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35072         code.
35073         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35074         Remove conditional code.
35075         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35076         code.
35077         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35078         unconditional.
35079         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35080         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35081         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35082         Remove.
35083         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35084         [!__ASSUME_STD_AUXV]: Remove conditional code.
35085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35086         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35087         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35089         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35090         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35091         code.
35092         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35094         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35095         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35096         conditional code.
35097         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35099         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35100         code.
35101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35102         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35103         conditional code.
35104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35105         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35106         code unconditional.
35107         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35108         conditional code.
35109         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35110         unconditional.
35111         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35112         conditional code.
35113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35114         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35115         unconditional.
35116         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35117         conditional code.
35118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35119         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35120         code unconditional.
35121         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35122         conditional code.
35123         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35124         unconditional.
35125         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35126         conditional code.
35127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35128         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35129         code unconditional.
35130         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35131         conditional code.
35132         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35133         unconditional.
35134         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35135         conditional code.
35136
35137 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
35138
35139         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35140         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35141         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35142         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35143         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35144         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35145         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35146         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35147         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35148         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35149         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35150         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35151         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35152         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35153         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35154         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35155         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35156         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35157         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35158         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35159         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35160         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35161         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35162
35163 2012-07-25  Florian Weimer  <fweimer@redhat.com>
35164
35165         * Versions.def: Add GLIBC_2.17.
35166         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35167         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35168         Introduce __libc_secure_getenv.
35169         * stdlib/Versions (2.17): Add secure_getenv
35170         (GLIBC_PRIVATE): Add __libc_secure_getenv.
35171         * stdlib/secure-getenv.c: Rename __secure_getenv to
35172         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
35173         symbol __secure_getenv for GLIBC_2.0.
35174         * stdlib/tst-secure-getenv.c: New.
35175         * stdlib/Makefile (tests): Add testcase.
35176         * manual/startup.texi (Environment Access): Document
35177         secure_getenv.
35178         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35179         __libc_secure_getenv.
35180         * inet/ruserpass.c (ruserpass): Likewise.
35181         * malloc/mtrace.c (mtrace): Likewise.
35182         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35183         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35184         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35185         * sysdeps/posix/tempname.c: Likewise.  Evaluate
35186         HAVE_SECURE_GETENV.
35187         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35188         __secure_getenv to __libc_secure_getenv.
35189         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35191         Likewise.
35192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35193         Likewise.
35194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35196         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35201
35202 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35203
35204         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35205         (struct La_i86_retval): Likewise.
35206         (struct La_x86_64_regs): Likewise.
35207         (struct La_x86_64_retval): Likewise.
35208         (struct La_x32_regs): Likewise.
35209         (struct La_x32_retval): Likewise.
35210         (struct La_ppc32_regs): Likewise.
35211         (struct La_ppc32_retval): Likewise.
35212         (struct La_ppc64_regs): Likewise.
35213         (struct La_ppc64_retval): Likewise.
35214         (struct La_sh_regs): Likewise.
35215         (struct La_sh_retval): Likewise.
35216         (struct La_s390_32_regs): Likewise.
35217         (struct La_s390_32_retval): Likewise.
35218         (struct La_s390_64_regs): Likewise.
35219         (struct La_s390_64_retval): Likewise.
35220         (struct La_sparc32_regs): Likewise.
35221         (struct La_sparc32_retval): Likewise.
35222         (struct La_sparc64_regs): Likewise.
35223         (struct La_sparc64_retval): Likewise.
35224         (struct audit_ifaces): Remove architecture-specific pltenter and
35225         pltexit members.
35226         * sysdeps/i386/ldsodefs.h: New file.
35227         * sysdeps/powerpc/ldsodefs.h: Likewise.
35228         * sysdeps/s390/ldsodefs.h: Likewise.
35229         * sysdeps/sh/ldsodefs.h: Likewise.
35230         * sysdeps/sparc/ldsodefs.h: Likewise.
35231         * sysdeps/x86_64/ldsodefs.h: Likewise.
35232
35233 2012-07-25  Marek Polacek  <polacek@redhat.com>
35234
35235         [BZ #6808]
35236         * math/libm-test.inc (yn_test): Add another test.
35237         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35238         to ERANGE when the result is +-Inf.
35239         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35240         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35241         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35242         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35243
35244 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
35245
35246         * conform/data/time.h-data (NULL): Use macro-constant.  Require
35247         equal to 0.
35248         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
35249         clock_t.
35250         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
35251
35252 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
35253
35254         * configure.in <sysdeps resolving>: Correct printing
35255         Implies_before.
35256         * configure: Regenerate.
35257
35258 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
35259
35260         * math/w_ilogb.c: Include <limits.h>.
35261         * math/w_ilogbl.c: Likewise.
35262
35263 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35264
35265         * manual/lang.texi (__va_copy): Document primarily as ISO C99
35266         va_copy.  Document allowing for unavailable va_copy only as
35267         pre-C99 compatibility.
35268         * manual/string.texi (Copying and Concatenation): Use va_copy
35269         instead of __va_copy in concat example.
35270
35271 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
35272
35273         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35274         (__sendto): Use create_address_port.  Initialize APORT and deallocate
35275         it if not null.
35276
35277         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35278         with O_NOLINK passed to __file_name_lookup.
35279
35280         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35281         with O_NOLINK passed to __file_name_lookup.
35282
35283         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35284         negative N or less than NGIDS.
35285
35286         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35287         type to string_t.  Set ERANGE as errno and return it if NAME is not big
35288         enough.  Use memcpy instead of strncpy.
35289
35290 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35291
35292         * elf/Makefile (check-data): Remove.
35293         (localplt.data): New vpath directive.
35294         ($(objpfx)check-localplt.out): Use localplt.data from vpath
35295         instead of $(check-data).
35296         * scripts/data/localplt-generic.data: Move to ...
35297         * sysdeps/generic/localplt.data: ... here.
35298         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35299         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35300         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35302         ... here.
35303         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35305         ... here.
35306         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35308         ... here.
35309         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35311         ... here.
35312         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35314         ... here.
35315         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35317         ... here.
35318
35319 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35320
35321         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35322         PPC32 and PPC64 files.
35323         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35324         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35325
35326 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35327
35328         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35329         __makecontext_ret to ...
35330         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35331         ... here and call exit if uc_link is NULL.  New file.
35332         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35333         __makecontext_ret.S.
35334         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35335         __makecontext_ret to ...
35336         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35337         ... here and call exit if uc_link is NULL.  New file.
35338         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35339         __makecontext_ret.S.
35340
35341 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35342
35343         * elf/elf.h (R_390_IRELATIVE): New definition.
35344         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35345         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
35346         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35347         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35348         (elf_machine_lazy_rel): Likewise.
35349         * sysdeps/s390/dl-irel.h: New file.
35350         * sysdeps/s390/s390-64/memcpy.S: New asm code.
35351         * sysdeps/s390/s390-64/memset.S: New asm code.
35352         * sysdeps/s390/s390-64/memcmp.S: New asm code.
35353         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35354         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35355         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35356         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35357         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35358         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35359         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35360         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35361         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35362         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35363         * sysdeps/s390/s390-32/memcpy.S: New asm code.
35364         * sysdeps/s390/s390-32/memset.S: New asm code.
35365         * sysdeps/s390/s390-32/memcmp.S: New asm code.
35366
35367 2012-07-17  Marek Polacek  <polacek@redhat.com>
35368
35369         [BZ #14349]
35370         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35371         * sysdeps/s390/s390-64/configure.in: Likewise.
35372         * sysdeps/sparc/configure.in: Likewise.
35373         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35374         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35375         * sysdeps/i386/configure.in: Likewise.
35376         * sysdeps/x86_64/configure.in: Likewise.
35377         * sysdeps/sh/configure.in: Likewise.
35378         * sysdeps/s390/s390-32/configure: Regenerated.
35379         * sysdeps/s390/s390-64/configure: Likewise.
35380         * sysdeps/x86_64/configure: Likewise.
35381         * sysdeps/sh/configure: Likewise.
35382         * sysdeps/powerpc/powerpc64/configure: Likewise.
35383         * sysdeps/powerpc/powerpc32/configure: Likewise.
35384         * sysdeps/sparc/configure: Likwise.
35385         * sysdeps/i386/configure: Likewise.
35386
35387         * elf/dl-open.c: Comment fixes.
35388
35389 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
35390
35391         * Makefile [CXX] (check-data): Remove.
35392         [CXX] (c++-types.data): New vpath directive.
35393         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35394         vpath.  Do not allow for C++ type data being missing.
35395         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35396         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35397         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35398         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35399         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35400         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35401         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35403         ... here.
35404         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35406         ... here.
35407         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35409         ... here.
35410         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35412         ... here.
35413         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35415         ... here.
35416         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35418         ... here.
35419         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35421         ... here.
35422         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35424
35425         * elf/tls-macros.h (TLS_LE): Move architecture-specific
35426         definitions to architecture-specific files.
35427         (TLS_IE): Likewise.
35428         (TLS_LD): Likewise.
35429         (TLS_GD): Likewise.
35430         * sysdeps/i386/tls-macros.h: New file.
35431         * sysdeps/powerpc/tls-macros.h: Likewise.
35432         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35433         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35434         * sysdeps/sh/tls-macros.h: Likewise.
35435         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35436         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35437         * sysdeps/x86_64/tls-macros.h: Likewise.
35438
35439 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35440
35441         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35442         zero value for regular exit case.
35443
35444         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35445         (__start_context): Preserve zero value for regular exit case.
35446
35447 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35448             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35449
35450         * manual/setjmp.texi (setcontext): Clarify normal process
35451         termination when uc_link is the null pointer.
35452         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35453         exit call.
35454
35455 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
35456
35457         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35458         preprocessor.  Test for each exception mask separately.
35459
35460 2012-07-16  Andreas Jaeger  <aj@suse.de>
35461
35462         * po/ru.po: Update from translation team.
35463
35464 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
35465
35466         * conform/data/string.h-data (NULL): Use macro-constant.  Require
35467         equal to 0.
35468         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35469         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35470         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35471         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35472         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35473
35474 2012-07-13  Andreas Jaeger  <aj@suse.de>
35475
35476         * po/fr.po: Update from translation team.
35477
35478 2012-07-12  Marek Polacek  <polacek@redhat.com>
35479
35480         [BZ #14173]
35481         * math/libm-test.inc (yn_test): Add test for BZ #14173.
35482         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35483         loop condition.
35484
35485 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
35486
35487         [BZ #13717]
35488         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35489         Change to 2.4.1 where previously 2.4.0.
35490         * sysdeps/unix/sysv/linux/configure: Regenerated.
35491         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35492         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35493         version.
35494         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35495         (__ASSUME_AT_CLKTCK): Remove.
35496         (__ASSUME_AT_PAGESIZE): Likewise.
35497         (__ASSUME_AT_XID): Likewise.
35498         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35499         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35500         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35501         unconditionally.
35502         (HAVE_AUX_PAGESIZE): Likewise.
35503         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35504         [__ASSUME_AT_CLKTCK]: Make code unconditional.
35505         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35506
35507 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
35508
35509         [BZ #14307]
35510         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35511         the temporary buffer used to invoke __gethostbyname2_r,
35512         __gethostbyaddr_r and gethostbyname4_r to make room for struct
35513         host_data / struct gaih_addrtuple.
35514         * resolv/nss_dns/dns-host.c (global scope): Move definition of
35515         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35516         header file nss/nsswitch.h.
35517         * nss/nsswitch.h (global scope): Add definition of implementation
35518         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35519         resolv/nss_dns/dns-host.c).
35520
35521 2012-07-11  Andreas Jaeger  <aj@suse.de>
35522
35523         * po/fr.po: Update from translation team.
35524
35525         * po/sv.po: Update from translation team
35526         * po/fr.po: Another update from translation team.
35527
35528 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35529
35530         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35531         for subnormals or multiply small sinh result by itself.
35532         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35534
35535 2012-07-11  David S. Miller  <davem@davemloft.net>
35536
35537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35538
35539 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
35540
35541         [BZ #14347]
35542         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35543         (INTERNAL_MARK): Shift it here.
35544
35545 2012-07-10  Marek Polacek  <polacek@redhat.com>
35546
35547         [BZ #14151]
35548         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
35549         libc_cv_asm_global_directive with .globl.
35550         * configure: Regenerated.
35551         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35552         with .globl.
35553         * sysdeps/i386/configure: Regenerated.
35554         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35555         with .globl.
35556         * sysdeps/x86_64/configure: Regenerated.
35557         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35558         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35559         * elf/tst-unique2mod2.c: Likewise.
35560         * elf/tst-unique2mod1.c: Likewise.
35561         * elf/tst-unique1mod2.c: Likewise.
35562         * elf/tst-unique1mod1.c: Likewise.
35563         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35564         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35565         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35566         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35567         * sysdeps/mach/sysdep.h: Likewise.
35568         * sysdeps/i386/sysdep.h: Likewise.
35569         * sysdeps/i386/i386-mcount.S: Likewise.
35570         * sysdeps/x86_64/_mcount.S: Likewise.
35571         * sysdeps/x86_64/sysdep.h: Likewise.
35572         * sysdeps/sh/_mcount.S: Likewise.
35573         * sysdeps/sh/sysdep.h: Likewise.
35574         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35575         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35576         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35577         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35578         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35579         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35580         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35581         * locale/localeinfo.h: Likewise.
35582         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35583         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35584
35585 2012-07-09  Roland McGrath  <roland@hack.frob.com>
35586
35587         [BZ #14336]
35588         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35589         system".
35590         * manual/message.texi (The Uniforum approach): Likewise.
35591         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35592         (glibc iconv Implementation): Likewise.
35593
35594 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
35595
35596         [BZ #14337]
35597         * math/s_clog.c (__clog): Avoid scaling a value down where that
35598         could result in underflow.
35599         * math/s_clog10.c (__clog10): Likewise.
35600         * math/s_clog10f.c (__clog10f): Likewise.
35601         * math/s_clog10l.c (__clog10l): Likewise.
35602         * math/s_clogf.c (__clogf): Likewise.
35603         * math/s_clogl.c (__clogl): Likewise.
35604         * math/libm-test.inc (clog_test): Add more tests.
35605         (clog10_test): Likewise.
35606         * sysdeps/i386/fpu/libm-test-ulps: Update.
35607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35608
35609 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
35610
35611         [BZ #14283]
35612         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35613         by 7 not 8 to examine high bit of fractional part.
35614
35615         [BZ #14042]
35616         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35617         for call to __mcount_internal.
35618         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35619         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35620         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35621
35622 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35623
35624         [BZ #14154]
35625         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35626         approximation for values within 0x1p-13f of an odd multiple of
35627         pi/4.
35628         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35629         exception.  Add more tests.
35630         * sysdeps/i386/fpu/libm-test-ulps: Update.
35631
35632         [BZ #6778]
35633         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35634         inputs and return -1 for them.  Do not check for +Inf in case not
35635         reachable for +Inf.
35636         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35637         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35638         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35639         and return -1 for them.  Do not check for +Inf in case not
35640         reachable for +Inf.
35641         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35642         define.
35643         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35644         and return -1 for them.  Do not check for +Inf in case not
35645         reachable for +Inf.
35646         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
35647         spurious underflow.
35648         * sysdeps/i386/fpu/libm-test-ulps: Update.
35649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35650
35651 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
35652
35653         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35654
35655 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35656
35657         [BZ #14157]
35658         [BZ #14331]
35659         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35660         could result in spurious underflow.  Scale down values above
35661         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35662         * math/s_csqrtf.c (__csqrtf): Likewise.
35663         * math/s_csqrtl.c (__csqrtl): Likewise.
35664         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35665         spurious underflow.
35666         * sysdeps/i386/fpu/libm-test-ulps: Update.
35667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35668
35669 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35670
35671         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35672         xopen-msg.sed.
35673         * catgets/xopen-msg.awk: New file.
35674         * catgets/xopen-msg.sed: Removed.
35675
35676         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35677         po2text.sed.
35678         * intl/po2test.awk: New file.
35679         * intl/po2test.sed: Removed.
35680
35681 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35682
35683         [BZ #14328]
35684         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35685         or multiply small sinh result by itself.
35686         * math/s_ctanf.c (__ctanf): Likewise.
35687         * math/s_ctanh.c (__ctanh): Likewise.
35688         * math/s_ctanhf.c (__ctanhf): Likewise.
35689         * math/s_ctanhl.c (__ctanhl): Likewise.
35690         * math/s_ctanl.c (__ctanl): Likewise.
35691         * math/libm-test.inc (ctan_test_tonearest): New function.
35692         (ctan_test_towardzero): Likewise.
35693         (ctan_test_downward): Likewise.
35694         (ctan_test_upward): Likewise.
35695         (ctanh_test_tonearest): Likewise.
35696         (ctanh_test_towardzero): Likewise.
35697         (ctanh_test_downward): Likewise.
35698         (ctanh_test_upward): Likewise.
35699         (main): Call these new functions.
35700         * sysdeps/i386/fpu/libm-test-ulps: Update.
35701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35702
35703 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35704
35705         * .gitignore: Delete /ports entry.
35706
35707 2012-07-03  Andreas Jaeger  <aj@suse.de>
35708
35709         * po/bg.po: Update from translation team.
35710         * po/cs.po: Likewise.
35711         * po/de.po: Likewise.
35712         * po/hr.po: Likewise.
35713         * po/nl.pl: Likewise.
35714         * po/pl.po: Likewise.
35715         * po/vi.po: Likewise.
35716
35717 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35718
35719         * Makeconfig [!+link] (+link-before-libc): New variable.
35720         [!+link] (+link-after-libc): Likewise.
35721         [!+link] (+link-tests): Likewise.
35722         [!+link] (+link): Define in terms of $(+link-before-libc) and
35723         $(+link-after-libc).
35724         [!+link-static] (+link-static-before-libc): New variable.
35725         [!+link-static] (+link-static-after-libc): Likewise.
35726         [!+link-static] (+link-static-tests): Likewise.
35727         [!+link-static] (+link-static): Define in terms of
35728         $(+link-static-before-libc) and $(+link-static-after-libc).
35729         [build-shared] (link-libc-before-gnulib): New variable.
35730         [build-shared] (link-libc-tests): Likewise.
35731         [build-shared] (link-libc): Define in terms of
35732         $(link-libc-before-gnulib).
35733         [!build-shared] (link-libc-tests): New variable.
35734         (link-libc-static-tests): New variable.
35735         [!gnulib] (gnulib-arch): New variable.
35736         [!gnulib] (gnulib-tests): Likewise.
35737         [!gnulib] (static-gnulib-arch): Likewise.
35738         [!gnulib] (static-gnulib-tests): Likewise.
35739         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35740         Define with "=" instead of ":=".
35741         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35742         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35743         * Rules (binaries-all-notests): New variable.
35744         (binaries-all-tests): Likewise.
35745         (binaries-static-notests): Likewise.
35746         (binaries-static-tests): Likewise.
35747         (binaries-all): Define using $(binaries-all-notests) and
35748         $(binaries-all-tests).
35749         (binaries-static): Define using $(binaries-static-notests) and
35750         $(binaries-static-tests).
35751         (binaries-shared-tests): New variable.
35752         (binaries-shared-notests): Likewise.
35753         (binaries-shared): Remove variable.
35754         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35755         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35756         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35757         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35758         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35759         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35760         * elf/Makefile (sln-modules): New variable.
35761         (extra-objs): Add $(sln-modules:=.o).
35762         (ldconfig-modules): Add static-stubs.
35763         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35764         * elf/static-stubs.c: New file.
35765
35766         [BZ #14283]
35767         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35768         by 7 not 8 to examine high bit of fractional part.  Use volatile
35769         variables when splitting into final array of floats if
35770         __FLT_EVAL_METHOD__ != 0.
35771         * math/libm-test.inc (cos_test): Add another test.
35772         (sin_test): Likewise.
35773         * sysdeps/i386/fpu/libm-test-ulps: Update.
35774
35775         [BZ #14273]
35776         * math/libm-test.inc (cosh_test): Add more tests.
35777
35778         * version.h (RELEASE): Set to "development".
35779         (VERSION): Set to "2.16.90".
35780
35781 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35782
35783         * NEWS: Update copyright. Remove last-updated date.
35784         Mention math library bug fixes and timezone data changes.
35785         * README: Mention GNU/Hurd, x32, and HPPA support status.
35786
35787 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35788
35789         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35790
35791 2012-06-27  Andreas Jaeger  <aj@suse.de>
35792
35793         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35794
35795 2012-06-25  Andreas Jaeger  <aj@suse.de>
35796
35797         * sysdeps/s390/fpu/libm-test-ulps: Update.
35798
35799 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35800             Thomas Schwinge  <thomas@codesourcery.com>
35801
35802         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35803         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35804         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35805         fanotify_mark.
35806
35807 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35808
35809         * sysdeps/mach/start.c: Remove file.
35810         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35811         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35812         * sysdeps/sh/init-first.c: Likewise.
35813
35814         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35815         registers for frame unwinding purposes, add CFI directives.
35816         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35817         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35818         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35819         Likewise.
35820
35821         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35822         __fortify_fail returning.
35823         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35824
35825         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35826         sysdeps/sh/____longjmp_chk.S.
35827         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35828         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35829         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35830         (gen-as-const-headers): Append sigaltstack-offsets.sym.
35831
35832         * sysdeps/sh/abort-instr.h: New file.
35833         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35834         process in case exit returns.
35835
35836         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35837         initialize the GOT register before use.
35838
35839         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35840         calculation of ARGC > 4.
35841
35842         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35843         meaningful names to some local labels.
35844
35845 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35846             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35847
35848         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35849         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35850         (__arch_compare_and_exchange_val_16_acq): Likewise.
35851         (__arch_compare_and_exchange_val_32_acq): Likewise.
35852         (atomic_exchange_and_add): Fix gUSA sequence.
35853         (atomic_add): Likewise.
35854         (atomic_add_negative): Likewise.
35855         (atomic_add_zero): Likewise.
35856         (atomic_bit_test_set): Likewise.
35857
35858 2012-06-22  Andreas Schwab  <schwab@redhat.com>
35859
35860         [BZ #13579]
35861         * include/link.h (struct link_map): Add l_free_initfini.
35862         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35863         l_initfini.
35864         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35865         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35866         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35867         set.
35868
35869 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
35870
35871         * configure.in: Use AC_LANG_SOURCE.
35872         * configure: Regenerate.
35873
35874 2012-06-22  Roland McGrath  <roland@hack.frob.com>
35875
35876         * configure.in (libc_cv_localstatedir): New substituted variable.
35877         * configure: Regenerated.
35878         * config.make.in (localstatedir): New variable, substituted from
35879         libc_cv_localstatedir.
35880         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35881         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35882         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35883         * sysdeps/gnu/configure: Regenerated.
35884
35885 2012-06-21  Jeff Law  <law@redhat.com>
35886
35887         [BZ #14277]
35888         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35889         free.  Simplify list management for _LIBC case.
35890
35891 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
35892
35893         [BZ #14273]
35894         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35895         Clear sign bit of 64-bit integer value before comparing against
35896         overflow value.
35897
35898         * sysdeps/mach/configure: Regenerated.
35899
35900 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
35901
35902         [BZ #14278]
35903         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35904
35905 2012-06-21  Jeff Law  <law@redhat.com>
35906
35907         [BZ #13882]
35908         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
35909         uint16_t for elements in the "seen" array to avoid char overflows.
35910         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35911         * elf/dl-open.c (dl_open_worker): Likewise.
35912
35913 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
35914
35915         * scripts/list-sources.sh: Scan PORTS for translations.
35916         * po/libc.pot: Regenerated.
35917
35918 2012-06-21  Andreas Jaeger  <aj@suse.de>
35919
35920         [BZ #12194]
35921         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35922         warning.
35923         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35924         * bits/byteswap-16.h (__bswap_16): Likewise.
35925         * bits/byteswap.h (__bswap_constant_16): Likewise.
35926
35927 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
35928
35929         [BZ #14117]
35930         * sysdeps/i386/fpu_control.h: Removed.
35931         * sysdeps/x86_64/fpu_control.h: Moved to ...
35932         * sysdeps/x86/fpu_control.h: Here.
35933
35934         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35935         (_FPU_SETCW): Likewise.
35936
35937 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
35938
35939         [BZ #14117]
35940         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35941         * sysdeps/x86/fpu/bits/mathinline.h: This.
35942         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35943
35944         [BZ #14050]
35945         [BZ #14117]
35946         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35947         functions if __x86_64__ is defined.
35948
35949 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
35950
35951         * string/endian.h: Add !__ASSEMBLER__ condition for including
35952         conversion interfaces.
35953
35954 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
35955
35956         [BZ #14241]
35957         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35958         of ABS(x) in calculating zero to negative powers other than odd
35959         integers.
35960         * math/libm-test.inc (pow_test): Add more tests.
35961
35962 2012-06-15  Andreas Jaeger  <aj@suse.de>
35963
35964         * manual/contrib.texi (Contributors): Update entry of Liubov
35965         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35966         Machado Filho.
35967
35968 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
35969
35970         * string/string.h: Add __wur to GNU version of strerror_r.
35971
35972 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
35973
35974         [BZ #14229]
35975         * string/Makefile (tests): Add tst-strtok_r.
35976         * string/tst-strtok_r.c: New file.
35977         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35978         RAX_LP/RDX_LP on SAVE_PTR.
35979
35980 2012-06-14  Roland McGrath  <roland@hack.frob.com>
35981
35982         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35983
35984 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
35985
35986         * libm_test.inc (csqrt_test): Allow more spurious underflow
35987         exceptions.
35988         (j0_test): Likewise.
35989         (j1_test): Likewise.
35990         (y0_test): Likewise.
35991         (y1_test): Likewise.
35992
35993 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
35994
35995         * po/Makefile (libc.pot): Use UTF-8 charset.
35996
35997 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
35998
35999         [BZ #14210]
36000         Suppress sign-conversion warning from FD_SET.
36001         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36002         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36003         not unsigned long int.
36004         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36005
36006 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
36007
36008         [BZ #14050]
36009         [BZ #14117]
36010         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36011         __extern_always_inline instead of __extern_inline.
36012         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36013         (__signbit): Likewise.
36014         (__signbitl): Support C++ namespace.
36015         (lrintf): New inline function.
36016         (lrint): Likewise.
36017         (llrintf): Likewise.
36018         (llrint): Likewise.
36019         (fmaxf): Likewise.
36020         (fmax): Likewise.
36021         (fminf): Likewise.
36022         (fmin): Likewise.
36023         (rint): Likewise.
36024         (rintf): Likewise.
36025         (ceil): Likewise.
36026         (ceilf): Likewise.
36027         (floor): Likewise.
36028         (floorf): Likewise.
36029         (nearbyint): Likewise.
36030         (nearbyintf): Likewise.
36031
36032 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
36033
36034         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36035         non-default versions.
36036
36037 2012-06-11  Roland McGrath  <roland@hack.frob.com>
36038
36039         [BZ #14218]
36040         * manual/argp.texi (Argp): Reword argp_parse description slightly.
36041
36042 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
36043
36044         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36045         (FE_UPWARD, FE_DOWNWARD): Don't define.
36046         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36047         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36048
36049         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36050         reading it.
36051         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36052         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36053
36054 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36055
36056         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36057         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36058         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36059         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36060
36061 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
36062
36063         [BZ #14117]
36064         * sysdeps/i386/fpu/bits/fenv.h: Removed.
36065         * sysdeps/i386/fpu/Implies: New file.
36066         * sysdeps/x86_64/fpu/Implies: Likewise.
36067         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36068         * sysdeps/x86/fpu/bits/fenv.h: This.
36069
36070         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36071         __SSE_MATH__.
36072
36073 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36074
36075         [BZ #14134]
36076         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36077         character 0xffff that matches the last element of the
36078         conversion table.
36079
36080 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36081
36082         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36083         fmodl commit.
36084
36085 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36086
36087         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36088         values higher than 25.6283.
36089
36090 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36091
36092         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36093         subnormal exponent extraction and add some __builtin_expect.
36094         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36095         Fix for subnormal mantissa calculation.
36096
36097 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
36098
36099         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36100         cpu2 is -1 and errno is not ENOSYS.
36101
36102 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
36103
36104         [BZ #14117]
36105         * sysdeps/i386/i486/bits/string.h: Renamed to ...
36106         * sysdeps/x86/bits/string.h: This.
36107         * sysdeps/x86_64/bits/string.h: Removed.
36108
36109         * sysdeps/i386/i486/bits/string.h: Define inline functions only
36110         if not compiling for x86-64, but compiling for >= i486.
36111
36112         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36113         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36114
36115         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36116         New macro from Linux kernel 3.4.0.
36117         (FP_XSTATE_MAGIC2): Likewise.
36118         (FP_XSTATE_MAGIC2_SIZE): Likewise.
36119         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36120         (struct _fpx_sw_bytes): New struct.
36121         (struct _xsave_hdr): Likewise.
36122         (struct _ymmh_state): Likewise.
36123         (struct _xstate): Likewise.
36124
36125         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36126         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36127         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36128         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36129         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36130         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36131
36132         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36133         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36134         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36135         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36136         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36137         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36138
36139 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36140
36141         [BZ #13743]
36142         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36143         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36144         (sysdep_headers): Include sys/platform/ppc.h.
36145         * sysdeps/powerpc/test-gettimebase.c: Test for
36146         __ppc_get_timebase() to catch future ISA opcode/insn changes.
36147         * manual/Makefile (appendices): Include platform.texi.
36148         * manual/contrib.texi (Contributors): Update @node pointers.
36149         * manual/maint.texi (Maintenance): Likewise.
36150         (Platform): New node.
36151         * manual/platform.texi: New file.  Document the new features.
36152
36153 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36154             Jakub Jelinek  <jakub@redhat.com>
36155
36156         [BZ #14188]
36157         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36158         where __builtin_expect is unavailable.
36159
36160 2012-06-03  David S. Miller  <davem@davemloft.net>
36161
36162         * stdlib/longlong.h: Updated from GCC.
36163
36164 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
36165
36166         [BZ #14042]
36167         * sysdeps/powerpc/powerpc32/mcount.c: New file.
36168         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36169         __mcount_internal.
36170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36171         (GLIBC_2.16): Likewise.
36172
36173 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36174
36175         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36176
36177 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36178
36179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36180         (default-abi): New variable.
36181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36182         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36183         variable.
36184         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36185         Likewise.
36186         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36187         Likewise.
36188         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36189         Likewise.
36190
36191         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36192         definition.  Document in comment.
36193
36194 2012-06-01  David S. Miller  <davem@davemloft.net>
36195
36196         * stdlib/longlong.h: Updated from GCC.
36197
36198 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36199
36200         [BZ #14117]
36201         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36202         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36203         sys/debugreg.h sys/io.h here.
36204         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36205         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36206         sys/io.h.
36207         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36208         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36209         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36210         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36211         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36212         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36213
36214         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36215         Define only if __x86_64__ is defined.
36216
36217 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36218
36219         [BZ #14048]
36220         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36221         Use int64_t for variable i.
36222         * math/libm-test.inc (fmod_test): Add more tests.
36223
36224         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36225         z computation is not scheduled after fetestexcept.
36226         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36227         Use math_force_eval instead of asm to ensure calculation scheduled
36228         before exception test.
36229         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36230         Ensure a1 + u.d computation is not scheduled after fetestexcept.
36231
36232 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
36233
36234         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36235         computation is not scheduled after fetestexcept.
36236
36237 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36238
36239         [BZ #14117]
36240         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36241         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36242
36243 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36244
36245         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36246         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36247
36248 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36249
36250         [BZ #14117]
36251         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36252         <bits/wordsize.h>.
36253         (__WCHAR_MIN): Support __WORDSIZE == 64.
36254         (__WCHAR_MAX): Likewise.
36255
36256         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36257         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36258
36259         [BZ #14183]
36260         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36261         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36262
36263         [BZ #14117]
36264         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36265         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36266
36267         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36268         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36269
36270         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36271         Defined to 1 if __x86_64__ isn't defined.
36272         (_STAT_VER_LINUX_OLD): New.
36273         (st_atime): Remove duplicate.
36274         (st_mtime): Likewise.
36275         (st_ctime): Likewise.
36276
36277 2012-05-31  David S. Miller  <davem@davemloft.net>
36278
36279         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36280         entries.
36281
36282 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
36283
36284         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36285         gen-libm-test.pl.
36286
36287         [BZ #14132]
36288         * elf/dl-reloc.c: Include <_itoa.h>.
36289         (_dl_reloc_bad_type): Remove use of INTUSE.
36290         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36291         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36292         * stdio-common/psiginfo.c (psiginfo): Likewise.
36293         * stdio-common/psignal.c (psignal): Likewise.
36294         * string/strsignal.c (strsignal): Likewise.
36295         * include/signal.h (_sys_siglist): Declare hidden proto.
36296         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
36297         INTVARDEF with libc_hidden_data_def.
36298         * stdio-common/itoa-udigits.c: Likewise.
36299         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36300         (_itoa_lower_digits_internal): Remove declaration.
36301         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36302         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36303         (_sys_sigabbrev_internal): Remove aliases.
36304         (_sys_siglist): Define hidden alias.
36305
36306 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
36307
36308         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36309         bits/sysctl.h.
36310
36311 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36312
36313         [BZ #14117]
36314         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36315         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36316
36317         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36318         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36319         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36320         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36321         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36322         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36323
36324         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36325         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36326         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36327
36328         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36329         with __addr.
36330         (insw): Likewise.
36331         (insl): Likewise.
36332         (outsb): Likewise.
36333         (outsw): Likewise.
36334         (outsl): Likewise.
36335
36336         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36337         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36338         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36339
36340         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36341         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36342         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36343         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36344         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36345         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36346
36347         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36348         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36349
36350         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36351         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36352
36353         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36354         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36355         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36356
36357         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36358         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36359         to ...
36360         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36361
36362         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36363         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36364         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36365
36366         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36367         for x86-64.
36368         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36369
36370 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
36371
36372         * math/math.h (M_El): Use two more decimal places.
36373         (M_LOG2El): Likewise.
36374         (M_LOG10El): Likewise.
36375         (M_LN2l): Likewise.
36376         (M_LN10l): Likewise.
36377         (M_PIl): Likewise.
36378         (M_PI_2l): Likewise.
36379         (M_PI_4l): Likewise.
36380         (M_1_PIl): Likewise.
36381         (M_2_PIl): Likewise.
36382         (M_2_SQRTPIl): Likewise.
36383         (M_SQRT2l): Likewise.
36384         (M_SQRT1_2l): Likewise.
36385
36386 2012-05-31  David S. Miller  <davem@davemloft.net>
36387
36388         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36389         values between float registers.
36390         * sysdeps/sparc/sparc64/memset.S: Likewise.
36391         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36392
36393 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
36394
36395         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36396         -D_FORTIFY_SOURCE=1.
36397         (CPPFLAGS-tst-longjmp_chk.c): Define.
36398         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36399         (CPPFLAGS-tst-longjmp_chk2.c): Define.
36400         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36401         CFLAGS-tst-wchar-h.c.
36402
36403 2012-05-31  Marek Polacek  <polacek@redhat.com>
36404
36405         [BZ #14132]
36406         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36407         __endmntent_internal): Remove declaration.
36408         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36409         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36410         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36411
36412 2012-05-30  David S. Miller  <davem@davemloft.net>
36413
36414         * sysdeps/sparc/sparc32/soft-fp/q_util.c
36415         (___Q_simulate_exceptions): Use real FP ops rather than writing
36416         into the %fsr.
36417         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36418         Likewise.
36419
36420 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36421
36422         [BZ #14117]
36423         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36424         * sysdeps/x86/bits/xtitypes.h: This.
36425
36426         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36427         * sysdeps/x86/bits/wordsize.h: This.
36428
36429         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36430         * sysdeps/x86/bits/huge_vall.h: This.
36431
36432         * sysdeps/i386/bits/select.h: Removed.
36433         * sysdeps/x86_64/bits/select.h: Renamed to ...
36434         * sysdeps/x86/bits/select.h: This.
36435
36436         * sysdeps/i386/bits/setjmp.h: Removed.
36437         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36438         * sysdeps/x86/bits/setjmp.h: This.
36439
36440         * sysdeps/i386/bits/mathdef.h: Removed.
36441         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36442         * sysdeps/x86/bits/mathdef.h: This.
36443
36444 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
36445
36446         [BZ #14132]
36447         * include/sys/socket.h (__connect_internal)
36448         (__libc_sa_len_internal): Remove declaration.
36449         (__connect, __libc_sa_len): Declare hidden_proto.
36450         (SA_LEN): Remove use of INTUSE.
36451         * socket/connect.c: Add libc_hidden_def.
36452         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36453         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36454         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36455         alias.
36456         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36457         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36458         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36459         of adding _internal alias.
36460
36461 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36462
36463         [BZ #14117]
36464         * sysdeps/i386/bits/link.h: Removed.
36465         * sysdeps/i386/bits/linkmap.h: Likewise.
36466         * sysdeps/x86_64/bits/link.h: Renamed to ...
36467         * sysdeps/x86/bits/link.h: This.
36468         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36469         * sysdeps/x86/bits/linkmap.h: This.
36470
36471         * sysdeps/i386/bits/endian.h: Removed.
36472         * sysdeps/x86_64/bits/endian.h: Renamed to ...
36473         * sysdeps/x86/bits/endian.h: This.
36474
36475         * sysdeps/i386/bits/byteswap.h: Removed.
36476         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36477         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36478         * sysdeps/x86/bits/byteswap.h: This.
36479         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36480         * sysdeps/x86/bits/byteswap-16.h: This.
36481         * sysdeps/i386/Implies: Add x86.
36482         * sysdeps/x86_64/Implies: Likewise.
36483
36484 2012-05-30  David S. Miller  <davem@davemloft.net>
36485
36486         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36487         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36488         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36489         (FP_TRAPPING_EXCEPTIONS): Define.
36490         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36491         (FP_TRAPPING_EXCEPTIONS): Define.
36492         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36493         subnormals only when inexact has been signalled or underflow
36494         exceptions are enabled.
36495         (_FP_PACK_CANONICAL): Likewise.
36496
36497 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36498
36499         [BZ #14183]
36500         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36501         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36502
36503 2012-05-30  Richard Henderson  <rth@twiddle.net>
36504
36505         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36506         with #ifndef NOT_IN_libc.
36507
36508         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
36509         marked to avoid plt entry.
36510
36511 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36512
36513         [BZ #14112]
36514         * Makeconfig (default-abi): New macro.
36515         (abi-includes): Likewise.
36516         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
36517         $(abi-$(default-abi)-lib-soname) for soname if defined.
36518         ($(common-objpfx)gnu/lib-names.stmp): Generate from
36519         abi-variants.
36520         * Makefile (installed-stubs): Likewise.
36521         * include/stubs-biarch.h: Removed.
36522         * scripts/lib-names.awk: Only handle one library at a time.
36523         * scripts/soversions.awk: Remove WORDSIZE support.
36524         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36525         entries.
36526         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36527         Removed.
36528         (syscall-list-default-condition): Likewise.
36529         (syscall-list-default-condition): Likewise.
36530         (syscall-list-includes): Likewise.
36531         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36532         syscall-list-* with abi-*.  Handle undefined abi-variants.
36533         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36534         * sysdeps/unix/sysv/linux/i386/Implies: New file.
36535         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36536         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36537         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36538         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36539         Removed.
36540         (syscall-list-32-options): Likewise.
36541         (syscall-list-32-condition): Likewise.
36542         (syscall-list-64-options): Likewise.
36543         (syscall-list-64-condition): Likewise.
36544         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36545         macro.
36546         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36547         Renamed to ...
36548         (abi-*): This.
36549         (abi-64-ld-soname): New macro.
36550         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36551         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36552         Renamed to ...
36553         (abi-*): This.
36554         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36555         * sysdeps/x86_64/x32/shlib-versions: Likewise.
36556
36557 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
36558
36559         * sysdeps/unix/sysv/linux/kernel-features.h
36560         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36561         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36562         include <kernel-features.h>.
36563         [!__NR_ftruncate64]: Remove conditional code.
36564         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36565         [__NR_ftruncate64]: Make code unconditional.
36566         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36567         * sysdeps/unix/sysv/linux/truncate64.c: Do not
36568         include <kernel-features.h>.
36569         [!__NR_ftruncate64]: Remove conditional code.
36570         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36571         [__NR_ftruncate64]: Make code unconditional.
36572         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36574         include <kernel-features.h>.
36575         [!__NR_ftruncate64]: Remove conditional code.
36576         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36577         [__NR_ftruncate64]: Make code unconditional.
36578         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36580         include <kernel-features.h>.
36581         [!__NR_ftruncate64]: Remove conditional code.
36582         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36583         [__NR_ftruncate64]: Make code unconditional.
36584         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36585
36586         * configure.in (libc_cv_fpie): Weaken to a compile test using
36587         LIBC_TRY_CC_OPTION.
36588         * configure: Regenerated.
36589
36590 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36591
36592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36596         Refreshed.
36597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36603         Refreshed.
36604
36605 2012-05-27  David S. Miller  <davem@davemloft.net>
36606
36607         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36608         (___Q_zero): New.
36609         (__Q_simulate_exceptions): Return void.  Change to simulate
36610         exceptions by writing into the %fsr.
36611         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36612         (__Qp_handle_exceptions): Likewise.
36613         (numbers): Delete.
36614         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36615         __Qp_handle_exceptions.
36616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36617         __Qp_handle_exceptions.
36618         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36619         as unused and give dummy FP_RND_NEAREST initializer.
36620         (FP_INHIBIT_RESULTS): Define.
36621         (___Q_simulate_exceptions): Update declaration.
36622         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36623         formatting.
36624         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36625         as unused and give dummy FP_RND_NEAREST initializer.
36626         (__Qp_handle_exceptions): Update declaration.
36627         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36628         formatting.
36629
36630 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36631
36632         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36633         the temporary FPU control word.
36634         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36635         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36636         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36637         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36638         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36639         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36640         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36641         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36642         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36643         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36644         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36645
36646 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36647
36648         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36649         fields.
36650
36651 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36652
36653         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36654         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36655         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36656         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36657         Likewise.
36658         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36659         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36660         Likewise.
36661
36662 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36663
36664         * po/h.po: Update from translation team.
36665
36666 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36667
36668         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36669
36670         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36671         handling of denormals.
36672         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36673         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36674         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36675         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36676         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36677         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36678         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36679         Likewise.
36680
36681 2012-05-26  Marek Polacek  <polacek@redhat.com>
36682
36683         [BZ #14152]
36684         * math/libm-test.inc (fma_test): Don't always expect underflow
36685         exception.
36686
36687 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36688
36689         [BZ #12416]
36690         * elf/tst-execstack.c: Include stackinfo.h.
36691         (do_test): Adjust test case to ensure that pthread_getattr_np
36692         behaviour remains the same after marking stack executable.
36693
36694 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36695
36696         * sysdeps/unix/sysv/linux/kernel-features.h
36697         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36698         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36699         kernel-features.h.
36700         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36701         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36702         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36703         kernel-features.h.
36704         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36705         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36706
36707 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36708
36709         * configure.in: Define the default includes to being none.
36710         * configure: Regenerated.
36711
36712 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36713
36714         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36715         * sysdeps/x86_64/setjmp.S: Likewise.
36716         * sysdeps/i386/bsd-setjmp.S: Likewise.
36717         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36718         * sysdeps/i386/setjmp.S: Likewise.
36719         * sysdeps/i386/__longjmp.S: Likewise.
36720         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36721         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36722
36723         * include/stap-probe.h: New file.
36724         * configure.in: Handle --enable-systemtap.
36725         * configure: Regenerated.
36726         * config.h.in (USE_STAP_PROBE): New #undef.
36727         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36728         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36729         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36730
36731 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36732
36733         [BZ #13717]
36734         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36735         to 2.4.0 where earlier.
36736         * sysdeps/unix/sysv/linux/configure: Regenerated.
36737         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36738         <kernel-features.h>.
36739         [__ASSUME_32BITUIDS]: Make code unconditional.
36740         [!__ASSUME_32BITUIDS]: Remove conditional code.
36741         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36742         <kernel-features.h>.
36743         [__ASSUME_32BITUIDS]: Make code unconditional.
36744         [!__ASSUME_32BITUIDS]: Remove conditional code.
36745         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36746         [__ASSUME_32BITUIDS]: Make code unconditional.
36747         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36748         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36749         <kernel-features.h>.
36750         [__ASSUME_32BITUIDS]: Make code unconditional.
36751         [!__ASSUME_32BITUIDS]: Remove conditional code.
36752         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36753         <kernel-features.h>.
36754         [__ASSUME_32BITUIDS]: Make code unconditional.
36755         [!__ASSUME_32BITUIDS]: Remove conditional code.
36756         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36757         <kernel-features.h>.
36758         [__ASSUME_32BITUIDS]: Make code unconditional.
36759         [!__ASSUME_32BITUIDS]: Remove conditional code.
36760         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36761         <kernel-features.h>.
36762         [__ASSUME_32BITUIDS]: Make code unconditional.
36763         [!__ASSUME_32BITUIDS]: Remove conditional code.
36764         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36765         <kernel-features.h>.
36766         [__ASSUME_32BITUIDS]: Make code unconditional.
36767         [!__ASSUME_32BITUIDS]: Remove conditional code.
36768         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36769         <kernel-features.h>.
36770         [__ASSUME_32BITUIDS]: Make code unconditional.
36771         [!__ASSUME_32BITUIDS]: Remove conditional code.
36772         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36773         <kernel-features.h>.
36774         [__ASSUME_32BITUIDS]: Make code unconditional.
36775         [!__ASSUME_32BITUIDS]: Remove conditional code.
36776         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36777         <kernel-features.h>.
36778         [__ASSUME_32BITUIDS]: Make code unconditional.
36779         [!__ASSUME_32BITUIDS]: Remove conditional code.
36780         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36781         <kernel-features.h>.
36782         [__ASSUME_32BITUIDS]: Make code unconditional.
36783         [!__ASSUME_32BITUIDS]: Remove conditional code.
36784         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36785         <kernel-features.h>.
36786         [__ASSUME_32BITUIDS]: Make code unconditional.
36787         [!__ASSUME_32BITUIDS]: Remove conditional code.
36788         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36789         <kernel-features.h>.
36790         [__NR_setresgid] (__setresgid): Do not declare.
36791         [__ASSUME_32BITUIDS]: Make code unconditional.
36792         [!__ASSUME_32BITUIDS]: Remove conditional code.
36793         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36794         <kernel-features.h>.
36795         [__NR_setresuid] (__setresuid): Do not declare.
36796         [__ASSUME_32BITUIDS]: Make code unconditional.
36797         [!__ASSUME_32BITUIDS]: Remove conditional code.
36798         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36799         <kernel-features.h>.
36800         [__ASSUME_32BITUIDS]: Make code unconditional.
36801         [!__ASSUME_32BITUIDS]: Remove conditional code.
36802         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36803         <kernel-features.h>.
36804         [__ASSUME_32BITUIDS]: Make code unconditional.
36805         [!__ASSUME_32BITUIDS]: Remove conditional code.
36806         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36807         <kernel-features.h>.
36808         [__ASSUME_32BITUIDS]: Make code unconditional.
36809         [!__ASSUME_32BITUIDS]: Remove conditional code.
36810         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36811         <kernel-features.h>.
36812         [__ASSUME_32BITUIDS]: Make code unconditional.
36813         [!__ASSUME_32BITUIDS]: Remove conditional code.
36814         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36815         <kernel-features.h>.
36816         [__ASSUME_32BITUIDS]: Make code unconditional.
36817         [!__ASSUME_32BITUIDS]: Remove conditional code.
36818         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36819         <kernel-features.h>.
36820         [__ASSUME_32BITUIDS]: Make code unconditional.
36821         [!__ASSUME_32BITUIDS]: Remove conditional code.
36822         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36823         <kernel-features.h>.
36824         [__ASSUME_32BITUIDS]: Make code unconditional.
36825         [!__ASSUME_32BITUIDS]: Remove conditional code.
36826         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36827         <kernel-features.h>.
36828         [__ASSUME_32BITUIDS]: Make code unconditional.
36829         [!__ASSUME_32BITUIDS]: Remove conditional code.
36830         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36831         <kernel-features.h>.
36832         [__ASSUME_32BITUIDS]: Make code unconditional.
36833         [!__ASSUME_32BITUIDS]: Remove conditional code.
36834         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36835         <kernel-features.h>.
36836         [__ASSUME_32BITUIDS]: Make code unconditional.
36837         [!__ASSUME_32BITUIDS]: Remove conditional code.
36838         * sysdeps/unix/sysv/linux/kernel-features.h
36839         (__ASSUME_SETRESUID_SYSCALL): Remove.
36840         (__ASSUME_SETRESGID_SYSCALL): Likewise.
36841         (__ASSUME_32BITUIDS): Likewise.
36842         (__ASSUME_LDT_WORKS): Likewise.
36843         (__ASSUME_O_DIRECTORY): Likewise.
36844         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36845         architecture but not kernel version.
36846         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36847         (__ASSUME_MMAP2_SYSCALL): Likewise.
36848         (__ASSUME_STAT64_SYSCALL): Likewise.
36849         (__ASSUME_IPC64): Likewise.
36850         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36851         <kernel-features.h>.
36852         [__ASSUME_32BITUIDS]: Make code unconditional.
36853         [!__ASSUME_32BITUIDS]: Remove conditional code.
36854         * sysdeps/unix/sysv/linux/opendir.c: Do not include
36855         <kernel-features.h>.
36856         [__ASSUME_O_DIRECTORY]: Make code unconditional.
36857         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36858         132096]: Remove conditional code.
36859         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36860         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36861         <kernel-features.h>.
36862         [__ASSUME_32BITUIDS]: Make code unconditional.
36863         [!__ASSUME_32BITUIDS]: Remove conditional code.
36864         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36865         <kernel-features.h>.
36866         [__ASSUME_32BITUIDS]: Make code unconditional.
36867         [!__ASSUME_32BITUIDS]: Remove conditional code.
36868         * sysdeps/unix/sysv/linux/setegid.c: Do not include
36869         <kernel-features.h>.
36870         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36871         unconditional.
36872         (__setresgid): Do not declare.
36873         [__ASSUME_32BITUIDS]: Make code unconditional.
36874         [!__ASSUME_32BITUIDS]: Remove conditional code.
36875         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36876         <kernel-features.h>.
36877         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36878         unconditional.
36879         (__setresuid): Do not declare.
36880         [__ASSUME_32BITUIDS]: Make code unconditional.
36881         [!__ASSUME_32BITUIDS]: Remove conditional code.
36882         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36883         <kernel-features.h>.
36884         [__ASSUME_32BITUIDS]: Make code unconditional.
36885         [!__ASSUME_32BITUIDS]: Remove conditional code.
36886         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36887         <kernel-features.h>.
36888         [__ASSUME_32BITUIDS]: Make code unconditional.
36889         [!__ASSUME_32BITUIDS]: Remove conditional code.
36890
36891 2012-05-25  Richard Henderson  <rth@twiddle.net>
36892
36893         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36894         dl_hwcap to ifunc resolver.
36895         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36896         elf_ifunc_invoke.
36897         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36898         dl_hwcap to ifunc resolver.
36899         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36900
36901 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36902
36903         [BZ #14153]
36904         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36905         for |x| <= 2**-26, not 2**-57.
36906         * math/libm-test.inc (acos_test): Do not allow spurious underflow
36907         exception.
36908
36909 2012-05-24  Jeff Law  <law@redhat.com>
36910
36911         * stdio-common/Makefile (tests): Add bug25.
36912         * stdio-common/bug25.c: New test.
36913
36914 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36915
36916         [BZ #13576]
36917         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36918         multiple of MALLOC_ALIGNMENT in size.
36919         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36920
36921 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36922
36923         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36924         Require >= 256.
36925         (FILENAME_MAX): Use macro-int-constant.
36926         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
36927         (_IOFBF): Use macro-int-constant.
36928         (_IOLBF): Likewise.
36929         (_IONBF): Likewise.
36930         (SEEK_CUR): Likewise.
36931         (SEEK_END): Likewise.
36932         (SEEK_SET): Likewise.
36933         (TMP_MAX): Likewise.
36934         (EOF): Use macro-int-constant.  Require < 0.
36935         (NULL): Use macro-constant.  Require == 0.
36936         (stdin): Require type to be FILE *.
36937         (stdout): Likewise.
36938         (stderr): Likewise.
36939         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36940         macro-int-constant.
36941         (EXIT_SUCCESS): Likewise.
36942         (NULL): Use macro-constant.  Require == 0.
36943         (RAND_MAX): Use macro-int-constant.
36944         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36945         [C99-based standards] (strtof): Require function.
36946         [C99-based standards] (strtold): Likewise.
36947         [C99-based standards] (strtoll): Likewise.
36948         [C99-based standards] (strtoull): Likewise.
36949         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36950         [ISO || ISO99 || ISO11] (limits.h): Likewise.
36951         [ISO || ISO99 || ISO11] (math.h): Likewise.
36952         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36953         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36954         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36955
36956 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
36957
36958         [BZ #14132]
36959         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36960         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36961         * intl/dgettext.c (DCGETTEXT): Likewise.
36962         * intl/gettext.c (DCGETTEXT): Likewise.
36963         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36964         * posix/regex_internal.h (gettext): Likewise.
36965         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36966         Remove declaration.
36967         * include/argz.h (__argz_count_internal)
36968         (__argz_stringify_internal): Remove declaration.
36969         (__argz_count, __argz_stringify): Declare hidden proto.
36970         * intl/dcgettext.c: Remove use of INTDEF.
36971         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36972         * string/argz-stringify.c: Likewise.
36973         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36974         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36975         Declare hidden proto.
36976         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36977         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36978         Declare hidden proto.
36979         * include/stdio.h (__asprintf_internal): Don't declare.
36980         (__asprintf): Don't define as macro.  Declare hidden proto.
36981         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36982         (__fsetlocking): Declare hidden proto.
36983         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36984         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36985         hidden proto.
36986         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36987         (_IO_setlinebuf): Remove use of INTUSE.
36988         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36989         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36990         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36991         Remove declaration.
36992         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36993         (_IO_do_flush): Remove use of INTUSE.
36994         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36995         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36996         (_IO_adjust_column, _IO_least_wmarker)
36997         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36998         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36999         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37000         (_IO_default_doallocate, _IO_wdefault_doallocate)
37001         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37002         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37003         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37004         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37005         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37006         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37007         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37008         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37009         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37010         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37011         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37012         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37013         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37014         proto.
37015         (_IO_flush_all_internal, _IO_adjust_column_internal)
37016         (_IO_default_uflow_internal, _IO_default_finish_internal)
37017         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37018         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37019         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37020         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37021         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37022         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37023         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37024         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37025         (_IO_file_close_internal, _IO_file_close_it_internal)
37026         (_IO_file_underflow_internal, _IO_file_overflow_internal)
37027         (_IO_file_init_internal, _IO_file_attach_internal)
37028         (_IO_file_fopen_internal, _IO_file_read_internal)
37029         (_IO_file_sync_internal, _IO_file_seek_internal)
37030         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37031         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37032         (_IO_str_underflow_internal, _IO_str_overflow_internal)
37033         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37034         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37035         (_IO_list_all_internal, _IO_link_in_internal)
37036         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37037         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37038         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37039         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37040         (_IO_do_write_internal, _IO_padn_internal)
37041         (_IO_getline_info_internal, _IO_getline_internal)
37042         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37043         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37044         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37045         (_IO_vfscanf_internal, _IO_vfprintf_internal)
37046         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37047         (_IO_init_internal, _IO_un_link_internal): Don't declare.
37048         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37049         with libc_hidden_ver, remove use of INTUSE.
37050         * libio/genops.c: Likewise.
37051         * libio/freopen.c: Likewise.
37052         * libio/freopen64.c: Likewise.
37053         * libio/iofclose.c: Likewise.
37054         * libio/iofdopen.c: Likewise.
37055         * libio/iofflush.c: Likewise.
37056         * libio/iofflush_u.c: Likewise.
37057         * libio/iofgets.c: Likewise.
37058         * libio/iofgets_u.c: Likewise.
37059         * libio/iofopen.c: Likewise.
37060         * libio/iofopncook.c: Likewise.
37061         * libio/iofread.c: Likewise.
37062         * libio/iofread_u.c: Likewise.
37063         * libio/ioftell.c: Likewise.
37064         * libio/iofwrite.c: Likewise.
37065         * libio/iogetline.c: Likewise.
37066         * libio/iogets.c: Likewise.
37067         * libio/iogetwline.c: Likewise.
37068         * libio/iopadn.c: Likewise.
37069         * libio/iopopen.c: Likewise.
37070         * libio/ioseekoff.c: Likewise.
37071         * libio/ioseekpos.c: Likewise.
37072         * libio/iosetbuffer.c: Likewise.
37073         * libio/iosetvbuf.c: Likewise.
37074         * libio/ioungetc.c: Likewise.
37075         * libio/ioungetwc.c: Likewise.
37076         * libio/iovdprintf.c: Likewise.
37077         * libio/iovsprintf.c: Likewise.
37078         * libio/iovsscanf.c: Likewise.
37079         * libio/memstream.c: Likewise.
37080         * libio/obprintf.c: Likewise.
37081         * libio/oldfileops.c: Likewise.
37082         * libio/oldiofclose.c: Likewise.
37083         * libio/oldiofdopen.c: Likewise.
37084         * libio/oldiofopen.c: Likewise.
37085         * libio/oldiopopen.c: Likewise.
37086         * libio/oldstdfiles.c: Likewise.
37087         * libio/putc.c: Likewise.
37088         * libio/setbuf.c: Likewise.
37089         * libio/setlinebuf.c: Likewise.
37090         * libio/stdfiles.c: Likewise.
37091         * libio/strops.c: Likewise.
37092         * libio/vasprintf.c: Likewise.
37093         * libio/vscanf.c: Likewise.
37094         * libio/vsnprintf.c: Likewise.
37095         * libio/vswprintf.c: Likewise.
37096         * libio/wfiledoalloc.c: Likewise.
37097         * libio/wfileops.c: Likewise.
37098         * libio/wgenops.c: Likewise.
37099         * libio/wmemstream.c: Likewise.
37100         * libio/wstrops.c: Likewise.
37101         * libio/__fpurge.c: Likewise.
37102         * libio/__fsetlocking.c: Likewise.
37103         * assert/assert.c: Likewise.
37104         * debug/fgets_chk.c: Likewise.
37105         * debug/fgets_u_chk.c: Likewise.
37106         * debug/fread_chk.c: Likewise.
37107         * debug/fread_u_chk.c: Likewise.
37108         * debug/gets_chk.c: Likewise.
37109         * debug/obprintf_chk.c: Likewise.
37110         * debug/vasprintf_chk.c: Likewise.
37111         * debug/vdprintf_chk.c: Likewise.
37112         * debug/vsnprintf_chk.c: Likewise.
37113         * debug/vsprintf_chk.c: Likewise.
37114         * malloc/mtrace.c: Likewise.
37115         * misc/error.c: Likewise.
37116         * misc/syslog.c: Likewise.
37117         * stdio-common/asprintf.c: Likewise.
37118         * stdio-common/fxprintf.c: Likewise.
37119         * stdio-common/getw.c: Likewise.
37120         * stdio-common/isoc99_fscanf.c: Likewise.
37121         * stdio-common/isoc99_scanf.c: Likewise.
37122         * stdio-common/isoc99_vfscanf.c: Likewise.
37123         * stdio-common/isoc99_vscanf.c: Likewise.
37124         * stdio-common/isoc99_vsscanf.c: Likewise.
37125         * stdio-common/printf-prs.c: Likewise.
37126         * stdio-common/printf_fp.c: Likewise.
37127         * stdio-common/printf_fphex.c: Likewise.
37128         * stdio-common/printf_size.c: Likewise.
37129         * stdio-common/putw.c: Likewise.
37130         * stdio-common/scanf.c: Likewise.
37131         * stdio-common/sprintf.c: Likewise.
37132         * stdio-common/tmpfile.c: Likewise.
37133         * stdio-common/vfprintf.c: Likewise.
37134         * stdio-common/vfscanf.c: Likewise.
37135         * stdlib/strfmon_l.c: Likewise.
37136         * sunrpc/openchild.c: Likewise.
37137         * sunrpc/xdr_stdio.c: Likewise.
37138         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37139         * sysdeps/mach/hurd/tmpfile.c: Likewise.
37140
37141 2012-05-24  Roland McGrath  <roland@hack.frob.com>
37142
37143         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37144
37145         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37146         in the third column, to generate for the shared library an IFUNC
37147         that uses _dl_vdso_vsym.
37148         * Makerules (COMPILE.c, compile-stdin.c): New variables.
37149         * Makeconfig (object-suffixes-noshared): New variable.
37150
37151         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37152         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37153         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37154         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37155
37156         [BZ #14132]
37157         * include/sys/time.h (__gettimeofday): Remove macro.
37158         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37159         * time/gettimeofday.c (__gettimeofday): Remove #undef.
37160         Remove INTDEF.
37161         (__gettimeofday): Add libc_hidden_def.
37162         (gettimeofday): Add libc_hidden_weak.
37163         * sysdeps/mach/gettimeofday.c: Likewise.
37164         * sysdeps/posix/gettimeofday.c: Likewise.
37165         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37166         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37168         (__gettimeofday_internal): Remove strong_alias.
37169         (__gettimeofday): Add libc_hidden_def.
37170         (gettimeofday): Add libc_hidden_weak.
37171         * sysdeps/unix/syscalls.list (gettimeofday):
37172         Remove __gettimeofday_internal alias.
37173
37174 2012-05-24  Daniel Jacobowitz  <drow@false.org>
37175             H.J. Lu  <hongjiu.lu@intel.com>
37176
37177         [BZ #12495]
37178         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37179         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37180         (largebin_index_32_big): New.
37181         (largebin_index): Use it for 16-byte alignment.
37182         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
37183         correction with front_misalign.
37184
37185 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37186
37187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37189         Likewise.
37190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37191         Likewise.
37192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37193         Likewise.
37194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37195         Likewise.
37196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37197         Likewise.
37198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37199         Likewise.
37200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37201         Likewise.
37202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37203         Likewise.
37204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37205         Likewise.
37206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37207         Likewise.
37208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37209         Likewise.
37210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37211         Likewise.
37212
37213         * scripts/data/c++-types-x32-linux-gnu.data: New file.
37214         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37215
37216 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37217
37218         [BZ #10846]
37219         [BZ #14036]
37220         * math/libm-test.inc (exp_test): Add test from bug 14036.
37221         (pow_test): Add test from bug 10846.
37222
37223         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37224         and other flags.
37225         (special_function): Do not include flags in test name.
37226         (parse_args): Likewise.
37227         * sysdeps/i386/fpu/libm-test-ulps: Update.
37228         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37229         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37230         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37232
37233         * math/gen-libm-test.pl (%beautify): Add entries for underflow
37234         exceptions.
37235         * math/libm-test.inc ("Philosophy"): Update comment about
37236         exception testing.
37237         (UNDERFLOW_EXCEPTION): New macro.
37238         (UNDERFLOW_EXCEPTION_OK): Likewise.
37239         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37240         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37241         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37242         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37243         (INVALID_EXCEPTION_OK): Update value.
37244         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37245         (OVERFLOW_EXCEPTION_OK): Likewise.
37246         (IGNORE_ZERO_INF_SIGN): Likewise.
37247         (test_exceptions): Handle underflow exceptions.
37248         (acos_test): Update for underflow exception expectations.
37249         (cexp_test): Likewise.
37250         (clog_test): Likewise.
37251         (clog10_test): Likewise.
37252         (csqrt_test): Likewise.
37253         (ctan_test): Likewise.
37254         (ctanh_test): Likewise.
37255         (exp_test): Likewise.
37256         (exp10_test): Likewise.
37257         (exp2_test): Likewise.
37258         (expm1_test): Likewise.
37259         (fma_test): Likewise.
37260         (j0_test): Likewise.
37261         (jn_test): Likewise.
37262         (nexttoward_test): Likewise.
37263         (pow_test): Likewise.
37264         (scalbn_test): Likewise.
37265         (scalbln_test): Likewise.
37266         (tan_test): Likewise.
37267         (y1_test): Likewise.
37268         * sysdeps/i386/fpu/libm-test-ulps: Update.
37269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37270
37271 2012-05-23  David S. Miller  <davem@davemloft.net>
37272
37273         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37274         (__libc_sigaction): Remove unused local variables.
37275
37276 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37277
37278         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37279
37280 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
37281
37282         mktime: avoid signed integer overflow
37283         * time/mktime.c (__mktime_internal): Do not mishandle the case
37284         where diff == INT_MIN.
37285
37286         mktime: simplify computation of average
37287         * time/mktime.c (ranged_convert): Use new time_t_avg function
37288         instead of rolling our own (probably-slower) code.
37289
37290         mktime: do not assume signed right shift propagates sign bit
37291         * time/mktime.c (isdst_differ): New static function.
37292         (__mktime_internal): No need to normalize tm_isdst now.
37293         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37294         tm_isdst values.
37295
37296         mktime: merge another wrapv change from gnulib
37297         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37298         from some compilers.
37299
37300         mktime: remove incorrect attempt at unusual arithmetics
37301         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37302         The code didn't really work on such machines anyway.
37303         (TYPE_MINIMUM): Assume two's complement.
37304         (twos_complement_arithmetic): Verify that long_int and time_t
37305         are two's complement (or unsigned, in the latter case).
37306
37307         mktime: check signed shifts on long_int and time_t, too
37308         * time/mktime.c (SHR): Check that shifts work as desired
37309         on the types long_int and time_t too, as SHR is used on
37310         such types.
37311
37312         mktime: do not assume 'long' is wide enough
37313         * time/mktime.c (verify): Move decl up.
37314         (long_int): New type.
37315         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37316         to remove assumption in the code that 'long' is wide enough to
37317         store year values.  This assumption is not true on x32 and on
37318         some non-glibc platforms.
37319
37320         mktime: merge wrapv change from gnulib
37321         * time/mktime.c (WRAPV): New macro.
37322         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37323         (guess_time_tm, __mktime_internal): Do not assume that signed
37324         integer overflow wraps around; modern compilers generate code
37325         where this assumption is no longer valid.
37326
37327 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37328
37329         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37330         Replace "jmp L(pseudo_end)" with "ret".
37331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37332         Likewise.
37333
37334 2012-05-23  Andreas Jaeger  <aj@suse.de>
37335
37336         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37337         * sysdeps/unix/sysv/linux/poll.c: Remove file.
37338
37339 2012-05-23  Andreas Jaeger  <aj@suse.de>
37340             Maximilian Attems  <max@stro.at>
37341
37342         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37343         New macros.
37344
37345 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37346
37347         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37348         code so that pseudo_end is just ret and the stack pointer is
37349         correct also for static library in error case.
37350
37351 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
37352
37353         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37354         move to syscalls.list.
37355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37359
37360         * manual/install.texi (Running make install): Do not mention Linux
37361         kernel version for which pt_chown is not needed.
37362         (Linux): Do not mention problems with nscd with 2.0 kernels.
37363         * INSTALL: Regenerated.
37364
37365 2012-05-23  Andreas Jaeger  <aj@suse.de>
37366
37367         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37368         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37369         macro.
37370         * sysdeps/unix/sysv/linux/s390/bits/mman.h
37371         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37372         * sysdeps/unix/sysv/linux/sh/bits/mman.h
37373         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37374         * sysdeps/unix/sysv/linux/i386/bits/mman.h
37375         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37376         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37377         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37378         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37379         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37380         * sysdeps/unix/sysv/linux/bits/in.h
37381         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37382
37383 2012-05-22  Roland McGrath  <roland@hack.frob.com>
37384
37385         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37386         (PREPARE_VERSION): Just use assert instead, it will be elided
37387         under [NDEBUG] anyway.
37388
37389 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37390
37391         * sysdeps/unix/sysv/linux/Makefile: Include
37392         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37393         (sysdep_routines): Remove sysctl.
37394         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37395         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37396         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37397         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37398         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37399
37400 2012-05-22  Andreas Jaeger  <aj@suse.de>
37401
37402         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37403         that pseudo_end is just ret and the stack pointer is correct also
37404         for static library in error case.
37405
37406 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37407
37408         [BZ #14122]
37409         * nss/nsswitch.c (defconfig_entries): New variable.
37410         (__nss_database_lookup): Don't leak defconfig entries.
37411         (nss_parse_service_list): Don't leak on error paths.
37412         (free_database_entries): New function.
37413         (free_defconfig): New function.
37414         (free_mem): Move common code to free_database_entries.
37415
37416 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37417
37418         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37419         Add arch_prctl.
37420         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37421
37422         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37423         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37424         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37425         New macro.
37426         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37427         (INTERNAL_SYSCALL_TYPES): Likewise.
37428         (LOAD_ARGS_TYPES_[1-6]): Likewise.
37429         (LOAD_REGS_TYPES_[1-6]): Likewise.
37430         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37431         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37432
37433 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37434
37435         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37436         copysignl for GLIBC_2_0.
37437         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37438         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37439         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37440         logbl for GLIBC_2_0.
37441         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37442         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37443
37444 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37445
37446         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37447         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37448
37449         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37450         Use "neg %eax".
37451
37452         * time/mktime.c: Update copyright years.
37453
37454 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37455
37456         mktime: merge comment-quoting-style change from gnulib
37457         * time/mktime.c: Quote 'like this' in comments.
37458         The GNU coding standards suggest that we no longer quote `like this',
37459         as "`" and "'" are typically rendered asymmetrically nowadays.
37460         The typical gnulib style is to quote 'like this' when quoting
37461         code, and "like this" when quoting English.
37462
37463         * time/mktime.c (compile-command): Add "-I.".
37464
37465         mktime: merge mktime-internal.h change from gnulib
37466         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37467
37468         mktime: merge time_r change from gnulib
37469         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37470
37471         mktime: merge DEBUG change from gnulib
37472         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37473         case system <time.h> has a #define.
37474
37475         mktime: merge <sys/types.h> change from gnulib
37476         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37477         since <time.t> is now guaranteed to define time_t.
37478
37479         mktime: merge HAVE_CONFIG_H change from gnulib
37480         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37481
37482 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37483
37484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37485         Use "neg %eax".
37486
37487         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37488         __rlim_t cast.
37489         (struct rusage): Use anonymous union to pad each field to
37490         __syscall_slong_t.
37491
37492 2012-05-21  David S. Miller  <davem@davemloft.net>
37493
37494         * Makefules (o-iterator): Remove .s cases.
37495         (compile-command.s): Delete.
37496         (COMPILE.s): Delete.
37497         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37498
37499 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
37500
37501         * configure.in (libc_cv_predef_stack_protector): Only consider
37502         "foobar" and "__stack_chk_fail" lines in libc_undefs.
37503         * configure: Regenerated.
37504
37505 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37506
37507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37508         New macro.  Use R*LP on int and pointer.
37509         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37510         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37511         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37512         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37513
37514         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37515         [__WORDSIZE_TIME64_COMPAT32] instead of
37516         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37517         (struct utmp): Likewise.
37518         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37519         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37520         Renamed to ...
37521         (__WORDSIZE_TIME64_COMPAT32): This.
37522         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37523         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37524         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37525         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37526         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37527         (__WORDSIZE_TIME64_COMPAT32): New macro.
37528
37529 2012-05-21  Andreas Jaeger  <aj@suse.de>
37530
37531         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37532         only if [SHARED]. Add prototype for __wcschr_ia32.
37533
37534 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37535
37536         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37537         of %rbp unmolested in the jmp_buf while mangling the low bits.
37538         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37539         unmolested high bits of %rbp while demangling the low bits.
37540         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37541
37542 2012-05-21  Andreas Jaeger  <aj@suse.de>
37543
37544         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37545         * sunrpc/svc_simple.c: Use it for registerrpc.
37546         * sunrpc/xcrypt.c: Use it for passwd2des.
37547
37548         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37549
37550 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37551
37552         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37553         Don't define if [__SYSCALL_WORDSIZE != 32].
37554         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37555         New macro.
37556
37557 2012-05-21  Bruno Haible  <bruno@clisp.org>
37558             Andreas Jaeger  <aj@suse.de>
37559
37560         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37561         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37562         inptr and inend for must_buffer_ch.
37563         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37564         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37565         * stdio-common/Makefile (tests): Remove bug15.
37566         (bug15-ENV): Remove macro.
37567         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37568         anymore.
37569
37570 2012-05-19  Andreas Jaeger  <aj@suse.de>
37571             Roland McGrath  <roland@hack.frob.com>
37572
37573         * manual/contrib.texi: Completely rewritten. It contains now an
37574         alphabetical list of contributors and their contributions.
37575
37576 2012-05-21  Richard Henderson  <rth@twiddle.net>
37577
37578         * misc/getauxval.c (__getauxval): Use unsigned long int.
37579         * misc/sys/auxv.h: Include <sys/cdefs.h>.
37580         (getauxval): Use unsigned long int.
37581
37582 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37583
37584         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37585
37586 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37587
37588         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37589         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37590         __alignof__ (long double).
37591
37592 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37593
37594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37595
37596 2012-05-20  Richard Henderson  <rth@twiddle.net>
37597
37598         * misc/getauxval.c: New file.
37599         * misc/sys/auxv.h: New file.
37600         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37601         (routines): Add getauxval.
37602         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37603         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37604         * elf/dl-sysdep.c (_dl_auxv): Remove.
37605         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37606         * elf/dl-support.c (_dl_auxv): New variable.
37607         (_dl_aux_init): Initialize it.
37608         * manual/startup.texi (Auxiliary Vector): New node.
37609         * sysdeps/generic/bits/hwcap.h: New file.
37610         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37611         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
37612         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37613         * sysdeps/sparc/sysdep.h: ... here.  Include it.
37614         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37615         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37617         Update.
37618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37621         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37626
37627 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37628
37629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37630
37631 2012-05-19  David S. Miller  <davem@davemloft.net>
37632
37633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37634
37635 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37636
37637         [BZ #14123]
37638         * math/s_ccosh.c: Include <float.h>
37639         (__ccosh): Avoid internal overflow calculating sinh and cosh
37640         values before multiplying by sin and cos values.
37641         * math/s_ccoshf.c: Likewise.
37642         * math/s_ccoshl.c: Likewise.
37643         * math/s_csin.c: Likewise.
37644         * math/s_csinf.c: Likewise.
37645         * math/s_csinl.c: Likewise.
37646         * math/s_csinh.c: Likewise.
37647         * math/s_csinhf.c: Likewise.
37648         * math/s_csinhl.c: Likewise.
37649         * math/libm-test.inc (ccos_test): Add more tests.
37650         (ccosh_test): Likewise.
37651         (csin_test): Likewise.
37652         (csinh_test): Likewise.
37653         * sysdeps/i386/fpu/libm-test-ulps: Update.
37654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37655
37656 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37657
37658         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37659         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37660
37661         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37662
37663 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37664
37665         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37666         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37667         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37668         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37669         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37670         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37671         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37672         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37673         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37674         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37675         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37676         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37677         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37678         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37679         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37680         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37681         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37682         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37683         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37684         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37685         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37686         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37687         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37688         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37689         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37690         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37691         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37692         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37693         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37694         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37695         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37696
37697 2012-05-18  Andreas Jaeger  <aj@suse.de>
37698
37699         * csu/.gitignore: Delete.
37700
37701 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37702
37703         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37704         (timex): Use __syscall_slong_t.
37705
37706 2012-05-18  Andreas Jaeger  <aj@suse.de>
37707             Carlos O'Donell  <carlos_odonell@mentor.com>
37708
37709         * manual/install.texi (Configuring and compiling): Update
37710         description about files modified in the source directory.
37711         * INSTALL: Regenerated.
37712
37713 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37714
37715         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37716         value.  Use "or" to set return value to -1.
37717         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37718         negate return value.
37719
37720 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37721
37722         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37723         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37724         failure if the compiler has Graphite support disabled.
37725         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37726         Likewise.
37727         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37728         (CFLAGS-memmove.c): Likewise.
37729         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37730         Likewise.
37731
37732 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37733
37734         * sysdeps/x86_64/x32/_itoa.h: New file.
37735
37736         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37737         getdents system call only if kernel and user dirents have the
37738         same d_ino and d_off.
37739
37740         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37741         LLONG_MAX != LONG_MAX.
37742         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37743         (_fitoa_word): Likewise.
37744
37745         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37746         years.
37747         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37748         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37749         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37750
37751         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37752         include <bits/wordsize.h>.  Check __x86_64__ instead of
37753         __WORDSIZE.
37754         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37755         if __x86_64__ is defined.  Use anonymous union on fpstate.
37756
37757         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37758         anonymous union.
37759
37760 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37761
37762         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37763         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37764         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37765         Refer to _rtld_local_ro instead of _rtld_global_ro.
37766         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37767         Likewise.
37768         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37769         Likewise.
37770         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37771         Likewise.
37772         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37773         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37774         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37775
37776         * sysdeps/powerpc/powerpc32/dl-machine.c
37777         (__elf_machine_runtime_setup) [PROF]: Don't reference
37778         _dl_prof_resolve.
37779
37780 2012-05-18  Andreas Jaeger  <aj@suse.de>
37781
37782         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37783         function only available for GCCs before 3.4 since GCC 3.4
37784         introduced a builtin.
37785         (lrint): Likewise.
37786         (llrintf): Likewise.
37787         (llrint): Likewise.
37788         (fmaxf): Likewise.
37789         (fmax): Likewise.
37790         (fminf): Likewise.
37791         (fmin): Likewise.
37792         (rint): Likewise.
37793         (rintf): Likewise.
37794         (nearbyint): Likewise.
37795         (nearbyintf): Likewise.
37796         (ceil): Likewise.
37797         (ceilf): Likewise.
37798         (floor): Likewise.
37799         (floorf): Likewise.
37800
37801 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37802
37803         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37804         on both fields and cast pointer to __syscall_ulong_t.
37805
37806         * bits/types.h (__fsword_t): New type.
37807         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37808         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37809         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37810         (__FSWORD_T_TYPE): Likewise.
37811         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37812         (__FSWORD_T_TYPE): Likewise.
37813         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37814         (__FSWORD_T_TYPE): Likewise.
37815         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37816         (__FSWORD_T_TYPE): Likewise.
37817         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37818         __SWORD_TYPE with __fsword_t.
37819         (statfs64): Likewise.
37820
37821 2012-05-17  David S. Miller  <davem@davemloft.net>
37822
37823         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37824
37825 2012-05-17  Andreas Jaeger  <aj@suse.de>
37826
37827         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37828         warning.
37829
37830 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37831
37832         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37833
37834 2012-05-17  Andreas Jaeger  <aj@suse.de>
37835
37836         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37837         when it is used.
37838
37839 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37840
37841         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37842
37843 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37844
37845         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37846         * sysdeps/x86_64/tst-mallocalign1.c: New file.
37847
37848 2012-05-17  Andreas Jaeger  <aj@suse.de>
37849             Carlos O'Donell  <carlos_odonell@mentor.com>
37850
37851         [BZ #14059]
37852         * sysdeps/x86_64/multiarch/init-arch.h
37853         (bit_YMM_Usable): Rename to...
37854         (bit_AVX_Usable): ... this.
37855         (bit_FMA4_Usable): New macro.
37856         (bit_XMM_state): New macro.
37857         (bit_YMM_state): New macro.
37858         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37859         [__ASSEMBLER__] (index_AVX_Usable): ... this.
37860         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37861         (CPUID_OSXSAVE): New macro.
37862         (CPUID_AVX): New macro.
37863         (CPUID_FMA4): New macro.
37864         (index_YMM_Usable): Rename to...
37865         (index_AVX_Usable): ... this.
37866         (HAS_AVX): Use HAS_ARCH_FEATURE.
37867         (HAS_FMA4): Likewise.
37868         (HAS_YMM_USABLE): Remove.
37869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37870         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37871         are present.
37872         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37873         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37874         * sysdeps/x86_64/multiarch/Makefile: Likewise.
37875         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37876         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37877
37878 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37879
37880         * math/libm-test.c: Support platforms without multiple rounding modes.
37881         * math/bug-nextafter.c: Support platforms without FP exceptions.
37882         * math/bug-nexttoward.c: Likewise.
37883         * math/test-fenv.c: Likewise.
37884         * math/test-misc.c: Likewise.
37885         * stdlib/bug-getcontext.c: Likewise.
37886
37887 2012-05-17  Andreas Jaeger  <aj@suse.de>
37888
37889         * manual/examples/search.c (critter_cmp): Change signature to
37890         avoid warnings.
37891         * manual/string.texi (Collation Functions): Likewise.
37892
37893 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37894
37895         * bits/types.h: Fold copyright years.
37896         * bits/typesizes.h: Likewise.
37897         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37899         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37900         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37901         * time/time.h: Likewise.
37902
37903 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
37904
37905         [BZ #208]
37906         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37907         in instead of returning them.  Return void.
37908         (__libc_mallinfo): Accumulate over all arenas.
37909         (__malloc_stats): Adjust for change in int_mallinfo interface.
37910
37911 2012-05-16  Roland McGrath  <roland@hack.frob.com>
37912
37913         [BZ #10375]
37914         * configure.in (NM): Add AC_CHECK_TOOL for it.
37915         (libc_extra_cflags): New substituted variable.
37916         Check for -fstack-protector being used implicitly.
37917         * configure: Regenerated.
37918         * config.make.in (config-extra-cflags): New variable,
37919         gets @libc_extra_cflags@.
37920         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37921
37922         [BZ #10375]
37923         * configure.in: Check for _FORTIFY_SOURCE being predefined.
37924         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37925         * configure: Regenerated.
37926         * config.make.in (CPPUNDEFS): New substituted variable.
37927         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37928         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37929         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37930
37931 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37932
37933         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37934         (mq_attr): Use __syscall_slong_t.
37935
37936 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37937
37938         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37939         Check __x86_64__ instead of __WORDSIZE.
37940         (_STAT_VER_LINUX): Likewise.
37941         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
37942         __syscall_ulong_t and __syscall_slong_t.
37943         (stat64): Likewise.
37944
37945 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37946
37947         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37948
37949 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37950
37951         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37952
37953 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37954
37955         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37956         __syscall_ulong_t.
37957
37958         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37959         include <bits/wordsize.h>.  Check __x86_64__ instead of
37960         __WORDSIZE.
37961         (greg_t): Use "__extension__ long long int" if __x86_64__ is
37962         defined.
37963         (mcontext_t): Replace "unsigned long" with "unsigned long long".
37964
37965         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37966         include <bits/wordsize.h>.  Check __x86_64__ instead of
37967         __WORDSIZE.
37968         (user_regs_struct): Use "__extension__ unsigned long long"
37969         instead of "unsigned long" if __x86_64__ is defined.
37970         (user): Likewise.  Pad after pointer field if __ILP32__ is
37971         defined.
37972
37973 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
37974
37975         * configure.in (makeinfo): Require version 4.5 or later.  Allow
37976         versions 5 to 9.
37977         * configure: Regenerated.
37978         * manual/install.texi (texinfo): Increase version requirement to
37979         4.5 or later.
37980         * INSTALL: Regenerated.
37981
37982         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37983
37984 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37985
37986         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37987
37988         * sysdeps/x86_64/x32/ffs.c: New file.
37989
37990         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37991         __syscall_ulong_t.
37992         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37993         defined.  Use __syscall_ulong_t.
37994         (shminfo): Use __syscall_ulong_t.
37995         (shm_info): Likewise.
37996
37997         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37998         __syscall_ulong_t.
37999
38000         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38001         <bits/wordsize.h>.
38002         (msgqnum_t): Use __syscall_ulong_t.
38003         (msglen_t): Likewise.
38004         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
38005         __syscall_ulong_t.
38006
38007         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38008         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38009
38010         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38011
38012         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38013         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38014
38015         * sysvipc/sys/msg.h (msgbuf): Replace long int with
38016         __syscall_slong_t.
38017
38018         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38019         include <bits/wordsize.h>.  Check __x86_64__ instead of
38020         __WORDSIZE.
38021
38022         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38023         "unsigned long long int" if __x86_64__ is defined.
38024         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38025
38026         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38027         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38028         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38029
38030         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38031         <stdint.h>.
38032         (GET_PC): Cast to uintptr_t first.
38033         (GET_FRAME): Likewise.
38034         (GET_STACK): Likewise.
38035
38036         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38037         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38038         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38039         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38040         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38041         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38042         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38043         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38044         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38045         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38046         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38047         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38048         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38049         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38050         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38051         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38052         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38053         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38054         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38055         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38056         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38057         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38058         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38059         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38060         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38061         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38062         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38063         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38064         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38065
38066 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
38067
38068         * Makerules (+depfiles): Also collect depfiles from .oS in
38069         $(extra-objs).
38070         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38071         .oS, $(libnldbl-routines)).
38072
38073         * Makerules (native-compile-mkdep-flags): Define.
38074         * sunrpc/Makefile (extra-objs): Add $(addprefix
38075         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38076         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38077         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
38078         calling $(make-target-directory).
38079
38080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38081
38082         * bits/types.h (__snseconds_t): Removed.
38083         * time/time.h (struct timespec): Replace __snseconds_t with
38084         __syscall_slong_t.
38085         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38086         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38087         Likewise.
38088         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38089         (__SNSECONDS_T_TYPE): Likewise.
38090         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38091         (__SNSECONDS_T_TYPE): Likewise.
38092         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38093         (__SNSECONDS_T_TYPE): Likewise.
38094
38095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38096
38097         * sysdeps/mach/hurd/bits/typesizes.h
38098         (__SYSCALL_SLONG_TYPE): New macro.
38099         (__SYSCALL_ULONG_TYPE): Likewise.
38100
38101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38102
38103         * bits/types.h (__syscall_slong_t): New type.
38104         (__syscall_ulong_t): Likewise.
38105
38106         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38107         (__SYSCALL_ULONG_TYPE): Likewise.
38108         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38109         (__SYSCALL_SLONG_TYPE): Likewise.
38110         (__SYSCALL_ULONG_TYPE): Likewise.
38111         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38112         (__SYSCALL_SLONG_TYPE): Likewise.
38113         (__SYSCALL_ULONG_TYPE): Likewise.
38114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38115         (__SYSCALL_SLONG_TYPE): Likewise.
38116         (__SYSCALL_ULONG_TYPE): Likewise.
38117
38118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38119
38120         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38121         Add sigaltstack-offsets.sym.
38122         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38123         <sigaltstack-offsets.h>.
38124         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
38125         longjmp_msg pointer.
38126         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
38127         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38128         signal stack.
38129         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38130
38131 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38132
38133         * elf/stackguard-macros.h: Remove file.
38134         * sysdeps/generic/stackguard-macros.h: New file.
38135         * sysdeps/i386/stackguard-macros.h: Likewise.
38136         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38137         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38138         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38139         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38140         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38141         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38142         * sysdeps/x86_64/stackguard-macros.h: Likewise.
38143         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38144         <elf/stackguard-macros.h>.
38145
38146         [BZ #14109]
38147         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38148         __aligned__ in attribute.
38149         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38150         (gregset_t): Likewise.
38151
38152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38153
38154         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38155         * sysdeps/x86_64/64/Implies-after: Here.  New file.
38156         * sysdeps/x86_64/x32/Implies-after: New file.
38157
38158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38159
38160         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38161         and access return value for _dl_profile_fixup.  Use R10_LP to
38162         load frame size.
38163
38164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38165
38166         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38167
38168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38169
38170         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38171         * sysdeps/x86_64/x32/sysdep.h: New file.
38172
38173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38174
38175         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38176         * sysdeps/x86_64/setjmp.S: Likewise.
38177
38178 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38179
38180         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38181         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38182         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38183         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38184         remove unused global constant.
38185
38186 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
38187
38188         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38189         include of <not-cancel.h>.
38190
38191 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38192
38193         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38194
38195 2012-05-15  Jeff Law  <law@redhat.com>
38196             Andreas Jaeger  <aj@suse.de>
38197
38198         [BZ #13594]
38199         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38200         out from...
38201         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38202         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38203         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38204         code changing __hst_map_handle.map.
38205
38206 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38207
38208         * configure.in (sysnames): Look for Implies-before and Implies-after
38209         files.
38210         * configure: Regenerated.
38211
38212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38213
38214         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38215         8-byte data alignment with LP_SIZE alignment.
38216
38217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38218
38219         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38220         into R10_LP.
38221
38222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38223
38224         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38225
38226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38227
38228         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38229         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38230         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38231         Likewise.
38232         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38233
38234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38235
38236         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38237         (stackinfo_sub_sp): Likewise.
38238
38239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38240
38241         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38242         RAX_LP.
38243
38244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38245
38246         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38247         into R*_LP.
38248
38249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38250
38251         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38252         sizes into R*_LP.
38253
38254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38255
38256         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38257
38258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38259
38260         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38261         into R11_LP and load __x86_64_shared_cache_size_half into
38262         R8_LP.
38263
38264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38265
38266         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38267         R8_LP.
38268
38269 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38270
38271         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38272         logb for POWER7.
38273         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38274         logbf for POWER7.
38275         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38276         logbl for POWER7.
38277         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38278         powerpc32/power7/fpu/s_logb.c via #include.
38279         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38280         powerpc32/power7/fpu/s_logbf.c via #include.
38281         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38282         powerpc32/power7/fpu/s_logbl.c via #include.
38283
38284 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38285
38286         * README.libm: Remove file.
38287
38288 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38289
38290         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38291         count for x32.  Use R*_LP and omit operand-size suffix.
38292
38293 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38294
38295         * shlib-versions: Move x86_64-.*-linux.* entries to ...
38296         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
38297         * sysdeps/x86_64/x32/shlib-versions: New file.
38298
38299 2012-05-14  Roland McGrath  <roland@hack.frob.com>
38300
38301         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38302         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38303         Use _dl_fatal_printf instead.
38304
38305 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38306
38307         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38308         set if not set by the user.  Do not allow for being unset.
38309         * sysdeps/unix/sysv/linux/configure: Regenerated.
38310
38311 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38312
38313         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38314         the `q' suffix from lea and replace .quad with ASM_ADDR.
38315
38316 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38317
38318         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38319         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
38320         instead of $17.
38321         (PTR_DEMANGLE): Likewise.
38322
38323 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38324
38325         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38326         (LP_OP): Likewise.
38327         (ASM_ADDR): Likewise.
38328         (RAX_LP): Likewise.
38329         (RBP_LP): Likewise.
38330         (RBX_LP): Likewise.
38331         (RCX_LP): Likewise.
38332         (RDI_LP): Likewise.
38333         (RSI_LP): Likewise.
38334         (RSP_LP): Likewise.
38335         (R8_LP): Likewise.
38336         (R9_LP): Likewise.
38337         (R10_LP): Likewise.
38338         (R10_LP): Likewise.
38339         (R11_LP): Likewise.
38340         (R12_LP): Likewise.
38341         (R13_LP): Likewise.
38342         (R14_LP): Likewise.
38343         (R15_LP): Likewise.
38344
38345 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38346
38347         * sysdeps/x86_64/x32/dl-machine.h: New file.
38348
38349 2012-05-14  Andreas Jaeger  <aj@suse.de>
38350
38351         * manual/Makefile (subdir): Remove export of subdir.
38352         (all): Remove target.
38353         (.PHONY): Remove all from list.
38354         (mkinstalldirs): Remove.
38355         (.PHONY): Remove installdirs from list.
38356         ($(inst_infodir)/libc.info): Use make-target-directory.
38357         (installdirs): Remove.
38358         (subdir_%): Remove.
38359         (glibc-targets): Remove.
38360         (lib): Remove.
38361         (stubs): Remove.
38362         ($(objpfx)stubs ../po/manual.pot): Remove.
38363         ($(objpfx)stamp%): Remove.
38364         (make-target-directory): Remove.
38365         (subdir_install): Remove.
38366         (routines): Remove.
38367         (aux): Remove.
38368         (sources): Remove.
38369         (objects): Remove.
38370         (headers): Remove.
38371
38372         [BZ #13750]
38373         * manual/.gitignore: Remove, it's not needed anymore.
38374         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38375         all files in it.
38376         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38377         directory.
38378         (texis): Renamed to $(objpfx)texis.
38379         (texis-path): New, contains path to generated files.
38380         (chapters.%): Use texis-path for complete path, add extra argument
38381         libc-texinfo.sh.
38382         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38383         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38384         (summary,texi, stamp-summary): Use complete path of
38385         files. Generate files in build dir.
38386         (dir-add.texi): Build in build dir.
38387         (libm-err.texi,stamp-libm-err): Likewise.
38388         (version.texi, stamp-version): Likewise.
38389         (.%c.texi): Likewise.
38390         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38391         (mostlyclean): Remove target.
38392         (realclean): Remove target.
38393         (generated): Add new variable with contents from mostlyclean and
38394         realclean, remove entries duplicated in common-mostlyclean, add
38395         stamp-libm-err and stamp-version.
38396         (generated-dirs): Add libc directory.
38397         ($(inst_infodir)/libc.info): Install files from build dir.
38398
38399         * manual/install.texi (Configuring and compiling): Adjust since
38400         the info files are not part of the tar ball anymore.
38401
38402 2012-05-14  Andreas Jaeger  <aj@suse.de>
38403
38404         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38405         variable.
38406
38407 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38408
38409         [BZ #13717]
38410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38411         to 2.2.0 where earlier.
38412         * sysdeps/unix/sysv/linux/configure: Regenerated.
38413         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38414         Remove conditional code.
38415         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38416         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38417         Remove conditional code.
38418         [!__NR_lchown]: Likewise.
38419         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38420         [__NR_lchown]: Likewise.
38421         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38422         comment referencing __ASSUME_LCHOWN_SYSCALL.
38423         * sysdeps/unix/sysv/linux/i386/sigaction.c
38424         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38425         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38426         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38427         Remove conditional code.
38428         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38429         (__protocol_available): Remove #if 0 code.
38430         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38431         conditional code.
38432         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38433         * sysdeps/unix/sysv/linux/kernel-features.h
38434         (__ASSUME_GETCWD_SYSCALL): Don't define.
38435         (__ASSUME_REALTIME_SIGNALS): Likewise.
38436         (__ASSUME_PREAD_SYSCALL): Likewise.
38437         (__ASSUME_PWRITE_SYSCALL): Likewise.
38438         (__ASSUME_POLL_SYSCALL): Likewise.
38439         (__ASSUME_LCHOWN_SYSCALL): Likewise.
38440         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38441         non-SPARC.
38442         (__ASSUME_SIOCGIFNAME): Don't define.
38443         (__ASSUME_MSG_NOSIGNAL): Likewise.
38444         (__ASSUME_SENDFILE): Define unconditionally.
38445         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38446         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38447         conditional code.
38448         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38449         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38450         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38451         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38452         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38453         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38454         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38456         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38457         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38459         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38462         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38463         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38465         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38468         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38469         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38471         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38474         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38477         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38478         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38479         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38480         Remove conditional code.
38481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38482         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38483         Remove conditional code.
38484         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38485         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38486         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38487         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38488         Remove conditional code.
38489         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38490         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38491         Remove conditional code.
38492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38493         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38494         Remove conditional code.
38495         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38496         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38497         Remove conditional code.
38498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38499         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38500         Remove conditional code.
38501         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38502         * sysdeps/unix/sysv/linux/sh/pwrite64.c
38503         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38504         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38505         * sysdeps/unix/sysv/linux/sigaction.c
38506         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38507         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38508         * sysdeps/unix/sysv/linux/sigpending.c
38509         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38510         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38511         * sysdeps/unix/sysv/linux/sigprocmask.c
38512         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38513         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38514         * sysdeps/unix/sysv/linux/sigsuspend.c
38515         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38516         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38517         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38518         (__libc_missing_rt_sigs): Remove.
38519         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38520         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38521         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38522         Remove conditional code.
38523         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38524         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38525         return 1.
38526         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38527         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38528         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38529         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38530
38531 2012-05-14  Andreas Jaeger  <aj@suse.de>
38532
38533         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38534         it's not used in glibc.
38535         (__coshm1): Likewise.
38536         (__acosh1p): Likewise.
38537         (__sgn): Likewise.
38538
38539         * manual/string.texi (Copying and Concatenation): Add missing
38540         variable in concat example.
38541         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38542
38543 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38544
38545         [BZ #14103]
38546         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38547         __builtin_clzl with __builtin_clzll.
38548
38549 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38550
38551         [BZ #14104]
38552         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38553         libc_freeres_ptr.
38554
38555 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38556
38557         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38558         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38559         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38560         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38561
38562 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
38563
38564         * NEWS: Update ia64 info.
38565
38566 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
38567
38568         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38569         used as bcopy.
38570
38571 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
38572
38573         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38574         * sysdeps/unix/syscalls.list (dup3): Likewise.
38575         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38576         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38577
38578 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38579
38580         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38581         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38582
38583 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38584
38585         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38586         thread pointer.
38587         (TLS_IE): Use mov/add instead of movq/addq to load thread
38588         pointer.
38589         (TLS_GD_PREFIX): New.
38590         (TLS_GD): Use it.
38591
38592 2012-05-11  David S. Miller  <davem@davemloft.net>
38593
38594         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38595         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38596         (_FPU_SETCW): Likewise.
38597
38598 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38599
38600         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38601         is 32-byte aligned.
38602
38603 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
38604
38605         [BZ #11837]
38606         * iconvdata/gb18030.c: Update tables.
38607         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
38608         characters specially.
38609         (BODY for TO_LOOP): Add encoding of missing ranges.
38610
38611 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
38612
38613         [BZ #13673]
38614         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38615         * sysdeps/mach/hurd/dup3.c: Likewise.
38616         * sysdeps/mach/hurd/readlinkat.c: Likewise.
38617         * sysdeps/powerpc/memmove.c:: Likewise.
38618
38619 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38620
38621         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38622         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38623
38624 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38625
38626         * elf/elf.h (R_X86_64_RELATIVE64): New.
38627         (R_X86_64_NUM): Updated.
38628         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38629         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38630         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38631         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38632         tst-quad1pie tst-quad2pie
38633         (modules-names): Add tst-quadmod1 tst-quadmod2.
38634         ($(objpfx)tst-quad1): New dependency.
38635         ($(objpfx)tst-quad2): Likewise.
38636         ($(objpfx)tst-quad1pie): Likewise.
38637         ($(objpfx)tst-quad2pie): Likewise.
38638         * sysdeps/x86_64/tst-quad1.c: New file.
38639         * sysdeps/x86_64/tst-quad1pie.c: New file.
38640         * sysdeps/x86_64/tst-quad2.c: Likewise.
38641         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38642         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38643         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38644         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38645         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38646
38647 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38648
38649         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38650         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38651         * streams/stropts.h (t_scalar_t): Define type.
38652
38653         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38654         (_PATH_PRESERVE): Set to "/var/lib".
38655         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38656
38657         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38658         instead of int.
38659
38660         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38661         if __dir_mkfile succeeded.
38662
38663         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38664         checking for _hurd_dtablesize.  Unlock it right after having
38665         finished _hurd_dtable allocation.
38666
38667 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38668
38669         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38670         * sysdeps/mach/hurd/configure: Regenerated.
38671         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38672         special-casing to...
38673         * sysdeps/gnu/configure.in: ... this new file.
38674         * sysdeps/unix/sysv/linux/configure: Regenerated.
38675         * sysdeps/gnu/configure: New generated file.
38676
38677         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38678         for Linux: use nsec instead of usec, as well as:
38679         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38680         members of type struct timespec.
38681         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38682         New macros.
38683         (struct stat64): Likewise.
38684         (_STATBUF_ST_NSEC): New macro.
38685         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38686
38687         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38688         __strtoul_internal rather than strtoul.
38689
38690 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38691
38692         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38693         and reject them.
38694
38695 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38696
38697         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38698         which preserves existing values.
38699         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38700
38701 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38702
38703         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38704         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38705         greater than FD_SETSIZE.
38706
38707 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38708
38709         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38710         allocated, call __vm_protect to finish enabling the existing space, and
38711         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38712         allocate the remainder.
38713
38714 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38715
38716         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38717         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38718
38719 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38720
38721         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38722         sysdeps/mach/hurd/readlink.c.
38723
38724         * posix/tst-sysconf.c (posix_options): Only use
38725         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38726         _POSIX_SYNCHRONIZED_IO when they are defined
38727         * sysdeps/mach/hurd/bits/posix_opt.h:
38728         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38729         (_XOPEN_REALTIME): Undefine macro.
38730         (_XOPEN_REALTIME_THREADS): Undefine macro.
38731         (_XOPEN_SHM): Undefine macro.
38732         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38733         macro to -1.
38734         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38735         macro to -1.
38736         (_POSIX_ASYNC_IO): Undefine macro.
38737         (_POSIX_PRIORITIZED_IO): Undefine macro.
38738         (_POSIX_SPIN_LOCKS): Define macro to -1.
38739
38740         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38741         SA_NODEFER, SA_RESETHAND.
38742         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38743         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38744         F_DUPFD_CLOEXEC.
38745
38746 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38747
38748         * elf/Makefile (pldd-modules): Define unconditionally.
38749
38750 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38751
38752         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38753
38754 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38755
38756         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38757         Return ENOENT when name is empty.
38758         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38759
38760 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38761
38762         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38763
38764         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38765
38766 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38767
38768         Fix mlock in all cases except non-readable pages.
38769         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38770         instead of VM_PROT_ALL as parameter to __vm_wire function.
38771
38772         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38773         (__mkdir): When path is `/', just fail with EEXIST.
38774         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38775
38776 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38777
38778         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38779         <sys/uio.h> (for writev).
38780         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38781         and <sys/param.h> (for MIN).
38782
38783 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38784
38785         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38786         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38787         if interrupted.
38788
38789 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38790
38791         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38792         Depend on against $(link-rpcuserlibs).
38793
38794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38795
38796         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38797         (__libc_stack_end): Do not use attribute_relro.
38798         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38799         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38800         to libthread-provided value.
38801         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38802         attribute_relro.
38803
38804 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38805
38806         [BZ #3748]
38807         * bits/libc-lock.h (__libc_once_get): New macro.
38808         * sysdeps/mach/bits/libc-lock.h: Likewise.
38809         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38810         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38811         instead of using implementation details.
38812
38813         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38814         * libio/freopen.c: Likewise.
38815         * libio/freopen64.c: Likewise.
38816         * misc/syslog.c: Likewise.
38817         * nscd/connections.c: Likewise.
38818         * nscd/netgroupcache.c: Likewise.
38819         * sysdeps/posix/getcwd.c: Likewise.
38820
38821 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38822
38823         * math/w_ilogbf.c: Add #include <limits.h>.
38824
38825 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38826
38827         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38828         path instead of returning without unlocking.
38829
38830         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38831         immediate-write ioctls.
38832         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38833
38834 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38835
38836         * sysdeps/mach/hurd/i386/init-first.c (init): Use
38837         __builtin_frame_address instead of making assumptions about the
38838         location of the return address relative to DATA.  Force early load of
38839         the return address.
38840         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38841         __builtin_frame_address.
38842
38843         dup3 for GNU Hurd.
38844         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38845         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
38846         implement dup3 and do some further code clean-ups.
38847         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38848         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38849
38850 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38851
38852         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38853
38854         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38855         HURD_CRITICAL_END around holding _hurd_dtable_lock.
38856         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38857         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38858         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38859         d->port.lock.
38860
38861         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38862         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
38863         when handler == SIG_ERR, not when handler != SIG_ERR.
38864
38865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38866
38867         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38868         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38869         definitions.
38870
38871         accept4 for GNU Hurd.
38872         * include/sys/socket.h (__libc_accept4): New prototype.
38873         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
38874         to implement __libc_accept4.
38875         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38876         __libc_accept4.
38877         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38878
38879         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38880         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38881         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38882         signal-defines.sym.
38883
38884 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38885
38886         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38887
38888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38889
38890         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38891         assertion on O_CLOEXEC flag.
38892         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38893         * hurd/intern-fd.c: Likewise.
38894         * hurd/port2fd.c: Likewise.
38895
38896 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38897
38898         [BZ #3906]
38899         * bits/in.h (IPV6_PKTINFO): Define new macro.
38900         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38901
38902 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38903
38904         [BZ #13954]
38905         [BZ #13955]
38906         [BZ #13956]
38907         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38908         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38909         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38910         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38911         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38912         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38913         * math/libm-test.inc (logb_test) : Additional logb tests.
38914
38915 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
38916             Andreas Jaeger  <aj@suse.de>
38917
38918         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38919         * configure: Regenerated.
38920         * config.h.in (LINK_OBSOLETE_RPC): New macro.
38921         * config.make.in (link-obsolete-rpc): New substituted variable.
38922         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38923         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38924         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38925         (shared-only-routines): Don't set it under [link-obsolete-rpc],
38926         so that libc.a contains the symbols.
38927         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38928         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38929         * sunrpc/auth_none.c: Likewise.
38930         * sunrpc/auth_unix.c: Likewise.
38931         * sunrpc/authdes_prot.c: Likewise.
38932         * sunrpc/authuxprot.c: Likewise.
38933         * sunrpc/clnt_gen.c: Likewise.
38934         * sunrpc/clnt_perr.c: Likewise.
38935         * sunrpc/clnt_raw.c: Likewise.
38936         * sunrpc/clnt_simp.c: Likewise.
38937         * sunrpc/clnt_tcp.c: Likewise.
38938         * sunrpc/clnt_udp.c: Likewise.
38939         * sunrpc/clnt_unix.c: Likewise.
38940         * sunrpc/des_crypt.c: Likewise.
38941         * sunrpc/des_soft.c: Likewise.
38942         * sunrpc/get_myaddr.c: Likewise.
38943         * sunrpc/key_call.c: Likewise.
38944         * sunrpc/key_prot.c: Likewise.
38945         * sunrpc/netname.c: Likewise.
38946         * sunrpc/pm_getmaps.c: Likewise.
38947         * sunrpc/pm_getport.c: Likewise.
38948         * sunrpc/pmap_clnt.c: Likewise.
38949         * sunrpc/pmap_prot.c: Likewise.
38950         * sunrpc/pmap_prot2.c: Likewise.
38951         * sunrpc/pmap_rmt.c: Likewise.
38952         * sunrpc/publickey.c: Likewise.
38953         * sunrpc/rpc_cmsg.c: Likewise.
38954         * sunrpc/rpc_common.c: Likewise.
38955         * sunrpc/rpc_dtable.c: Likewise.
38956         * sunrpc/rpc_prot.c: Likewise.
38957         * sunrpc/rpc_thread.c: Likewise.
38958         * sunrpc/rtime.c: Likewise.
38959         * sunrpc/svc.c: Likewise.
38960         * sunrpc/svc_auth.c: Likewise.
38961         * sunrpc/svc_raw.c: Likewise.
38962         * sunrpc/svc_run.c: Likewise.
38963         * sunrpc/svc_tcp.c: Likewise.
38964         * sunrpc/svc_udp.c: Likewise.
38965         * sunrpc/svc_unix.c: Likewise.
38966         * sunrpc/svcauth_des.c: Likewise.
38967         * sunrpc/xcrypt.c: Likewise.
38968         * sunrpc/xdr.c: Likewise.
38969         * sunrpc/xdr_array.c: Likewise.
38970         * sunrpc/xdr_float.c: Likewise.
38971         * sunrpc/xdr_intXX_t.c: Likewise.
38972         * sunrpc/xdr_mem.c: Likewise.
38973         * sunrpc/xdr_rec.c: Likewise.
38974         * sunrpc/xdr_ref.c: Likewise.
38975         * sunrpc/xdr_sizeof.c: Likewise.
38976         * sunrpc/xdr_stdio.c: Likewise.
38977
38978 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38979
38980         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38981         change.  Update copyright years.
38982
38983 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38984
38985         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38986
38987 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
38988             Joseph Myers  <joseph@codesourcery.com>
38989             Paul Pluzhnikov  <ppluzhnikov@google.com>
38990
38991         [BZ #14012]
38992         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38993         requiring rpcgen.
38994         [cross-compiling] (extra-libs): Likewise.
38995         [cross-compiling] (extra-libs-others): Likewise.
38996         [cross-compiling] (librpcsvc-routines): Likewise.
38997         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38998         [cross-compiling] (omit-deps): Likewise.
38999         (sunrpc-CPPFLAGS): New variable.
39000         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39001         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39002         (cross-rpcgen-objs): New variable.
39003         (extra-objs): Append $(cross-rpcgen-objs).
39004         ($(cross-rpcgen-objs)): New rule.
39005         ($(objpfx)cross-rpcgen): Likewise.
39006         (rpcgen-cmd): Define to use $(built-program-file).  Expand
39007         comment.
39008         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39009         ($(objpfx)x%.stmp): Likewise.
39010         * sunrpc/proto.h [IS_IN_build] (_): Define.
39011         [IS_IN_build] (_libc_intl_domainname): Likewise.
39012
39013 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39014
39015         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39016         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39017         and R_X86_64_TPOFF64.
39018
39019 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39020
39021         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39022         sysdeps/unix/sysv/syscalls.list.
39023         (stime): Likewise.
39024         (utime): Likewise.
39025         * sysdeps/unix/sysv/syscalls.list: Remove file.
39026
39027 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
39028
39029         [BZ #3440]
39030         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39031         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39032         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39033         (__LC_IDENTIFICATION): Make these macros useful in #if
39034         expressions, as required by C99.
39035
39036 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
39037
39038         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39039         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
39040         after this.
39041
39042 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
39043
39044         * stdlib/longlong.h: Updated from GCC.
39045
39046 2012-05-09  Andreas Jaeger  <aj@suse.de>
39047
39048         * nscd/nscd.c (run_modes): Make named enum, reorder so that
39049         default is first entry.
39050         (run_mode): Set type.
39051         (main): Remove informal message about syslog.
39052         (options): Fix typo.
39053
39054         [BZ #14053]
39055         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39056         to asm.
39057         (lrint): Likewise.
39058         (llrintf): Likewise.
39059         (llrint): Likewise.
39060         (rint): Likewise.
39061         (rintf): Likewise.
39062         (nearbyint): Likewise.
39063         (nearbyintf): Likewise.
39064
39065 2012-05-09  Andreas Jaeger  <aj@suse.de>
39066             Pedro Alves  <palves@redhat.com>
39067
39068         * nscd/nscd.c (run_mode): Use enum.
39069         (main): Cleanup coding style issue.
39070
39071 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
39072             Andreas Jaeger  <aj@suse.de>
39073
39074         * nscd/nscd.c (go_background): Replaced with...
39075         (run_mode): ... this.
39076         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39077         (options): Add -F --foreground.
39078         (main): Implement it.
39079         (parse_opt): Parse it.
39080
39081 2012-05-09  Andreas Jaeger  <aj@suse.de>
39082
39083         [BZ #14083]
39084         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39085         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39086         -Wconversion warning.
39087         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39088         Likewise.
39089
39090 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
39091
39092         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
39093         == 0.
39094         (LC_ALL): Use macro-int-constant.
39095         (LC_COLLATE): Likewise.
39096         (LC_CTYPE): Likewise.
39097         (LC_MESSAGES): Likewise.
39098         (LC_MONETARY): Likewise.
39099         (LC_NUMERIC): Likewise.
39100         (LC_TIME): Likewise.
39101         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39102         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39103         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39104         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39105         Specify type.
39106         [C99-based standards] (float_t): Expect type.
39107         [C99-based standards] (double_t): Expect type.
39108         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
39109         type.
39110         [C99-based standards] (HUGE_VALL): Likewise.
39111         [C99-based standards] (INFINITY): Likewise.
39112         [C99-based standards] (NAN): Likewise.
39113         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39114         [C99-based standards] (FP_NAN): Likewise.
39115         [C99-based standards] (FP_NORMAL): Likewise.
39116         [C99-based standards] (FP_SUBNORMAL): Likewise.
39117         [C99-based standards] (FP_ZERO): Likewise.
39118         [C99-based standards] (FP_FAST_FMA): Use
39119         optional-macro-int-constant.  Specify type.  Require == 1.
39120         [C99-based standards] (FP_FAST_FMAF): Likewise.
39121         [C99-based standards] (FP_FAST_FMAL): Likewise.
39122         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39123         [C99-based standards] (FP_ILOGBNAN): Likewise.
39124         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39125         Specify type.
39126         [C99-based standards] (MATH_ERREXCEPT): Likewise.
39127         [C99-based standards] (math_errhandling): Specify type.
39128         [ISO99 || ISO11] (signgam): Do not allow.
39129         [non-C99-based standards] (copysignf): Do not allow.
39130         [non-C99-based standards] (exp2f): Likewise.
39131         [non-C99-based standards] (log2f): Likewise.
39132         [non-C99-based standards] (modff): Allow.
39133         [non-C99-based standards] (erff): Do not allow.
39134         [non-C99-based standards] (erfcf): Likewise.
39135         [non-C99-based standards] (gammaf): Likewise.
39136         [non-C99-based standards] (hypotf): Likewise.
39137         [non-C99-based standards] (j0f): Likewise.
39138         [non-C99-based standards] (j1f): Likewise.
39139         [non-C99-based standards] (jnf): Likewise.
39140         [non-C99-based standards] (lgammaf): Likewise.
39141         [non-C99-based standards] (tgammaf): Likewise.
39142         [non-C99-based standards] (y0f): Likewise.
39143         [non-C99-based standards] (y1f): Likewise.
39144         [non-C99-based standards] (ynf): Likewise.
39145         [non-C99-based standards] (isnanf): Likewise.
39146         [non-C99-based standards] (acoshf): Likewise.
39147         [non-C99-based standards] (asinhf): Likewise.
39148         [non-C99-based standards] (atanhf): Likewise.
39149         [non-C99-based standards] (cbrtf): Likewise.
39150         [non-C99-based standards] (expm1f): Likewise.
39151         [non-C99-based standards] (ilogbf): Likewise.
39152         [non-C99-based standards] (log1pf): Likewise.
39153         [non-C99-based standards] (logbf): Likewise.
39154         [non-C99-based standards] (nextafterf): Likewise.
39155         [non-C99-based standards] (remainderf): Likewise.
39156         [non-C99-based standards] (rintf): Likewise.
39157         [non-C99-based standards] (scalbf): Likewise.
39158         [non-C99-based standards] (copysignl): Likewise.
39159         [non-C99-based standards] (exp2l): Likewise.
39160         [non-C99-based standards] (log2l): Likewise.
39161         [non-C99-based standards] (modfl): Allow.
39162         [non-C99-based standards] (erfl): Do not allow.
39163         [non-C99-based standards] (erfcl): Likewise.
39164         [non-C99-based standards] (gammal): Likewise.
39165         [non-C99-based standards] (hypotl): Likewise.
39166         [non-C99-based standards] (j0l): Likewise.
39167         [non-C99-based standards] (j1l): Likewise.
39168         [non-C99-based standards] (jnl): Likewise.
39169         [non-C99-based standards] (lgammal): Likewise.
39170         [non-C99-based standards] (tgammal): Likewise.
39171         [non-C99-based standards] (y0l): Likewise.
39172         [non-C99-based standards] (y1l): Likewise.
39173         [non-C99-based standards] (ynl): Likewise.
39174         [non-C99-based standards] (isnanl): Likewise.
39175         [non-C99-based standards] (acoshl): Likewise.
39176         [non-C99-based standards] (asinhl): Likewise.
39177         [non-C99-based standards] (atanhl): Likewise.
39178         [non-C99-based standards] (cbrtl): Likewise.
39179         [non-C99-based standards] (expm1l): Likewise.
39180         [non-C99-based standards] (ilogbl): Likewise.
39181         [non-C99-based standards] (log1pl): Likewise.
39182         [non-C99-based standards] (logbl): Likewise.
39183         [non-C99-based standards] (nextafterl): Likewise.
39184         [non-C99-based standards] (remainderl): Likewise.
39185         [non-C99-based standards] (rintl): Likewise.
39186         [non-C99-based standards] (scalbl): Likewise.
39187         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39188         [non-C99-based standards] (FP_*): Do not allow.
39189         [C99-based standards] (FP_*): Change to
39190         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39191         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39192         allow.
39193         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39194         (SIG_ERR): Likewise.
39195         [X/Open-based standards] (SIG_HOLD): Likewise.
39196         (SIG_IGN): Likewise.
39197         (SIGABRT): Use macro-int-constant.  Specify type.  Require
39198         positive value.
39199         (SIGFPE): Likewise.
39200         (SIGILL): Likewise.
39201         (SIGINT): Likewise.
39202         (SIGSEGV): Likewise.
39203         (SIGTER): Likewise.
39204         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39205         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39206         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39207         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39208         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39209         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39210         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39211         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39212         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39213         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39214         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39215         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39216         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39217         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39218         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39219         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39220         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39221         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39222         [X/Open-based standards] (SIGTRAP): Likewise.
39223         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39224         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39225         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39226         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39227         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39228         allow.
39229
39230 2012-05-08  Ian Wienand  <ianw@vmware.com>
39231
39232         [BZ #14080]
39233         * time/tzset.c (__tzset_parse_tz): Update default rules for
39234         daylight time changes in the Energy Policy Act of 2005.
39235
39236 2012-05-09  Andreas Jaeger  <aj@suse.de>
39237
39238         [BZ #13983]
39239         * elf/ldconfig.c (parse_conf): Change string to make clear that
39240         ldconfig only issued a warning if ld.so.conf does not exist.
39241
39242 2012-05-08  David S. Miller  <davem@davemloft.net>
39243
39244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39245         movxtod instead of popping the value on the stack.
39246
39247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39248
39249 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
39250
39251         * config.h.in: Add HAVE_ARM_PCS_VFP.
39252
39253 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
39254
39255         [BZ #13979]
39256         * include/features.h: Warn if user requests __FORTIFY_SOURCE
39257         checking but the checks are disabled for any reason.
39258
39259 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
39260
39261         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39262         and ELF64_R_TYPE with ELFW(R_TYPE).
39263
39264 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
39265
39266         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39267         (ulimit): Likewise.
39268
39269         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39270         (settimeofday): Likewise.
39271
39272 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
39273
39274         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
39275         a struct th_u2 inside the union, and move tu_block/tu_code into
39276         a new th_u3 union of tu_block/tu_code inside of that.  Move
39277         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
39278         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
39279         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39280         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39281         (th_stuff): Change to th_u1.tu_stuff.
39282         (th_data): Define.
39283         (th_msg): Change to th_u1.th_u2.tu_data.
39284
39285 2012-05-07  David S. Miller  <davem@davemloft.net>
39286
39287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39288
39289         [BZ #14074]
39290         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39291         (SETUP_PIC_REG): Use it.
39292         (SETUP_PIC_REG_LEAF): Use it.
39293
39294 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
39295
39296         [BZ #13885]
39297         [BZ #13923]
39298         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39299         USE_AS_EXPM1L.
39300         (EXPL_FINITE): Likewise.
39301         (FLDLOG): Likewise.
39302         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39303         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39304         e_expl.S.
39305         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39306         USE_AS_EXPM1L.
39307         (EXPL_FINITE): Likewise.
39308         (FLDLOG): Likewise.
39309         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39310         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39311         e_expl.S.
39312         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
39313         test of -max_value argument for long double.
39314         * sysdeps/i386/fpu/libm-test-ulps: Update.
39315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39316
39317 2012-05-06  David S. Miller  <davem@davemloft.net>
39318
39319         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39320         quad soft-float symbols whose references which are compiler
39321         generated.
39322         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39323
39324 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
39325
39326         [BZ #13884]
39327         [BZ #13914]
39328         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39329         USE_AS_EXP10L.
39330         (EXPL_FINITE): Likewise.
39331         (FLDLOG): Likewise.
39332         (c0): Likewise.
39333         (c1): Likewise.
39334         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39335         Adjust comments for base varying.
39336         (__expl_finite): Change alias to EXPL_FINITE.
39337         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39338         e_expl.S.
39339         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39340         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39341         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39342         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39343         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39344         USE_AS_EXP10L.
39345         (EXPL_FINITE): Likewise.
39346         (FLDLOG): Likewise.
39347         (c0): Likewise.
39348         (c1): Likewise.
39349         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39350         Adjust comments for base varying.
39351         (__expl_finite): Change alias to EXPL_FINITE.
39352         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
39353         tests for bugs.
39354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39355
39356         [BZ #14064]
39357         * math/libm-test.inc (check_float_internal): Correct ulp
39358         calculation for subnormal expected results.
39359
39360 2012-05-06  Andreas Jaeger  <aj@suse.de>
39361
39362         * Makeconfig (+math-flags): New, set to -frounding-math.
39363         (+cflags): Add +math-flags so that all of glibc gets compiled with
39364         it.
39365
39366         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39367
39368 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
39369
39370         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39371         Disable one test.
39372
39373         [BZ #13787]
39374         [BZ #13922]
39375         [BZ #14036]
39376         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39377         (__ieee754_expl): Allow for and saturate large arguments.
39378         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39379         (u_threshold): Likewise.
39380         (__exp): Call __ieee754_exp before checking for overflow and
39381         underflow.
39382         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39383         (u_threshold): Likewise.
39384         (__expf): Call __ieee754_expf before checking for overflow and
39385         underflow.
39386         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39387         (u_threshold): Likewise.
39388         (__expl): Call __ieee754_expl before checking for overflow and
39389         underflow.
39390         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39391         (__ieee754_expl): Allow for and saturate large arguments.
39392         * math/libm-test.inc (exp_test): Add another test.  Do not allow
39393         missing overflow exception on overflow.
39394         (expm1_test): Do not allow missing overflow exception on overflow.
39395
39396         * sysdeps/i386/fpu/e_expl.c: Move to ...
39397         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
39398         rather than using inline asm.
39399         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39400         * sysdeps/x86_64/fpu/e_expl.S: Copy from
39401         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39402
39403         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39404         (nice): Likewise.
39405         (poll): Likewise.
39406         (signal): Likewise.
39407         (time): Likewise.
39408         (times): Likewise.
39409
39410 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39411
39412         * sysdeps/unix/syscalls.list (adjtime): Add entry from
39413         sysdeps/unix/common/syscalls.list.
39414         (fchmod): Likewise.
39415         (fchown): Likewise.
39416         (ftruncate): Likewise.
39417         (getrusage): Likewise.
39418         (gettimeofday): Likewise.
39419         (setpgid): Likewise.
39420         (setregid): Likewise.
39421         (setreuid): Likewise.
39422         (sigaction): Likewise.
39423         (truncate): Likewise.
39424         (vhangup): Likewise.
39425         * sysdeps/unix/common/syscalls.list: Remove file.
39426         * sysdeps/unix/bsd/Implies: Don't include unix/common.
39427         * sysdeps/unix/sysv/linux/Implies: Likewise.
39428
39429 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
39430
39431         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39433         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39434         Moved to ...
39435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39436         Here.
39437         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39438         to ...
39439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39440         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39441         to ...
39442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39443         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39444         to ...
39445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39446         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39447         to ...
39448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39449         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39450         to ...
39451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39452         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39453         to ...
39454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39455         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39456         to ...
39457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39458         Here.
39459         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39460         to ...
39461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39462         Here.
39463         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39464         to ...
39465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39466         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39467         Moved to ...
39468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39469         Here.
39470         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39471         to ...
39472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39473
39474 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39475
39476         * sysdeps/unix/common/bits/dirent.h: Remove file.
39477         * sysdeps/unix/common/bits/fcntl.h: Likewise.
39478
39479         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39480         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39481         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39482         * sysdeps/unix/bsd/isatty.c: Likewise.
39483         * sysdeps/unix/bsd/tcdrain.c: Likewise.
39484         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39485         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39486
39487 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39488
39489         [BZ #13563]
39490         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39491         long double comparison inaccuracies.
39492         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39494
39495 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
39496
39497         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39498         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39499
39500 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39501
39502         [BZ #14049]
39503         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39504         nonzero digits before rounding a hex value.
39505         * stdlib/tst-strtod.c (tests): Add another test.
39506
39507 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39508
39509         * sysdeps/s390/fpu/libm-test-ulps: Update.
39510
39511 2012-05-03  Andreas Jaeger  <aj@suse.de>
39512
39513         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39514         does not get optimized out.
39515         (malloc_opt_barrier): New.
39516
39517 2012-05-03  Andreas Jaeger  <aj@suse.de>
39518             Roland McGrath  <roland@hack.frob.com>
39519
39520         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39521         intermediate file deletion.
39522         (generated): Add .symlist files.
39523
39524 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
39525
39526         [BZ #13775]
39527         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39528         Redirect under this condition.
39529         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39530         [__USE_GNU] (__dprintf_chk): Not under this condition.
39531         [__USE_GNU] (__vdprintf_chk): Likewise.
39532         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39533         under this condition.
39534         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39535         [__USE_XOPEN2K8] (dprintf): Define under this condition.
39536         [__USE_XOPEN2K8] (vdprintf): Likewise.
39537         [__USE_GNU] (__dprintf_chk): Not under this condition.
39538         [__USE_GNU] (__vdprintf_chk): Likewise.
39539         [__USE_GNU] (dprintf): Likewise.
39540         [__USE_GNU] (vdprintf): Likewise.
39541
39542 2012-05-03  Roland McGrath  <roland@hack.frob.com>
39543
39544         * elf/Makefile (common-generated): Set this instead of generated for
39545         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
39546         $(all-built-dso)-derived lists.
39547
39548 2012-05-03  Andreas Jaeger  <aj@suse.de>
39549
39550         * sysdeps/i386/fpu/libm-test-ulps: Update.
39551
39552         * FAQ: Removed.
39553         * FAQ.in: Likewise.
39554         * scripts/gen-FAQ.pl: Likewise.
39555         * manual/install.texi (Installation): Point to online location of
39556         FAQ.
39557         * Makefile (files-for-dist): Remove FAQ.
39558         (FAQ): Remove.
39559
39560 2012-05-02  Allan McRae  <allan@archlinux.org>
39561
39562         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39563         (LDFLAGS-reldepmod5.so): Likewise.
39564         (LDFLAGS-reldep6mod1.so): Likewise.
39565         (LDFLAGS-reldep6mod4.so): Likewise.
39566         (LDFLAGS-reldep8mod3.so): Likewise.
39567         (LDFLAGS-unload4mod1.so): Likewise.
39568         (LDFLAGS-unload4mod2.so): Likewise.
39569         (LDFLAGS-tst-initorder): Likewise.
39570         (LDFLAGS-tst-initordera2.so): Likewise.
39571         (LDFLAGS-tst-initordera3.so): Likewise.
39572         (LDFLAGS-tst-initordera4.so): Likewise.
39573         (LDFLAGS-tst-initorderb2.so): Likewise.
39574         (LDFLAGS-noload): Likewise.
39575         (LDFLAGS-next): Likewise.
39576         (LDFLAGS-order2mod1.so): Likewise.
39577         (LDFLAGS-order2mod2.so): Likewise.
39578         (LDFLAGS-tst-initorder2): Likewise.
39579         (LDFLAGS-tst-initorder2a.so): Likewise.
39580         (LDFLAGS-tst-initorder2b.so): Likewise.
39581         (LDFLAGS-tst-initorder2c.so): Likewise.
39582         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39583
39584 2012-05-02  David S. Miller  <davem@davemloft.net>
39585
39586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39587
39588 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39589
39590         [BZ #14055]
39591         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39592
39593 2012-05-02  Andreas Jaeger  <aj@suse.de>
39594
39595         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39596         since we manipulate rounding mode.
39597         (CPPFLAGS-test-idouble.c): Likewise.
39598         (CPPFLAGS-test-ifloat.c): Likewise.
39599         (CFLAGS-test-ldouble.c): Likewise.
39600         (CFLAGS-test-double.c): Likewise.
39601         (CFLAGS-test-float.c): Likewise.
39602         (CFLAGS-test-misc.c): Likewise.
39603         (CFLAGS-test-test-fenv.c): Likewise.
39604
39605 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39606
39607         [BZ #2550]
39608         [BZ #2570]
39609         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39610         comparisons to determine direction to adjust input.
39611
39612 2012-05-01  Roland McGrath  <roland@hack.frob.com>
39613
39614         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39615         output to the target.
39616
39617         * scripts/localplt.awk: New file.
39618         * elf/Makefile ($(objpfx)check-localplt): Target removed.
39619         (check-localplt-CFLAGS): Variable removed.
39620         ($(all-built-dso:=.jmprel)): New static pattern rule.
39621         (generated): Add those targets.
39622         (localplt-built-dso): New variable.
39623         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39624
39625         * elf/check-localplt.c: File removed.
39626
39627         * scripts/check-execstack.awk: New file.
39628         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39629         (check-execstack-CFLAGS): Variable removed.
39630         ($(objpfx)check-execstack.h): Target removed.
39631         ($(objpfx)execstack-default): New target.
39632         (generated): Add that instead of check-execstack.h.
39633         ($(all-built-dso:=.phdr)): New static pattern rule.
39634         (generated): Add those targets.
39635         * elf/check-execstack.c: File removed.
39636
39637         * scripts/check-textrel.awk: New file.
39638         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39639         (check-textrel-CFLAGS): Variable removed.
39640         (all-built-dso): Use := to define.o
39641         ($(all-built-dso:=.dyn)): New static pattern rule.
39642         (generated): Add those targets.
39643         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39644         * config.make.in (READELF): New substituted variable.
39645         * elf/check-textrel.c: File removed.
39646
39647 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39648
39649         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39650         allow.
39651         * conform/data/ctype.h-data [C99-based standards] (isblank):
39652         Expect function.
39653         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39654         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39655         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39656         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39657         Specify type.  Require positive value.
39658         (EILSEQ): Likewise.
39659         (ERANGE): Likewise.
39660         [ISO || POSIX] (EILSEQ): Do not expect.
39661         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39662         Specify type.  Require positive value.
39663         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39664         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39665         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39666         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39667         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39668         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39669         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39670         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39671         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39672         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39673         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39674         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39675         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39676         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39677         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39678         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39679         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39680         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39681         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39682         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39683         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39684         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39685         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39686         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39687         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39688         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39689         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39690         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39691         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39692         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39693         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39694         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39695         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39696         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39697         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39698         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39699         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39700         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39701         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39702         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39703         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39704         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39705         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39706         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39707         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39708         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39709         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39710         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39711         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39712         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39713         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39714         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39715         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39716         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39717         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39718         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39719         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39720         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39721         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39722         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39723         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39724         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39725         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39726         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39727         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39728         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39729         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39730         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39731         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39732         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39733         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39734         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39735         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39736         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39737         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39738         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39739         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39740         Require >= 2.
39741         (FLT_ROUNDS): Expect as macro, not constant.
39742         (FLT_MANT_DIG): Use macro-int-constant.
39743         (DBL_MANT_DIG): Likewise.
39744         (LDBL_MANT_DIG): Likewise.
39745         (FLT_DIG): Likewise.
39746         (DBL_DIG): Likewise.
39747         (LDBL_DIG): Likewise.
39748         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39749         (DBL_MIN_EXP): Likewise.
39750         (LDBL_MIN_EXP): Likewise.
39751         (FLT_MAX_EXP): Use macro-int-constant.
39752         (DBL_MAX_EXP): Likewise.
39753         (LDBL_MAX_EXP): Likewise.
39754         (FLT_MAX_10_EXP): Likewise.
39755         (DBL_MAX_10_EXP): Likewise.
39756         (LDBL_MAX_10_EXP): Likewise.
39757         (FLT_MAX): Use macro-constant.
39758         (DBL_MAX): Likewise.
39759         (LDBL_MAX): Likewise.
39760         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39761         (DBL_EPSILON): Likewise.
39762         (LDBL_EPSILON): Likewise.
39763         (FLT_MIN): Likewise.
39764         (DBL_MIN): Likewise.
39765         (LDBL_MIN): Likewise.
39766         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39767         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39768         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39769         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39770         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39771         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39772         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39773         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39774         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39775         [ISO11] (FLT_TRUE_MIN): Likewise.
39776         [ISO11] (LDBL_TRUE_MIN): Likewise.
39777         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39778         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39779         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39780         (SCHAR_MAX): Likewise.
39781         (UCHAR_MAX): Likewise.
39782         (CHAR_MIN): Likewise.
39783         (CHAR_MAX): Likewise.
39784         (MB_LEN_MAX): Use macro-int-constant.
39785         (SHRT_MIN): Use macro-int-constant.  Specify type.
39786         (SHRT_MAX): Likewise.
39787         (USHRT_MAX): Likewise.
39788         (INT_MAX): Likewise.
39789         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39790         bound negative.
39791         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39792         bound with "U".
39793         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39794         bound with "L".
39795         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39796         bound negative.  Suffix upper bound with "L".
39797         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39798         bound with "UL".
39799         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39800         Specify type.
39801         [C99-based standards] (LLONG_MAX): Likewise.
39802         [C99-based standards] (ULLONG_MAX): Likewise.
39803         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39804         == 0.
39805         [ISO11] (max_align_t): Require type.
39806         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39807
39808         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39809         from $CFLAGS, without defining away __attribute__ calls.
39810         (checknamespace): Use $CFLAGS_namespace.
39811
39812         * conform/conformtest.pl (@keywords): Only include C99 keywords
39813         for standards based on C99 or C11.
39814
39815         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39816         Disable tests.
39817         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39818         UNIX98]: Likewise.
39819
39820         * conform/conformtest.pl: Handle "macro-int-constant" and test for
39821         usability of symbols in #if.
39822
39823         * conform/conformtest.pl: If macro or constant types start
39824         "promoted:", expect the symbol to be of the following type
39825         promoted by the integer promotions.
39826
39827         * conform/conformtest.pl: Parse all "constant" and "macro" lines
39828         in one place.  Also handle "macro-constant".
39829
39830         * conform/conformtest.pl: Only accept expected macro values with
39831         "==".  Parse all "macro" lines in one place.
39832         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39833
39834         * conform/conformtest.pl: Handle braced types on "constant" lines
39835         instead of handling "typed-constant".
39836         * conform/data/signal.h-data: Use "constant" instead of
39837         "typed-constant".
39838
39839         * conform/conformtest.pl: Handle "optional-" at start of lines in
39840         one place rather than duplicating several cases.  Handle each
39841         format of "macro" line with initial "optional-".
39842
39843         * conform/conformtest.pl: Only accept expected constant or
39844         optional-constant values with "==".  Parse all "constant" lines in
39845         one place.  Parse all "optional-constant" lines in one place.
39846         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39847         * conform/data/fmtmsg.h-data: Likewise.
39848         * conform/data/netinet/in.h-data: Likewise.
39849         * conform/data/tar.h-data: Likewise.
39850         * conform/data/limits.h-data: Use "==" form on "constant" and
39851         "optional-constant" lines.
39852
39853         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39854         Use -std=c99 for XOPEN2K.
39855         (@knownproblems): Remove.
39856         (newtoken): Don't check %isknown.
39857
39858         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39859         Do not expect macro.
39860         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39861         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39862         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39863         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39864         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39865         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39866         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39867         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39868         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39869         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39870         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39871         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39872         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39873         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39874         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39875         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39876         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39877         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39878         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39879         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39880         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39881         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39882         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39883         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39884         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39885         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39886         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39887         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39888         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39889         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39890         [XPG3] (acosh): Likewise.
39891         [XPG3] (asinh): Likewise.
39892         [XPG3] (atanh): Likewise.
39893         [XPG3] (cbrt): Likewise.
39894         [XPG3] (expm1): Likewise.
39895         [XPG3] (ilogb): Likewise.
39896         [XPG3] (log1p): Likewise.
39897         [XPG3] (logb): Likewise.
39898         [XPG3] (nextafter): Likewise.
39899         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39900         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39901         [XPG3] (remainder): Likewise.
39902         [XPG3] (rint): Likewise.
39903         [XPG3 || XPG4 || UNIX98] (round): Likewise.
39904         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39905         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39906         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39907         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39908         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39909         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39910         [UNIX98 || XOPEN2K] (scalb): Expect.
39911         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39912         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39913         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39914         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39915         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39916         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39917         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39918         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39919         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39920         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39921         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39922         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39923         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39924         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39925         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39926         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39927         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39928         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39929         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39930         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39931         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39932         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39933         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39934         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39935         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39936         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39937         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39938         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39939         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39940         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39941         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39942         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39943         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39944         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39945         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39946         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39947         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39948         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39949         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39950         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39951         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39952         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39953         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39954         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39955         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39956         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39957         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39958         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39959         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39960         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39961         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39962         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39963         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39964         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39965         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39966         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39967         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39968         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39969         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39970         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39971         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39972         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39973         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39974         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39975         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39976         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39977         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39978         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39979         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39980         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39981         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39982         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39983         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39984         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39985         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39986         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39987         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39988         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39989         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39990         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39991         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39992         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39993         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39994         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39995         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39996         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39997         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39998         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39999         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40000         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40001         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40002         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40003         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40004         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40005         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40006         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40007         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40008         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40009         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40010         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40011         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40012         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40013         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40014         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40015         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40016         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40017         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40018         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40019         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40020         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40021         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40022         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40023         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40024         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40025         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40026         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40027         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40028         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40029         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40030         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40031         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40032         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40033         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40034         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40035         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40036         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40037         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40038         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40039         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40040         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40041         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40042         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40043         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40044         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40045         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40046         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40047         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40048
40049         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40050         _XOPEN_SOURCE_EXTENDED for XPG4.
40051
40052         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40053
40054         * Makeconfig (localtime): Remove variable.
40055         (inst_localtime-file): Likewise.
40056
40057 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40058
40059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40060         Update.
40061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40062         Update.
40063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40064         Update.
40065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40066         Update.
40067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40068         Update.
40069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40070         Update.
40071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40072         Update.
40073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40074         Update.
40075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40076         Update.
40077
40078 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40079
40080         [BZ #2550]
40081         [BZ #2570]
40082         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40083         comparisons to determine direction to adjust input.
40084         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40085         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40086         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40087         Likewise.
40088         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40089         Likewise.
40090         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40091         Likewise.
40092         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40093         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40094         Likewise.
40095         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40096         Likewise.
40097         * math/libm-test.inc (nexttoward_test): Add more tests.
40098
40099 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40100
40101         [BZ #14040]
40102         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40103         in version GLIBC_2.1, not GLIBC_2.0.
40104         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40105         Likewise.
40106
40107 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
40108
40109         [BZ #13942]
40110         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40111         (1 - x) * (1 + x).
40112         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40113         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40114         * math/libm-test.inc (acos_test): Add more tests.
40115         (asin_test): Likewise.
40116         * sysdeps/i386/fpu/libm-test-ulps: Update.
40117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40118
40119         [BZ #14034]
40120         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40121         of square root.
40122         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40123         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40124         * math/libm-test.inc (acos_test_tonearest): New function.
40125         (acos_test_towardzero): Likewise.
40126         (acos_test_downward): Likewise.
40127         (acos_test_upward): Likewise.
40128         (asin_test_tonearest): Likewise.
40129         (asin_test_towardzero): Likewise.
40130         (asin_test_downward): Likewise.
40131         (asin_test_upward): Likewise.
40132         (main): Call the new functions.
40133         * sysdeps/i386/fpu/libm-test-ulps: Update.
40134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40135
40136         [BZ #13884]
40137         [BZ #13924]
40138         * math/e_exp10.c: Include <float.h>.
40139         (__ieee754_exp10): Handle underflow here rather than multiplying
40140         large negative argument by M_LN10.
40141         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40142         of __ieee754_expf.
40143         * math/e_exp10l.c: Include <float.h>.
40144         (__ieee754_exp10l): Handle underflow here rather than multiplying
40145         large negative argument by M_LN10l.
40146         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
40147         spurious overflow exception on underflow.
40148
40149 2012-04-29  Marek Polacek  <polacek@redhat.com>
40150
40151         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40152         (__fortify_function): New macro.
40153         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40154         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40155         __extern_always_inline.
40156         * libio/bits/stdio2.h: Likewise.
40157         * libio/bits/stdio.h: Likewise.
40158         * string/string.h: Likewise.
40159         * string/bits/string3.h: Likewise.
40160         * include/stdio.h: Likewise.
40161         * stdlib/bits/stdlib.h: Likewise.
40162         * stdlib/stdlib.h: Likewise.
40163         * rt/bits/mqueue2.h: Likewise.
40164         * rt/mqueue.h: Likewise.
40165         * posix/bits/unistd.h: Likewise.
40166         * posix/unistd.h: Likewise.
40167         * io/bits/poll2.h: Likewise.
40168         * io/bits/fcntl2.h: Likewise.
40169         * io/fcntl.h: Likewise.
40170         * io/sys/poll.h: Likewise.
40171         * misc/bits/syslog.h: Likewise.
40172         * misc/bits/syslog-ldbl.h: Likewise.
40173         * misc/sys/syslog.h: Likewise.
40174         * socket/bits/socket2.h: Likewise.
40175         * socket/sys/socket.h: Likewise.
40176         * debug/tst-chk1.c: Likewise.
40177         * wcsmbs/bits/wchar2.h: Likewise.
40178         * wcsmbs/bits/wchar-ldbl.h: Likewise.
40179         * wcsmbs/wchar.h: Likewise.
40180
40181 2012-04-29  Andreas Jaeger  <aj@suse.de>
40182
40183         * Makerules (tests): Remove enable-check-abi protection.
40184         (check-abi-warn): Remove.
40185         (check-abi-%): Remove check-abi-warn usage.
40186
40187         * configure.in: Remove check-abi configure option.
40188         * configure: Regenerated.
40189         * config.make.in (enable-check-abi): Remove.
40190
40191 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
40192
40193         [BZ #14033]
40194         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40195         double functions to double *_finite functions.
40196
40197         [BZ #13941]
40198         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40199         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40200         LDBL_MIN_EXP.
40201         * stdio-common/Makefile (tests): Add tst-sprintf3.
40202         * stdio-common/tst-sprintf3.c: New file.
40203
40204         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40205         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40206
40207 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40208
40209         * conform/conformtest.pl: Remove duplicate typed-constant
40210         handling.
40211
40212 2012-04-28  David S. Miller  <davem@davemloft.net>
40213
40214         * Makerules (%.abilist): Add vpath on sysdep_dirs.
40215         (check-abi-%): Remove AWK script prerequisite and explicit
40216         abilist directory.
40217         (check-abi): Rewrite to just diff the symlist with the abilist.
40218         (config-tls, config-abi-config): Delete, no longer used.
40219         (update-abi-%): Remove AWK script and explicit abilist directory.
40220         (update-abi): Rewrite to simply compare and conditionally copy the
40221         symlist and the sysdep abilist file.  Remove update-abi-config
40222         checks.
40223         * abilist/ld.abilist: Remove.
40224         * abilist/libBrokenLocale.abilist: Remove.
40225         * abilist/libanl.abilist: Remove.
40226         * abilist/libcrypt.abilist: Remove.
40227         * abilist/libdl.abilist: Remove.
40228         * abilist/librt.abilist: Remove.
40229         * abilist/libthread_db.abilist: Remove.
40230         * abilist/libutil.abilist: Remove.
40231         * scripts/extract-abilist.awk: Remove.
40232         * scripts/merge-abilist.awk: Remove.
40233         * sysdeps/generic/libcidn.abilist: New file.
40234         * sysdeps/generic/libnss_compat.abilist: New file.
40235         * sysdeps/generic/libnss_db.abilist: New file.
40236         * sysdeps/generic/libnss_dns.abilist: New file.
40237         * sysdeps/generic/libnss_files.abilist: New file.
40238         * sysdeps/generic/libnss_hesiod.abilist: New file.
40239         * sysdeps/generic/libnss_nis.abilist: New file.
40240         * sysdeps/generic/libnss_nisplus.abilist: New file.
40241         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40242         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40243         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40244         file.
40245         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40246         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40247         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40248         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40249         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40250         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40251         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40252         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40253         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40254         file.
40255         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40256         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40257         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40258         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40259         file.
40260         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40261         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40262         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40263         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40264         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40265         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40266         file.
40267         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40268         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40269         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40270         file.
40271         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40273         New file.
40274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40275         New file.
40276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40277         New file.
40278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40279         New file.
40280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40281         New file.
40282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40283         New file.
40284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40285         New file.
40286         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40287         New file.
40288         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40289         New file.
40290         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40291         New file.
40292         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40293         New file.
40294         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40295         New file.
40296         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40297         New file.
40298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40299         file.
40300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40301         New file.
40302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40303         New file.
40304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40305         file.
40306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40307         New file.
40308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40309         New file.
40310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40311         file.
40312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40313         New file.
40314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40315         New file.
40316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40317         New file.
40318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40319         New file.
40320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40321         New file.
40322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40323         New file.
40324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40326         file.
40327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40328         New file.
40329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40330         file.
40331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40332         file.
40333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40334         file.
40335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40336         file.
40337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40338         file.
40339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40340         New file.
40341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40342         file.
40343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40344         file.
40345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40346         New file.
40347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40348         file.
40349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40351         file.
40352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40353         New file.
40354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40355         file.
40356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40357         file.
40358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40359         file.
40360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40361         file.
40362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40363         file.
40364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40365         New file.
40366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40367         file.
40368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40369         file.
40370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40371         New file.
40372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40373         file.
40374         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40375         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40376         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40377         file.
40378         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40379         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40380         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40381         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40382         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40383         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40384         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40385         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40386         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40387         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40390         file.
40391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40392         New file.
40393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40394         file.
40395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40396         file.
40397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40398         file.
40399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40400         file.
40401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40402         file.
40403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40404         New file.
40405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40406         New file.
40407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40408         file.
40409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40410         New file.
40411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40412         file.
40413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40415         file.
40416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40417         New file.
40418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40419         file.
40420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40421         file.
40422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40423         file.
40424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40425         file.
40426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40427         file.
40428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40429         New file.
40430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40431         New file.
40432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40433         file.
40434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40435         New file.
40436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40437         file.
40438
40439 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40440
40441         * conform/conformtest.pl: Fix typo in handling typed-constant from
40442         allow-header.
40443
40444 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40445
40446         * README: Cut down references to pre-2.6 Linux kernels and
40447         Linuxthreads.  Update lists of configurations in libc and ports
40448         and sort alphabetically.  Say "or newer" with Linux kernel version
40449         requirements.
40450
40451         * config.h.in [IS_IN_build]: Allow compiling without optimization.
40452
40453 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40454
40455         [BZ #887]
40456         * math/libm-test.inc (logb_test_downward): New test to expose
40457         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40458         rounding mode.
40459
40460 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40461
40462         [BZ #14027]
40463         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40464         to be done.
40465         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40466         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40467
40468 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
40469
40470         * sysdeps/unix/i386/brk.S: Remove file.
40471         * sysdeps/unix/i386/dl-brk.S: Likewise.
40472         * sysdeps/unix/i386/pipe.S: Likewise.
40473         * sysdeps/unix/i386/sigreturn.S: Likewise.
40474         * sysdeps/unix/i386/syscall.S: Likewise.
40475         * sysdeps/unix/i386/vfork.S: Likewise.
40476         * sysdeps/unix/i386/wait.S: Likewise.
40477
40478         * sysdeps/unix/common/tcsendbrk.c: Move to ...
40479         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40480
40481         * configure.in (arm*-none*): Do not allow without
40482         --enable-hacker-mode.
40483         (netbsd*): Remove case setting base_os.
40484         (386bsd*): Likewise.
40485         (freebsd*): Likewise.
40486         (bsdi*): Likewise.
40487         (osf*): Likewise.
40488         (sunos*): Likewise.
40489         (ultrix*): Likewise.
40490         (newsos*): Likewise.
40491         (dynix*): Likewise.
40492         (*bsd*): Likewise.
40493         (sysv*): Likewise.
40494         (isc*): Likewise.
40495         (esix*): Likewise.
40496         (sco*): Likewise.
40497         (minix*): Likewise.
40498         (irix4*): Likewise.
40499         (irix6*): Likewise.
40500         (solaris[2-9]*): Likewise.
40501         (none): Likewise.
40502         * configure: Regenerated.
40503
40504 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40505
40506         [BZ #11521]
40507         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40508         overflow or cancellation in calculating denominator.
40509         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40510         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40511         down expression to avoid unexpected rounding in newer GCCs.
40512         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40513
40514 2012-04-26  David S. Miller  <davem@davemloft.net>
40515
40516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40517         long-double compat symbols.
40518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40531
40532 2012-04-25  David S. Miller  <davem@davemloft.net>
40533
40534         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40535         HWCAP_* values only after the memory barriers have been defined.
40536         (atomic_full_barrier): Define.
40537         (atomic_read_barrier): Define.
40538         (atomic_write_barrier): Define.
40539
40540 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40541
40542         * shlib-versions: Add libgcc_s version information.
40543         * sysdeps/generic/libgcc_s.h: Remove.
40544         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40545         libgcc_s.h.
40546         * sysdeps/gnu/unwind-resume.c: Likewise.
40547         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40548
40549 2012-04-25  David S. Miller  <davem@davemloft.net>
40550
40551         * sysdeps/unix/sparc/brk.S: Delete.
40552         * sysdeps/unix/sparc/dl-brk.S: Delete.
40553         * sysdeps/unix/sparc/pipe.S: Delete.
40554         * sysdeps/unix/sparc/sysdep.S: Delete.
40555         * sysdeps/unix/sparc/sysdep.h: Delete.
40556         * sysdeps/unix/sparc/vfork.S: Delete.
40557         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40558         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40559         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40560         (ret_ERRVAL, r0, r1, MOVE): Define.
40561         (JUMPTARGET): Remove.
40562         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40563         sysdeps/unix/sparc/sysdep.h
40564         (ENTRY, END): Remove.
40565         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40566
40567 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
40568
40569         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40570         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40571         -DIS_IN_build.
40572
40573         * timezone/README: Update upstream location and email address for
40574         tzcode and tzdata.
40575         * timezone/zdump.c: Update from tzcode 2012b.
40576         * timezone/zic.c: Likewise.
40577
40578         * configure.in (libc_cv_as_needed): Remove test.
40579         * configure: Regenerated.
40580         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40581         conditional definition.
40582         [$(have-as-needed) != yes] (no-as-needed): Likewise.
40583         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40584         * config.make.in (have-as-needed): Remove variable.
40585
40586 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40587             Paul Pluzhnikov  <ppluzhnikov@google.com>
40588
40589         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40590         strings correctly.
40591
40592 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
40593
40594         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40595         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40596         * sysdeps/sh/strlen.S: Likewise.
40597
40598 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40599
40600         * sysdeps/unix/fork.S: Remove file.
40601         * sysdeps/unix/i386/fork.S: Likewise.
40602         * sysdeps/unix/sparc/fork.S: Likewise.
40603
40604         * sysdeps/unix/system.c: Remove file.
40605         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40606
40607         * sysdeps/unix/getegid.S: Remove file.
40608         * sysdeps/unix/geteuid.S: Likewise.
40609
40610 2012-04-24  Roland McGrath  <roland@hack.frob.com>
40611
40612         * scripts/check-localplt.awk: New file.
40613         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40614         of diff.
40615         * scripts/data/localplt-generic.data: Add a comment.
40616
40617         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40618         NODE when __dir_mkfile failed.
40619         * sysdeps/mach/hurd/symlinkat.c: Likewise.
40620         Reported by Ludovic Courtès <ludo@gnu.org>.
40621
40622 2012-04-24  Andreas Jaeger  <aj@suse.de>
40623
40624         * Makerules (common-clean): Also remove gen-as-const-headers
40625         files.
40626
40627 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40628
40629         * Makerules (native-compile): Do not change working directory for
40630         build.  Use $(OUTPUT_OPTION) in command.
40631         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40632
40633 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40634
40635         [BZ #13886]
40636         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40637         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40638         * math/libm-test.inc (floor_test): Add more tests.
40639         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40640
40641 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40642
40643         * sysdeps/unix/getdents.c: Remove file.
40644         * sysdeps/unix/sysv/getdents.c: Likewise.
40645         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40646
40647         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40648         sysdeps/unix/mman/syscalls.list.
40649         (mmap): Likewise.
40650         (mprotect): Likewise.
40651         (msync): Likewise.
40652         (munmap): Likewise.
40653         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40654         * sysdeps/unix/mman/syscalls.list: Remove.
40655         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40656
40657         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40658         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40659         * configure: Regenerated.
40660         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40661         $(libgcc_s_suffix).
40662         * config.make.in (libgcc_s_suffix): Remove variable.
40663
40664 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40665
40666         * sysdeps/unix/sysv/gethostname.c: Move to ...
40667         * sysdeps/posix/gethostname.c: ... here.
40668
40669         * sysdeps/unix/execve.S: Remove file.
40670
40671         * sysdeps/unix/_exit.S: Remove file.
40672
40673 2012-04-23  Andreas Jaeger  <aj@suse.de>
40674
40675         [BZ #13739]
40676         * manual/Makefile: Remove make dist support, there's no
40677         need for a stand-alone documentation tar ball.
40678         (TEXI2DVI): Define always, it's not in Makeconfig.
40679         (dist): Removed.
40680         (tar-it): Removed.
40681         (edition): Removed.
40682         (glibc-doc-$(edition).tar): Removed
40683         (%.Z): Removed.
40684         (%.gz): Removed.
40685         (%.uu): Removed.
40686         (ETAGS): Remove, it's in Makeconfig.
40687         (move-if-change): Remove, it's in Makeconfig.
40688
40689 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40690
40691         [BZ #13970]
40692         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40693         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40694         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40695         (strtod_l, strtof_l, strtold_l): Remove __wur.
40696         It is not necessarily an error to ignore strtol's return value.
40697         One can reliably look at the stored endptr to decide whether
40698         the number had valid syntax.
40699
40700 2012-04-21  Andreas Jaeger  <aj@suse.de>
40701
40702         [BZ #13739]
40703         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40704
40705 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40706
40707         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40708         * sysdeps/unix/sysv/Versions: Remove file.
40709
40710 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40711
40712         [BZ #13927]
40713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40714
40715 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40716
40717         [BZ #7064]
40718         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40719         version from __vm86.
40720
40721 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40722
40723         * sysdeps/unix/common/lxstat.c: Remove file.
40724         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40725
40726         * sysdeps/unix/sysv/Makefile: Remove file.
40727
40728         * sysdeps/unix/sysv/direct.h: Remove file.
40729
40730         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40731         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40732         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40733         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40734         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40735         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40736         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40737
40738         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40739
40740         * sysdeps/unix/xmknod.c: Remove file.
40741         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40742
40743         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40744
40745         * sysdeps/unix/sysv/i386/time.S: Remove file.
40746
40747         * sysdeps/unix/fxstat.c: Remove file.
40748         * sysdeps/unix/xstat.c: Likewise.
40749         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40750
40751         * sysdeps/unix/sysv/sigaction.c: Remove file.
40752
40753         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40754         (sysdep_headers): Remove variable.
40755         [termio.h not in sysdep_headers] (generated): Likewise.
40756         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40757         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40758         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40759         * sysdeps/unix/sysv/tcflow.c: Likewise.
40760         * sysdeps/unix/sysv/tcflush.c: Likewise.
40761         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40762         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40763         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40764         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40765         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40766
40767         * sysdeps/unix/siglist.c: Remove file.
40768
40769         * sysdeps/unix/getppid.S: Remove file.
40770
40771         * sysdeps/unix/mkdir.c: Remove file.
40772         * sysdeps/unix/rmdir.c: Likewise.
40773
40774 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40775
40776         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40777         ERR_MAX value.
40778         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40779         errlist-compat value.
40780
40781 2012-04-18  David S. Miller  <davem@davemloft.net>
40782
40783         * sysdeps/generic/memcopy.h (reg_char): Delete.
40784         * debug/strcat_chk.c: Use char, not reg_char.
40785         * debug/strcpy_chk.c: Likewise.
40786         * debug/strncat_chk.c: Likewise.
40787         * debug/strncpy_chk.c: Likewise.
40788         * string/memchr.c: Likewise.
40789         * string/memrchr.c: Likewise.
40790         * string/rawmemchr.c: Likewise.
40791         * string/strcat.c: Likewise.
40792         * string/strchr.c: Likewise.
40793         * string/strchrnul.c: Likewise.
40794         * string/strcmp.c: Likewise.
40795         * string/strcpy.c: Likewise.
40796         * string/strncat.c: Likewise.
40797         * string/strncmp.c: Likewise.
40798         * string/strncpy.c: Likewise.
40799
40800 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40801
40802         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40803         __builtin_memcopy is called when src and dest ranges are known to not
40804         overlap.
40805
40806 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40807
40808         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40809         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40810         fwd_align_merge macro call.
40811         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40812         bwd_align_merge macro call.
40813         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40814
40815 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40816
40817         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40818         bwd_align_merge macros.
40819         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40820         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40821         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40822
40823 2012-04-18  David S. Miller  <davem@davemloft.net>
40824
40825         * sysdeps/sparc/sparc64/memcopy.h: Delete.
40826
40827 2012-04-18  Andreas Jaeger  <aj@suse.de>
40828
40829         [BZ# 6794]
40830         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40831         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40832         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40833
40834         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40835         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40836         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40837
40838         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40839         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40840         Adjust for changed ldbl-128 files.
40841
40842         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40843         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40844         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40845
40846 2012-04-17  David S. Miller  <davem@davemloft.net>
40847
40848         * sysdeps/sparc/sparc32/memcopy.h: Delete.
40849
40850 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
40851
40852         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40853         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40854         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40855         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40856         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40857         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40858
40859 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40860
40861         [BZ #6794]
40862         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40863         * math/libm-test.inc: Add ilogb errno and exception tests.
40864         * math/w_ilogb.c: New file: ilogb wrapper.
40865         * math/w_ilogbf.c: New file: ilogbf wrapper.
40866         * math/w_ilogbl.c: New file: ilogbl wrapper.
40867         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40868         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40869         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40870         exception being thrown with 0.0 as argument.
40871         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40872         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40873         exception being thrown with 0.0 as argument.
40874         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40875         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40876         exception being thrown with 0.0 as argument.
40877         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40878         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40879         exception being thrown with 0.0 as argument.
40880         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40881         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40882         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40883         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40884         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40885         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40886         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40887         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40888         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40889
40890 2012-04-17  Petr Baudis  <pasky@ucw.cz>
40891
40892         * include/sys/uio.h: Change __vector to __iovec to avoid clash
40893         with altivec.
40894
40895 2012-04-16  Marek Polacek  <polacek@redhat.com>
40896
40897         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40898
40899 2012-04-16  Marek Polacek  <polacek@redhat.com>
40900
40901         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40902         operands of fdivp instruction.
40903
40904 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40905
40906         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40907         * elf/tst-auditmod3b.c: Likewise.
40908         * elf/tst-auditmod4b.c: Likewise.
40909         * elf/tst-auditmod5b.c: Likewise.
40910         * elf/tst-auditmod6b.c: Likewise.
40911         * elf/tst-auditmod6c.c: Likewise.
40912         * elf/tst-auditmod7b.c: Likewise.
40913         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40914         * sysdeps/x86_64/preconfigure.in: Likewise.
40915         * sysdeps/x86_64/preconfigure: Regenerated.
40916
40917 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40918
40919         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40920         __ILP32__.
40921
40922 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
40923
40924         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40925         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40926
40927 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
40928
40929         [BZ #13973]
40930         * locale/iso-639.def: Fix gl language name. Spotted by
40931         Yaron Shahrabani.
40932
40933 2012-04-12  Roland McGrath  <roland@hack.frob.com>
40934
40935         [BZ #2074]
40936         * libio/libio.h (__io_write_fn): Update comment.
40937
40938 2012-04-12  Petr Baudis  <pasky@ucw.cz>
40939
40940         [BZ #2074]
40941         * stdio.texi (Hook Functions): The user provided writer function
40942         is not allowed to return -1.
40943
40944 2012-04-11  David S. Miller  <davem@davemloft.net>
40945
40946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40947
40948 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
40949
40950         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40951         Add a leading slash to rtkaio.
40952
40953 2012-04-11  Jim Meyering  <meyering@redhat.com>
40954
40955         [BZ #11959]
40956         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40957         It is not necessarily an error to ignore fwrite's return
40958         value.  One can reliably use ferror to test for errors after
40959         the fact.
40960
40961 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40962
40963         * bits/types.h (__snseconds_t): New type.
40964         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40965
40966         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40967         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40968         (__SNSECONDS_T_TYPE): Likewise.
40969         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40970         (__SNSECONDS_T_TYPE): Likewise.
40971         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40972         (__SNSECONDS_T_TYPE): Likewise.
40973
40974 2012-04-10  Andreas Jaeger  <aj@suse.de>
40975
40976         [BZ #2636]
40977         * manual/time.texi (Processor Time): Return type of times is
40978         elapsed real time since an arbitrary point in the past.
40979         (CPU Time): Move CLK_TCK from here...
40980         (Processor Time): ...to here.  Correct description.
40981         * manual/conf.texi (Constants for Sysconf): Correct description of
40982         _SC_CLK_TCK.
40983
40984 2012-04-10  David S. Miller  <davem@davemloft.net>
40985
40986         [BZ #13967]
40987         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40988         where the is a gap between DT_REL(A) and DT_JMPREL.
40989
40990 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40991
40992         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40993         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40994         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40995
40996 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40997
40998         * elf/dl-support.c (_dl_inhibit_cache): New variable.
40999         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41000         (dl_main): Handle --inhibit-cache.
41001         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41002         _dl_inhibit_cache.
41003         * elf/dl-load.c (_dl_map_object): Use it.
41004         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41005
41006 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41007
41008         [BZ #13872]
41009         * sysdeps/i386/fpu/e_powl.S (p78): New object.
41010         (__ieee754_powl): Saturate large exponents rather than testing for
41011         overflow of y*log2(x).
41012         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41013         * math/libm-test.inc (pow_test): Do not permit spurious overflow
41014         exceptions.
41015
41016         [BZ #11521]
41017         * math/s_ctan.c: Include <float.h>.
41018         (__ctan): Avoid internal overflow or cancellation in calculating
41019         denominator.
41020         * math/s_ctanf.c: Likewise.
41021         * math/s_ctanl.c: Likewise.
41022         * math/s_ctanh.c: Likewise.
41023         * math/s_ctanhf.c: Likewise.
41024         * math/s_ctanhl.c: Likewise.
41025         * math/libm-test.inc (ctan_test): Add more tests.
41026         (ctanh_test): Likewise.
41027         * sysdeps/i386/fpu/libm-test-ulps: Update.
41028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41029
41030 2012-04-09  Andreas Jaeger  <aj@suse.de>
41031
41032         [BZ #6894]
41033         * manual/filesys.texi (Directory Entries): Mention that d_namlen
41034         is an optional BSD extension.
41035
41036         [BZ #10254]
41037         * manual/stdio.texi (Opening Streams): Document additional fopen
41038         parameters.
41039
41040 2012-04-09  Roland McGrath  <roland@hack.frob.com>
41041
41042         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41043         %eax without telling the compiler.
41044
41045 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
41046
41047         [BZ # 13963]
41048         * manual/install.texi: Use sourceware.org.
41049
41050 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41051
41052         [BZ #13873]
41053         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41054         (__ieee754_pow): Generate overflow and underflow using huge*huge
41055         and tiny*tiny rather than just returning constant infinity or zero
41056         for large exponents.
41057         * math/libm-test.inc (pow_test): Require overflow exceptions for
41058         applicable cases of large exponents.
41059
41060         [BZ #706]
41061         * sysdeps/i386/fpu/e_pow.S (p10): New object.
41062         (__ieee754_pow): Use iterative multiplication algorithm only for
41063         integer exponents with absolute value below 1024.  Check for odd
41064         integer exponents when using algorithm for real exponents.
41065         * math/libm-test.inc (pow_test): Add more tests.
41066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41067
41068 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
41069
41070         [BZ #13705]
41071         * math/libm-test.inc (exp_test): Do not allow overflow exception
41072         on underflow test.
41073
41074 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
41075
41076         [BZ #13705]
41077         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41078         instead of __kernel_standard_f.
41079
41080 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
41081
41082         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41083         * sysdeps/x86_64/memset_chk.S: Likewise.
41084
41085 2012-04-08  Andreas Jaeger  <aj@suse.de>
41086
41087         [BZ #10153]
41088         * manual/startup.texi (Environment Access): Describe return value
41089         for putenv and setenv.
41090
41091         [BZ #6895]
41092         * manual/filesys.texi (Directory Entries): Add description for
41093         DT_LNK.
41094
41095         [BZ #6890]
41096         * manual/filesys.texi (Directory Entries): Clarify that it's file
41097         system not operating system in the description of DT_UNKNOWN.
41098
41099         [BZ #6578]
41100         * manual/syslog.texi (closelog): Fix reference, it's openlog.
41101
41102 2012-04-08  Stephen Compall  <s11@member.fsf.org>
41103
41104         [BZ #6649]
41105         * manual/llio.texi (Opening and Closing Files): Add cross
41106         reference to explain mode argument.
41107
41108 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
41109
41110         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41111         * sysdeps/x86_64/memset_chk.S: Likewise.
41112
41113 2012-04-07  David S. Miller  <davem@davemloft.net>
41114
41115         * elf/elf.h (R_SPARC_WDISP10): Define.
41116         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41117         R_SPARC_SIZE32.
41118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41119         R_SPARC_SIZE64 and R_SPARC_H34.
41120
41121 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
41122
41123         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41124         conditions and remove no longer applicable assertion.
41125
41126 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41127
41128         * bits/byteswap.h: Include <features.h>.
41129         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41130         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41131
41132 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41133
41134         * bits/byteswap.h (__bswap_16): Removed.
41135         Include <bits/byteswap-16.h> to get __bswap_16.
41136         * sysdeps/i386/bits/byteswap.h: Likewise.
41137         * sysdeps/s390/bits/byteswap.h: Likewise.
41138         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41139         * bits/byteswap-16.h: New file.
41140         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41141         * sysdeps/s390/bits/byteswap-16.h: Likewise.
41142         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41143         * string/Makefile (headers): Add bits/byteswap-16.h.
41144
41145 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41146
41147         [BZ #13895]
41148         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41149         extra indirection.
41150         * nss/Makefile (tests-static, tests): Add tst-nss-static.
41151         * nss/tst-nss-static.c: New.
41152
41153 2012-04-06  Robert Millan  <rmh@gnu.org>
41154
41155         [BZ #6486]
41156         * manual/llio.texi (File Position Primitive): lseek
41157         refers to WHENCE when it really means OFFSET.
41158
41159 2012-04-06  Andreas Jaeger  <aj@suse.de>
41160
41161         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41162         strncmp declarations.
41163
41164         * abilist/libc.abilist: Add __poll and __ppoll.
41165
41166 2012-04-05  David S. Miller  <davem@davemloft.net>
41167
41168         * scripts/check-local-headers.sh: Accept a host triplet in the
41169         path matched by the exclude regexp.
41170
41171         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41172         definition.
41173         * sysdeps/powerpc/powerpc32/dl-machine.h
41174         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41175         * sysdeps/s390/s390-32/dl-machine.h
41176         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41177         * sysdeps/sparc/sparc32/dl-machine.h
41178         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41179         * sysdeps/sparc/sparc64/dl-machine.h
41180         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41181
41182         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41183         lazy binding.
41184         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41185         undefined symbol errors.
41186
41187         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41188         DT_NEEDED entries.
41189
41190 2012-04-05  Michael Matz  <matz@suse.de>
41191
41192         [BZ #13592]
41193         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41194
41195 2012-04-05  Andreas Jaeger  <aj@suse.de>
41196
41197         [BZ #13908]
41198         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41199         comment.
41200
41201 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41202
41203         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41204         which ROUND is no valid rounding mode.
41205
41206 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41207
41208         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41209         read again.
41210         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41211
41212 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41213
41214         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41215         an exception using FPU order intentionally.
41216
41217 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41218
41219         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41220         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41221         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41222         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41223
41224 2012-04-05  Simon Josefsson  <simon@josefsson.org>
41225
41226         [BZ #12340]
41227         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41228         EINVAL when BUFLEN is too smal.
41229
41230 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41231
41232         [BZ #13553]
41233         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41234         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41235
41236 2012-04-03  Andreas Jaeger  <aj@suse.de>
41237
41238         [BZ #13938]
41239         * manual/setjmp.texi (System V contexts): Fix sentence.
41240
41241         [BZ #13926]
41242         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41243         New macro for this case.
41244         [!__GNUC__] (__bswap_64): New inline function for this case.
41245         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41246         * bits/byteswap.h: Likewise.
41247         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41248         ull, guard with __GLIBC_HAVE_LONG_LONG.
41249
41250         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41251         __GLIBC_HAVE_LONG_LONG.
41252
41253         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41254         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41255
41256 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41257
41258         [BZ #13691]
41259         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41260         inptr and inend, rather than using last_ch.
41261
41262 2012-04-02  David S. Miller  <davem@davemloft.net>
41263
41264         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41265         * stdio-common/printf-parse.h (read_int): Change return type to
41266         'int', return -1 on INT_MAX overflow.
41267         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41268         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
41269         overflows INT_MAX.  Check for overflow of in-format-string precision
41270         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
41271         SIZE_MAX not INT_MAX for integer overflow test.
41272         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41273         skip the construct in the format string but do not record anything.
41274         * stdio-common/bug22.c: Adjust to test both width/prevision
41275         INT_MAX overflow as well as total length INT_MAX overflow.  Check
41276         explicitly for proper errno values.
41277
41278 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41279
41280         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41281         CHAR_MAX.
41282         * string/test-strcmp.c [! WIDE]: Likewise.
41283         * time/tst-mktime2.c: Likewise for INT_MAX.
41284         * string/test-string.h: #include <sys/param.h> for MIN.
41285
41286         * csu/init-first.c (__libc_init_first): Call __ctype_init.
41287         * sysdeps/i386/init-first.c (init): Likewise.
41288         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41289         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41290         * sysdeps/sh/init-first.c (init): Likewise.
41291
41292 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
41293
41294         * po/ru.po: Update from translation team.
41295         * po/vi.po: Likewise.
41296
41297 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41298
41299         * resolv/nss_dns/dns-host.c: Merge copyright years.
41300
41301 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41302
41303         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41304         Optimize memcpy with prefetch if
41305         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
41306         src, dst pointers have unequal 16 byte alignments.
41307
41308 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41309
41310         [BZ #13928]
41311         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41312         from a CNAME entry and return the minimum ttl for the query.
41313         (gaih_getanswer_slice): Likewise.
41314
41315 2012-03-30  Jeff Law  <law@redhat.com>
41316
41317         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41318         due to long keys.
41319         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41320         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41321
41322         * resolv/nss_dns/dns-host.c: Update copyright year.
41323
41324 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
41325
41326         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41327         requests to save a system call.  Fix check that all bytes are sent.
41328
41329         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41330         comments for sendmmsg.
41331
41332 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41333
41334         [BZ #13691]
41335         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41336         with only 1 character between 0x0041 and 0x01b0.
41337         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41338         * wcsmbs/tst-mbsnrtowcs.c: New file.
41339
41340 2012-03-29  David S. Miller  <davem@davemloft.net>
41341
41342         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41343         small copies by hand.
41344
41345 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41346
41347         [BZ #13761]
41348         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41349         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41350         group memberships.
41351
41352 2012-03-28  David S. Miller  <davem@davemloft.net>
41353
41354         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41355         that branches into memcpy.
41356         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41357         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41358         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41359         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41360         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41361         bits.
41362         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41363         implementation too.
41364         * sysdeps/sparc/mempcpy.S: New file.
41365
41366         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41367         the IFUNC routine in the libc case.
41368         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41369
41370         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41371         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41372         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41373         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41374         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41375         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41376         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41377         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41378
41379         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41380         loop to 256 bytes instead of 64 bytes and fix test signedness.
41381
41382         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41383         * sysdeps/sparc/sparc32/Makefile: rather than here...
41384         * sysdeps/sparc/sparc64/Makefile: and here.
41385
41386 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
41387
41388         * malloc/mallocbug.c: Avoid warnings about unused variables.
41389
41390 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41391
41392         [BZ #13760]
41393         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41394         in the right place. Discard and retry query if response is
41395         larger than input buffer size.
41396
41397 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
41398
41399         [BZ #369]
41400         [BZ #2678]
41401         [BZ #3866]
41402         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41403         x for large integer exponent.
41404         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41405         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
41406         sign of result as needed afterwards.
41407         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41408         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41409         result for underflowing pow the same as for overflow.
41410         (__kernel_standard_l): Handle powl overflow and underflow here
41411         rather than calling __kernel_standard.
41412         * math/libm-test.inc (pow_test): Add more tests.
41413
41414         [BZ #3868]
41415         [BZ #13879]
41416         [BZ #13910]
41417         [BZ #13911]
41418         [BZ #13912]
41419         [BZ #13913]
41420         [BZ #13915]
41421         [BZ #13916]
41422         [BZ #13917]
41423         [BZ #13918]
41424         [BZ #13919]
41425         [BZ #13920]
41426         [BZ #13921]
41427         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41428         * sysdeps/ieee754/k_standard.c: Include <float.h>.
41429         (__kernel_standard_l): New function.
41430         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41431         __kernel_standard.
41432         * math/w_acosl.c (__acosl): Likewise.
41433         * math/w_asinl.c (__asinl): Likewise.
41434         * math/w_atan2l.c (__atan2l): Likewise.
41435         * math/w_atanhl.c (__atanhl): Likewise.
41436         * math/w_coshl.c (__coshl): Likewise.
41437         * math/w_exp10l.c (__exp10l): Likewise.
41438         * math/w_exp2l.c (__exp2l): Likewise.
41439         * math/w_fmodl.c (__fmodl): Likewise.
41440         * math/w_hypotl.c (__hypotl): Likewise.
41441         * math/w_j0l.c (__j0l, __y0l): Likewise.
41442         * math/w_j1l.c (__j1l, __y1l): Likewise.
41443         * math/w_jnl.c (__jnl, __ynl): Likewise.
41444         * math/w_lgammal.c (__lgammal): Likewise.
41445         * math/w_log10l.c (__log10l): Likewise.
41446         * math/w_log2l.c (__log2l): Likewise.
41447         * math/w_logl.c (__logl): Likewise.
41448         * math/w_powl.c (__powl): Likewise.
41449         * math/w_remainderl.c (__remainderl): Likewise.
41450         * math/w_scalbl.c (sysv_scalbl): Likewise.
41451         * math/w_sinhl.c (__sinhl): Likewise.
41452         * math/w_sqrtl.c (__sqrtl): Likewise.
41453         * math/w_tgammal.c (__tgammal): Likewise.
41454         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41455         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41456         * math/libm-test.inc (acos_test): Add more tests.
41457         (acosh_test): Likewise.
41458         (asin_test): Likewise.
41459         (atanh_test): Likewise.
41460         (exp_test): Likewise.
41461         (exp10_test): Likewise.
41462         (exp2_test): Likewise.
41463         (expm1_test): Likewise.
41464         (lgamma_test): Likewise.
41465         (log_test): Likewise.
41466         (log10_test): Likewise.
41467         (log1p_test): Likewise.
41468         (log2_test): Likewise.
41469         (pow_test): Do not allow some spurious overflow exceptions.
41470         (sqrt_test): Add more tests.
41471         (tgamma_test): Likewise.
41472         (y0_test): Likewise.
41473         (y1_test): Likewise.
41474         (yn_test): Likewise.
41475
41476 2012-03-27  Anton Blanchard  <anton@samba.org>
41477
41478         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41479         MAP_HUGETLB.
41480         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41481         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41482         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41483
41484 2012-03-27  David S. Miller  <davem@davemloft.net>
41485
41486         * conform/Makefile: Run run-conformtest.sh using $(BASH).
41487
41488         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41489         have-as-vis3 check.
41490
41491 2012-03-27  Andreas Jaeger  <aj@suse.de>
41492
41493         * sysdeps/x86_64/elf/configure.in: Moved to ...
41494         * sysdeps/x86_64/configure.in: ... here.
41495         * sysdeps/x86_64/elf/start.S: Moved to ...
41496         * sysdeps/x86_64/start.S: ... here.
41497         * sysdeps/x86_64/elf/configure: Delete.
41498
41499         * sysdeps/x86_64/configure.in: Merge contents from
41500         sysdeps/i386/configure.in (without i686 check).
41501
41502         * sysdeps/i386/elf/Versions: Merge into ...
41503         * sysdeps/i386/Versions: ... this.
41504         * sysdeps/i386/elf/Versions: Delete file.
41505         * sysdeps/i386/elf/start.S: Moved to ...
41506         * sysdeps/i386/start.S: ...here.
41507         * sysdeps/i386/elf/configure.in: Merge into...
41508         * sysdeps/i386/configure.in: ...here.
41509         * sysdeps/i386/elf/configure.in: Delete file.
41510         * sysdeps/i386/elf/configure: Delete file.
41511
41512         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41513         * debug/backtracesyms.c: ... here.
41514         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41515         * debug/backtracesymsfd.c: ... here.
41516         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41517         * sysdeps/generic/ifunc-sel.h: ... here.
41518
41519         * sysdeps/unix/i386/start.c: Delete file.
41520         * sysdeps/unix/sparc/start.c: Delete file.
41521         * sysdeps/unix/start.c: Delete file.
41522
41523         * sysdeps/sh/elf/configure.in: Moved to ...
41524         * sysdeps/sh/configure.in: ... here.
41525         * sysdeps/sh/elf/start.S: Moved to ...
41526         * sysdeps/sh/start.S: ... here.
41527         * sysdeps/sh/elf/configure: Delete file.
41528
41529         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41530         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41531         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41532         * sysdeps/powerpc/powerpc64/entry.h: ... here.
41533         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41534         * sysdeps/powerpc/powerpc64/start.S: here.
41535         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41536         * sysdeps/powerpc/powerpc64/Makefile: ... this.
41537         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41538         * sysdeps/powerpc/powerpc64/configure.in: ... this.
41539         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41540
41541         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41542         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41543         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41544         * sysdeps/powerpc/powerpc32/start.S: ... here.
41545         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41546         * sysdeps/powerpc/powerpc32/configure.in: ... this.
41547         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41548
41549         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41550         * sysdeps/powerpc/ifunc-sel.h: ... here.
41551         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41552         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41553
41554         * sysdeps/sparc/elf/configure.in: Moved to ...
41555         * sysdeps/sparc/configure.in: ... here.
41556         * sysdeps/sparc/elf/configure: Delete file.
41557         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41558         * sysdeps/sparc/sparc32/start.S: ... here.
41559         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41560         * sysdeps/sparc/sparc64/start.S: ... here.
41561         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41562         * sysdeps/sparc/sparc32/Makefile: ... this.
41563         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41564         * sysdeps/sparc/sparc64/Makefile: ... this.
41565
41566         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41567         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41568         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41569         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41570         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41571         * sysdeps/s390/s390-32/setjmp.S: ... here.
41572         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41573         * sysdeps/s390/s390-32/configure.in: ... here.
41574         * sysdeps/s390/s390-32/elf/configure: Delete file.
41575         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41576         * sysdeps/s390/s390-32/start.S: ... here.
41577
41578         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41579         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41580         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41581         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41582         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41583         * sysdeps/s390/s390-64/setjmp.S: ... here.
41584         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41585         * sysdeps/s390/s390-64/configure.in: ... here
41586         * sysdeps/s390/s390-64/elf/configure: Delete file.
41587         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41588         * sysdeps/s390/s390-64/start.S: ... here.
41589         * sysdeps/s390/s390-64/elf/configure: Delete.
41590
41591         * configure.in: Remove support for elf directories in sysdeps.
41592
41593         * configure: Regenerated.
41594         * sysdeps/i386/configure: Regenerated.
41595         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41596         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41597         * sysdeps/s390/s390-32/configure: Regenerated.
41598         * sysdeps/s390/s390-64/configure: Regenerated.
41599         * sysdeps/sh/configure: Regenerated.
41600         * sysdeps/sparc/configure: Regenerated.
41601         * sysdeps/x86_64/configure: Regenerated.
41602
41603 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
41604
41605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41606
41607         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41608         denormal result into account.
41609
41610 2012-03-25  Roland McGrath  <roland@hack.frob.com>
41611
41612         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41613         Reported by Allan McRae <allan@archlinux.org>.
41614
41615 2012-03-23  Jeff Law  <law@redhat.com>
41616
41617         * nss/getnssent.c (__nss_getent): Fix typo.
41618
41619 2012-03-23  David S. Miller  <davem@davemloft.net>
41620
41621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41622
41623 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41624
41625         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41626         to pad to uint64_t for each field.
41627         (dl_tls_index): Replace unsigned long with uint64_t.
41628
41629 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41630         Paul Pluzhnikov  <ppluzhnikov@google.com>
41631
41632         [BZ #6528]
41633         * grp/Makefile (otherlibs): Don't set it.
41634         * inet/Makefile (otherlibs): Likewise.
41635         * login/Makefile (otherlibs): Likewise.
41636         * nscd/Makefile (otherlibs): Likewise.
41637         * posix/Makefile (otherlibs): Likewise.
41638         * pwd/Makefile (otherlibs): Likewise.
41639         * rt/Makefile (otherlibs): Likewise.
41640         * sunrpc/Makefile (otherlibs): Likewise.
41641         * nss/Makefile (otherlibs): Likewise.
41642         Add libnss_files to routines and static-only-routines.
41643         ($(objpfx)getent): Remove rule.
41644         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41645         static-only-routines.
41646
41647 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41648
41649         [BZ #13892]
41650         * math/s_cexp.c: Include <float.h>.
41651         (__cexp): Handle exp result overflowing not necessarily
41652         overflowing both real and imaginary parts of result.
41653         * math/s_cexpf.c: Likewise.
41654         * math/s_cexpl.c: Likewise.
41655         * math/libm-test.inc (cexp_test): Add more tests.
41656         * sysdeps/i386/fpu/libm-test-ulps: Update.
41657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41658
41659 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41660
41661         * include/link.h (ELFW): New macro.
41662         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41663         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41664
41665 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41666
41667         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41668         with uint64_t.
41669
41670 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41671
41672         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41673         declaration.
41674         (struct La_x32_retval): Likewise.
41675
41676 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41677
41678         * sysdeps/x86_64/preconfigure.in: New file.
41679         * sysdeps/x86_64/preconfigure: New generated file.
41680
41681 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41682
41683         [BZ #13824]
41684         * math/e_exp2l.c: Include <float.h>.
41685         (__ieee754_exp2l): Handle overflow and underflow cases
41686         separately.  Only pass fractional part of argument to
41687         __ieee754_expl.
41688         * math/libm-test.inc (exp2_test): Add more tests.
41689
41690         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41691         negating x to take absolute value.
41692         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41693         Likewise.
41694         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41695         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41696         Likewise.
41697         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41698         computing low part if x was negated.
41699         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41700
41701 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41702
41703         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41704         la_x32_gnu_pltexit.
41705         (pltexit): Cast int_retval to ptrdiff_t.
41706         * elf/tst-auditmod3b.c: Likewise.
41707         * elf/tst-auditmod4b.c: Likewise.
41708         * elf/tst-auditmod5b.c: Likewise.
41709         * elf/tst-auditmod6b.c: Likewise.
41710         * elf/tst-auditmod6c.c: Likewise.
41711         * elf/tst-auditmod7b.c: Likewise.
41712
41713         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41714         and x32_gnu_pltexit.
41715
41716         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41717         __ELF_NATIVE_CLASS.
41718         (La_x32_regs): New macro.
41719         (La_x32_retval): Likewise.
41720         (la_x32_gnu_pltenter): New function prototype.
41721         (la_x32_gnu_pltexit): Likewise.
41722
41723 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41724
41725         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41726         exponent.
41727
41728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41729
41730         * configure.in (libc_cv_cc_nofma): Check for option to disable
41731         generation of FMA instructions.
41732         * configure: Regenerate.
41733         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41734         * sysdeps/ieee754/dbl-64/Makefile: New file.
41735         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41736         Remove brandred-fma4.
41737         (CFLAGS-brandred-fma4.c): Remove.
41738         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41739         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41740         define.
41741         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41742         define.
41743
41744 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41745
41746         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41747         LLONG_MAX != LONG_MAX.
41748         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41749         (_fitoa_word): Likewise.
41750         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41751         LLONG_MAX != LONG_MAX.
41752         * stdio-common/_itowa.h: Include <_itoa.h>.
41753         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41754         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41755         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41756         only if not defined.
41757         (_ITOA_WORD_TYPE): Likewise.
41758         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41759         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41760
41761 2012-03-21  David S. Miller  <davem@davemloft.net>
41762
41763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41764
41765 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41766
41767         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41768         of x86_64 when setting libc_cv_slibdir, libdir and
41769         libc_cv_localedir.
41770         * sysdeps/unix/sysv/linux/configure: Regenerated.
41771
41772 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41773
41774         * manual/lang.texi (Old Varargs): Remove section.
41775         (How Variadic): Update menu.
41776         (va_start): Do not mention varargs.h.
41777
41778 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41779             Joseph Myers  <joseph@codesourcery.com>
41780
41781         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41782         link test.
41783         * configure: Regenerated.
41784
41785 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41786
41787         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41788         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41789         conformtest.pl
41790
41791 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41792
41793         * NOTES: Remove.
41794         * Makefile (files-for-dist): Remove NOTES.
41795         (NOTES): Remove rule.
41796         * README: Don't refer to NOTES.
41797         * manual/creature.texi: Don't include macros.texi.
41798         * manual/intro.texi (creature.texi): Remove comment referring to
41799         NOTES.
41800
41801         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41802         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41803         * configure: Regenerated.
41804         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41805         LIBC_TRY_CC_OPTION.
41806         (libc_cv_as_i686): Likewise.
41807         (libc_cv_cc_avx): Likewise.
41808         (libc_cv_cc_sse2avx): Likewise.
41809         (libc_cv_cc_fma4): Likewise.
41810         (libc_cv_cc_novzeroupper): Likewise.
41811         * sysdeps/i386/configure: Regenerated.
41812
41813         [BZ #13883]
41814         * sysdeps/i386/fpu/s_cexp.S: Remove.
41815         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41816         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41817         * math/libm-test.inc (cexp_test): Add more tests.
41818         * sysdeps/i386/fpu/libm-test-ulps: Update.
41819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41820
41821 2012-03-21  Allan McRae  <allan@archlinux.org>
41822
41823         * timezone/Makefile: Do not install iso3166.tab and zone.tab
41824
41825 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41826
41827         [BZ #13871]
41828         * math/w_exp2.c: Do not include <float.h>.
41829         (o_threshold, u_threshold): Remove.
41830         (__exp2): Calculate result before checking finiteness and calling
41831         __kernel_standard.
41832         * math/w_exp2f.c: Likewise.
41833         * math/w_exp2l.c: Likewise.
41834         * math/libm-test.inc (exp2_test): Require overflow exception for
41835         1e6 input.
41836
41837         [BZ #3866]
41838         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41839         range of signed 64-bit integers before using fistpll.  Remove
41840         checks for whether integers fit in mantissa bits.
41841         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41842         the range of signed 32-bit integers before using fistpl.  Remove
41843         checks for whether integers fit in mantissa bits.
41844         * sysdeps/i386/fpu/e_powl.S (p64): New object.
41845         (__ieee754_powl): Test for y outside the range of signed 64-bit
41846         integers before using fistpll.  Reduce 64-bit values to 63-bit
41847         ones as needed.
41848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41849         divide-by-zero is raised for zero to large negative powers.
41850         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41851         (__ieee754_powl): Test for y outside the range of signed 64-bit
41852         integers before using fistpll.  Reduce 64-bit values to 63-bit
41853         ones as needed.
41854         * math/libm-test.inc (pow_test): Add more tests.
41855
41856 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41857
41858         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41859         <stdio-common/_itoa.h>.
41860         * debug/segfault.c: Likewise.
41861         * elf/dl-cache.c: Likewise.
41862         * elf/dl-minimal.c: Likewise.
41863         * elf/dl-misc.c: Likewise.
41864         * elf/dl-sysdep.c: Likewise.
41865         * elf/dl-version.c: Likewise.
41866         * elf/rtld.c: Likewise.
41867         * hurd/hurdsock.c: Likewise.
41868         * hurd/lookup-retry.c: Likewise.
41869         * malloc/malloc.c: Likewise.
41870         * malloc/mtrace.c: Likewise.
41871         * nscd/nscd_getgr_r.c: Likewise.
41872         * nscd/nscd_getpw_r.c: Likewise.
41873         * nscd/nscd_getserv_r.c: Likewise.
41874         * posix/getopt_init.c: Likewise.
41875         * posix/wordexp.c: Likewise.
41876         * stdio-common/_itoa.c: Likewise.
41877         * stdio-common/printf_fphex.c: Likewise.
41878         * stdio-common/vfprintf.c: Likewise.
41879         * string/_strerror.c: Likewise.
41880         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41881         * sysdeps/i386/i686/hp-timing.h: Likewise.
41882         * sysdeps/mach/_strerror.c: Likewise.
41883         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41884         * sysdeps/mach/hurd/sethostid.c: Likewise.
41885         * sysdeps/mach/hurd/xmknodat.c: Likewise.
41886         * sysdeps/mach/xpg-strerror.c: Likewise.
41887         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41888         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41889         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41890         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41891         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41892         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41893         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41894         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41895         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41896         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41897         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41898         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41899         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41900         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41901         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41902         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41903         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41904         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41905         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41906         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41907         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41908
41909         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41910
41911         * stdio-common/_itoa.h: Moved to ...
41912         * sysdeps/generic/_itoa.h: Here.
41913
41914         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41915
41916         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41917         instead of "_itoa.h" and "_itowa.h".
41918         * stdio-common/vfprintf.: Likewise.
41919
41920 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41921
41922         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41923         <bits/wordsize.h>.
41924         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41925         (__signbit): Likwise.
41926         (llrintf): Likwise.
41927         (llrint): Likwise.
41928
41929 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41930
41931         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41932         __WORDSIZE != 64.
41933
41934 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
41935
41936         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41937         OVERFLOW_EXCEPTION_OK.
41938         * math/libm-test.inc ("Philosophy"): Update comment about
41939         exception testing.
41940         (OVERFLOW_EXCEPTION): Define.
41941         (OVERFLOW_EXCEPTION_OK): Likewise.
41942         (INVALID_EXCEPTION_OK): Renumber.
41943         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41944         (IGNORE_ZERO_INF_SIGN): Likewise.
41945         (test_exceptions): Handle FE_OVERFLOW.
41946         (exp10_test): Expect overflow exceptions.
41947         (exp2_test): Likewise.
41948         (expm1_test): Likewise.
41949         (nextafter_test): Likewise.
41950         (pow_test): Likewise.
41951         (scalbn_test): Likewise.
41952         (scalbln_test): Likewise.
41953
41954 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41955
41956         * sysdeps/x86_64/bits/atomic.h
41957         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41958         64bit integer.
41959         (atomic_exchange_acq): Likewise.
41960         (__arch_exchange_and_add_body): Likewise.
41961         (__arch_add_body): Likewise.
41962         (atomic_add_negative): Likewise.
41963         (atomic_add_zero): Likewise.
41964
41965 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41966
41967         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41968         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41969
41970 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41971
41972         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41973         Check __x86_64__ instead of __WORDSIZE.
41974
41975 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41976
41977         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41978
41979 2012-03-19  David S. Miller  <davem@davemloft.net>
41980
41981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41982
41983         * sysdeps/sparc/fpu/fenv_private.h: New file.
41984         * sysdeps/sparc/fpu/math_private.h: Use it.
41985         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41986         Remove.
41987         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41988         (libc_feholdexcept_setroundl): Remove.
41989         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41990         Remove.
41991         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41992         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41993
41994 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41995
41996         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41997         int64_t instead of long int.
41998         (INSERT_WORDS64): Likwise.
41999
42000 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42001
42002         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42003         _Unwind_GetCFA return to _Unwind_Ptr first.
42004
42005 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
42006
42007         [BZ #13629]
42008         * math/s_clog.c: Include <float.h>.
42009         (__clog): Scale large or subnormal inputs.
42010         * math/s_clogf.c: Likewise.
42011         * math/s_clogl.c: Likewise.
42012         * math/s_clog10.c: Include <float.h>.
42013         (M_LOG10_2): Define.
42014         (__clog10): Scale large or subnormal inputs.
42015         * math/s_clog10f.c: Likewise.
42016         * math/s_clog10l.c: Likewise.
42017         * math/libm-test.inc (clog_test): Add more tests.
42018         (clog10_test): Likewise.
42019         * sysdeps/i386/fpu/libm-test-ulps: Update.
42020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42021
42022         [BZ #11451]
42023         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42024         x and y.
42025         * math/libm-test.inc (atan2_test): Add another test.
42026
42027         * Makerules (common-objdir-compile): Remove.
42028         * sysdeps/unix/Makefile (config-generated): Do not add
42029         $(unix-generated) to variable.
42030         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42031         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42032         Remove rule.
42033         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42034         Likewise.
42035         [generic bits/local_lim.h] (before-compile): Do not append to
42036         variable.
42037         [generic bits/local_lim.h] (common-generated): Likewise.
42038         [generic sys/param.h] (before-compile): Do not append to variable.
42039         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42040         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42041         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42042         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42043         include.
42044         [generic sys/param.h] (sys/param.h-includes): Remove variable.
42045         [generic sys/param.h] (sys/param.h-includes): Remove rule.
42046         [generic sys/param.h] ($(addprefix
42047         $(common-objpfx),$(sys/param.h-includes))): Likewise.
42048         [generic sys/param.h] (common-generated): Do not append to
42049         variable.
42050         [generic sys/param.h] (sysdep_headers): Likewise.
42051         [generic bits/errno.h] (before-compile): Do not append to
42052         variable.
42053         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42054         rule.
42055         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42056         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42057         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42058         [generic bits/errno.h] (common-generated): Do not append to
42059         variable.
42060         [generic bits/ioctls.h] (before-compile): Do not append to
42061         variable.
42062         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42063         rule.
42064         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42065         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42066         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42067         rule.
42068         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42069         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42070         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42071         [generic bits/ioctls.h] (common-generated): Do not append to
42072         variable.
42073         [generic sys/syscall.h] (syscall.h): Remove variable.
42074         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42075         rule.
42076         [generic sys/syscall.h] (before-compile): Do not append to
42077         variable.
42078         [generic sys/syscall.h] (common-generated): Likewise.
42079         * sysdeps/unix/errnos-tmpl.c: Remove file.
42080         * sysdeps/unix/errnos.awk: Likewise.
42081         * sysdeps/unix/ioctls-tmpl.c: Likewise.
42082         * sysdeps/unix/ioctls.awk: Likewise.
42083         * sysdeps/unix/mk-local_lim.c: Likewise.
42084         * sysdeps/unix/snarf-ioctls: Likewise.
42085
42086 2012-03-19  Richard Henderson  <rth@twiddle.net>
42087
42088         * sysdeps/i386/fpu/fenv_private.h: New file.
42089         * sysdeps/i386/fpu/math_private.h: Use it.
42090         (math_opt_barrier, math_force_eval): Remove.
42091         (libc_feholdexcept_setround_53bit): Remove.
42092         (libc_feupdateenv_53bit): Remove.
42093         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42094         (math_opt_barrier, math_force_eval): Remove.
42095         (libc_feholdexcept): Remove.
42096         (libc_feholdexcept_setround): Remove.
42097         (libc_fetestexcept, libc_fesetenv): Remove.
42098         (libc_feupdateenv_test): Remove.
42099         (libc_feupdateenv, libc_feholdsetround): Remove.
42100         (libc_feresetround): Remove.
42101
42102         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42103         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42104
42105         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42106         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42107         (libc_feupdateenv_testl): New.
42108         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42109         (libc_feupdateenv_testf): New.
42110         (libc_feupdateenv): Use libc_feupdateenv_test.
42111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42112         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42113
42114         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42115         (libc_feholdsetroundf, libc_feholdsetroundl): New.
42116         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42117         (libc_feresetround_noex): New.
42118         (libc_feresetround_noexf): New.
42119         (libc_feresetround_noexl): New.
42120         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42121         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42122         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42123         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42124         SET_RESTORE_ROUND.
42125         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42126         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42127         (__cos): Likewise.
42128         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42129         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42130         SET_RESTORE_ROUND_NOEX.
42131         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42132         SET_RESTORE_ROUND_NOEXF.
42133         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42134         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42135         (libc_feholdsetroundf): New.
42136         (libc_feresetround, libc_feresetroundf): New.
42137
42138         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42139         (libc_feholdexcept_setround_53bit): Convert from macro to function.
42140         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
42141
42142         * sysdeps/generic/math_private.h: Include <fenv.h>.
42143         (default_libc_feholdexcept): New.
42144         (default_libc_feholdexcept_setround): New.
42145         (default_libc_fesetenv, default_libc_feupdateenv): New.
42146         (libc_feholdexcept): Only define if undefined.
42147         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42148         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42149         (libc_feholdexcept_setroundl): Likewise.
42150         (libc_feholdexcept_setround_53bit): Likewise.
42151         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42152         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42153         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42154         (libc_feupdateenv_53bit): Likewise.
42155         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42156         (libc_feholdexcept): Convert from macro to inline function.
42157         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42158         (libc_fesetenv, libc_feupdateenv): Likewise.
42159
42160         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42161         not previously defined.
42162         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42163         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42164         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42165         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42166         * sysdeps/ieee754/flt-32/math_private.h: New file.
42167         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42168         math_private.h below SET_FLOAT_WORD.
42169         (__isnan, __isinf_ns, __finite): Remove.
42170         (__isnanf, __isinf_nsf, __finitef): Remove.
42171
42172 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
42173
42174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42175
42176 2012-03-17  David S. Miller  <davem@davemloft.net>
42177
42178         [BZ #6471]
42179         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42180         for 2.16.
42181
42182 2012-03-16  David S. Miller  <davem@davemloft.net>
42183
42184         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42185         warnings.
42186
42187         [BZ #6471]
42188         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42189         properly.
42190         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42191         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42192         sysdep_routines when subdir is sysvipc.
42193         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42194         __getshmlba helper.
42195
42196         * sysdeps/sparc/fpu/libm-test/ulps: Update.
42197
42198 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42199
42200         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42201         [__LP64__].
42202
42203 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42204
42205         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42206         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42207         (__lround): Renamed to ...
42208         (__llround): This.  Replace long int with long long int.
42209         Define lround functions as aliases of llround functions.
42210         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42211
42212 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42213
42214         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42215         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
42216         adresses to uintptr_t.  Replace "long int" and "unsigned long
42217         int" with "greg_t" on va_arg.
42218
42219 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42220
42221         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42222         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42223
42224         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42225         Move e_machine check before EI_CLASS check.  Handle x32
42226         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42227         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42228         SKIP_EM_IA_64 and include
42229         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42230
42231         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42232         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42233         (add_system_dir): New macro.
42234
42235         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42236         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42237
42238 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42239
42240         [BZ #2551]
42241         [BZ #2552]
42242         [BZ #2553]
42243         [BZ #2554]
42244         [BZ #2562]
42245         [BZ #2563]
42246         [BZ #2565]
42247         [BZ #2566]
42248         [BZ #2576]
42249         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42250         (y0): Likewise.
42251         * math/w_j0f.c (j0f): Likewise.
42252         (y0f): Likewise.
42253         * math/w_j0l.c (__j0l): Likewise.
42254         (__y0l): Likewise.
42255         * math/w_j1.c (j1): Likewise.
42256         (y1): Likewise.
42257         * math/w_j1f.c (j1f): Likewise.
42258         (y1f): Likewise.
42259         * math/w_j1l.c (__j1l): Likewise.
42260         (__y1l): Likewise.
42261         * math/w_jn.c (jn): Likewise.
42262         (yn): Likewise.
42263         * math/w_jnf.c (jnf): Likewise.
42264         (ynf): Likewise.
42265         * math/w_jnl.c (__jnl): Likewise.
42266         (__ynl): Likewise.
42267         * math/libm-test.inc (j0_test): Add more tests.
42268         (j1_test): Likewise.
42269         (jn_test): Likewise.  Add trailing semicolon to existing test.
42270         (y0_test): Likewise.
42271         (y1_test): Likewise.
42272         * sysdeps/i386/fpu/libm-test-ulps: Update.
42273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42274
42275         [BZ #13851]
42276         [BZ #13854]
42277         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42278         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42279         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42280         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42281         (__tanl): Set errno for infinite argument.
42282         * sysdeps/i386/fpu/mptan.c: Remove.
42283         * sysdeps/i386/fpu/s_tan.S: Likewise.
42284         * sysdeps/i386/fpu/s_tanl.S: Likewise.
42285         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42286         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42287         * math/libm-test.inc (tan_test): Add more tests and enable more
42288         tests for double and long double.
42289         * sysdeps/i386/fpu/libm-test-ulps: Update.
42290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42291
42292 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
42293
42294         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42295         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42296
42297 2012-03-16  Roland McGrath  <roland@hack.frob.com>
42298
42299         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42300         * configure.in: Use it for both main tree and add-ons.
42301         * configure: Regenerated.
42302
42303 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42304
42305         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42306
42307 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42308
42309         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42310         in comment.
42311
42312         [BZ #13851]
42313         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42314         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42315         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42316         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42317         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42318         infinite argument.
42319         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42320         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42321         != 0 for prec == 2.
42322         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42323         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42324         * sysdeps/i386/fpu/s_cosl.S: Likewise.
42325         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42326         * sysdeps/i386/fpu/s_sinl.S: Likewise.
42327         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42328         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42329         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42330         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42331         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42332         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42333         * math/libm-test.inc (cos_test): Add more tests and enable more
42334         tests for long double.
42335         (sin_test): Likewise.
42336         (sincos_test): Likewise.
42337         * sysdeps/i386/fpu/libm-test-ulps: Update.
42338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42339
42340 2012-03-16  David S. Miller  <davem@davemloft.net>
42341
42342         * sysdeps/sparc/fpu/math_private.h: New file.
42343
42344 2012-03-15  David S. Miller  <davem@davemloft.net>
42345
42346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42347         file.
42348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42350         file.
42351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42352         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42353         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42354         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42356         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42357         sysdep routines.
42358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42359
42360         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42361         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42362
42363         * sysdeps/sparc/sparc-ifunc.h: New file.
42364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42365         sparc-ifunc.h
42366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42368         Likewise.
42369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42370         Likewise.
42371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42375         Likewise.
42376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42381         Likewise.
42382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42383         Likewise.
42384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42388         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42389         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42390         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42391         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42392         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42398         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42399         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42400         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42401         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42402         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42403         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42404         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42405         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42406         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42407         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42408
42409 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42410
42411         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42412         scaling.
42413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42414
42415 2012-03-15  Andreas Jaeger  <aj@suse.de>
42416
42417         [BZ #13852]
42418         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42419         ieee754/flt-32 implementation for sin, cos and sincos.
42420         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42421         * sysdeps/i386/fpu/s_cosf.S: Likewise.
42422         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42423         * sysdeps/i386/fpu/s_sinf.S: Likewise.
42424         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42425         ieee754/flt-32 implementation for tan.
42426
42427         * math/libm-test.inc (cos_test): Enable some large input tests for
42428         float as well
42429         (sin_test): Likewise.
42430         (sincos_test): Likewise.
42431         (tan_test): Add tests for large input.
42432
42433         * sysdeps/i386/fpu/libm-test-ulps: Update.
42434
42435 2012-03-15  Andreas Jaeger  <aj@suse.de>
42436
42437         [BZ #13658]
42438         * math/libm-test.inc (cos_test): Add more test cases.
42439         (sin_test): Likewise.
42440         (sincos_test): Likewise.
42441
42442 2012-03-15  Andreas Jaeger  <aj@suse.de>
42443
42444         [BZ #13837]
42445         * math/libm-test.inc (cos_test): Add a test case for large input
42446         value.
42447         (sin_test): Likewise.
42448         (sincos_test): Likewise.
42449
42450 2012-03-15  Andreas Jaeger  <aj@suse.de>
42451             Joseph Myers  <joseph@codesourcery.com>
42452
42453         [BZ #13658]
42454         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42455         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42456         * sysdeps/i386/fpu/branred.c: Likewise.
42457         * sysdeps/i386/fpu/dosincos.c: Likewise.
42458         * sysdeps/i386/fpu/mpa.c: Likewise.
42459         * sysdeps/i386/fpu/s_cos.S: Likewise.
42460         * sysdeps/i386/fpu/s_sin.S: Likewise.
42461         * sysdeps/i386/fpu/s_sincos.S: Likewise.
42462         * sysdeps/i386/fpu/sincos32.c: Likewise.
42463
42464         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42465         Define.
42466         (libc_feupdateenv_53bit): Define.
42467         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42468         Define.
42469         (libc_feupdateenv_53bit): Define.
42470
42471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42472         53 bit (without extend i386 double precision).
42473
42474         * math/libm-test.inc (sincos_test): Add tests for large input.
42475         (sin): Likewise.
42476         (cos): Likewise.
42477
42478         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42479
42480 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42481
42482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42483
42484 2012-03-15  David S. Miller  <davem@davemloft.net>
42485
42486         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42487         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42488         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42489         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42499         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42502         file.
42503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42505         file.
42506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42508         file.
42509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42511         file.
42512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42513         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42514         fmin/fmax sysdep routines.
42515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42516
42517 2012-03-14  David S. Miller  <davem@davemloft.net>
42518
42519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42523         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42524         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42525         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42526         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42527         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42528         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42529         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42531         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42532         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42533         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42534         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42535         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42536         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42539         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42540         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42541         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42542         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42543         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42544         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42545         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42546         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42547         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42548         routines.
42549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42550         file.
42551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42553         file.
42554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42556         file.
42557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42559         file.
42560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42562         file.
42563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42565         file.
42566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42567         file.
42568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42569         file.
42570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42571         file.
42572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42573         New file.
42574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42575         file.
42576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42577         file.
42578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42580         file.
42581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42583         file.
42584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42586         file.
42587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42589         VIS3 routines.
42590
42591         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42592         New file.
42593
42594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42595
42596         * sysdeps/sparc/configure.in: New file.
42597         * sysdeps/sparc/configure: Generate.
42598         * configure.in (libc_cv_sparc_as_vis3): Substitute.
42599         * configure: Regenerate.
42600         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42601         * config.make.in (have-as-vis3): New.
42602         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42603         available use -Av9d instead of -Av9a.
42604         * sysdeps/sparc/sparc64/Makefile: Likewise.
42605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42607         New file.
42608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42609         file.
42610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42611         New file.
42612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42613         file.
42614         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42615         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42616         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42617         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42618         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42619
42620         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42621         fzeros/fnegs to load 0x80000000 into a float register instead of
42622         using the stack.
42623         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42624
42625 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42626
42627         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42628         bits/syscall.h.
42629         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42630         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42631         ($(inst_includedir)/bits/syscall.h): Remove rule.
42632         ($(objpfx)bits/syscall.d): Include instead of
42633         $(objpfx)syscall-list.d.
42634         (generated): Change syscall-list.h and syscall-list.d to
42635         bits/syscall.h and bits/syscall.d.
42636
42637 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42638
42639         [BZ #13846]
42640         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42641
42642 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42643
42644         [BZ #13841]
42645         * math/s_csqrt.c: Include <float.h>.
42646         (__csqrt): Scale large or subnormal inputs.
42647         * math/s_csqrtf.c: Likewise.
42648         * math/s_csqrtl.c: Likewise.
42649         * math/libm-test.inc (csqrt_test): Add more tests.
42650         * sysdeps/i386/fpu/libm-test-ulps: Update.
42651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42652
42653         [BZ #13840]
42654         * math/libm-test.inc (hypot_test): Add more tests.
42655
42656 2012-03-13  David S. Miller  <davem@davemloft.net>
42657
42658         [BZ #13840]
42659         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42660         double-precision for the calculation instead of scaling.
42661
42662 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42663
42664         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42665         manipulate bits before adding and subtracting TWO52[sx].
42666         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42667         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42668         Likewise.
42669         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42670
42671 2012-03-13  David S. Miller  <davem@davemloft.net>
42672
42673         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42674         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42675         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42676         rtld-global-offsets.h
42677         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42678
42679         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42680         large parameters.
42681
42682         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42683
42684         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42685         'err' in the ifdef scope in which it is actually used.
42686
42687         * nss/nss_db/db-init.c: Include string.h
42688
42689 2012-03-12  David S. Miller  <davem@davemloft.net>
42690
42691         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42692         masking out of the most significant byte of random value used.
42693         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42694         Fix coding style in previous change.
42695
42696         * sysdeps/unix/sysv/linux/kernel-features.h
42697         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42698         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42699         expression.
42700         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42701         later.
42702
42703 2012-03-11  David S. Miller  <davem@davemloft.net>
42704
42705         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42706         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42707         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42708         for 'resultvar' otherwise things get truncated on 64-bit.
42709
42710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42711         Fix masking out of the most significant byte of random value used.
42712
42713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42714
42715 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42716
42717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42718
42719 2012-03-09  David S. Miller  <davem@davemloft.net>
42720
42721         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42722         variables with appropriate CPP guards.
42723         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42724         from the frame pointer, not the stack pointer.  Correct layout
42725         comments.  Fix test on resulting framesize and the management of
42726         the outregs buffer for pltexit.  Preserve floating point return
42727         values across _dl_call_pltexit call.
42728         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42729         framesize and the management of the outregs buffer for pltexit.
42730         Preserve floating point return values across _dl_call_pltexit
42731         call.
42732         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42733         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42734         (la_sparc64_gnu_pltexit): New functions.
42735         (print_exit): Fix format string for return register value.
42736
42737 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42738
42739         * sunrpc/Makefile (others): Add rpcgen.
42740         ($(objpfx)rpcgen): Remove special build rule and dependency on
42741         libc.
42742         * sunrpc/rpcgen.c: New file.
42743
42744 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42745
42746         [BZ #13673]
42747         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42748         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42749         * sysdeps/i386/crti.S: Likewise.
42750         * sysdeps/i386/crtn.S: Likewise.
42751         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42752         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42753         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42754         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42755         * sysdeps/sh/crti.S: Likewise.
42756         * sysdeps/sh/crtn.S: Likewise.
42757         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42758
42759         [BZ #13673]
42760         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42761         with URL.
42762         * locale/programs/locfile-kw.gperf: Likewise.
42763         * locale/programs/charmap-kw.h: Regenerated.
42764         * locale/programs/locfile-kw.h: Likewise.
42765
42766         [BZ #13673]
42767         * intl/plural.y: Replace FSF snail mail address with URL.
42768         * intl/plural.c: Regenerated.
42769
42770 2012-03-09  Richard Henderson  <rth@twiddle.net>
42771
42772         * include/math_private.h: Remove file.
42773         * math/math_private.h: Move file ...
42774         * sysdeps/generic/math_private.h: ... here.
42775
42776         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42777         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42778         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42779
42780         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42781         and <math_private.h>.
42782         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42783         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42784         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42785         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42786         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42787         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42788         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42789         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42790         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42791         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42792         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42793         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42794         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42795         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42796         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42797         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42798         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42799         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42800         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42801         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42802         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42803         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42804         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42806         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42807         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42808         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42809         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42810         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42811         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42812         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42813         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42814         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42815         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42816         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42817         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42818         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42819         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42820         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42821         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42822         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42823         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42824         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42825         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42826         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42827         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42828         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42829         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42830         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42831         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42832         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42833         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42834         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42835         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42836         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42837         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42838         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42839         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42840         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42841         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42842         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42843         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42844         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42845         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42846         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42847         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42848         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42849         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42850         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42851         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42852         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42853         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42854         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42855         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42856         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42857         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42859         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42860         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42861         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42862         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42863         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42864         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42865         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42866         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42867         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42869         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42870         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42871         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42872         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42873         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42874         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42875         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42876         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42877         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42878         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42879         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42880         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42881         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42882         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42883         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42884         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42885         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42886         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42887         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42888         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42889         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42890         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42891         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42892         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42893         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42894         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42895         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42896         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42897         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42898         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42899         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42900         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42901         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42902         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42903         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42904         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42905         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42906         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42907         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42908         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42909         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42910         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42911         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42912         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42913         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42914         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42915         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42916         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42917         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42918         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42919         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42920         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42921         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42922         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42923         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42924         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42925         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42926         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42927         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42928         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42929         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42930         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42931         * sysdeps/ieee754/k_standard.c: Likewise.
42932         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42933         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42934         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42935         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42936         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42937         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42938         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42939         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42940         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42941         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42942         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42943         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42944         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42945         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42946         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42947         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42948         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42949         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42950         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42951         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42952         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42953         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42954         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42955         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42956         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42957         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42958         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42959         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42960         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42961         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42962         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42963         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42964         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42965         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42966         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42967         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42968         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42969         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42970         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42971         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42972         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42973         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42974         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42975         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42976         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42977         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42978         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42979         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42980         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42981         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42982         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42983         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42984         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42985         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42986         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42987         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42988         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42989         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42990         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42991         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42992         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42993         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42994         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42995         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42996         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42997         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42998         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42999         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43000         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43001         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43002         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43003         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43004         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43005         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43006         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43007         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43008         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43009         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43010         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43011         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43012         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43013         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43014         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43015         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43016         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43017         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43018         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43019         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43020         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43021         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43022         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43023         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43024         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43025         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43026         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43027         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43028         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43029         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43030         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43031         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43032         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43033         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43034         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43035         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43036         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43037         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43038         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43039         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43040         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43041         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43042         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43043         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43044         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43045         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43046         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43047         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43048         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43049         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43050         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43051         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43052         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43053         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43054         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43055         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43056         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43057         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43058         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43059         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43060         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43061         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43062         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43063         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43064         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43065         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43066         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43067         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43068         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43069         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43070         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43071         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43072         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43073         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43074         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43075         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43076         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43077         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43078         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43079         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43080         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43081         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43082         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43083         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43084         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43085         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43086         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43087         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43088         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43089         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43090         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43091         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43092         * sysdeps/ieee754/s_lib_version.c: Likewise.
43093         * sysdeps/ieee754/s_matherr.c: Likewise.
43094         * sysdeps/ieee754/s_signgam.c: Likewise.
43095         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43096         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43097         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43098         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43099         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43100         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43101         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43102         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43103         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43104         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43105         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43106         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43107         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43108         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43109         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43110         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43111         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43112         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43113         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43114         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43115         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43116
43117 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43118
43119         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43120         * sunrpc/rpc_main.c: Likewise.
43121         * sunrpc/rpc_svcout.c: Likewise.
43122
43123 2012-03-09  David S. Miller  <davem@davemloft.net>
43124
43125         * include/math_private.h: New file.
43126
43127 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43128
43129         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43130         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43131         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43132         from <bits/socket_type.h>.
43133         (enum __socket_type): Don't define here.
43134         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43135         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43136         bits/socket_type.h.
43137
43138         [BZ #13566]
43139         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43140         checking __USE_GNU.
43141
43142         * Makerules ($(inst_includedir)/%.h): New rule.
43143         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43144         (install-others): Remove variable setting.
43145         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43146
43147 2012-03-08  Richard Henderson  <rth@twiddle.net>
43148
43149         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43150         from macro to inline function; merge with the
43151         !__LIBC_INTERNAL_MATH_INLINES version.
43152         (__ieee754_sqrtf): Likewise.
43153
43154         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43155         to inline function.
43156         (__rintf, __floor, __floorf): Likewise.
43157
43158         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43159         macro to inline function.
43160         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43161
43162         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43163         not <math/math_private.h>.
43164
43165 2012-03-08  David S. Miller  <davem@davemloft.net>
43166
43167         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43168         copyright year.
43169         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43170
43171 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
43172
43173         * resolv/gai_misc.c (handle_requests): Fix struct timespec
43174         normalization.
43175         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43176         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43177
43178 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
43179
43180         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
43181         be defined individually, they must be defined as a block.  Define
43182         S for printing a string instead of hidint the different by using a
43183         macro for adding the 'l'.
43184         * stdio-common/tst-fphex-wide.c: Adjust.
43185
43186 2012-03-07  Marek Polacek  <polacek@redhat.com>
43187
43188         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43189
43190 2012-03-08  Marek Polacek  <polacek@redhat.com>
43191
43192         [BZ #13806]
43193         * stdio-common/Makefile (tests): Add tst-fphex-wide.
43194         * stdio-common/tst-fphex.c: Define a few macros to make the
43195         test reusable.  Use them.
43196         * stdio-common/tst-fphex-wide.c: New file.
43197
43198 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
43199
43200         [BZ #6911]
43201         * manual/macros.texi (gnusystems): New macro.
43202         (nongnusystems): Likewise.
43203         (gnulinuxhurdsystems): Likewise.
43204         (gnuhurdsystems): Likewise..
43205         (gnulinuxsystems): Likewise.
43206         * manual/charset.texi: Use new macros or @theglibc{} to refer to
43207         variants of the GNU system, not "GNU system".
43208         * manual/conf.texi: Likewise.
43209         * manual/errno.texi: Likewise.  Update example of errno macro
43210         expansion.
43211         * manual/filesys.texi: Likewise.
43212         (getumask): Document as specific to GNU/Hurd.
43213         * manual/install.texi: Likewise.  Reword some references to
43214         GNU/Linux.
43215         * manual/intro.texi: Likewise.
43216         * manual/io.texi: Likewise.
43217         (File Name Portability): Detail which constraints are inapplicable
43218         to all GNU systems and which are only inapplicable to GNU/Hurd.
43219         * manual/job.texi: Likewise.
43220         * manual/llio.texi: Likewise.
43221         (O_NOCTTY): Document as present on GNU/Linux.
43222         * manual/maint.texi: Likewise.
43223         * manual/memory.texi: Likewise.
43224         * manual/pattern.texi: Likewise.
43225         * manual/pipe.texi: Likewise.
43226         * manual/process.texi: Likewise.
43227         * manual/resource.texi: Likewise.
43228         (RUSAGE_CHILDREN): Remove statement about specifying a particular
43229         child on GNU/Hurd.
43230         * manual/setjmp.texi: Likewise.
43231         * manual/signal.texi: Likewise.
43232         * manual/startup.texi: Likewise.
43233         * manual/stdio.texi: Likewise.
43234         * manual/terminal.texi: Likewise.
43235         (ONLCR): Document as POSIX.
43236         (OXTABS): Document availability on GNU/Linux as XTABS.
43237         (ONOEOT): Document availability separately from other bits.
43238         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43239         * manual/time.texi: Likewise.
43240         * manual/users.texi: Likewise.
43241         * INSTALL: Regenerated.
43242         * sysdeps/gnu/errlist.c: Regenerated.
43243
43244         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43245         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43246         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
43247         puts.
43248         * configure: Regenerated.
43249
43250 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
43251
43252         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43253         default includes instead of AC_HEADER_CHECK.
43254         * sysdeps/i386/configure: Regenerated.
43255
43256         [BZ #10716]
43257         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43258         * math/s_cacoshf.c (__cacoshf): Likewise.
43259         * math/s_cacoshl.c (__cacoshl): Likewise.
43260         * math/s_casinh.c (__casinh): Set signs of result from argument.
43261         * math/s_casinhf.c (__casinhf): Likewise.
43262         * math/s_casinhl.c (__casinhl): Likewise.
43263         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43264         (casinh_test): Add more tests.
43265         * sysdeps/i386/fpu/libm-test-ulps: Update.
43266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43267
43268 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
43269
43270         * po/zh_TW.po: Update from translation team.
43271
43272         * login/Makefile (distribute): Remove variable.
43273         * catgets/Makefile: Likewise.
43274         * mach/Makefile: Likewise.
43275         * malloc/Makefile: Likewise.
43276         * misc/Makefile: Likewise.
43277         * iconv/Makefile: Likewise.
43278         * nscd/Makefile: Likewise.
43279         * hurd/Makefile: Likewise.
43280         * manual/Makefile: Likewise.
43281         * locale/Makefile: Likewise.
43282         * intl/Makefile: Likewise.
43283         * conform/Makefile: Likewise.
43284         * nss/Makefile: Likewise.
43285         * time/Makefile: Likewise.
43286         * soft-fp/Makefile: Likewise.
43287         * dirent/Makefile: Likewise.
43288         * gmon/Makefile: Likewise.
43289         * po/Makefile: Likewise.
43290         * rt/Makefile: Likewise.
43291         * socket/Makefile: Likewise.
43292         * math/Makefile: Likewise.
43293         * signal/Makefile: Likewise.
43294         * debug/Makefile: Likewise.
43295         * elf/Makefile: Likewise.
43296         * timezone/Makefile: Likewise.
43297         * stdlib/Makefile: Likewise.
43298         * iconvdata/Makefile: Likewise.
43299         * sunrpc/Makefile: Likewise.
43300         * io/Makefile: Likewise.
43301         * argp/Makefile: Likewise.
43302         * inet/Makefile: Likewise.
43303         * hesiod/Makefile: Likewise.
43304         * grp/Makefile: Likewise.
43305         * csu/Makefile: Likewise.
43306         * wctype/Makefile: Likewise.
43307         * crypt/Makefile: Likewise.
43308         * libio/Makefile: Likewise.
43309         * string/Makefile: Likewise.
43310         * nis/Makefile: Likewise.
43311         * resolv/Makefile: Likewise.
43312         * stdio-common/Makefile: Likewise.
43313         * wcsmbs/Makefile: Likewise.
43314         * dlfcn/Makefile: Likewise.
43315         * posix/Makefile: Likewise.
43316
43317         [BZ #6959]
43318         * timezone/Makefile: Don't install timezone files, just the programs
43319         and scripts.
43320
43321 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
43322
43323         * nss/databases.def: Add missing gshadow entry.
43324
43325         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
43326
43327 2012-03-06  Marek Polacek  <polacek@redhat.com>
43328
43329         [BZ #13726]
43330         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43331         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43332         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43333         * stdio-common/tst-long-dbl-fphex.c: New file.
43334
43335 2012-03-06  David S. Miller  <davem@davemloft.net>
43336
43337         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43338         (set_obp_int): New function.
43339         (get_obp_int): New function.
43340         (__get_clockfreq_via_dev_openprom): Likewise.
43341         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43342         Avoid unused variable warnings on 'val' and use builtin_expect.
43343         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43344         __builtin_expect.
43345         (INLINE_CLONE_SYSCALL): Likewise.
43346
43347 2012-03-05  David S. Miller  <davem@davemloft.net>
43348
43349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43350
43351 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
43352
43353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43354
43355         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43356         only for |x| >= 40.
43357         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43358
43359 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
43360
43361         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43362         Replace gettimeofday with __vdso_gettimeofday.
43363
43364         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43365         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43366         __vdso_clock_gettime and __vdso_getcpu.
43367
43368         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43369         time with __vdso_time.
43370
43371 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43372
43373         * manual/lang.texi (size_t): Note types to which size_t may be
43374         equivalent with the GNU C Library, but do not describe when
43375         differences between them are significant.
43376
43377 2012-03-05  Andreas Jaeger  <aj@suse.de>
43378
43379         * sysdeps/i386/fpu/libm-test-ulps: Update.
43380
43381 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43382
43383         [BZ #3976]
43384         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43385         (__ieee754_pow): Save and restore rounding mode and use
43386         round-to-nearest for main computations.
43387         * math/libm-test.inc (pow_test_tonearest): New function.
43388         (pow_test_towardzero): Likewise.
43389         (pow_test_downward): Likewise.
43390         (pow_test_upward): Likewise.
43391         (main): Call the new functions.
43392         * sysdeps/i386/fpu/libm-test-ulps: Update.
43393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43394
43395         [BZ #3976]
43396         * math/libm-test.inc (cosh_test_tonearest): New function.
43397         (cosh_test_towardzero): Likewise.
43398         (cosh_test_downward): Likewise.
43399         (cosh_test_upward): Likewise.
43400         (sinh_test_tonearest): Likewise.
43401         (sinh_test_towardzero): Likewise.
43402         (sinh_test_downward): Likewise.
43403         (sinh_test_upward): Likewise.
43404         (main): Call the new functions.
43405         * sysdeps/i386/fpu/libm-test-ulps: Update.
43406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43407
43408 2012-03-05  Tom de Vries  <tom@codesourcery.com>
43409
43410         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43411         default stack guard is set in last bytes.
43412         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43413
43414 2012-03-05  Kees Cook  <keescook@chromium.org>
43415
43416         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43417
43418         [BZ #13656]
43419         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43420         possibly allocate from heap instead of stack.
43421         * stdio-common/bug-vfprintf-nargs.c: New file.
43422         * stdio-common/Makefile (tests): Add nargs overflow test.
43423
43424 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
43425
43426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43427
43428 2012-03-03  Marek Polacek  <polacek@redhat.com>
43429
43430         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43431         * math/math_private.h: Likewise.
43432         * stdlib/tst-strtod.c: Likewise.
43433         * sysdeps/i386/i486/bits/atomic.h: Likewise.
43434         * sysdeps/x86_64/bits/atomic.h: Likewise.
43435
43436 2012-03-02  David S. Miller  <davem@davemloft.net>
43437
43438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43442         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43443         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43444         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43445         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43446
43447 2012-03-02  Roland McGrath  <roland@hack.frob.com>
43448
43449         [BZ #13792]
43450         * manual/examples/README: New file, says the example source files
43451         can be used under GPL>=2.
43452         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43453         line containing just "*/".
43454         * manual/examples/add.c: Add copyright header (GPL>=2).
43455         * manual/examples/argp-ex1.c: Likewise.
43456         * manual/examples/argp-ex2.c: Likewise.
43457         * manual/examples/argp-ex3.c: Likewise.
43458         * manual/examples/argp-ex4.c: Likewise.
43459         * manual/examples/atexit.c: Likewise.
43460         * manual/examples/db.c: Likewise.
43461         * manual/examples/dir.c: Likewise.
43462         * manual/examples/dir2.c: Likewise.
43463         * manual/examples/execinfo.c: Likewise.
43464         * manual/examples/filecli.c: Likewise.
43465         * manual/examples/filesrv.c: Likewise.
43466         * manual/examples/fmtmsgexpl.c: Likewise.
43467         * manual/examples/genpass.c: Likewise.
43468         * manual/examples/inetcli.c: Likewise.
43469         * manual/examples/inetsrv.c: Likewise.
43470         * manual/examples/isockad.c: Likewise.
43471         * manual/examples/longopt.c: Likewise.
43472         * manual/examples/memopen.c: Likewise.
43473         * manual/examples/memstrm.c: Likewise.
43474         * manual/examples/mkfsock.c: Likewise.
43475         * manual/examples/mkisock.c: Likewise.
43476         * manual/examples/mygetpass.c: Likewise.
43477         * manual/examples/pipe.c: Likewise.
43478         * manual/examples/popen.c: Likewise.
43479         * manual/examples/rprintf.c: Likewise.
43480         * manual/examples/search.c: Likewise.
43481         * manual/examples/select.c: Likewise.
43482         * manual/examples/setjmp.c: Likewise.
43483         * manual/examples/sigh1.c: Likewise.
43484         * manual/examples/sigusr.c: Likewise.
43485         * manual/examples/stpcpy.c: Likewise.
43486         * manual/examples/strdupa.c: Likewise.
43487         * manual/examples/strftim.c: Likewise.
43488         * manual/examples/strncat.c: Likewise.
43489         * manual/examples/subopt.c: Likewise.
43490         * manual/examples/swapcontext.c: Likewise.
43491         * manual/examples/termios.c: Likewise.
43492         * manual/examples/testopt.c: Likewise.
43493         * manual/examples/testpass.c: Likewise.
43494         * manual/examples/timeval_subtract.c: Likewise.
43495
43496         [BZ #13792]
43497         * manual/time.texi (Elapsed Time): Move timeval_subtract example
43498         function to ...
43499         * manual/timeval_subtract.c.texi: ... here, new file.
43500
43501 2012-03-02  David S. Miller  <davem@davemloft.net>
43502
43503         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43504
43505 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
43506
43507         [BZ #3976]
43508         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43509         (__sin): Save and restore rounding mode and use round-to-nearest
43510         for all computations.
43511         (__cos): Save and restore rounding mode and use round-to-nearest
43512         for all computations.
43513         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43514         <fenv.h>.
43515         (tan): Save and restore rounding mode and use round-to-nearest for
43516         all computations.
43517         * math/libm-test.inc (cos_test_tonearest): New function.
43518         (cos_test_towardzero): Likewise.
43519         (cos_test_downward): Likewise.
43520         (cos_test_upward): Likewise.
43521         (sin_test_tonearest): Likewise.
43522         (sin_test_towardzero): Likewise.
43523         (sin_test_downward): Likewise.
43524         (sin_test_upward): Likewise.
43525         (tan_test_tonearest): Likewise.
43526         (tan_test_towardzero): Likewise.
43527         (tan_test_downward): Likewise.
43528         (tan_test_upward): Likewise.
43529         (main): Call the new functions.
43530         * sysdeps/i386/fpu/libm-test-ulps: Update.
43531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43532
43533         [BZ #10135]
43534         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43535         small n, then large n, before computing and testing k+n.
43536         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43537         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43538         Likewise.
43539         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43540         Likewise.
43541         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43542         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43543         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43544         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43545         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43546         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43547         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43548         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43549         * math/libm-test.inc (scalbn_test): Add more tests.
43550         (scalbln_test): Likewise.
43551
43552         * manual/filesys.texi (mode_t): Describe constraints on size and
43553         signedness, not exact equivalence to a particular type.
43554         (ino_t): Likewise.
43555         (ino64_t): Likewise.
43556         (dev_t): Likewise.
43557         (nlink_t): Likewise.
43558         (blkcnt_t): Likewise.
43559         (blkcnt64_t): Likewise.
43560         * manual/llio.texi (off_t): Likewise.
43561
43562         [BZ #3976]
43563         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43564         (__ieee754_exp): Save and restore rounding mode and use
43565         round-to-nearest for all computations.
43566         * math/libm-test.inc (exp_test_tonearest): New function.
43567         (exp_test_towardzero): Likewise.
43568         (exp_test_downward): Likewise.
43569         (exp_test_upward): Likewise.
43570         (main): Call the new functions.
43571         * sysdeps/i386/fpu/libm-test-ulps: Update.
43572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43573
43574 2012-03-01  Chris Demetriou  <cgd@google.com>
43575
43576         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43577         have predictable order.
43578
43579 2012-03-01  David S. Miller  <davem@davemloft.net>
43580
43581         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43582
43583         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43584         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43585         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43586         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43587
43588         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43589         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43590         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43592         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43593         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43594         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43595         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43596         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43597
43598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43599
43600         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43601         * sysdeps/sparc/fpu/libm-test-ulps: to here.
43602         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43603
43604         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43605         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43606         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43607         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43608         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43610         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43611         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43612         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43613         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43614         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43615         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43616         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43617         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43618         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43619         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43620         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43621         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43622         * sysdeps/sparc/elf/configure: Regenerated.
43623
43624 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43625
43626         * configure.in (AS, LD): Require binutils 2.20 or later.
43627         * configure: Regenerated.
43628         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43629         as required minimum version.
43630         * INSTALL: Regenerated.
43631
43632         [BZ #2541]
43633         [BZ #4108]
43634         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43635         before squaring exponent.
43636         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43637         bottom long double and 27 bits of top long double before squaring
43638         exponent.
43639         * math/libm-test.inc (erfc_test): Add more tests.
43640         * sysdeps/i386/fpu/libm-test-ulps: Update.
43641         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43643
43644 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43645
43646         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43647         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43648         containing bit-fields.
43649         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43650         * soft-fp/single.h (_FP_UNION_S): Likewise.
43651         * soft-fp/double.h (_FP_UNION_D): Likewise.
43652
43653 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43654
43655         [BZ #13786]
43656         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43657         not include ../strcmp.S.
43658         [USE_AS_STRNCASECMP_L]: Likewise.
43659         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43660         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43661         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43662         (__strncasecmp_l_ia32): Define as alias to
43663         __strncasecmp_l_nonascii.
43664
43665         [BZ #5794]
43666         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43667         * sysdeps/i386/fpu/libm-test-ulps: Update.
43668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43669
43670         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43672
43673 2012-02-29  Jeff Law  <law@redhat.com>
43674
43675         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43676         out of bounds read.
43677
43678 2012-02-29  Marek Polacek  <polacek@redhat.com>
43679
43680         [BZ #13706]
43681         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43682         * elf/Makefile: Add rules to run tst-unused-dep.out.
43683
43684 2012-02-28  David S. Miller  <davem@davemloft.net>
43685
43686         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43687         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43688         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43689         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43690         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43691         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43692
43693 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43694
43695         * math/libm-test.inc (llround_test): Move one test from
43696         lround_test.  Use TEST_f_L in moved test.
43697         (lround_test): Move misplaced test to llround_test.  Add testcase
43698         from bug 2561.
43699
43700 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43701
43702         * sysdeps/x86_64/fpu/e_expf.S: New file.
43703         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43704
43705 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43706
43707         [BZ #13637]
43708         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43709         of remain_len that may cause incomplete multi-byte character and
43710         false match.
43711         * posix/bug-regex33.c: New file.
43712         * posix/Makefile (tests): Add bug-regex33.
43713
43714 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43715
43716         * manual/macros.texi: New file.
43717         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43718         * manual/libc.texinfo: Include macros.texi.
43719         * manual/creatute.texi: Likewise.
43720         * manual/install.texi: Likewise.
43721         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43722         @glibcadj{} in references to the GNU C Library.
43723         * manual/charset.texi: Likewise.
43724         * manual/conf.texi: Likewise.
43725         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43726         when not using those macros.
43727         * manual/creature.texi: Likewise.
43728         * manual/crypt.texi: Likewise.
43729         * manual/errno.texi: Likewise.
43730         * manual/filesys.texi: Likewise.
43731         * manual/header.texi: Likewise.
43732         * manual/install.texi: Likewise.
43733         * manual/intro.texi: Likewise.
43734         * manual/io.texi: Likewise.
43735         * manual/job.texi: Likewise.
43736         * manual/lang.texi: Likewise.
43737         * manual/libc.texiinfo: Likewise.
43738         * manual/llio.texi: Likewise.
43739         * manual/locale.texi: Likewise.
43740         * manual/maint.texi: Likewise.
43741         * manual/math.texi: Likewise.
43742         * manual/memory.texi: Likewise.
43743         * manual/message.texi: Likewise.
43744         * manual/nss.texi: Likewise.
43745         * manual/pattern.texi: Likewise.
43746         * manual/process.texi: Likewise.
43747         * manual/resource.texi: Likewise.
43748         * manual/search.texi: Likewise.
43749         * manual/setjmp.texi: Likewise.
43750         * manual/signal.texi: Likewise.
43751         * manual/socket.texi: Likewise.
43752         * manual/startup.texi: Likewise.
43753         * manual/stdio.texi: Likewise.
43754         * manual/string.texi: Likewise.
43755         * manual/sysinfo.texi: Likewise.
43756         * manual/syslog.texi: Likewise.
43757         * manual/terminal.texi: Likewise.
43758         * manual/time.texi: Likewise.
43759         * manual/users.texi: Likewise.
43760         * INSTALL: Regenerated.
43761         * NOTES: Regenerated.
43762         * sysdeps/gnu/errlist.c: Regenerated.
43763
43764 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43765
43766         * include/dirent.h: Include <dirstream.h> before
43767         <dirent/dirent.h>.
43768
43769 2012-02-28  David S. Miller  <davem@davemloft.net>
43770
43771         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43772         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43773         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43774         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43775
43776 2012-02-27  David S. Miller  <davem@davemloft.net>
43777
43778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43780         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43781         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43782
43783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43784         frame pointer instead of stack pointer relative arg slot.
43785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43786         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43787         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43788
43789 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43790
43791         [BZ #3992]
43792         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43793
43794 2012-02-27  David S. Miller  <davem@davemloft.net>
43795
43796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43800         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43801         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43802         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43803         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43804
43805 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43806
43807         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43808         later.  Allow versions 5-9.
43809         * configure: Regenerated.
43810         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43811         required minimum version and 4.6 as recommended version.  Do not
43812         mention bugs in GCC 2.7 and 2.8.
43813         * INSTALL: Regenerated.
43814
43815 2012-02-27  David S. Miller  <davem@davemloft.net>
43816
43817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43821         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43822         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43823         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43824         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43825
43826         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43827         manipulate bits before adding and subtracting TWO112[sx].
43828         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43829
43830 2012-02-27  Roland McGrath  <roland@hack.frob.com>
43831
43832         [BZ #13775]
43833         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43834         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43835         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43836         being in POSIX, because they are in 1003.1-2008.
43837
43838         * rt/tst-aio.c: Include <fcntl.h>.
43839         * rt/tst-aio7.c: Likewise.
43840         * rt/tst-aio64.c: Likewise.
43841
43842         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43843
43844 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43845
43846         * manual/install.texi (--with-headers): Describe headers as
43847         interface headers, not private headers.
43848         (Specific advice for GNU/Linux systems): Describe use of headers
43849         from "make headers_install", not private headers from older
43850         kernels.
43851         * INSTALL: Regenerated.
43852         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43853         Change to 2.6.19.
43854         * sysdeps/unix/sysv/linux/configure: Regenerated.
43855
43856         * manual/llio.texi (fclean): Remove documentation.
43857
43858         * manual/Makefile (libc-texi-generated): New variable.  Include
43859         version.texi.
43860         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43861         $(libc-texi-generated), not duplicated list of files.
43862         (version.texi, stamp-version): New rules.
43863         (realclean): Remove $(libc-texi-generated), not individual files
43864         from that list.  Do not remove dir-add.texinfo.
43865         * manual/libc.texinfo: Comment out uses of edition numbers and
43866         references to printed manual.  Remove last-updated dates.
43867         (EDITION): Comment out.
43868         (ISBN): Likewise.
43869         (VERSION, UPDATED): Remove.
43870         (version.texi): Include.
43871
43872 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
43873
43874         * sysdeps/posix/spawni.c: Include <signal.h>.
43875         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43876         * sysdeps/pthread/aio_fsync.c: Likewise.
43877
43878 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
43879
43880         * conform/Makefile (tests): Run only when not cross-compiling and
43881         when fast-check is not defined.
43882
43883         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43884         * conform/data/limits.h-data: Fixes for POSIX2008.
43885         * conform/run-conformtest.sh: Run all tests.
43886         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43887         headers.
43888         * include/bits/dlfcn.h: Likewise.
43889         * include/langinfo.h: Likewise.
43890         * include/monetary.h: Likewise.
43891         * include/sys/poll.h: Likewise.
43892
43893         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43894         for __USE_GNU.
43895         * posix/spawn.h: Define __need_sigset_t.
43896         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43897         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43898         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
43899         to get sigevent_t only.
43900         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43901         only for __USE_GNU.
43902         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43903         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43904         process_vm_writev only for __USE_GNU.
43905         * termios/termios.h: Declare tcgetsid also for POSIX2008.
43906
43907         * conform/Makefile: For now ignore errors from run-conformtest.
43908         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
43909         POSIX to avoid namespace pollution.  Don't prepend headers.
43910         * conform/data/aio.h-data: Fixes for POSIX testing.
43911         * conform/data/fcntl.h-data: Likewise.
43912         * conform/data/glob.h-data: Likewise.
43913         * conform/data/grp.h-data: Likewise.
43914         * conform/data/pthread.h-data: Likewise.
43915         * conform/data/pwd.h-data: Likewise.
43916         * conform/data/signal.h-data: Likewise.
43917         * conform/data/spawn.h-data: Likewise.
43918         * conform/data/stdio.h-data: Likewise.
43919         * conform/data/stdlib.h-data: Likewise.
43920         * conform/data/stropts.h-data: Likewise.
43921         * conform/data/sys/mman.h-data: Likewise.
43922         * conform/data/sys/stat.h-data: Likewise.
43923         * conform/data/sys/types.h-data: Likewise.
43924         * conform/data/sys/wait.h-data: Likewise.
43925         * conform/data/time.h-data: Likewise.
43926         * conform/data/unistd.h-data: Likewise.
43927         * conform/data/utime.h-data: Likewise.
43928
43929         * io/sys/stat.h: fchmod was always in POSIX.
43930         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43931         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43932         * rt/aio.h: Define __need_timespec before including <time.h>.
43933         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43934         struct.  Add forward declaration of pthread_attr_t and use it in
43935         sigevent.
43936         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43937         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43938         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43939         always remove CLK_TCK definition.
43940
43941 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
43942
43943         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43944
43945 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
43946
43947         * conform/run-conformtest.sh: New file.
43948         * conform/Makefile: Run run-conformtest for tests.
43949         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
43950         support.
43951
43952         * conform/data/uchar.h-data: New file.
43953         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43954         * conform/data/arpa/inet.h-data: Likewise.
43955         * conform/data/assert.h-data: Likewise.
43956         * conform/data/complex.h-data: Likewise.
43957         * conform/data/cpio.h-data: Likewise.
43958         * conform/data/ctype.h-data: Likewise.
43959         * conform/data/dirent.h-data: Likewise.
43960         * conform/data/dlfcn.h-data: Likewise.
43961         * conform/data/errno.h-data: Likewise.
43962         * conform/data/fcntl.h-data: Likewise.
43963         * conform/data/float.h-data: Likewise.
43964         * conform/data/fmtmsg.h-data: Likewise.
43965         * conform/data/fnmatch.h-data: Likewise.
43966         * conform/data/ftw.h-data: Likewise.
43967         * conform/data/glob.h-data: Likewise.
43968         * conform/data/grp.h-data: Likewise.
43969         * conform/data/iconv.h-data: Likewise.
43970         * conform/data/inttypes.h-data: Likewise.
43971         * conform/data/langinfo.h-data: Likewise.
43972         * conform/data/libgen.h-data: Likewise.
43973         * conform/data/limits.h-data: Likewise.
43974         * conform/data/locale.h-data: Likewise.
43975         * conform/data/math.h-data: Likewise.
43976         * conform/data/monetary.h-data: Likewise.
43977         * conform/data/mqueue.h-data: Likewise.
43978         * conform/data/ndbm.h-data: Likewise.
43979         * conform/data/net/if.h-data: Likewise.
43980         * conform/data/netdb.h-data: Likewise.
43981         * conform/data/netinet/in.h-data: Likewise.
43982         * conform/data/nl_types.h-data: Likewise.
43983         * conform/data/poll.h-data: Likewise.
43984         * conform/data/pthread.h-data: Likewise.
43985         * conform/data/pwd.h-data: Likewise.
43986         * conform/data/regex.h-data: Likewise.
43987         * conform/data/sched.h-data: Likewise.
43988         * conform/data/search.h-data: Likewise.
43989         * conform/data/semaphore.h-data: Likewise.
43990         * conform/data/setjmp.h-data: Likewise.
43991         * conform/data/signal.h-data: Likewise.
43992         * conform/data/spawn.h-data: Likewise.
43993         * conform/data/stdarg.h-data: Likewise.
43994         * conform/data/stdio.h-data: Likewise.
43995         * conform/data/stdlib.h-data: Likewise.
43996         * conform/data/string.h-data: Likewise.
43997         * conform/data/strings.h-data: Likewise.
43998         * conform/data/stropts.h-data: Likewise.
43999         * conform/data/sys/ipc.h-data: Likewise.
44000         * conform/data/sys/mman.h-data: Likewise.
44001         * conform/data/sys/msg.h-data: Likewise.
44002         * conform/data/sys/resource.h-data: Likewise.
44003         * conform/data/sys/select.h-data: Likewise.
44004         * conform/data/sys/sem.h-data: Likewise.
44005         * conform/data/sys/shm.h-data: Likewise.
44006         * conform/data/sys/socket.h-data: Likewise.
44007         * conform/data/sys/stat.h-data: Likewise.
44008         * conform/data/sys/statvfs.h-data: Likewise.
44009         * conform/data/sys/time.h-data: Likewise.
44010         * conform/data/sys/timeb.h-data: Likewise.
44011         * conform/data/sys/times.h-data: Likewise.
44012         * conform/data/sys/types.h-data: Likewise.
44013         * conform/data/sys/uio.h-data: Likewise.
44014         * conform/data/sys/un.h-data: Likewise.
44015         * conform/data/sys/utsname.h-data: Likewise.
44016         * conform/data/sys/wait.h-data: Likewise.
44017         * conform/data/syslog.h-data: Likewise.
44018         * conform/data/tar.h-data: Likewise.
44019         * conform/data/termios.h-data: Likewise.
44020         * conform/data/utime.h-data: Likewise.
44021         * conform/data/utmpx.h-data: Likewise.
44022         * conform/data/varargs.h-data: Likewise.
44023         * conform/data/wchar.h-data: Likewise.
44024         * conform/data/wctype.h-data: Likewise.
44025         * conform/data/wordexp.h-data: Likewise.
44026
44027         * include/stropts.h: New file.
44028         * include/uchar.h: New file.
44029         * include/aio.h: Changes to allow conformtest.pl to use the headers.
44030         * include/assert.h: Likewise.
44031         * include/ctype.h: Likewise.
44032         * include/dirent.h: Likewise.
44033         * include/dlfcn.h: Likewise.
44034         * include/fcntl.h: Likewise.
44035         * include/fnmatch.h: Likewise.
44036         * include/glob.h: Likewise.
44037         * include/grp.h: Likewise.
44038         * include/libio.h: Likewise.
44039         * include/locale.h: Likewise.
44040         * include/math.h: Likewise.
44041         * include/net/if.h: Likewise.
44042         * include/netdb.h: Likewise.
44043         * include/netinet/in.h: Likewise.
44044         * include/pthread.h: Likewise.
44045         * include/pwd.h: Likewise.
44046         * include/regex.h: Likewise.
44047         * include/sched.h: Likewise.
44048         * include/search.h: Likewise.
44049         * include/setjmp.h: Likewise.
44050         * include/signal.h: Likewise.
44051         * include/stdio.h: Likewise.
44052         * include/stdlib.h: Likewise.
44053         * include/string.h: Likewise.
44054         * include/sys/cdefs.h: Likewise.
44055         * include/sys/mman.h: Likewise.
44056         * include/sys/msg.h: Likewise.
44057         * include/sys/resource.h: Likewise.
44058         * include/sys/select.h: Likewise.
44059         * include/sys/socket.h: Likewise.
44060         * include/sys/stat.h: Likewise.
44061         * include/sys/statvfs.h: Likewise.
44062         * include/sys/time.h: Likewise.
44063         * include/sys/times.h: Likewise.
44064         * include/sys/uio.h: Likewise.
44065         * include/sys/utsname.h: Likewise.
44066         * include/sys/wait.h: Likewise.
44067         * include/termios.h: Likewise.
44068         * include/time.h: Likewise.
44069         * include/ulimit.h: Likewise.
44070         * include/unistd.h: Likewise.
44071         * include/utime.h: Likewise.
44072         * include/wchar.h: Likewise.
44073         * include/wctype.h: Likewise.
44074         * include/wordexp.h: Likewise.
44075
44076         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44077
44078         * time/time.h: TIME_UTC must be a macro.
44079         Make timespec_get available for ISO C11 only as well.
44080
44081 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
44082
44083         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44084         Reported by Peng Haitao <penght@cn.fujitsu.com>.
44085
44086 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44087
44088         * configure.in: Use -o not -a in test for unsupported multi-arch.
44089
44090 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44091
44092         * manual/texinfo.tex: Update to version 2012-01-19.16.
44093
44094 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44095
44096         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44097
44098 2012-02-24  Roland McGrath  <roland@hack.frob.com>
44099
44100         [BZ #13738]
44101         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44102         * manual/fdl-1.3.texi: New file.
44103         * manual/fdl-1.1.texi: File removed.
44104
44105         [BZ #13738]
44106         * manual/libc.texinfo (FDL_VERSION): New @set.
44107         Use it for mention of FDL in cover text.
44108         (Documentation License): Use it in @include file name.
44109
44110 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44111             Roland McGrath  <roland@hack.frob.com>
44112
44113         [BZ #5461]
44114         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44115         (not LONG_LONG_MAX and LONG_LONG_MIN.
44116         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44117         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
44118         name.
44119         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44120
44121 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44122
44123         [BZ #2547]
44124         [BZ #11365]
44125         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44126         manipulate bits before adding and subtracting TWO23[sx].
44127         * math/libm-test.inc (nearbyint_test): Add more tests.
44128
44129 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44130
44131         [BZ #2548]
44132         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44133         bits before adding and subtracting TWO23[sx].
44134         * math/libm-test.inc (rint_test): Add more tests.
44135         (rint_test_tonearest): Likewise.
44136         (rint_test_towardzero): Likewise.
44137         (rint_test_downward): Likewise.
44138         (rint_test_upward: Likewise.
44139
44140 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44141
44142         [BZ #10110]
44143         * include/stdc-predef.h: New file.  Extracted from features.h.
44144         * include/features.h: Include stdc-predef.h.
44145         * Makefile (headers): Add stdc-predef.h.
44146         * CONFORMANCE (Compiler limitations): Update.
44147
44148 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44149
44150         * manual/libc.texinfo (VERSION, UPDATED): Revert.
44151
44152 2012-02-21  David S. Miller  <davem@davemloft.net>
44153
44154         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44155         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44156
44157 2012-02-20  David S. Miller  <davem@davemloft.net>
44158
44159         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44160         using a normal save/restore sequence, rather than allocating a
44161         dummy stack frame just to store a frame pointer and restore.
44162         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44163
44164 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44165
44166         * manual/install.texi: Fix stray word in line-wrapped comment.
44167
44168 2012-02-20  David S. Miller  <davem@davemloft.net>
44169
44170         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44171         both binutils and gcc support GOTDATA.
44172
44173         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44174         "rd %pc" in the PIC register setup sequences.
44175
44176         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44177         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44178         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44179         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44180         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44181         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44182         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44183         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44184         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44185         (SYSCALL_ERROR_HANDLER): Likewise.
44186         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44187         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44188         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44189         (SYSCALL_ERROR_HANDLER): Likewise.
44190
44191         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44192         (HAVE_GCC_GOTDATA): New.
44193         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44194         relocation support in both binutils and gcc.
44195         * sysdeps/sparc/elf/configure: Regenerate.
44196
44197         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44198         * sysdeps/sparc/sparc32/elf/configure: Delete.
44199         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44200         * sysdeps/sparc/sparc64/elf/configure: Delete.
44201         * sysdeps/sparc/elf/configure.in: New file.
44202         * sysdeps/sparc/elf/configure: Generate.
44203
44204         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44205         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44206         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44207         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44208         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44209
44210 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44211
44212         * manual/install.texi: Do not mention specific glibc version
44213         numbers.
44214         * manual/libc.texinfo (VERSION, UPDATED): Update.
44215         (@copying): Use @copyright{} and range of years.
44216
44217 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44218
44219         [BZ #13695]
44220         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44221         [crti.S not in sysdirs] (generated): Do not append.
44222         [crti.S not in sysdirs] (omit-deps): Likewise.
44223         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44224         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44225         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44226         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44227         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44228         Likewise.
44229         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44230         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44231         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44232         * csu/defs.awk: Remove file.
44233         * sysdeps/generic/initfini.c: Likewise.
44234         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44235         variable.
44236         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44237         Likewise.
44238
44239 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44240
44241         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44242         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44243         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44244         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44245         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44246         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44247         <bits/epoll.h>.
44248         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44249         (__EPOLL_PACKED): Define to empty if not defined by
44250         <bits/epoll.h>.
44251         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44253         bits/epoll.h.
44254
44255 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44256
44257         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44258         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44259         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44260         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44261         <bits/timerfd.h>.
44262         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44263         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44264         bits/timerfd.h.
44265
44266 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44267
44268         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44269         in C locale.
44270         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44271         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44272         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44274
44275 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
44276
44277         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44278         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44279
44280 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
44281
44282         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44283         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44284         defined.
44285         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44286         Likewise.
44287         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44288         entry for 2.16.
44289
44290 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
44291
44292         * math/w_acos.c: Use non-signaling floating-point comparisons.
44293         * math/w_acosf.c: Likewise.
44294         * math/w_acosh.c: Likewise.
44295         * math/w_acoshf.c: Likewise.
44296         * math/w_acoshl.c: Likewise.
44297         * math/w_acosl.c: Likewise.
44298         * math/w_asin.c: Likewise.
44299         * math/w_asinf.c: Likewise.
44300         * math/w_asinl.c: Likewise.
44301         * math/w_atanh.c: Likewise.
44302         * math/w_atanhf.c: Likewise.
44303         * math/w_atanhl.c: Likewise.
44304         * math/w_exp2.c: Likewise.
44305         * math/w_exp2f.c: Likewise.
44306         * math/w_exp2l.c: Likewise.
44307         * math/w_j0.c: Likewise.
44308         * math/w_j0f.c: Likewise.
44309         * math/w_j0l.c: Likewise.
44310         * math/w_j1.c: Likewise.
44311         * math/w_j1f.c: Likewise.
44312         * math/w_j1l.c: Likewise.
44313         * math/w_jn.c: Likewise.
44314         * math/w_jnf.c: Likewise.
44315         * math/w_log.c: Likewise.
44316         * math/w_log10.c: Likewise.
44317         * math/w_log10f.c: Likewise.
44318         * math/w_log10l.c: Likewise.
44319         * math/w_log2.c: Likewise.
44320         * math/w_log2f.c: Likewise.
44321         * math/w_log2l.c: Likewise.
44322         * math/w_logf.c: Likewise.
44323         * math/w_logl.c: Likewise.
44324         * math/w_sqrt.c: Likewise.
44325         * math/w_sqrtf.c: Likewise.
44326         * math/w_sqrtl.c: Likewise.
44327         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44328         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44329         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44330         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44331         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44332
44333 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44334
44335         [BZ #9739]
44336         * manual/string.texi (strnlen): Use correct parameter name in
44337         equivalent expression.
44338
44339 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44340
44341         [BZ #11174]
44342         * manual/users.texi (seteuid): Consistently use neweuid for
44343         argument name.
44344
44345 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44346
44347         [BZ #13704]
44348         * manual/nss.texi (Services in the NSS configuration): Correct
44349         list of services in example configuration file.
44350
44351 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
44352
44353         [BZ #11322]
44354         * manual/arith.texi: Remove statements about negative zero
44355         behaving identically to zero.
44356
44357 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44358
44359         [BZ #5993]
44360         * manual/install.texi: Do not document upgrading from libc5.
44361
44362 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44363
44364         [BZ #4596]
44365         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44366
44367 2012-02-18  David S. Miller  <davem@davemloft.net>
44368
44369         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44370         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44371         %o7 across the call.
44372         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44373         instead.
44374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44375         SETUP_PIC_REG_LEAF.
44376         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44377         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44378         * sysdeps/sparc/crtn.S: Likewise.
44379
44380 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
44381
44382         * aout/Makefile: Remove.
44383
44384 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
44385
44386         [BZ #13058]
44387         * manual/examples/argp-ex1.c (main): Format definition in GNU
44388         style.
44389         * manual/examples/argp-ex2.c (main): Likewise.
44390         * manual/examples/argp-ex3.c (main): Likewise.
44391         * manual/examples/argp-ex4.c (main): Likewise.
44392         * manual/examples/longopt.c (main): Use new-style prototype
44393         definition.
44394         * manual/examples/strncat.c (main): Specify return type and use
44395         (void) for arguments.
44396         * manual/examples/subopt.c (main): Use char **argv argument.
44397
44398 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44399
44400         [BZ #5077]
44401         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44402         rounding modes.
44403
44404 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
44405
44406         [BZ #6907]
44407         * manual/string.texi (strchr): Change when strchrnul is
44408         recommended.
44409
44410 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
44411
44412         [BZ #174]
44413         * manual/locale.texi (setlocale): Document LOCPATH.
44414
44415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44416
44417         [BZ #10210]
44418         * manual/process.texi (execle): Move @dots{} before last argument.
44419
44420 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
44421
44422         [BZ #12047]
44423         * manual/charset.texi (Generic Charset Conversion): Fix typo
44424         (LC_TYPE -> LC_CTYPE).
44425
44426 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
44427
44428         [BZ #5805]
44429         * manual/arith.texi (scalbn): Use @var{} on parameter names.
44430         (scalbnf): Likewise.
44431         (scalbnl): Likewise.
44432         (scalbln): Likewise.
44433         (scalblnf): Likewise.
44434         (scalblnl): Likewise.
44435         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44436         (vwarnx): Likewise.
44437         (verr): Likewise.
44438         (verrx): Likewise.
44439         * manual/filesys.texi (telldir): Use braces around return type.
44440         * manual/llio.texi (mmap): Add space after comma.
44441         (mmap64): Likewise.
44442         * manual/math.texi (jn): Use @var{} on parameter names.
44443         (jnf): Likewise.
44444         (jnl): Likewise.
44445         (yn): Likewise.
44446         (ynf): Likewise.
44447         (ynl): Likewise.
44448         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44449         line.
44450         * manual/resource.texi (ulimit): Use @dots{} instead of literal
44451         "...".
44452         (sched_get_priority_min): Remove semicolon on @deftypefun line.
44453         (sched_get_priority_max): Likewise.
44454         * manual/signal.texi (sigvec): Add space after comma.
44455         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44456         names.
44457         (if_indextoname): Likewise.
44458         (if_freenameindex): Likewise.
44459         (sendto): Use ',' instead of '.' in prototype.
44460         * manual/startup.texi (syscall): Use @dots{} instead of literal
44461         "...".
44462         * manual/stdio.texi (__fpending): Separate initial words of
44463         paragraph from @deftypefun line.
44464         * manual/syslog.texi (syslog): Use @dots{} instead of literal
44465         "...".
44466         (vsyslog): Use @var{} on parameter names.
44467         * manual/terminal.texi (stty): Use @var{} on parameter names.
44468         * manual/users.texi (getutmp): Use @var{} on parameter names.
44469         (getutmpx): Likewise.
44470
44471 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44472
44473         [BZ #6884]
44474         * manual/stdio.texi (fopen): Fix typos in description of
44475         ",ccs=STRING".
44476
44477 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
44478
44479         [BZ #4026]
44480         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44481         get clock_id definition.
44482
44483 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
44484
44485         [BZ #4822]
44486         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44487         (madvise): Cast every argument to void on its own.
44488
44489 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44490
44491         [BZ #9902]
44492         * manual/startup.texi (Exit Status): Fix typo.
44493
44494 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44495
44496         [BZ #10140]
44497         * manual/examples/argp-ex1.c: Include <stdlib.h>.
44498         * manual/examples/argp-ex2.c: Likewise.
44499         * manual/examples/argp-ex3.c: Likewise.
44500
44501 2012-02-16  Richard Henderson  <rth@redhat.com>
44502
44503         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44504         * sysdeps/s390/s390-32/initfini.c: Remove.
44505         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44506         * sysdeps/s390/s390-64/initfini.c: Remove.
44507
44508 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44509
44510         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44511         compiler output for sysdeps/generic/initfini.c.
44512         * sysdeps/sh/elf/initfini.c: Remove file.
44513
44514 2012-02-16  David S. Miller  <davem@davemloft.net>
44515
44516         [BZ #11494]
44517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44518
44519         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44520         * sysdeps/sparc/crti.S: New file.
44521         * sysdeps/sparc/crtn.S: New file.
44522         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44523         * sysdeps/sparc/sparc64/Makefile: Likewise.
44524
44525 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
44526
44527         [BZ #3335]
44528         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44529
44530 2012-02-15  Roland McGrath  <roland@hack.frob.com>
44531
44532         [BZ #4822]
44533         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44534
44535         * mach/devstream.c (cookie_io_functions_t): Macro removed.
44536         (write, read, close): Likewise.
44537         Patch by Aurelien Jarno <aurelien@aurel32.net>.
44538
44539 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
44540
44541         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44542         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44543         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44544         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44545         <bits/signalfd.h>.
44546         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44548         bits/signalfd.h.
44549
44550 2012-02-14  Marek Polacek  <polacek@redhat.com>
44551
44552         * sysdeps/x86_64/crti.S: New file.
44553         * sysdeps/x86_64/crtn.S: New file.
44554         * sysdeps/x86_64/elf/initfini.c: Remove file.
44555
44556 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44557
44558         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44559         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44560         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44561         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44562         <bits/inotify.h>.
44563         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44564         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44565         bits/inotify.h.
44566
44567 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44568
44569         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44570         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44571         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44572         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44573         <bits/eventfd.h>.
44574         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44576         bits/eventfd.h.
44577
44578 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
44579
44580         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44581         __feraiseexcept instead of feraiseexcept.
44582
44583         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44584         nanosleep invocations.
44585         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44586         strings, and add error checking for a nanosleep invocations.
44587
44588 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
44589
44590         Replace FSF snail mail address with URLs, as per GNU coding standards.
44591         Most of the snail mail addresses were wrong anyway, and omitting
44592         them makes the source code easier to maintain.  Almost all of the
44593         changes are to license notices and to locale LC_IDENTIFICATION
44594         addresses, except for this one:
44595         * manual/libc.texinfo: In "Published by", give the FSF's URL,
44596         not its snail mail address.
44597
44598 2012-02-09  Richard Henderson  <rth@twiddle.net>
44599
44600         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44601         of kernel-features.h.
44602
44603         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44604
44605 2012-02-08  Marek Polacek  <polacek@redhat.com>
44606
44607         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44608         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44609         * sysdeps/gnu/_G_config.h: Likewise.
44610         * sysdeps/generic/_G_config.h: Likewise.
44611
44612 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
44613
44614         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44615         tests.
44616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44617
44618         * sysdeps/powerpc/powerpc32/crti.S: New file.
44619         * sysdeps/powerpc/powerpc32/crtn.S: New file.
44620         * sysdeps/powerpc/powerpc64/crti.S: New file.
44621         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44622
44623         * Makeconfig (have-initfini): Don't set.
44624         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44625         * configure.in (nopic_initfini): Don't substitute.
44626         * config.h.in (HAVE_INITFINI): Don't #undef.
44627         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44628         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44629
44630 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44631
44632         Support crti.S and crtn.S provided directly by architectures.
44633         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44634         [crti.S in sysdirs] (omit-deps): Likewise.
44635         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44636         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44637         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44638         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44639         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44640         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44641         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44642         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44643         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44644         compiler output for sysdeps/generic/initfini.c.
44645         * sysdeps/i386/elf/Makefile: Remove file.
44646         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44647
44648 2012-02-07  Marek Polacek  <polacek@redhat.com>
44649
44650         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44651         * sysdeps/gnu/_G_config.h: Likewise.
44652         * sysdeps/mach/hurd/_G_config.h: Likewise.
44653
44654 2012-02-07  Marek Polacek  <polacek@redhat.com>
44655
44656         * math/Makefile (tests): Add tst-CMPLX2.
44657         * math/tst-CMPLX2.c: New file.
44658
44659 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44660
44661         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44662
44663         * math/libm-test.inc (jn_test): Add missing L suffix.
44664
44665 2012-02-06  Marek Polacek  <polacek@redhat.com>
44666
44667         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44668         * sysdeps/i386/fpu/e_powf.S: Likewise.
44669         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44670         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44671         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44672         * sysdeps/i386/fpu/e_pow.S: Likewise.
44673         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44674         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44675         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44676         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44677         * sysdeps/i386/fpu/e_log2.S: Likewise.
44678         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44679         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44680         * sysdeps/i386/fpu/e_powl.S: Likewise.
44681         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44682         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44683         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44684         * sysdeps/i386/fpu/e_logl.S: Likewise.
44685         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44686         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44687         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44688         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44689         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44690         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44691         * sysdeps/i386/fpu/e_log.S: Likewise.
44692         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44693         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44694         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44695         * sysdeps/i386/fpu/e_logf.S: Likewise.
44696         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44697         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44698         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44699         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44700         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44701         * sysdeps/i386/fpu/e_log10.S: Likewise.
44702         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44703         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44704         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44705         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44706         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44707         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44708         * sysdeps/i386/asm-syntax.h: Likewise.
44709         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44710         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44711         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44712         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44713         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44714         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44715         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44716         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44717         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44718         * sysdeps/powerpc/sysdep.h: Likewise.
44719         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44720         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44721
44722 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44723
44724         [BZ #411]
44725         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44726
44727 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44728
44729         * sysdeps/i386/sysdep.h: Include <features.h>.
44730         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44731         version.
44732
44733 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44734
44735         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44736         Define.
44737         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44738         LOAD_PIC_REG_STR.
44739
44740 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44741
44742         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44743         (SETUP_PIC_REG): Use GET_PC_THUNK.
44744         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44745         macro.
44746
44747 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44748
44749         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44750         for non-PIC compilation.
44751         (SETUP_PIC_REG): Add .p2align directive.
44752         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44753         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44754         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44755         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44756         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44757         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44758         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44759         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44760         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44761         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44762         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44763         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44764         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44765         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44766         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44767         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44768         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44769         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44770         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44771         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44772         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44773         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44774         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44775         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44776         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44777         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44778         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44780         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44781         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44782         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44783         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44784         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44785         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44786         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44787         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44788         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44789         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44790         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44791         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44792         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44793
44794 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44795
44796         * math/tst-CMPLX.c: Include <stdio.h>.
44797
44798 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44799
44800         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44801         float.
44802         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44803         * sysdeps/sparc/bits/mathdef.h: Likewise.
44804
44805 2012-01-31  Marek Polacek  <polacek@redhat.com>
44806
44807         * libio/libio.h: Don't define _PARAMS.
44808         * locale/programs/config.h: Don't define PARAMS.
44809         * stdlib/strtol_l.c: Likewise.
44810         (__strtol_l): Remove PARAMS from the prototype.
44811
44812 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44813
44814         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44815         names.  Just use the correct names.  Remove unnecessary wrapper
44816         functions.
44817         * malloc/arena.c: Likewise.
44818         * malloc/hooks.c: Likewise.
44819
44820         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44821         ARENA_TEST says not to.  Simplify test for creation of a new arena.
44822         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44823
44824 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
44825
44826         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44827         into tail calls.
44828         (update_get_addr): New function.
44829         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44830         GET_ADDR_MODULE parameter.
44831
44832 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44833
44834         * crypt/cert.c: Remove __STDC__ conditionals.
44835         * crypt/crypt-entry.c: Likewise.
44836         * crypt/crypt_util.c: Likewise.
44837         * libio/filedoalloc.c: Likewise.
44838         * libio/fileops.c: Likewise.
44839         * libio/genops.c: Likewise.
44840         * libio/iofclose.c: Likewise.
44841         * libio/iofdopen.c: Likewise.
44842         * libio/iofopen.c: Likewise.
44843         * libio/iofopen64.c: Likewise.
44844         * libio/iogetdelim.c: Likewise.
44845         * libio/iopopen.c: Likewise.
44846         * libio/obprintf.c: Likewise.
44847         * libio/oldfileops.c: Likewise.
44848         * libio/oldiofclose.c: Likewise.
44849         * libio/oldiofdopen.c: Likewise.
44850         * libio/oldiofopen.c: Likewise.
44851         * libio/oldiopopen.c: Likewise.
44852         * libio/wfiledoalloc.c: Likewise.
44853         * libio/wgenops.c: Likewise.
44854         * locale/programs/xmalloc.c: Likewise.
44855         * misc/syslog.c: Likewise.
44856         * stdio-common/xbug.c: Likewise.
44857         * string/memchr.c: Likewise.
44858         * string/memcmp.c: Likewise.
44859         * string/memrchr.c: Likewise.
44860         * string/rawmemchr.c: Likewise.
44861         * sysdeps/posix/getcwd.c: Likewise.
44862         * time/strftime_l.c: Likewise.
44863
44864 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44865
44866         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44867         * config.make.in (config-cflags-sse2avx): Define.
44868         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44869         Fix typo.
44870
44871 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
44872
44873         * scripts/config.guess: Update from upstream config git repository.
44874         * scripts/config.sub: Likewise.
44875
44876 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
44877
44878         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44879         (EM_NUM): Update.
44880         (R_TILEPRO_*, R_TILEGX_*): New macros.
44881
44882         * scripts/firstversions.awk: Fix bug in version range handling.
44883
44884         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44885
44886         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44887
44888         * include/sys/epoll.h: New file.
44889         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44890         libc_hidden_def.
44891
44892 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
44893
44894         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44895         Avoid unnecessary __WORDSIZE == 64 test.
44896         (fmaxf): Use VEX format if possible.
44897         (fmax): Likewise.
44898         (fminf): Likewise.
44899         (fmin): Likewise.
44900
44901         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44902         * math/math_private.h: Remove libc_fegetround* and
44903         libc_fesetround*.
44904         * sysdeps/i386/configure.in: Check for -msse2avx.
44905         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44906         also if SSE2AVX is defined.
44907         Remove libc_fegetround* and libc_fesetround*.
44908         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44909         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
44910         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44911         of HAS_YMM_USABLE.
44912         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44913         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44914         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44915         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44916         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44917
44918         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44919
44920 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44921
44922         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44923         size is not set.
44924         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44925
44926 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
44927
44928         [BZ #13618]
44929         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44930         relocation.
44931         * Makeconfig (libm): Define.
44932         * elf/Makefile: Add rules to build and run tst-relsort1.
44933         * elf/tst-relsort1.c: New file.
44934         * elf/tst-relsort1mod1.c: New file.
44935         * elf/tst-relsort1mod2.c: New file.
44936
44937 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
44938
44939         * math/s_ldexp.c: Remove __STDC__ conditionals.
44940         * math/s_ldexpf.c: Likewise.
44941         * math/s_ldexpl.c: Likewise.
44942         * math/s_nextafter.c: Likewise.
44943         * math/s_nexttowardf.c: Likewise.
44944         * math/s_significand.c: Likewise.
44945         * math/s_significandf.c: Likewise.
44946         * math/s_significandl.c: Likewise.
44947         * math/w_jnl.c: Likewise.
44948         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44949         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44950         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44951         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44952         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44953         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44954         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44955         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44956         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44957         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44958         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44959         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44960         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44961         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44962         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44963         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44964         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44965         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44966         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44967         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44968         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44969         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44970         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44971         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44972         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44973         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44974         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44975         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44976         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44977         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44978         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44979         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44980         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44981         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44982         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44983         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44984         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44985         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44986         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44987         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44988         * sysdeps/ieee754/k_standard.c: Likewise.
44989         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44990         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44991         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44992         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44993         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44994         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44995         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44996         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44997         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44998         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44999         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45000         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45001         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45002         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45003         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45004         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45005         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45006         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45007         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45008         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45009         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45010         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45011         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45012         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45013         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45014         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45015         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45016         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45017         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45018         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45019         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45020         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45021         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45022         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45023         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45024         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45025         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45026         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45027         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45028         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45029         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45030         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45031         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45032         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45033         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45034         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45036         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45037         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45038         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45039         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45040         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45041         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45042         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45043         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45044         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45045         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45046         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45047         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45048         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45049         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45050         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45051         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45052         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45053         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45054         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45055         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45056         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45057         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45058         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45059         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45060         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45061         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45062         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45063         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45064         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45065         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45066         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45067         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45068         * sysdeps/ieee754/s_matherr.c: Likewise.
45069         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45070         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45071         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45072         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45073
45074 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45075
45076         * crypt/md5.h: Remove __STDC__ conditionals.
45077         * libio/libioP.h: Likewise.
45078         * locale/programs/config.h: Likewise.
45079         * sysdeps/generic/sysdep.h: Likewise.
45080         * sysdeps/i386/asm-syntax.h: Likewise.
45081         * sysdeps/s390/asm-syntax.h: Likewise.
45082         * sysdeps/unix/sysdep.h: Likewise.
45083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45085
45086 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45087
45088         * libio/libio.h: Remove __STDC__ conditionals.
45089         * malloc/obstack.h: Likewise.
45090         * math/complex.h: Likewise.
45091         * math/math.h: Likewise.
45092         * sysdeps/generic/_G_config.h: Likewise.
45093         * sysdeps/gnu/_G_config.h: Likewise.
45094         * sysdeps/mach/hurd/_G_config.h: Likewise.
45095         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45096         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45097         * sysdeps/sparc/bits/mathdef.h: Likewise.
45098
45099 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
45100
45101         [BZ #13583]
45102         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45103         Clean up HAS_* macros.
45104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45105         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45106         possible.
45107         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45108         HAS_AVX.
45109         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45110         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45111         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45112         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45113         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45114
45115 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
45116
45117         * elf/tst-unique3.cc (gets): Remove declaration.
45118         * elf/tst-unique3lib.cc (gets): Likewise.
45119         * elf/tst-unique3lib2.cc (gets): Likewise.
45120         * elf/tst-unique4.cc (gets): Likewise.
45121
45122 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
45123
45124         * include/stdio.h: Add C++ protection.  Add gets declarations and
45125         definitions.
45126         * debug/tst-chk1.c: Don't declare gets here.
45127         * stdio-common/tst-gets.c: Likewise.
45128
45129 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45130
45131         * posix/glob: Remove directory.
45132
45133 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45134
45135         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45136
45137 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
45138
45139         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45140         of the non-standard EPFNOSUPPORT.
45141
45142 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45143
45144         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45145         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45146         ANYWHERE set to 1 only on KERN_NO_SPACE error.
45147
45148 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
45149
45150         * wcsmbs/uchar.h: Test __STDC_VERSION__.
45151
45152 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
45153
45154         * nscd/aicache.c (addhstaiX): Do not cache negative results of
45155         transient errors.
45156         * nscd/grpcache.c (cache_addgr): Likewise.
45157         * nscd/hstcache.c (cache_addhst): Likewise.
45158         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45159         * nscd/pwdcache.c (cache_addpw): Likewise.
45160         * nscd/servicescache.c (cache_addserv): Likewise.
45161
45162 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
45163
45164         * malloc/malloc.c: Various cleanups.
45165         * malloc/hooks.c: Likewise.
45166
45167         * stdlib/Makefile (tests): Add bug-fmtmsg1.
45168         * stdlib/bug-fmtmsg1.c: New file.
45169
45170         * stdlib/fmtmsg.c (init): Add missing unlock.
45171         Patch by Peng Haitao <penght@cn.fujitsu.com>.
45172
45173 2012-01-12  Marek Polacek  <polacek@redhat.com>
45174
45175         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45176         and _GNU_SOURCE.
45177
45178 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45179
45180         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45181         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45182         macro to ensure uniqueness of label name.
45183         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45184         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45185
45186 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
45187
45188         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45189
45190         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45191         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45192         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45193         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45194
45195 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
45196
45197         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45198
45199         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45200         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45201         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45202
45203         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45204
45205         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45206         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45207         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45208         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45209
45210         * math/bits/math-finite.h: Add ldexp support.
45211
45212 2012-01-10  Marek Polacek  <polacek@redhat.com>
45213
45214         * locale/programs/localedef.h (show_archive_content): Add noreturn
45215         attribute.
45216
45217 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
45218
45219         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45220
45221 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45222
45223         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45224
45225         * io/Makefile (headers): Add bits/poll2.h.
45226
45227 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
45228
45229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45230         typo #include statement.
45231
45232 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45233
45234         * include/sys/cdefs.h: Define __attribute_alloc_size.
45235         * catgets/gencat.c: Add alloc_size attribute and apply consistently
45236         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45237         * elf/pldd.c: Likewise.
45238         * iconv/iconv_charmap.c: Likewise.
45239         * iconv/iconvconfig.c: Likewise.
45240         * iconv/strtab.c: Likewise.
45241         * locale/programs/locale.c: Likewise.
45242         * locale/programs/localedef.h: Likewise.
45243         * locale/programs/simple-hash.c: Likewise.
45244         * nscd/nscd.h: Likewise.
45245         * nss/makedb.c: Likewise.
45246         * sysdeps/generic/ldconfig.h: Likewise.
45247         * locale/programs/localedef.c: Remove xmalloc prototype.
45248         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45249
45250 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45251
45252         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45253         appropriate.
45254
45255 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45256
45257         * math/Makefile (tests): Add tst-CMPLX.
45258         * math/tst-CMPLX.c: New file.
45259
45260         * math/complex.h (CMPLXL): Fix typo.
45261
45262         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45263         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45264         GLIBC_2.16.
45265         * debug/tst-chk1.c: Add poll and ppoll tests.
45266         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45267         * include/sys/poll.h: Add hidden proto for ppoll.
45268         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45269         * sysdeps/mach/hurd/ppoll.c: Likewise.
45270         * io/ppoll.c: Likewise.
45271         * debug/poll_chk.c: New file.
45272         * debug/ppoll_chk.c: New file.
45273         * include/bits/poll2.h: New file.
45274         * io/bits/poll2.h: New file.
45275
45276         [BZ #1350]
45277         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45278
45279         * configure.in: static is always set to yes.  Remove.
45280         * config.make.in: Don't set build-static.
45281         * Makeconfig: Remove use of build-static.
45282         * dlfcn/Makefile: Likewise.
45283         * elf/Makefile: Likewise.
45284         * math/Makefile: Likewise.
45285         * misc/Makefile: Likewise.
45286         * nptl/Makefile: Likewise.
45287         * sysdeps/mach/hurd/Makefile: Likewise.
45288
45289         * configure.in: PWD_P is not used anymore.
45290         * config.make.in: Remove PWD_P entry.
45291
45292         * configure.in: Remove last remnants of RANLIB.
45293         No need to check for signed size_t anymore.
45294         Don't set libc_commonpagesize and libc_relro_required here for Alpha
45295         and IA-64.
45296         Remove __builtin_expect test because we require at least gcc 3.4.
45297         * aclocal.m4: Likewise.
45298
45299         * wcsmbs/mbrtoc16.c: Implement using towc function.
45300         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45301         * wcsmbs/wcsmbsload.c: Likewise.
45302         * iconv/gconv_simple.c: Likewise.
45303         * iconv/gconv_int.h: Likewise.
45304         * iconv/gconv_builtin.h: Likewise.
45305         * iconv/iconv_prog.c: Remove CHAR16 handling.
45306
45307         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45308
45309         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45310
45311         * configure.in: Remove --with-elf and --enable-bounded options.
45312         Dont set base_machine for ia64.  More non-ELF conditions removed.
45313         Remove testing and setting of leading underscore information.
45314         * config.make.in (build-bounded): Set to no.
45315         * config.h.in: Remove NO_UNDERSCORES entry.
45316         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
45317         them.
45318         * csu/start.c: Remove !NO_UNDERSCORE code.
45319         * locale/localeinfo.h: Likewise.
45320         * sysdeps/generic/machine-gmon.h: Likewise.
45321         * sysdeps/generic/sysdep.h: Likewise.
45322         * sysdeps/i386/sysdep.h: Likewise.
45323         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45324         * sysdeps/mach/sysdep.h: Likewise.
45325         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45326         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45327         * sysdeps/sh/sysdep.h: Likewise.
45328         * sysdeps/sparc/sparc32/alloca.S: Likewise.
45329         * sysdeps/unix/i386/sysdep.S: Likewise.
45330         * sysdeps/unix/sparc/start.c: Likewise.
45331         * sysdeps/unix/sparc/sysdep.S: Likewise.
45332         * sysdeps/unix/sparc/sysdep.h: Likewise.
45333         * sysdeps/unix/start.c: Likewise.
45334         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45335         * sysdeps/x86_64/sysdep.h: Likewise.
45336
45337 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
45338
45339         [BZ #13553]
45340         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45341         for non-gcc.
45342         * argp/argp-fmtstream.h: Use const instead __const.
45343         * argp/argp.h: Likewise.
45344         * assert/assert.h: Likewise.
45345         * bits/fenv.h: Likewise.
45346         * bits/sched.h: Likewise.
45347         * bits/sigset.h: Likewise.
45348         * bits/sigthread.h: Likewise.
45349         * catgets/nl_types.h: Likewise.
45350         * conform/data/pthread.h-data: Likewise.
45351         * crypt/crypt-private.h: Likewise.
45352         * crypt/crypt.h: Likewise.
45353         * crypt/crypt_util.c: Likewise.
45354         * ctype/ctype.h: Likewise.
45355         * debug/execinfo.h: Likewise.
45356         * debug/mbsnrtowcs_chk.c: Likewise.
45357         * debug/mbsrtowcs_chk.c: Likewise.
45358         * debug/wcsnrtombs_chk.c: Likewise.
45359         * debug/wcsrtombs_chk.c: Likewise.
45360         * debug/wcstombs_chk.c: Likewise.
45361         * dirent/dirent.h: Likewise.
45362         * dlfcn/dlfcn.h: Likewise.
45363         * elf/neededtest4.c: Likewise.
45364         * grp/grp.h: Likewise.
45365         * gshadow/gshadow.h: Likewise.
45366         * iconv/gconv.h: Likewise.
45367         * iconv/gconv_int.h: Likewise.
45368         * iconv/gconv_simple.c: Likewise.
45369         * iconv/iconv.h: Likewise.
45370         * iconv/loop.c: Likewise.
45371         * iconv/skeleton.c: Likewise.
45372         * include/aio.h: Likewise.
45373         * include/aliases.h: Likewise.
45374         * include/argz.h: Likewise.
45375         * include/arpa/inet.h: Likewise.
45376         * include/assert.h: Likewise.
45377         * include/dirent.h: Likewise.
45378         * include/dlfcn.h: Likewise.
45379         * include/execinfo.h: Likewise.
45380         * include/fcntl.h: Likewise.
45381         * include/fenv.h: Likewise.
45382         * include/glob.h: Likewise.
45383         * include/grp.h: Likewise.
45384         * include/libintl.h: Likewise.
45385         * include/mntent.h: Likewise.
45386         * include/netdb.h: Likewise.
45387         * include/pwd.h: Likewise.
45388         * include/rpc/netdb.h: Likewise.
45389         * include/sched.h: Likewise.
45390         * include/search.h: Likewise.
45391         * include/shadow.h: Likewise.
45392         * include/signal.h: Likewise.
45393         * include/stdio.h: Likewise.
45394         * include/stdlib.h: Likewise.
45395         * include/string.h: Likewise.
45396         * include/sys/socket.h: Likewise.
45397         * include/sys/stat.h: Likewise.
45398         * include/sys/statfs.h: Likewise.
45399         * include/sys/statvfs.h: Likewise.
45400         * include/sys/syslog.h: Likewise.
45401         * include/sys/time.h: Likewise.
45402         * include/sys/uio.h: Likewise.
45403         * include/time.h: Likewise.
45404         * include/unistd.h: Likewise.
45405         * include/utmp.h: Likewise.
45406         * include/wchar.h: Likewise.
45407         * include/wctype.h: Likewise.
45408         * inet/aliases.h: Likewise.
45409         * inet/arpa/inet.h: Likewise.
45410         * inet/netinet/ether.h: Likewise.
45411         * inet/netinet/in.h: Likewise.
45412         * intl/libintl.h: Likewise.
45413         * io/bits/fcntl2.h: Likewise.
45414         * io/fcntl.h: Likewise.
45415         * io/ftw.h: Likewise.
45416         * io/sys/poll.h: Likewise.
45417         * io/sys/stat.h: Likewise.
45418         * io/sys/statfs.h: Likewise.
45419         * io/sys/statvfs.h: Likewise.
45420         * io/utime.h: Likewise.
45421         * libio/bits/stdio.h: Likewise.
45422         * libio/bits/stdio2.h: Likewise.
45423         * libio/libio.h: Likewise.
45424         * libio/libioP.h: Likewise.
45425         * libio/stdio.h: Likewise.
45426         * locale/lc-ctype.c: Likewise.
45427         * locale/locale.h: Likewise.
45428         * login/utmp.h: Likewise.
45429         * malloc/arena.c: Likewise.
45430         * malloc/malloc.c: Likewise.
45431         * malloc/malloc.h: Likewise.
45432         * malloc/mcheck.c: Likewise.
45433         * malloc/mtrace.c: Likewise.
45434         * math/bits/mathcalls.h: Likewise.
45435         * math/fenv.h: Likewise.
45436         * math/math_private.h: Likewise.
45437         * misc/bits/error.h: Likewise.
45438         * misc/bits/syslog.h: Likewise.
45439         * misc/err.h: Likewise.
45440         * misc/error.h: Likewise.
45441         * misc/fstab.h: Likewise.
45442         * misc/mntent.h: Likewise.
45443         * misc/regexp.h: Likewise.
45444         * misc/search.h: Likewise.
45445         * misc/sgtty.h: Likewise.
45446         * misc/sys/mman.h: Likewise.
45447         * misc/sys/syslog.h: Likewise.
45448         * misc/sys/uio.h: Likewise.
45449         * misc/sys/xattr.h: Likewise.
45450         * misc/ttyent.h: Likewise.
45451         * nis/rpcsvc/ypclnt.h: Likewise.
45452         * nss/nss.h: Likewise.
45453         * posix/bits/unistd.h: Likewise.
45454         * posix/fnmatch.h: Likewise.
45455         * posix/glob.h: Likewise.
45456         * posix/sched.h: Likewise.
45457         * posix/spawn.h: Likewise.
45458         * posix/sys/wait.h: Likewise.
45459         * posix/unistd.h: Likewise.
45460         * posix/wordexp.h: Likewise.
45461         * pwd/pwd.h: Likewise.
45462         * resolv/netdb.h: Likewise.
45463         * resource/sys/resource.h: Likewise.
45464         * rt/aio.h: Likewise.
45465         * rt/bits/mqueue2.h: Likewise.
45466         * rt/mqueue.h: Likewise.
45467         * shadow/shadow.h: Likewise.
45468         * signal/signal.h: Likewise.
45469         * socket/send.c: Likewise.
45470         * socket/sendto.c: Likewise.
45471         * socket/sys/socket.h: Likewise.
45472         * stdio-common/printf.h: Likewise.
45473         * stdlib/bits/stdlib.h: Likewise.
45474         * stdlib/fmtmsg.h: Likewise.
45475         * stdlib/monetary.h: Likewise.
45476         * stdlib/stdlib.h: Likewise.
45477         * stdlib/ucontext.h: Likewise.
45478         * streams/stropts.h: Likewise.
45479         * string/argz.h: Likewise.
45480         * string/bits/string2.h: Likewise.
45481         * string/string.h: Likewise.
45482         * string/strings.h: Likewise.
45483         * sunrpc/rpc/auth.h: Likewise.
45484         * sunrpc/rpc/auth_des.h: Likewise.
45485         * sunrpc/rpc/clnt.h: Likewise.
45486         * sunrpc/rpc/netdb.h: Likewise.
45487         * sunrpc/rpc/pmap_clnt.h: Likewise.
45488         * sunrpc/rpc/xdr.h: Likewise.
45489         * sysdeps/generic/inttypes.h: Likewise.
45490         * sysdeps/generic/net/if.h: Likewise.
45491         * sysdeps/generic/sys/swap.h: Likewise.
45492         * sysdeps/gnu/net/if.h: Likewise.
45493         * sysdeps/gnu/utmpx.h: Likewise.
45494         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45495         * sysdeps/i386/i486/bits/string.h: Likewise.
45496         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45497         * sysdeps/s390/bits/string.h: Likewise.
45498         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45499         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45500         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45501         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45502         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45503         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45504         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45505         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45506         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45507         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45508         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45509         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45510         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45511         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45512         * sysdeps/unix/sysv/linux/readv.c: Likewise.
45513         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45514         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45516         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45517         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45518         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45519         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45520         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45521         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45522         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45523         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45524         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45525         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45526         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45527         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45528         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45529         * sysvipc/sys/ipc.h: Likewise.
45530         * sysvipc/sys/msg.h: Likewise.
45531         * sysvipc/sys/sem.h: Likewise.
45532         * sysvipc/sys/shm.h: Likewise.
45533         * termios/termios.h: Likewise.
45534         * time/sys/time.h: Likewise.
45535         * time/time.h: Likewise.
45536         * wcsmbs/bits/wchar2.h: Likewise.
45537         * wcsmbs/uchar.h: Likewise.
45538         * wcsmbs/wchar.h: Likewise.
45539         * wctype/wctype.h: Likewise.
45540
45541         [BZ #13551]
45542         * Makeconfig: Remove all but ELF support including AIX support.
45543         * Makerules: Likewise.
45544         * config.h.in: Likewise.
45545         * config.make.in: Likewise.
45546         * configure: Likewise.
45547         * configure.in: Likewise.
45548         * csu/Makefile: Likewise.
45549         * csu/version.c: Likewise.
45550         * debug/Makefile: Likewise.
45551         * dlfcn/Makefile: Likewise.
45552         * elf/Makefile: Likewise.
45553         * extra-lib.mk: Likewise.
45554         * iconv/Makefile: Likewise.
45555         * include/libc-symbols.h: Likewise.
45556         * include/shlib-compat.h: Likewise.
45557         * resolv/Makefile: Likewise.
45558         * resolv/res_libc.c: Likewise.
45559         * rt/Makefile: Likewise.
45560         * sysdeps/i386/asm-syntax.h: Likewise.
45561         * sysdeps/i386/sysdep.h: Likewise.
45562         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45563         * sysdeps/mach/sysdep.h: Likewise.
45564         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45565         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45566         * sysdeps/s390/asm-syntax.h: Likewise.
45567         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45569         * sysdeps/sh/sysdep.h: Likewise.
45570         * sysdeps/unix/sparc/sysdep.h: Likewise.
45571         * sysdeps/wordsize-32/divdi3.c: Likewise.
45572         * sysdeps/x86_64/sysdep.h: Likewise.
45573
45574         * argp/Versions: Remove _argp_unlock_xxx.
45575
45576         [BZ #13559]
45577         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
45578         * abilist/libBrokenLocale.abilist: Likewise.
45579         * abilist/libanl.abilist: Likewise.
45580         * abilist/libc.abilist: Likewise.
45581         * abilist/libcrypt.abilist: Likewise.
45582         * abilist/libdl.abilist: Likewise.
45583         * abilist/libm.abilist: Likewise.
45584         * abilist/libnsl.abilist: Likewise.
45585         * abilist/libpthread.abilist: Likewise.
45586         * abilist/libresolv.abilist: Likewise.
45587         * abilist/librt.abilist: Likewise.
45588         * abilist/libthread_db.abilist: Likewise.
45589         * abilist/libutil.abilist: Likewise.
45590         * abilist/libnss_db.abilist: New file.
45591
45592         * scripts/abilist.awk: Add support for indirect functions.
45593
45594         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45595
45596         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45597
45598         * shlib-versions: Remove entries for ports architectures.
45599
45600         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
45601         files in ports.
45602         * elf/stackguard-macros.h: Remove support for IA-64.
45603         * elf/tst-auditmod1.c: Likewise.
45604         * sysdeps/generic/ldsodefs.h: Likewise.
45605
45606         * sysdeps/unix/sysv/linux/configure.in: Ports should define
45607         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45608         configure files.
45609
45610         [BZ #13552]
45611         * configure.in: Remove --enable-omitfp support.
45612         * FAQ.in: Adjust.
45613         * config.make.in: Likewise.
45614         * Makeconfig: Likewise.
45615         * manual/install.texi: Likewise.
45616
45617         In case anyone cares, the IA-64 architecture could move to ports.
45618         * sysdeps/ia64/*: Removed.
45619         * sysdeps/unix/sysv/linux/ia64/*: Removed.
45620         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45621
45622         [BZ #13555]
45623         * configure.in: Remove entries for unsupported architectures.
45624
45625         [BZ #13533]
45626         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45627         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45628         routines.
45629         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45630         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45631         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45632         fall back to using wcrtomb.
45633         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45634         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45635         renaming.
45636         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45637         * wcsmbs/tst-c16c32-1.c: New file.
45638
45639         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45640         local variable.
45641
45642         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45643
45644         * elf/tst-unique3.cc: Add explicit declaration of gets.
45645         * elf/tst-unique3lib.cc: Likewise.
45646         * elf/tst-unique3lib2.cc: Likewise.
45647         * elf/tst-unique4.cc: Likewise.
45648
45649         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45650
45651 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45652
45653         [BZ #13566]
45654         * assert/assert.h (static_assert): Don't define for C++.
45655         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45656         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45657
45658 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45659
45660         * iconv/loop.c (single loop): Fix assertion in storing of
45661         remaining bytes.
45662
45663         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45664
45665 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45666
45667         * posix/getconf.c: Update copyright year.
45668         * nss/getent.c: Likewise.
45669         * nss/makedb.c: Likewise.
45670         * iconv/iconvconfig.c: Likewise.
45671         * iconv/iconv_prog.c: Likewise.
45672         * elf/ldconfig.c: Likewise.
45673         * elf/pldd.c: Likewise.
45674         * elf/sotruss.ksh: Likewise.
45675         * catgets/gencat.c: Likewise.
45676         * csu/version.c: Likewise.
45677         * elf/ldd.bash.in: Likewise.
45678         * elf/sprof.c (print_version): Likewise.
45679         * locale/programs/locale.c: Likewise.
45680         * locale/programs/localedef.c: Likewise.
45681         * login/programs/pt_chown.c: Likewise.
45682         * nscd/nscd.c (print_version): Likewise.
45683         * debug/xtrace.sh: Likewise.
45684         * malloc/memusage.sh: Likewise.
45685         * malloc/mtrace.pl: Likewise.
45686         * debug/catchsegv.sh: Likewise.
45687
45688 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45689
45690         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45691         pure attribute.
45692
45693 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45694
45695         [BZ #13533]
45696         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45697         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45698         transformations.
45699         * iconv/gconv_int.h: Likewise.
45700         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45701         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45702         from libc for GLIBC_2.16.
45703         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45704         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45705         * wcsmbs/uchar.h: Really define mbstate_t.
45706         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45707         * wcsmbs/c16rtomb.c: New file.
45708         * wcsmbs/mbrtoc16.c: New file.
45709         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45710         for C/POSIX locale.
45711         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45712         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45713
45714         * wcsmbs/wchar.h: Add missing __restrict.
45715
45716 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45717
45718         [BZ #13532]
45719         * time/Makefile (routines): Add timespec_get.
45720         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45721         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45722         timespec for ISO C11.
45723         * time/timespec_get.c: New file.
45724         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45725         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45726
45727         [BZ #13531]
45728         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45729         * stdlib/stdlib.h: Declare aligned_alloc.
45730         * Versions.def: Add GLIBC_2.16 for libc.
45731         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45732
45733         [BZ 13527]
45734         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45735         ISO C11.
45736
45737         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45738         code.
45739
45740         [BZ #13528]
45741         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45742
45743         [BZ #13529]
45744         * assert/assert.h (static_assert): Define.
45745
45746         * version.h: Update for 2.16 development version.
45747
45748         [BZ #13526]
45749         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45750         _ISOC11_SOURCE.
45751
45752         * version.h (RELEASE): Bump for 2.15 release.
45753         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45754
45755         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45756         Patch by Marek Polacek <mpolacek@redhat.com>.
45757
45758         * bits/byteswap.h: Protect long long constants with __extension__.
45759         * sysdeps/i386/bits/byteswap.h: Likewise.
45760         * sysdeps/ia64/bits/byteswap.h: Likewise.
45761         * sysdeps/s390/bits/byteswap.h: Likewise.
45762         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45763
45764 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45765
45766         [BZ #13540]
45767         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45768         destination buffer.
45769         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45770
45771 2011-12-23  Marek Polacek  <polacek@redhat.com>
45772
45773         * elf/dl-addr.c (determine_info): Add inline keyword.
45774         * elf/tst-auditmod4b.c (check_avx): Likewise.
45775         * elf/tst-auditmod6b.c (check_avx): Likewise.
45776         * elf/tst-auditmod6c.c (check_avx): Likewise.
45777         * elf/tst-auditmod7b.c (check_avx): Likewise.
45778
45779 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45780
45781         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45782         !__SSE_MATH__.
45783
45784 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45785
45786         [BZ #13540]
45787         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45788         processing for last bytes.
45789
45790 2011-08-06  Bruno Haible  <bruno@clisp.org>
45791
45792         [BZ #13061]
45793         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45794         U+0385, not to U+1FEE.
45795
45796         [BZ #13062]
45797         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45798         entry for U+00A5 U+0301.
45799
45800 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45801
45802         [BZ #13166]
45803         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45804         buffer for the output is too small.
45805
45806         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45807         optimization.
45808
45809         [BZ #13185]
45810         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45811         SSE flags if possible.
45812
45813 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45814
45815         [BZ #13540]
45816         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45817         processing for last bytes.
45818
45819 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
45820
45821         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45822         (syscall-list-default-options, syscall-list-default-condition)
45823         (syscall-list-includes): Define.
45824         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45825         list of ABIs and options and #if conditions for each ABI.  Do not
45826         handle common syscalls between ABIs specially.
45827         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45828         Remove.
45829         (syscall-list-variants, syscall-list-32bit-options)
45830         (syscall-list-32bit-condition, syscall-list-64bit-options)
45831         (syscall-list-64bit-condition): Define.
45832         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45833         (syscall-list-variants, syscall-list-32bit-options)
45834         (syscall-list-32bit-condition, syscall-list-64bit-options)
45835         (syscall-list-64bit-condition): Define.
45836         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45837         Remove.
45838         (syscall-list-variants, syscall-list-32bit-options)
45839         (syscall-list-32bit-condition, syscall-list-64bit-options)
45840         (syscall-list-64bit-condition): Define.
45841         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45842         Remove.
45843         (syscall-list-variants, syscall-list-32bit-options)
45844         (syscall-list-32bit-condition, syscall-list-64bit-options)
45845         (syscall-list-64bit-condition): Define.
45846
45847 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45848
45849         * locale/iso-639.def: Add brx entry.
45850
45851         [BZ #13328]
45852         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45853         Proposed by Mariusz_Cukr <marcukr@op.pl>.
45854
45855         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45856         __feraiseexcept_renamed.
45857
45858 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45859
45860         [BZ #13538]
45861         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45862         EPOLLET with unsigned values.
45863         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45864         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45865
45866         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45867         to large cancellation.
45868         * math/s_cacoshf.c: Likewise.
45869         * math/s_cacoshl.c: Likewise.
45870
45871 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
45872
45873         [BZ #13305]
45874         [BZ #12786]
45875         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45876         * math/s_cacoshf.c: Likewise.
45877         * math/s_cacoshl.c: Likewise.
45878
45879 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45880
45881         [BZ #13439]
45882         * iconv/gconv.h: Define __GCONV_SWAP.
45883         * iconvdata/unicode.c: The swap bit must be stored in __flags.
45884         * iconvdata/utf-16.c: Likewise.
45885         * iconvdata/utf-32.c: Likewise.
45886
45887 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
45888
45889         [BZ #13524]
45890         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45891         numerator after shifting it by one limb.
45892
45893 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
45894
45895         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45896         under [__USE_EXTERN_INLINES].
45897
45898 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45899
45900         [BZ #13446]
45901         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45902
45903 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45904
45905         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45906         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45907         optimized code.
45908         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45909         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45910         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45911         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45912         for strncasecmp/strncasecmp_l compilation.
45913         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45914         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45915
45916 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
45917
45918         [BZ #13484]
45919         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45920         of __asm__.
45921
45922 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45923
45924         [BZ #13506]
45925         * time/tzfile.c (__tzfile_read): Check values from file header.
45926
45927 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45928
45929         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45930         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45931         * powerpc/powerpc32/dl-start.S: Likewise.
45932         * powerpc/powerpc32/elf/start.S: Likewise.
45933         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45934         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45935         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45936         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45937         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45938         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45939         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45940         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45941         * powerpc/powerpc32/fpu/s_round.S: Likewise.
45942         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45943         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45944         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45945         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45946         * powerpc/powerpc32/memset.S: Likewise.
45947         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45948         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45949         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45950         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45951         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45952         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45953         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45954         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45955         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45956         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45957         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45958         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45959         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45960
45961 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45962
45963         * math/libm-test.inc: Added more nearbyint tests.
45964         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45965         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45966         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45967         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45968
45969 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
45970
45971         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45972         FD_CLOEXEC.
45973
45974 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45975
45976         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45977         Add wcscpy-ssse3 wcscpy-c.
45978         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45979         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45980         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45981         * sysdeps/x86_64/wcschr.S: New file.
45982         * sysdeps/x86_64/wcsrchr.S: New file.
45983         * string/test-strcmp.c: Remove checking of wcscmp function for
45984         wrong alignments.
45985         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45986         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45987         wcsrchr-sse2 wcsrchr-c.
45988         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45989         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45990         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45991         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45992         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45993         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45994         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45995         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45996         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45997         * wcsmbc/wcschr.c (WCSCHR): New macro.
45998
45999 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46000
46001         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46002         * wcsmbs/test-wcsrchr.c: New file.
46003         * string/test-strrchr.c: Add wcsrchr support.
46004         (WIDE): New macro.
46005         * wcsmbs/test-wcscpy.c: New file.
46006         * string/test-strcpy.c: Add wcscpy support.
46007         (WIDE): New macro.
46008
46009 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
46010
46011         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46012         the inner loop.
46013
46014 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
46015
46016         [BZ #13472]
46017         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46018
46019 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
46020
46021         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46022         Minor optimizations.
46023
46024         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46025         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46026         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46027
46028 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
46029
46030         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46031         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46032         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46033         for gcc to avoid warnings.
46034         * inet/Makefile (tests): Add tst-checks.
46035         * inet/tst-checks.c: New file.
46036
46037         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46038         warning.
46039
46040         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46041         __wmemcmp_sse2.
46042
46043         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46044         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46045
46046         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46047
46048 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
46049
46050         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46051         problem.
46052
46053         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46054
46055 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
46056
46057         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46058         conditional on GCC version.
46059         (__arch_compare_and_exchange_val_8_acq)
46060         (__arch_compare_and_exchange_val_16_acq)
46061         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46062         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46063         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46064
46065 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
46066
46067         * sysdeps/sh/backtrace.c: New file.
46068
46069 2011-12-02  Andreas Schwab  <schwab@redhat.com>
46070
46071         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
46072         parenthesis.
46073
46074 2011-12-01  Andreas Schwab  <schwab@redhat.com>
46075
46076         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46077         falling back to utime.
46078
46079 2011-11-30  Andreas Schwab  <schwab@redhat.com>
46080
46081         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46082         expectations for float.
46083
46084 2011-11-29  Andreas Schwab  <schwab@redhat.com>
46085
46086         * locale/weight.h (findidx): Add parameter len.
46087         * locale/weightwc.h (findidx): Likewise.
46088         * posix/fnmatch_loop.c (FCT): Adjust caller.
46089         * posix/regcomp.c (build_equiv_class): Likewise.
46090         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46091         * posix/regexec.c (check_node_accept_bytes): Likewise.
46092         * string/strcoll_l.c (STRCOLL): Likewise.
46093         * string/strxfrm_l.c (STRXFRM): Likewise.
46094
46095 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
46096
46097         * Makefile.in: Remove CVSOPT handling.
46098         * configure.in: Remove use of AC_REVISION.
46099         * iconvdata/Makefile (distribute): No need to filter out CVS.
46100         * scripts/list-sources.sh: Remove CVS, subversion and monotone
46101         handling.
46102
46103 2011-11-16  Andreas Schwab  <schwab@redhat.com>
46104
46105         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46106         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46107         [USE_AS_STRNCASECMP_L]: Likewise.
46108         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46109         NO_TLS_DIRECT_SEG_REFS.
46110         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46111         Fix argument offsets for non-PIC.
46112         [USE_AS_STRNCASECMP_L]: Likewise.
46113         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46114         NO_TLS_DIRECT_SEG_REFS.
46115
46116 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46117
46118         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46119         O_CLOEXEC.
46120         * locale/loadlocale.c (_nl_load_locale): Likewise.
46121
46122 2011-11-15  Andreas Schwab  <schwab@redhat.com>
46123
46124         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46125         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46126         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46127         (SYSCALL_GETTIME): Set errno on error.
46128
46129         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46130         count references to noai6ai_cached.
46131
46132 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46133
46134         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46135
46136         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46137         FD_CLOEXEC for /proc/self/maps.
46138
46139         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46140         FD_CLOEXEC for /proc/meminfo.
46141
46142         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46143         gai.conf.
46144
46145         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
46146         FD_CLOEXEC for given file.
46147
46148         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46149
46150         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46151         FD_CLOEXEC for /etc/hosts.
46152         (_gethtent): Likewise.
46153
46154         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46155
46156         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46157         cancellation and set FD_CLOEXEC for /etc/netgroup.
46158
46159         * nss/nss_files/files-key.c (search): Don't allow cancellation when
46160         reading /etc/publickey.
46161
46162         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46163         allow cancellation when reading /etc/group.
46164
46165         * nss/nss_files/files-alias.c (internal_setent): Don't allow
46166         cancellation.
46167         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
46168
46169         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46170         when using data file.
46171
46172         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46173
46174         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46175         (write_nis_obj): Use "c" and "e" in fopen.
46176
46177         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46178
46179         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46180
46181         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46182
46183         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46184
46185         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46186         locale.alias.
46187
46188         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46189
46190         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46191
46192         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46193
46194         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46195         file parsing and set FD_CLOEXEC.
46196
46197 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46198
46199         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46200
46201 2011-11-14  Andreas Schwab  <schwab@redhat.com>
46202
46203         * malloc/arena.c (arena_get2): Don't call reused_arena when
46204         _int_new_arena failed.
46205
46206 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46207
46208         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46209         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46210         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46211         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46212         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46213         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46214         to compile strcasecmp and strncasecmp.
46215         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46216         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46217
46218         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46219
46220 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
46221
46222         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46223         locale-defines.sym to gen-as-const-headers.
46224         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46225         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46226         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46227         to compile strcasecmp and strncasecmp.
46228         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46229         strcasecmp_l and strncasecmp_l.
46230         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46231         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46232         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46233         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46234         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46235         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46236         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46237         * sysdeps/i386/i686/multiarch/strncase.S: New file.
46238         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46239         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46240         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46241
46242 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
46243
46244         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46245         result of SYSDEP_GETTIME_CPU to retval.
46246         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46247         parameter list to macro.  Remove trailing semicolon.  Adjust users.
46248
46249         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46250         variable.
46251
46252         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46253         mantissa words.
46254         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46255
46256         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46257         from unused variable.
46258
46259         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46260         DWARF definitions.
46261         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46262         for assembling.
46263
46264         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46265         over namespaces.
46266
46267         * sunrpc/rpc_prot.c (rejected): Fix case value.
46268
46269         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46270         unsigned long long int to avoid warnings in shift.
46271
46272         * posix/regex_internal.c (re_string_reconstruct): Actually use result
46273         of use of trans.
46274         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46275         variable tmp.
46276
46277         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46278         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46279         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46280
46281         * nis/nis_table.c (nis_list): Use variable of correct type for
46282         result of __follow_path call.
46283
46284 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46285
46286         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46287         of math functions ceil, trunc, floor, round, and sqrt, when
46288         avaliable on the platform.
46289         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46290         name clash.
46291         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46292         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46293         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46294
46295 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
46296
46297         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46298         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46299
46300 2011-11-11  Roland McGrath  <roland@hack.frob.com>
46301
46302         * include/unistd.h: Fix __readlink return type.
46303         Reported by Chris Metcalf <cmetcalf@tilera.com>.
46304
46305 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
46306
46307         * stdlib/ucontext.h: Undo last change for makecontext.
46308
46309 2011-11-11  Andreas Schwab  <schwab@redhat.com>
46310
46311         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46312
46313         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46314         * setjmp/setjmp.h: Mark functions as non-leaf.
46315         * setjmp/bits/setjmp2.h: Likewise.
46316         * stdlib/ucontext.h: Likewise.
46317
46318 2011-11-10  Andreas Schwab  <schwab@redhat.com>
46319
46320         * malloc/arena.c (_int_new_arena): Don't increment narenas.
46321         (reused_arena): Don't check arena limit.
46322         (arena_get2): Atomically check arena limit.
46323
46324 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
46325
46326         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46327         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46328
46329         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46330         instructions.
46331
46332 2011-11-07  Andreas Schwab  <schwab@redhat.com>
46333
46334         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46335         handler when locking.
46336
46337         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46338         Fix size of allocated buffer.
46339
46340 2011-11-04  Andreas Schwab  <schwab@redhat.com>
46341
46342         [BZ #10103]
46343         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46344         declarations for long double functions.
46345         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46346
46347         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46348
46349 2011-11-03  Andreas Schwab  <schwab@redhat.com>
46350
46351         * nscd/nscd.c (main): Don't start AVC thread until credentials are
46352         installed.
46353
46354         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46355         is disabled.
46356
46357 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46358
46359         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46360
46361 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46362
46363         * include/alloca.h (stackinfo_alloca_round): Define.
46364         (extend_alloca): Use it.
46365         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46366         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46367         here.
46368
46369         * scripts/check-local-headers.sh: Ignore libaudit.h.
46370
46371         * nscd/Makefile (extra-objs): Make recursively expanded.
46372
46373 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
46374
46375         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46376         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46377
46378         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46379         * posix/tst-rfc3484-2.c: Likewise.
46380         * posix/tst-rfc3484-3.c: Likewise.
46381
46382         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46383         process_vm_writev.
46384         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46385         process_vm_writev.
46386         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46387         process_vm_writev from libc using GLIBC_2.15 version.
46388
46389         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46390
46391 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
46392
46393         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46394         stack usage.
46395
46396 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
46397
46398         [BZ #13367]
46399         * nss/getent.c (initgroups_keys): Show error message in case no group
46400         names are given.
46401
46402         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46403         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46404         __bump_nl_timestamp.
46405         * nscd/connections (nscd_init): When host database is served open
46406         netlink socket and request notification about configuration changes.
46407         (main_loop_poll): Track netlink file descriptor and bump timestamp
46408         in case data becomes available.
46409         (main_loop_epoll): Likewise.
46410         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46411         (database_pers_head): Add extra_data fileds.
46412         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46413         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46414         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46415         Adjust caller.
46416         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46417         in6ai data, call __free_in6ai.
46418         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46419         Add -DHAVE_NETLINK.
46420         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
46421         interface information.  Reuse previous data if netlink timestamp
46422         is not changed.
46423         (__bump_nl_timestamp): New function.
46424         (__free_in6ai): New function.
46425
46426 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
46427
46428         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46429         close_not_cancel_no_status here.
46430         (__check_pf): Reorganize code a bit to not call close twice if OOM.
46431
46432 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46433
46434         [BZ #13276]
46435         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46436         return value.
46437
46438         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46439         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46440         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46441
46442 2011-07-03  Andreas Jaeger  <aj@suse.de>
46443
46444         [BZ #10709]
46445         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46446         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46447         * math/libm-test.inc (sin_test): Add test case.
46448
46449 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46450
46451         [BZ #13337]
46452         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46453         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46454
46455         * elf/chroot_canon.c (chroot_canon): Cleanups.
46456
46457         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46458
46459         [BZ #13335]
46460         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46461         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46462
46463         * string/test-strchr.c: Make usable for strchrnul testing.
46464         * string/test-strchrnul.c: New file.
46465         * string/Makefile (strop-tests): Add strchrnul.
46466
46467         * po/it.po: Update from translation team.
46468         * po/es.po: Likewise.
46469
46470 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
46471
46472         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46473         the three constants needed as parameters.  Drop the others.
46474         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46475         __m128i_strloadu_tolower.
46476         Create and initialize variable zero and use it in all the places
46477         where _mm_setzero_si128 was used.
46478
46479         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46480         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46481         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46482         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46483         anymore.
46484         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46485         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46486         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46487         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46488         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46489         __mpranred, __mptan.
46490         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46491         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46492         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46493         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46494         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46495         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46496         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46497         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46498         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46499
46500 2011-10-28  Andreas Schwab  <schwab@redhat.com>
46501
46502         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46503         redefine if SHARED.
46504         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46505
46506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46507         wide char related routines to wcsmbs subdir.
46508
46509 2011-10-27  Andreas Schwab  <schwab@redhat.com>
46510
46511         [BZ #13344]
46512         * misc/sys/cdefs.h (__THROWNL): Define.
46513         * posix/unistd.h: Use __THREADNL instead of __THREAD
46514         for memory synchronization functions.
46515
46516 2011-10-26  Roland McGrath  <roland@hack.frob.com>
46517
46518         [BZ #13349]
46519         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46520         doesn't exist.
46521         * manual/stdio.texi (Obstack Streams): Node removed.
46522
46523 2011-10-26  Andreas Schwab  <schwab@redhat.com>
46524
46525         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46526         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46527         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46528
46529         * math/math_private.h (math_force_eval): Allow non-addressable
46530         arguments.
46531         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46532
46533 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46534
46535         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46536         file is not needed.
46537
46538         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46539         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46540         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46541         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46542         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46543         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46544         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46545         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46546         Add AVX variants.
46547         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46548         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46549         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46550         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46551         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46552         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46553         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46554         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46555         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46556         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46557         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46558         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46559         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46560         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46561         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46562         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46563         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46564         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46565         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46566
46567         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46568         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
46569
46570         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46571         place.  Use VEX encoding when compiling for AVX.
46572
46573 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46574
46575         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46576         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46577
46578         * string/test-strchr.c (do_test): Don't generate NUL bytes.
46579
46580 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46581
46582         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46583         useless if() expression.
46584         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46585         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46586         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46587         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46588         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46589         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46590         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46591         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46592         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46593         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46594         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46595         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46596         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46597         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46598         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46599         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46600         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46601         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46602         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46603
46604         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46605
46606 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46607
46608         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46609         condition.
46610         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46611
46612 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46613
46614         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46615         .text section.  Avoid duplicate constants.
46616         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46617         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46618         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46619         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46620         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46623         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46624         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46625         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46626         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46627         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46628         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46629         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46630         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46631         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46632         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46633         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46634         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46635         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46636         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46637         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46638         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46639         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46640         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46641         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46642         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46643         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46644         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46645         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46646         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46647         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46648         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46649         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46650         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46651         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46652         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46653         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46654         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46655         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46656         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46657         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46658         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46659         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46660         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46661
46662 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46663
46664         * sysdeps/x86_64/dla.h: Move to ...
46665         * sysdeps/x86_64/fpu/dla.h: ...here.
46666         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46667         situations.  Use __builtin_fma only for gcc 4.6 and up.
46668
46669         * config.make.in: Add have-mfma4 entry.
46670         * configure.in: Substitute libc_cv_cc_fma4.
46671         * math/Makefile (dbl-only-routines): Add sincostab.
46672         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46673         Use __sincostab not sincos.
46674         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46675         name is a macro.
46676         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46677         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46678         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46680         using __copysign.
46681         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46682         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46683         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46684         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46685         and __inv.
46686         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46687         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46688         __copysign.
46689         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46690         define aliases when function name is a macro.
46691         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46692         sysdeps/ieee754/dbl-64/sincos.tbl.
46693         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46694         fma4-enabled routines.
46695         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46696         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46697         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46698         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46699         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46700         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46701         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46702         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46703         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46704         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46705         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46706         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46707         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46708         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46709         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46710         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46711         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46712         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46713         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46714         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46715         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46716         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46717         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46718         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46719         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46720         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46721         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46722         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46723         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46724         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46725
46726         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46727         rename.
46728         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46729         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46730         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46732         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46733         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46735         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46736
46737 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46738
46739         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46740
46741 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46742
46743         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46744
46745         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46746         prediction.
46747         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46748
46749         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46750         Remove unused variable magic_bits.
46751         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46752
46753         * string/strnlen.c: Define and use STRNLEN macro.
46754         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46755         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46757         * wcsmbs/wcslen.c: Define and use WCSLEN.
46758         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46759         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46760         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46761         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46762         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46763         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46764         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46765
46766 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46767
46768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46769         strnlen-sse2-no-bsf.
46770         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46771         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46772         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46773         Add strnlen support.
46774         (USE_AS_STRNLEN): New macro.
46775         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46776         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46777         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46778         * sysdeps/x86_64/wcslen.S: New file.
46779
46780 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46781
46782         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46783         XMM-moves are used for copying on small sizes.
46784
46785 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46786
46787         * wcsmbs/Makefile (strop-tests): Add wcschr.
46788         * wcsmbs/test-wcschr.c: New file.
46789         * string/test-strchr.c: Update.
46790         Add wcschr support.
46791         (WIDE): New macro.
46792
46793 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46794
46795         * wcsmbs/Makefile (strop-tests): Add wcslen.
46796         * wcsmbs/test-wcslen.c: New file.
46797         * string/test-strlen.c: Update.
46798         Add wcslen support.
46799         (WIDE): New macro.
46800
46801 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46802
46803         * po/it.po: Update from translation team.
46804
46805 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46806
46807         * sysdeps/x86_64/wcscmp.S: Update.
46808         Fix wrong comparison semantics.
46809         wcscmp shall use signed comparison not unsigned.
46810         Don't use substraction to avoid overflow bug.
46811         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46812         * wcsmbc/wcscmp.c: Likewise.
46813         * string/test-strcmp.c: Likewise.
46814         Add new tests to check cases with negative values.
46815
46816 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46817
46818         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46819         * sysdeps/x86_64/dla.h: ...here.  New file.
46820         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46821         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46822         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46823         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46824         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46825         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46826         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46827         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46828         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46829
46830 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
46831
46832         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46833         __ynl_finite aliases.
46834
46835 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46836
46837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46838
46839         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46840         define DLA_FMA.
46841         [DLA_FMA] (EMULV): Use DLA_FMA.
46842         [DLA_FMA] (MUL12): Use EMULV.
46843         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46844         that are not needed.
46845         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46846         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46847         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46848         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46849         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46850         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46851         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46852
46853 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
46854
46855         * math/s_nan.c: Undef __nan.
46856         * math/s_nanf.c: Undef __nanf.
46857         * math/s_nanl.c: Undef __nanl.
46858         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46859         "math_private.h".
46860
46861 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46862
46863         * math/s_catan.c: Add branch predictions.
46864         * math/s_catanf.c: Likewise.
46865         * math/s_catanh.c: Likewise.
46866         * math/s_catanhf.c: Likewise.
46867         * math/s_catanhl.c: Likewise.
46868         * math/s_catanl.c: Likewise.
46869         * math/s_cexp.c: Likewise.
46870         * math/s_cexpf.c: Likewise.
46871         * math/s_cexpl.c: Likewise.
46872         * math/s_clog.c: Likewise.
46873         * math/s_clog10.c: Likewise.
46874         * math/s_clog10f.c: Likewise.
46875         * math/s_clog10l.c: Likewise.
46876         * math/s_clogf.c: Likewise.
46877         * math/s_clogl.c: Likewise.
46878         * math/s_csqrt.c: Likewise.
46879         * math/s_csqrtf.c: Likewise.
46880         * math/s_csqrtl.c: Likewise.
46881         * math/s_ctanf.c: Likewise.
46882         * math/s_ctanh.c: Likewise.
46883         * math/s_ctanhf.c: Likewise.
46884         * math/s_ctanhl.c: Likewise.
46885         * math/s_ctanl.c: Likewise.
46886
46887         * math/math_private.h: Define __nan, __nanf, __nanl.
46888         * math/s_cacosh.c: Include <math_private.h>.
46889         * math/s_cacoshl.c: Likewise.
46890         * math/s_casinh.c: Likewise.
46891         * math/s_casinhf.c: Likewise.
46892         * math/s_casinhl.c: Likewise.
46893         * math/s_ccos.c: Rely entire on ccosh.
46894         * math/s_ccosf.c: Rely entire on ccoshf.
46895         * math/s_ccosl.c: Rely entirely on ccoshl.
46896         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
46897         Remove tests for FE_INVALID.
46898         * math/s_ccoshf.c: Likewise.
46899         * math/s_ccoshl.c: Likewise.
46900         * math/s_csin.c: Likewise.
46901         * math/s_csinf.c: Likewise.
46902         * math/s_csinh.c Likewise.
46903         * math/s_csinhf.c: Likewise.
46904         * math/s_csinhl.c: Likewise.
46905         * math/s_csinl.c: Likewise.
46906         * math/s_ctan.c: Likewise.
46907         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46908         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46909         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46910
46911 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
46912
46913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46914         compilation problems.
46915
46916         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46917         __builtin_expect.
46918
46919 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
46920
46921         * sysdeps/i386/configure.in: Test for -mfma4 option.
46922         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46923         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46924         COMMON_CPUID_INDEX_80000001.
46925         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46926         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46927         use it if FMA3 is not supported.
46928         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46929
46930         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46931         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46932
46933 2011-10-20  Andreas Schwab  <schwab@redhat.com>
46934
46935         [BZ #12892]
46936         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46937         it would create a cycle with a link time dependency.
46938
46939 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
46940
46941         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46942         instruction.
46943         * string/Makefile (strop-tests): Add rawmemchr.
46944         * string/test-rawmemchr.c: New file.
46945
46946         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46947         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
46948         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
46949         when compiling str{,n}casecmp and when AVX is available.  Hook up
46950         new optimized code in initializers.
46951
46952 2011-10-19  Andreas Schwab  <schwab@redhat.com>
46953
46954         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46955         __feraiseexcept instead of feraiseexcept.
46956
46957 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
46958
46959         * math/math_private.h: Define defaults for libc_fetestexcept and
46960         libc_feupdateenv.
46961         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46962         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46963         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46964         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46965         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46966         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46967         libc_fetestexcept and libc_feupdateenv.
46968
46969         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46970         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46971         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46972         * sysdeps/x86_64/fpu/math_private.h: Define special version of
46973         libc_feholdexcept_setround.
46974
46975         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46976         Add s_nearbyint-c and s_nearbyintf-c.
46977         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46978         nearbyintf inlines.
46979         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46980         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46981         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46982         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46983
46984         * math/math_private.h: Define defaults for libc_fegetround,
46985         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46986         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46987         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46988         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46989         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46990         standard functions.
46991         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46992         Remove comments and hacks for old compiler versions.
46993         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46994         libc_fegetround, libc_fesetround, libc_feholdexcept, and
46995         libc_feholdexceptl.
46996
46997 2011-10-18  Andreas Schwab  <schwab@redhat.com>
46998
46999         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47000         (__feraiseexcept_renamed): Add __NTH.
47001         (feraiseexcept): Add __NTH.  Rename local variables to fix
47002         namespace violations.
47003
47004 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
47005
47006         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47007
47008         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47009
47010         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47011         recently added interfaces.
47012         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47013
47014         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47015         about macro parameter expansion.
47016
47017         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47018         __NO_MATH_INLINES is defined.  Cleanups.
47019
47020         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47021         and __floorf is target has SSE4.1.
47022         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47023         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47024         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47025         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47026
47027         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47028         name.
47029         (floorf): Likewise.
47030
47031         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47032
47033 2011-10-17  Andreas Schwab  <schwab@redhat.com>
47034
47035         * misc/sys/cdefs.h: Fix last change.
47036
47037         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47038         database lookup.
47039
47040 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
47041
47042         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47043
47044         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47045         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47046         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47047         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47048         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47049         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47050         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47051         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47052         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47053         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47054         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47055         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47056         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47057         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47058         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47059         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47060         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47061         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47062         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47063         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47064         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47065         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47066
47067         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47068         ceil, ceilf, floor, floorf.
47069
47070         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47071         Perform IRELATIVE relocations last.
47072
47073         * elf/do-rel.h: Add another parameter nrelative, replacing the
47074         local variable with the same name.  Change name of the function
47075         to end in Rel or Rela (uppercase).
47076         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47077         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
47078         elf_dynamic_do_##reloc function.
47079
47080 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47081
47082         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47083         is sufficient, at least on modern CPUs.
47084
47085         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47086
47087         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47088         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47089
47090         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47091         __expl_finite.
47092         * math/bits/math-finite.h: Add entries for exp.
47093         * math/e_expl.c: Add __*_finite alias.
47094         * sysdeps/i386/fpu/e_exp.S: Likewise.
47095         * sysdeps/i386/fpu/e_expf.S: Likewise.
47096         * sysdeps/i386/fpu/e_expl.c: Likewise.
47097         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47098         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47099         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47100         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47101         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47102         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47103         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47104
47105         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47106         is sufficient, at least on modern CPUs.
47107
47108         * ctype/ctype-info.c (__ctype_init): Define.
47109         * include/ctype.h (__ctype_init): Declare.
47110         (__ctype_b_loc): The variable is always initialized.
47111         (__ctype_toupper_loc): Likewise.
47112         (__ctype_tolower_loc): Likewise.
47113         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47114         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47115
47116 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
47117
47118         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47119
47120         * configure.in: Also look in $cxxmachine/include for C++ system
47121         headers.
47122
47123 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47124
47125         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47126         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47127         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47128         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
47129         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47130         (USE_AS_WMEMCMP): New macro.
47131         Fixing indents.
47132         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47133         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47134         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47135         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47137         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47138         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47139         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47140         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47141         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47142         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47143         (USE_AS_WMEMCMP): New macro.
47144         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47145         * sysdeps/string/test-memcmp.c: Update.
47146         Fix simple_wmemcmp.
47147         Add new tests.
47148         * wcsmbs/wmemcmp.c: Update.
47149         (WMEMCMP): New macro.
47150         Fix overflow bug.
47151
47152 2011-10-12  Andreas Jaeger  <aj@suse.de>
47153
47154         [BZ #13268]
47155         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47156
47157 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47158
47159         * libio/iofwide.c (do_length): Avoid warning.
47160
47161         * ctype/ctype.h (__isctype_f): Add missing __THROW.
47162
47163 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
47164
47165         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47166
47167         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47168         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47169         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47170         * sysdeps/i386/i686/fpu/e_log.S: New file.
47171         * sysdeps/i386/i686/fpu/e_logf.S: New file.
47172         * sysdeps/i386/i686/fpu/e_logl.S: New file.
47173
47174         * ctype/ctype.h: Add support for inlined isXXX functions when
47175         compiling C++ code.
47176
47177 2011-10-14  Andreas Schwab  <schwab@redhat.com>
47178
47179         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47180
47181         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47182
47183 2011-10-13  Roland McGrath  <roland@hack.frob.com>
47184
47185         [BZ #13291]
47186         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47187
47188 2011-10-13  Andreas Schwab  <schwab@redhat.com>
47189
47190         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47191         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47192         feraiseexcept.
47193
47194         * sysdeps/x86_64/memrchr.S: Check for zero size.
47195
47196         * string/stratcliff.c: Add memrchr tests.
47197
47198 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47199
47200         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47201         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47202         rawmemchr-sse2 rawmemchr-sse2-bsf.
47203         * sysdeps/i386/i686/multiarch/memchr.S: New file.
47204         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47205         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47206         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47207         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47208         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47209         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47210         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47211         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47212         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47213         * string/memrchr.c (MEMRCHR): New macro.
47214
47215 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
47216
47217         Add integration with gcc's -ffinite-math-only and optimize wrapper
47218         functions in libm.
47219         * Versions.def: Define GLIBC_2.15 version for libm.
47220         * math/Makefile (headers): Add bits/math-finite.h.
47221         * math/bits/math-finite.h: New file.
47222         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47223         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47224         * math/e_acoshl.c: Add __*_finite alias.
47225         * math/e_acosl.c: Likewise.
47226         * math/e_asinl.c: Likewise.
47227         * math/e_atan2l.c: Likewise.
47228         * math/e_atanhl.c: Likewise.
47229         * math/e_coshl.c: Likewise.
47230         * math/e_exp10.c: Likewise.
47231         * math/e_exp10f.c: Likewise.
47232         * math/e_exp10l.c: Likewise.
47233         * math/e_exp2l.c: Likewise.
47234         * math/e_fmodl.c: Likewise.
47235         * math/e_gammal_r.c: Likewise.
47236         * math/e_hypotl.c: Likewise.
47237         * math/e_j0l.c: Likewise.
47238         * math/e_j1l.c: Likewise.
47239         * math/e_jnl.c: Likewise.
47240         * math/e_lgammal_r.c: Likewise.
47241         * math/e_log10l.c: Likewise.
47242         * math/e_log2l.c: Likewise.
47243         * math/e_logl.c: Likewise.
47244         * math/e_powl.c: Likewise.
47245         * math/e_sinhl.c: Likewise.
47246         * math/e_sqrtl.c: Likewise.
47247         * math/e_scalb.c: Completely rewritten and optimized.
47248         * math/e_scalbf.c: Likewise.
47249         * math/e_scalbl.c: Likewise.
47250         * math/w_acos.c: Likewise.
47251         * math/w_acosf.c: Likewise.
47252         * math/w_acosl.c: Likewise.
47253         * math/w_acosh.c: Likewise.
47254         * math/w_acoshf.c: Likewise.
47255         * math/w_acoshl.c: Likewise.
47256         * math/w_asin.c: Likewise.
47257         * math/w_asinf.c: Likewise.
47258         * math/w_asinl.c: Likewise.
47259         * math/w_atan2.c: Likewise.
47260         * math/w_atan2f.c: Likewise.
47261         * math/w_atan2l.c: Likewise.
47262         * math/w_atanh.c: Likewise.
47263         * math/w_atanhf.c: Likewise.
47264         * math/w_atanhl.c: Likewise.
47265         * math/w_exp10.c: Likewise.
47266         * math/w_exp10f.c: Likewise.
47267         * math/w_exp10l.c: Likewise.
47268         * math/w_fmod.c: Likewise.
47269         * math/w_fmodf.c: Likewise.
47270         * math/w_fmodl.c: Likewise.
47271         * math/w_j0.c: Likewise.
47272         * math/w_j0f.c: Likewise.
47273         * math/w_j0l.c: Likewise.
47274         * math/w_j1.c: Likewise.
47275         * math/w_j1f.c: Likewise.
47276         * math/w_j1l.c: Likewise.
47277         * math/w_jn.c: Likewise.
47278         * math/w_jnf.c: Likewise.
47279         * math/w_log.c: Likewise.
47280         * math/w_logf.c: Likewise.
47281         * math/w_logl.c: Likewise.
47282         * math/w_log10.c: Likewise.
47283         * math/w_log10f.c: Likewise.
47284         * math/w_log10l.c: Likewise.
47285         * math/w_log2.c: Likewise.
47286         * math/w_log2f.c: Likewise.
47287         * math/w_log2l.c: Likewise.
47288         * math/w_pow.c: Likewise.
47289         * math/w_powf.c: Likewise.
47290         * math/w_powl.c: Likewise.
47291         * math/w_remainder.c: Likewise.
47292         * math/w_remainderf.c: Likewise.
47293         * math/w_remainderl.c: Likewise.
47294         * math/w_scalb.c: Likewise.
47295         * math/w_scalbf.c: Likewise.
47296         * math/w_scalbl.c: Likewise.
47297         * math/w_sqrt.c: Likewise.
47298         * math/w_sqrtf.c: Likewise.
47299         * math/w_sqrtl.c: Likewise.
47300         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47301         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
47302         used.
47303         * math/math_private.h: Declare __kernel_standard_f.
47304         * math/w_cosh.c: Remove cruft and optimize a bit.
47305         * math/w_coshf.c: Likewise.
47306         * math/w_coshl.c: Likewise.
47307         * math/w_exp2.c: Likewise.
47308         * math/w_exp2f.c: Likewise.
47309         * math/w_exp2l.c: Likewise.
47310         * math/w_hypot.c: Likewise.
47311         * math/w_hypotf.c: Likewise.
47312         * math/w_hypotl.c: Likewise.
47313         * math/w_lgamma.c: Likewise.
47314         * math/w_lgamma_r.c: Likewise.
47315         * math/w_lgammaf.c: Likewise.
47316         * math/w_lgammaf_r.c: Likewise.
47317         * math/w_lgammal.c: Likewise.
47318         * math/w_lgammal_r.c: Likewise.
47319         * math/w_sinh.c: Likewise.
47320         * math/w_sinhf.c: Likewise.
47321         * math/w_sinhl.c: Likewise.
47322         * math/w_tgamma.c: Likewise.
47323         * math/w_tgammaf.c: Likewise.
47324         * math/w_tgammal.c: Likewise.
47325         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47326         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47327         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47328         Minor optimizations.  Pretty printing.  Remove cruft.
47329         * sysdeps/i386/fpu/e_acosf.S: Likewise.
47330         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47331         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47332         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47333         * sysdeps/i386/fpu/e_acosl.c: Likewise.
47334         * sysdeps/i386/fpu/e_asin.S: Likewise.
47335         * sysdeps/i386/fpu/e_asinf.S: Likewise.
47336         * sysdeps/i386/fpu/e_atan2.S: Likewise.
47337         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47338         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47339         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47340         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47341         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47342         * sysdeps/i386/fpu/e_exp10.S: Likewise.
47343         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47344         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47345         * sysdeps/i386/fpu/e_exp2.S: Likewise.
47346         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47347         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47348         * sysdeps/i386/fpu/e_fmod.S: Likewise.
47349         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47350         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47351         * sysdeps/i386/fpu/e_hypot.S: Likewise.
47352         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47353         * sysdeps/i386/fpu/e_log.S: Likewise.
47354         * sysdeps/i386/fpu/e_log10.S: Likewise.
47355         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47356         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47357         * sysdeps/i386/fpu/e_log2.S: Likewise.
47358         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47359         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47360         * sysdeps/i386/fpu/e_logf.S: Likewise.
47361         * sysdeps/i386/fpu/e_logl.S: Likewise.
47362         * sysdeps/i386/fpu/e_pow.S: Likewise.
47363         * sysdeps/i386/fpu/e_powf.S: Likewise.
47364         * sysdeps/i386/fpu/e_powl.S: Likewise.
47365         * sysdeps/i386/fpu/e_remainder.S: Likewise.
47366         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47367         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47368         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47369         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47370         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47371         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47372         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47373         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47374         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47375         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47376         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47377         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47378         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47379         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47380         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47381         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47382         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47383         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47384         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47385         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47387         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47388         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47390         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47391         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47392         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47393         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47394         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47395         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47396         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47397         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47398         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47399         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47400         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47401         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47402         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47403         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47404         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47405         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47406         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47407         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47408         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47409         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47410         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47411         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47412         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47413         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47414         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47415         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47416         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47417         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47418         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47419         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47420         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47421         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47422         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47423         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47424         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47425         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47426         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47427         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47428         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47429         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47430         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47431         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47432         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47433         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47434         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47435         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47436         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47437         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47438         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47439         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47440         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47441         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47442         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47443         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47444         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47445         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47446         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47447         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47448         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47449         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47450         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47451         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47452         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47453         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47454         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47455         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47456         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47457         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47458         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47459         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47460         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47461         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47462         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47463         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47464         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47465         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47466         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47467         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47468         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47469         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47470         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47471         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47472         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47473         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47474         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47475         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47476         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47477         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47478         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47479         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47480         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47481         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47482         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47483         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47484         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
47485         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47486         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47487         (__isnanf): Likewise.
47488         (__isinf_ns): Likewise.
47489         (__isinf_nsf): Likewise.
47490         (__finite): Likewise.
47491         (__finitef): Likewise.
47492         (__ieee754_sqrt): Define as macro.
47493         (__ieee754_sqrtf): Define as macro.
47494         (__ieee754_sqrtl): Define as macro.
47495         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47496         inlined copy.
47497         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47498         __FINITE_MATH_ONLY__ consistent.
47499         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47500
47501 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
47502
47503         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47504         of rawmemchr.
47505
47506         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47507
47508 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
47509
47510         * po/ja.po: Update from translation team.
47511
47512 2011-10-08  Roland McGrath  <roland@hack.frob.com>
47513
47514         * locale/programs/locarchive.c (prepare_address_space): New function.
47515         (create_archive, enlarge_archive, open_archive): Use it.
47516
47517         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47518         inside [SHARED], where it is used.
47519
47520         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47521
47522         * nss/getent.c (netgroup_keys): Remove unused variable.
47523         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47524
47525 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
47526
47527         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47528         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47529         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47530         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47531         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47532         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47533         * math/Makefile (libm-calls): Add s_isinf_ns.
47534         * math/divtc3.c: Use __isinf_nsl instead of isinf.
47535         * math/multc3.c: Likewise.
47536         * math/s_casin.c: Likewise.
47537         * math/s_casinf.c: Likewise.
47538         * math/s_casinl.c: Likewise.
47539         * math/s_ccos.c: Likewise.
47540         * math/s_ccosf.c: Likewise.
47541         * math/s_ccosl.c: Likewise.
47542         * math/s_ctan.c: Likewise.
47543         * math/s_ctanf.c: Likewise.
47544         * math/s_ctanh.c: Likewise.
47545         * math/s_ctanhf.c: Likewise.
47546         * math/s_ctanhl.c: Likewise.
47547         * math/s_ctanl.c: Likewise.
47548         * math/w_fmod.c: Likewise.
47549         * math/w_fmodf.c: Likewise.
47550         * math/w_fmodl.c: Likewise.
47551         * math/w_remainder.c: Likewise.
47552         * math/w_remainderf.c: Likewise.
47553         * math/w_remainderl.c: Likewise.
47554         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47555         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47556         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47557         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47558         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47559         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47560         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47561         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47562
47563         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47564         of the number.
47565         * stdio-common/printf_fphex.c: Likewise.
47566         * stdio-common/printf_size.c: Likewise.
47567
47568         * math/e_exp10.c: Include math_private.h using <...> not "...".
47569         * math/e_exp10f.c: Likewise.
47570         * math/e_exp10l.c: Likewise.
47571         * math/e_exp2l.c: Likewise.
47572         * math/e_j0l.c: Likewise.
47573         * math/e_j1l.c: Likewise.
47574         * math/e_jnl.c: Likewise.
47575         * math/e_lgammal_r.c: Likewise.
47576         * math/e_rem_pio2l.c: Likewise.
47577         * math/e_scalb.c: Likewise.
47578         * math/e_scalbf.c: Likewise.
47579         * math/e_scalbl.c: Likewise.
47580         * math/k_cosl.c: Likewise.
47581         * math/k_sinl.c: Likewise.
47582         * math/k_tanl.c: Likewise.
47583         * math/s_cacoshf.c: Likewise.
47584         * math/s_catan.c: Likewise.
47585         * math/s_catanf.c: Likewise.
47586         * math/s_catanh.c: Likewise.
47587         * math/s_catanhf.c: Likewise.
47588         * math/s_catanhl.c: Likewise.
47589         * math/s_catanl.c: Likewise.
47590         * math/s_ccosh.c: Likewise.
47591         * math/s_ccoshf.c: Likewise.
47592         * math/s_ccoshl.c: Likewise.
47593         * math/s_cexp.c: Likewise.
47594         * math/s_cexpf.c: Likewise.
47595         * math/s_cexpl.c: Likewise.
47596         * math/s_clog.c: Likewise.
47597         * math/s_clog10.c: Likewise.
47598         * math/s_clog10f.c: Likewise.
47599         * math/s_clog10l.c: Likewise.
47600         * math/s_clogf.c: Likewise.
47601         * math/s_clogl.c: Likewise.
47602         * math/s_csin.c: Likewise.
47603         * math/s_csinf.c: Likewise.
47604         * math/s_csinh.c: Likewise.
47605         * math/s_csinhf.c: Likewise.
47606         * math/s_csinhl.c: Likewise.
47607         * math/s_csinl.c: Likewise.
47608         * math/s_csqrt.c: Likewise.
47609         * math/s_csqrtf.c: Likewise.
47610         * math/s_csqrtl.c: Likewise.
47611         * math/s_ctan.c: Likewise.
47612         * math/s_ctanf.c: Likewise.
47613         * math/s_ctanh.c: Likewise.
47614         * math/s_ctanhf.c: Likewise.
47615         * math/s_ctanhl.c: Likewise.
47616         * math/s_ctanl.c: Likewise.
47617         * math/s_ldexp.c: Likewise.
47618         * math/s_ldexpf.c: Likewise.
47619         * math/s_ldexpl.c: Likewise.
47620         * math/s_significand.c: Likewise.
47621         * math/s_significandf.c: Likewise.
47622         * math/s_significandl.c: Likewise.
47623         * math/w_acos.c: Likewise.
47624         * math/w_acosf.c: Likewise.
47625         * math/w_acosh.c: Likewise.
47626         * math/w_acoshf.c: Likewise.
47627         * math/w_acoshl.c: Likewise.
47628         * math/w_acosl.c: Likewise.
47629         * math/w_asin.c: Likewise.
47630         * math/w_asinf.c: Likewise.
47631         * math/w_asinl.c: Likewise.
47632         * math/w_atan2.c: Likewise.
47633         * math/w_atan2f.c: Likewise.
47634         * math/w_atan2l.c: Likewise.
47635         * math/w_atanh.c: Likewise.
47636         * math/w_atanhf.c: Likewise.
47637         * math/w_atanhl.c: Likewise.
47638         * math/w_cosh.c: Likewise.
47639         * math/w_coshf.c: Likewise.
47640         * math/w_coshl.c: Likewise.
47641         * math/w_dremf.c: Likewise.
47642         * math/w_exp10.c: Likewise.
47643         * math/w_exp10f.c: Likewise.
47644         * math/w_exp10l.c: Likewise.
47645         * math/w_exp2.c: Likewise.
47646         * math/w_exp2f.c: Likewise.
47647         * math/w_fmod.c: Likewise.
47648         * math/w_fmodf.c: Likewise.
47649         * math/w_fmodl.c: Likewise.
47650         * math/w_hypot.c: Likewise.
47651         * math/w_hypotf.c: Likewise.
47652         * math/w_hypotl.c: Likewise.
47653         * math/w_j0.c: Likewise.
47654         * math/w_j0f.c: Likewise.
47655         * math/w_j0l.c: Likewise.
47656         * math/w_j1.c: Likewise.
47657         * math/w_j1f.c: Likewise.
47658         * math/w_j1l.c: Likewise.
47659         * math/w_jn.c: Likewise.
47660         * math/w_jnf.c: Likewise.
47661         * math/w_jnl.c: Likewise.
47662         * math/w_lgamma.c: Likewise.
47663         * math/w_lgamma_r.c: Likewise.
47664         * math/w_lgammaf.c: Likewise.
47665         * math/w_lgammaf_r.c: Likewise.
47666         * math/w_lgammal.c: Likewise.
47667         * math/w_lgammal_r.c: Likewise.
47668         * math/w_log.c: Likewise.
47669         * math/w_log10.c: Likewise.
47670         * math/w_log10f.c: Likewise.
47671         * math/w_log10l.c: Likewise.
47672         * math/w_log2.c: Likewise.
47673         * math/w_log2f.c: Likewise.
47674         * math/w_log2l.c: Likewise.
47675         * math/w_logf.c: Likewise.
47676         * math/w_logl.c: Likewise.
47677         * math/w_pow.c: Likewise.
47678         * math/w_powf.c: Likewise.
47679         * math/w_powl.c: Likewise.
47680         * math/w_remainder.c: Likewise.
47681         * math/w_remainderf.c: Likewise.
47682         * math/w_remainderl.c: Likewise.
47683         * math/w_scalb.c: Likewise.
47684         * math/w_scalbf.c: Likewise.
47685         * math/w_scalbl.c: Likewise.
47686         * math/w_sinh.c: Likewise.
47687         * math/w_sinhf.c: Likewise.
47688         * math/w_sinhl.c: Likewise.
47689         * math/w_sqrt.c: Likewise.
47690         * math/w_sqrtf.c: Likewise.
47691         * math/w_sqrtl.c: Likewise.
47692         * math/w_tgamma.c: Likewise.
47693         * math/w_tgammaf.c: Likewise.
47694         * math/w_tgammal.c: Likewise.
47695
47696         * po/ja.po: Update from translation team.
47697
47698 2011-09-29  Andreas Jaeger  <aj@suse.de>
47699
47700         [BZ #13179]
47701         * sunrpc/netname.c (netname2host): Fix logic.
47702
47703         [BZ #6779]
47704         [BZ #6783]
47705         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47706         correctly.
47707         * math/w_remainder.c (__remainder): Likewise.
47708         * math/w_remainderf.c (__remainderf): Likewise.
47709         * math/libm-test.inc (remainder_test): Add test cases.
47710
47711 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47712
47713         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47714         sdiv_qrnnd.
47715
47716 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47717
47718         * string/test-memcmp.c: Avoid unncessary #defines.
47719         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47720
47721 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47722
47723         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47724         Use new sse2 version for core i3 - i7 as it's faster
47725         than sse42 version.
47726         (bit_Prefer_PMINUB_for_stringop): New.
47727         * sysdeps/x86_64/rawmemchr.S: Update.
47728         Replace with faster SSE2 version.
47729         * sysdeps/x86_64/memrchr.S: New file.
47730         * sysdeps/x86_64/memchr.S: Update.
47731         Replace with faster SSE2 version.
47732
47733 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47734
47735         * elf/dl-load.c (lose): Add cast to avoid warning.
47736
47737 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47738
47739         * po/ca.po: Update from translation team.
47740
47741         * inet/getnetgrent_r.c: Hook up nscd.
47742         * nscd/Makefile (routines): Add nscd_netgroup.
47743         (nscd-modules): Add netgroupcache.
47744         (CFLAGS-netgroupcache.c): Define.
47745         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47746         (cache_search): Add const to second parameter.
47747         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47748         INNETGR.
47749         (dbs): Add netgrdb entry.
47750         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47751         (verify_persistent_db): Handle netgrdb.
47752         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47753         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47754         GETFDNETGR.
47755         (netgroup_response_header): Define.
47756         (innetgroup_response_header): Define.
47757         (datahead): Add netgroup_response_header and innetgroup_response_header
47758         elements.
47759         * nscd/nscd.conf: Add entries for netgroup cache.
47760         * nscd/nscd.h (dbtype): Add netgrdb.
47761         (_PATH_NSCD_NETGROUP_DB): Define.
47762         (netgroup_iov_disabled): Declare.
47763         (xmalloc, xcalloc, xrealloc): Move declarations here.
47764         (cache_search): Adjust prototype.
47765         Add netgroup-related prototypes.
47766         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47767         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47768         (__nscd_innetgr): Declare.
47769         * nscd/selinux.c (perms): Use access_vector_t as element type and
47770         add netgroup-related initializers.
47771         * nscd/netgroupcache.c: New file.
47772         * nscd/nscd_netgroup.c: New file.
47773         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47774         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47775         For four parameters use innetgr.
47776         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47777         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47778         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47779         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47780
47781         * nscd/connections.c (register_traced_file): Don't register file
47782         for disabled databases.
47783
47784 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47785
47786         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47787
47788         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47789         from tree and freeing node.
47790
47791 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47792
47793         * nss/nsswitch.c (__nss_database_lookup): Handle
47794         nss_parse_service_list out of memory case.
47795
47796 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47797
47798         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47799         out of memory case.
47800
47801 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47802
47803         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47804         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47805         pass it down.
47806         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47807         elf_machine_rela, elf_machine_lazy_rel.
47808         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47809         (ELF_DYNAMIC_DO_REL): Likewise.
47810         (ELF_DYNAMIC_DO_RELA): Likewise.
47811         (ELF_DYNAMIC_RELOCATE): Likewise.
47812         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47813         to ELF_DYNAMIC_DO_REL.
47814         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47815         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47816         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47817         elf_machine_rela.
47818         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47819         skip_ifunc, don't call ifunc function if non-zero.
47820         (elf_machine_rela): Likewise.
47821         (elf_machine_lazy_rel): Likewise.
47822         (elf_machine_lazy_rela): Likewise.
47823         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47824         (elf_machine_lazy_rel): Likewise.
47825         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47826         Likewise.
47827         (elf_machine_lazy_rel): Likewise.
47828         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47829         Likewise.
47830         (elf_machine_lazy_rel): Likewise.
47831         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47832         (elf_machine_lazy_rel): Likewise.
47833         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47834         (elf_machine_lazy_rel): Likewise.
47835         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47836         (elf_machine_lazy_rel): Likewise.
47837         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47838         (elf_machine_lazy_rel): Likewise.
47839         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47840         (elf_machine_lazy_rel): Likewise.
47841         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47842         (elf_machine_lazy_rel): Likewise.
47843
47844 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
47845
47846         * nss/nss_files/files-init.c (_nss_files_init): Use static
47847         initialization for all the *_traced_file variables.
47848
47849 2011-09-28  Andreas Schwab  <schwab@redhat.com>
47850
47851         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47852
47853 2011-09-27  Roland McGrath  <roland@hack.frob.com>
47854
47855         [BZ #13226]
47856         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47857
47858 2011-09-27  Andreas Schwab  <schwab@redhat.com>
47859
47860         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47861         Reread the line before reparsing it.
47862
47863 2011-09-26  Andreas Schwab  <schwab@redhat.com>
47864
47865         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47866
47867 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
47868             Maxim Kuvyrkov  <maxim@codesourcery.com>
47869             Joseph Myers  <joseph@codesourcery.com>
47870
47871         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47872         if needed for __stack_chk_guard.
47873
47874 2011-09-19  Roland McGrath  <roland@hack.frob.com>
47875
47876         * sysdeps/posix/spawni.c (script_execute): Always define it.
47877         It will be optimized away if unused.
47878         (maybe_script_execute): New function.
47879         (__spawni): Call it.
47880
47881         * Makerules: Don't include tls.make.
47882         (config-tls): Always set to thread.
47883         * tls.make.c: File removed.
47884
47885 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
47886
47887         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47888         * config.make.in (CPPFLAGS-config): New substituted variable.
47889
47890 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47891
47892         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47893
47894         [BZ #13192]
47895         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47896         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47897
47898 2011-09-15  Roland McGrath  <roland@hack.frob.com>
47899
47900         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47901         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47902         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47903         (CALL_FAIL): Likewise.
47904         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47905         (CALL_FAIL): Macro removed.
47906         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47907
47908 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47909
47910         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47911         for __FINITE_MATH_ONLY__ == 1.
47912
47913 2011-09-15  Andreas Schwab  <schwab@redhat.com>
47914
47915         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47916         __ieee754_sqrt instead of sqrt.
47917         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47918         __ieee754_sqrtf instead of sqrtf.
47919         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47920         __floorf instead of floorf.
47921         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47922         __floorf, __truncf instead of floorf, truncf.
47923
47924 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
47925
47926         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47927
47928         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47929         __extern_always_inline.
47930         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47931         32-bit.
47932
47933 2011-09-14  Andreas Schwab  <schwab@redhat.com>
47934
47935         * elf/rtld.c (dl_main): Also relocate in dependency order when
47936         doing symbol dependency testing.
47937
47938 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
47939
47940         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47941         Always define `refsym'.
47942
47943 2011-09-13  Andreas Schwab  <schwab@redhat.com>
47944
47945         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47946         (__FD_ELT): Renamed from __FDELT.
47947         * misc/bits/select2.h (__FD_ELT): Likewise.
47948         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47949         __FD_MASK instead of __FDELT, __FDMASK.
47950         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47951         Likewise.
47952         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47953         Likewise.
47954
47955         * elf/Makefile (gen-ldd): Fix pattern.
47956
47957         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47958         (init_tls): Likewise.
47959
47960 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
47961
47962         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47963
47964 2011-09-12  Andreas Schwab  <schwab@redhat.com>
47965
47966         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47967         `struct cmsghdr *' instead of `void *'.
47968         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47969         Likewise.
47970
47971 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
47972
47973         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47974         if non-absolute.
47975         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47976         ldd_rewrite_script.
47977
47978 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
47979
47980         * configure.in: Remove --with-tls option.
47981         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47982         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47983         out in case it is missing.
47984         * sysdeps/ia64/elf/configure.in: Likewise.
47985         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47986         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47987         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47988         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47989         * sysdeps/sh/elf/configure.in: Likewise.
47990         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47991         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47992         * sysdeps/x86_64/elf/configure.in: Likewise.
47993         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47994         * sysdeps/mach/hurd/tls.h: Likewise.
47995
47996         [BZ #13067]
47997         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47998
47999         [BZ #13090]
48000         * configure.in: Fix use of AC_INIT.
48001
48002         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48003
48004 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
48005
48006         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48007         __set_errno.
48008         * malloc/hooks.c: Likewise.
48009
48010         [BZ #11929]
48011         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
48012         variables statically.
48013         (narenas): Initialize.
48014         (list_lock): Initialize.
48015         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
48016         initializtion of main_arena and list_lock.  Small cleanups.
48017         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48018         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
48019         Add initializers to main_arena and mp_.
48020         (malloc_state): Remove pagesize member.  Change all users to use
48021         GLRO(dl_pagesize).
48022
48023         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48024         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
48025         is always initialized.
48026
48027         * malloc/malloc.c: Removed unused configurations and dead code.
48028         * malloc/arena.c: Likewise.
48029         * malloc/hooks.c: Likewise.
48030         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48031
48032         * include/tls.h: Removed.  USE___THREAD must always be defined.
48033         * bits/libc-tsd.h: Don't handle !USE___THREAD.
48034         * elf/dl-libc.c: Likewise.
48035         * elf/dl-tsd.c: Likewise.
48036         * include/errno.h: Likewise.
48037         * include/netdb.h: Likewise.
48038         * include/resolv.h: Likewise.
48039         * inet/herrno-loc.c: Likewise.
48040         * inet/herrno.c: Likewise.
48041         * malloc/arena.c: Likewise.
48042         * malloc/hooks.c: Likewise.
48043         * malloc/malloc.c: Likewise.
48044         * resolv/res-state.c: Likewise.
48045         * resolv/res_libc.c: Likewise.
48046         * sysdeps/i386/dl-machine.h: Likewise.
48047         * sysdeps/ia64/dl-machine.h: Likewise.
48048         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48049         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48050         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48051         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48052         * sysdeps/sh/dl-machine.h: Likewise.
48053         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48054         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48055         * sysdeps/unix/i386/sysdep.S: Likewise.
48056         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48057         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48058         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48059         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48060         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48062         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48063         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48066         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48067         * sysdeps/x86_64/dl-machine.h: Likewise.
48068         * tls.make.c: Likewise.
48069
48070         * configure.in: Remove --with-__thread option.  Make tests for
48071         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48072         tls_model attribute fail if no support is available.  Remove
48073         USE_IN_LIBIO.
48074         * Makeconfig: Adjust for dropped configure option.  All features are
48075         now mandatory.
48076         * Makerules: Likewise.
48077         * Versions.def: Likewise.
48078         * argp/argp-fmtstream.c: Likewise.
48079         * argp/argp-fmtstream.h: Likewise.
48080         * argp/argp-help.c: Likewise.
48081         * assert/assert.c: Likewise.
48082         * config.h.in: Likewise.
48083         * config.make.in: Likewise.
48084         * configure: Likewise.
48085         * configure.in: Likewise.
48086         * csu/Versions: Likewise.
48087         * csu/init.c: Likewise.
48088         * elf/tst-audit2.c: Likewise.
48089         * elf/tst-tls10.c: Likewise.
48090         * elf/tst-tls10.h: Likewise.
48091         * elf/tst-tls11.c: Likewise.
48092         * elf/tst-tls12.c: Likewise.
48093         * elf/tst-tls14.c: Likewise.
48094         * elf/tst-tlsmod11.c: Likewise.
48095         * elf/tst-tlsmod12.c: Likewise.
48096         * elf/tst-tlsmod13.c: Likewise.
48097         * elf/tst-tlsmod13a.c: Likewise.
48098         * elf/tst-tlsmod14a.c: Likewise.
48099         * elf/tst-tlsmod15b.c: Likewise.
48100         * elf/tst-tlsmod16a.c: Likewise.
48101         * elf/tst-tlsmod16b.c: Likewise.
48102         * elf/tst-tlsmod7.c: Likewise.
48103         * elf/tst-tlsmod8.c: Likewise.
48104         * elf/tst-tlsmod9.c: Likewise.
48105         * gmon/gmon.c: Likewise.
48106         * grp/fgetgrent_r.c: Likewise.
48107         * grp/putgrent.c: Likewise.
48108         * hurd/fopenport.c: Likewise.
48109         * include/libc-symbols.h: Likewise.
48110         * include/tls.h: Likewise.
48111         * intl/gettextP.h: Likewise.
48112         * intl/loadinfo.h: Likewise.
48113         * locale/global-locale.c: Likewise.
48114         * locale/localeinfo.h: Likewise.
48115         * mach/devstream.c: Likewise.
48116         * malloc/arena.c: Likewise.
48117         * malloc/set-freeres.c: Likewise.
48118         * misc/err.c: Likewise.
48119         * misc/getttyent.c: Likewise.
48120         * misc/mntent_r.c: Likewise.
48121         * posix/getopt.c: Likewise.
48122         * posix/wordexp.c: Likewise.
48123         * pwd/fgetpwent_r.c: Likewise.
48124         * resolv/Versions: Likewise.
48125         * resolv/res_hconf.c: Likewise.
48126         * shadow/fgetspent_r.c: Likewise.
48127         * shadow/putspent.c: Likewise.
48128         * stdio-common/printf_fphex.c: Likewise.
48129         * stdio-common/tmpfile.c: Likewise.
48130         * stdlib/abort.c: Likewise.
48131         * stdlib/fmtmsg.c: Likewise.
48132         * sunrpc/auth_unix.c: Likewise.
48133         * sunrpc/clnt_perr.c: Likewise.
48134         * sunrpc/clnt_tcp.c: Likewise.
48135         * sunrpc/clnt_udp.c: Likewise.
48136         * sunrpc/clnt_unix.c: Likewise.
48137         * sunrpc/openchild.c: Likewise.
48138         * sunrpc/svc_simple.c: Likewise.
48139         * sunrpc/svc_tcp.c: Likewise.
48140         * sunrpc/svc_udp.c: Likewise.
48141         * sunrpc/svc_unix.c: Likewise.
48142         * sunrpc/xdr.c: Likewise.
48143         * sunrpc/xdr_array.c: Likewise.
48144         * sunrpc/xdr_rec.c: Likewise.
48145         * sunrpc/xdr_ref.c: Likewise.
48146         * sunrpc/xdr_stdio.c: Likewise.
48147
48148 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48149
48150         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48151
48152 2011-07-03  Andreas Jaeger  <aj@suse.de>
48153
48154         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48155         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48156         regenerate with gen-libm-tests.pl.
48157
48158 2010-05-12  Petr Baudis  <pasky@suse.cz>
48159
48160         [BZ #11589]
48161         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48162         around j0() zero points by switching to j1().
48163         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48164         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48165         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48166         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48167
48168 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48169
48170         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48171         instead of 0.
48172         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48173         instead of 0.
48174         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48175         Patch in part by Pavel Roskin <proski@gnu.org>.
48176
48177         [BZ #13138]
48178         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48179         realloc.
48180         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
48181         Free memory block if necessary.
48182
48183         [BZ #12847]
48184         * libio/genops.c (INTDEF): For string streams the _lock pointer can
48185         be NULL.  Don't lock in this case.
48186
48187 2011-09-09  Roland McGrath  <roland@hack.frob.com>
48188
48189         * elf/elf.h (ELFOSABI_GNU): New macro.
48190         (ELFOSABI_LINUX): Define to that.
48191
48192 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
48193
48194         * string/strncat.c (strncat): Undef the symbol in case it has been
48195         defined in bits/string.h.
48196
48197 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48198
48199         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48200
48201         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48202         link map.
48203
48204 2011-08-17  Andreas Jaeger  <aj@suse.de>
48205
48206         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48207
48208 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48209             Ian Lance Taylor  <iant@google.com>
48210
48211         * math/libm-test.inc (lround_test): New testcase.
48212         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48213
48214 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
48215
48216         * Makefile: Remove support for automatic cvs check-ins.
48217         * Makerules: Likewise.
48218         * config.make.in: Likewise.
48219         * configure.in: Likewise.
48220         * intl/Makefile: Likewise.
48221         * locale/Makefile: Likewise.
48222         * po/Makefile: Likewise.
48223         * posix/Makefile: Likewise.
48224         * sysdeps/gnu/Makefile: Likewise.
48225         * sysdeps/mach/hurd/Makefile: Likewise.
48226         * sysdeps/sparc/sparc32/Makefile: Likewise.
48227
48228         [BZ #13118]
48229         * posix/Makefile (bug-regex32-ENV): Define.
48230         Patch by John Stanley <jpsinthemix@verizon.net>.
48231
48232         * misc/Makefile (headers): Add bits/select2.h.
48233         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48234         * misc/bits/select2.h: New file.
48235         * include/bits/select2.h: New file.
48236         * debug/Makefile (routines): Add fdelt_chk.
48237         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48238         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48239         FD_ISSET.
48240         * debug/fdelt_chk.c: New file.
48241
48242         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
48243         * wcsmbs/test-wmemcmp.c: Likewise.
48244         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48245         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48246
48247 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48248
48249         * string/Makefile (strop-tests): Add memcmp.
48250         * string/test-wmemcmp.c: New file.
48251         * string/test-memcmp.c: Add wmemcmp support.
48252
48253 2011-09-08  Roland McGrath  <roland@hack.frob.com>
48254
48255         [BZ #13153]
48256         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48257         2011-07-19 change.
48258
48259         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48260         garbage value in a __mach_port_mod_refs call in the cases of the
48261         task-self and thread-self ports.
48262
48263 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48264
48265         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48266
48267 2011-09-08  Andreas Schwab  <schwab@redhat.com>
48268
48269         * elf/dl-load.c (lose): Check for non-null L.
48270
48271 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48272
48273         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48274
48275         * elf/dl-libc.c (dlerror_run): Pass back error code from
48276         dl_catch_error.
48277
48278         [BZ #13123]
48279         * elf/dl-load.c (lose): Free l_origin if it is valid.
48280
48281         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48282         names.
48283         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48284         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48285         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48286         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48287         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48288         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48289
48290 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48291
48292         * sysdeps/powerpc/fpu/e_hypot.c: New file.
48293         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48294         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48295         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48296         * sysdeps/powerpc/fpu/k_cosf.c: New file.
48297         * sysdeps/powerpc/fpu/k_sinf.c: New file.
48298         * sysdeps/powerpc/fpu/s_cosf.c: New file.
48299         * sysdeps/powerpc/fpu/s_sinf.c: New file.
48300         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48301         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48302
48303 2011-08-15  Alan Modra  <amodra@gmail.com>
48304
48305         [BZ #13092]
48306         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48307         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48308         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
48309         ppc_mcount to static-only-routines.
48310         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48311         __mcount_internal.
48312         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48313         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
48314
48315 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
48316
48317         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48318         for finite and infinity parameters.
48319
48320 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48321
48322         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48323         and add nop instructions for throughput optimization.
48324         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48325
48326 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
48327
48328         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48329         aligned copy for power7 with vector-scalar instructions.
48330         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48331
48332 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
48333
48334         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48335         AVX check.
48336
48337 2011-09-07  Andreas Schwab  <schwab@redhat.com>
48338
48339         [BZ #13144]
48340         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48341         last change.
48342
48343 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48344
48345         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48346         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48347         syscall wrapper around clock_gettime in __vdso_clock_gettime.
48348         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48349         clock_gettime.
48350
48351 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48352
48353         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48354         Forgot to demangle the pointer.
48355
48356         * sysdeps/i386/sysdep.h: Define atom_text_section.
48357         * sysdeps/x86_64/sysdep.h: Likewise.
48358         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48359         section with atom_text_section.
48360         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48361         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48362         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48363         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48364         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48365
48366         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48367         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48368         already be defined.  Change to take two parameters and don't assign
48369         result to variable.  Adjust all users.
48370         Define INTERNAL_GETTIME if not already defined.
48371         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48372         call.
48373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48374         HAVE_CLOCK_GETTIME_VSYSCALL.
48375         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48376
48377         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48378         gettimeofday vsyscall, just use time.
48379
48380 2011-09-06  Andreas Schwab  <schwab@redhat.com>
48381
48382         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48383         <errno.h>.
48384
48385 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48386
48387         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48388         syscall on x86-64.
48389         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48390         syscall.
48391         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48392         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48393         syscall if possible.
48394
48395 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48396
48397         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48398         e_ident.  Don't pass to find_mapsXX.
48399         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48400
48401 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48402
48403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48404         strchr-sse2-no-bsf strrchr-sse2-no-bsf
48405         * sysdeps/x86_64/multiarch/strchr.S: Update.
48406         Check bit_slow_BSF bit.
48407         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48408         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48409         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48410
48411 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48412
48413         [BZ #13134]
48414         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48415         before glibc 2.15.
48416         (tryshell): Define.
48417         (__spawni): Change last parameter to be flag.  Test
48418         SPAWN_XFLAGS_USE_PATH flag to use path or not.
48419         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48420         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48421         * posix/spawni.c: Likewise.
48422         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48423         * posix/spawnp.c: Likewise.  Change normal version to use
48424         SPAWN_XFLAGS_USE_PATH.
48425         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48426         SPAWN_XFLAGS_TRY_SHELL.
48427
48428         [BZ #13150]
48429         * posix/glob.h: Remove gcc 1.x support.
48430
48431         [BZ #13068]
48432         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48433
48434 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48435
48436         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48437         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48438         strrchr-sse2-bsf
48439         * sysdeps/i386/i686/multiarch/strchr.S: New file.
48440         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48441         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48442         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48443         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48444         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48445
48446 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48447
48448         * sysdeps/x86_64/wcscmp.S: New file.
48449
48450         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48451         wcscmp-c wcscmp-sse2
48452         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48453         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48454         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48455         * wcsmbs/wcscmp.c: Allow renaming.
48456
48457 2011-09-05  David S. Miller  <davem@davemloft.net>
48458
48459         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48460         stack slot, rather than the struct return pointer slot.
48461         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48462         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48464         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48465
48466 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48467
48468         * po/ja.po: Update from translation team.
48469
48470         [BZ #13144]
48471         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48472         kernel in 64-bit binaries.
48473
48474 2011-09-01  David S. Miller  <davem@davemloft.net>
48475
48476         * elf/elf.h (HWCAP_SPARC_*): Move to..
48477         * sysdeps/sparc/sysdep.h: this new file and add new values.
48478         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48479         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48480         _DL_HWCAP_COUNT to 24.
48481         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48482         entries.
48483         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48484         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48485         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48486         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48487         instead of magic constants.
48488         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48489
48490 2011-08-31  David S. Miller  <davem@davemloft.net>
48491
48492         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48494         Reimplement to do errno handling inline.
48495         (SYSCALL_ERROR_HANDLER): New macro.
48496         (__SYSCALL_STRING): Do not do errno handling in asm.
48497         (__CLONE_SYSCALL_STRING): Delete.
48498         (__INTERNAL_SYSCALL_STRING): Delete.
48499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48500         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48501         (PSEUDO): Reimplement to do errno handling inline.
48502         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48503         (SYSCALL_ERROR_HANDLER): New macro.
48504         (__SYSCALL_STRING): Do not do errno handling in asm.
48505         (__CLONE_SYSCALL_STRING): Delete.
48506         (__INTERNAL_SYSCALL_STRING): Delete.
48507         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48508         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48509         i386.
48510         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48511         (inline_syscall*): Add 'err' argument.
48512         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48513         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48514         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48515         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48516
48517         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48518         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48519
48520 2011-08-30  Andreas Schwab  <schwab@redhat.com>
48521
48522         * elf/rtld.c (dl_main): Relocate objects in dependency order.
48523
48524 2011-08-29  Jiri Olsa <jolsa@redhat.com>
48525
48526         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48527         directive.
48528
48529 2011-08-24  David S. Miller  <davem@davemloft.net>
48530
48531         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48532
48533 2011-08-24  Andreas Schwab  <schwab@redhat.com>
48534
48535         * elf/Makefile: Add rules to build and run unload8 test.
48536         * elf/unload8.c: New file.
48537         * elf/unload8mod1.c: New file.
48538         * elf/unload8mod1x.c: New file.
48539         * elf/unload8mod2.c: New file.
48540         * elf/unload8mod3.c: New file.
48541
48542         * elf/dl-close.c (_dl_close_worker): Reset private search list if
48543         it wasn't used.
48544
48545 2011-08-23  David S. Miller  <davem@davemloft.net>
48546
48547         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48548         subtract stack bias.
48549         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48550         %sp not %fp in calculations.
48551         (_JMPBUF_UNWINDS_ADJ): Likewise.
48552
48553         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48554         (aio_suspend): Call it to force an exception region around the
48555         AIO_MISC_WAIT() invocation.
48556
48557 2011-08-23  Andreas Schwab  <schwab@redhat.com>
48558
48559         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48560         backslash.
48561
48562 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
48563
48564         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48565         protection macro.
48566         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48567         and <dl-machine.h>.
48568         (Elf64_FuncDesc): Remove.
48569
48570 2011-08-22  David S. Miller  <davem@davemloft.net>
48571
48572         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48573         sigaltstack check, add missing cfi directives.
48574         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48575         missing cfi directives, and sigaltstack handling.
48576
48577 2011-08-16  Andreas Schwab  <schwab@redhat.com>
48578
48579         [BZ #11724]
48580         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48581         object is seen twice.
48582         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48583
48584         * elf/Makefile (distribute): Add tst-initorder2.c.
48585         (tests): Add tst-initorder2.
48586         (modules-names): Add tst-initorder2a tst-initorder2b
48587         tst-initorder2c tst-initorder2d.  Add rules to build them.
48588         ($(objpfx)tst-initorder2.out): New rule.
48589         * elf/tst-initorder2.c: New file.
48590         * elf/tst-initorder2.exp: New file.
48591
48592 2011-08-22  Andreas Schwab  <schwab@redhat.com>
48593
48594         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48595
48596         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48597         dependencies back to end of function.
48598
48599         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48600         $(elfobjdir)/ld.so.
48601
48602 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
48603
48604         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48605         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48606         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48607         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48608         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48609         of __vdso_gettimeofday.
48610         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48611         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
48612         attribute_hidden.
48613         (_libc_vdso_platform_setup): Remove initialization of
48614         __vdso_gettimeofday and __vdso_time.
48615
48616 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48617
48618         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48619         and fgetc_unlocked.
48620         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48621         getc_unlocked.
48622
48623         * elf/dl-open.c (add_to_global): Report additions to the global scope
48624         for LD_DEBUG=scopes.
48625         (dl_open_worker): Also print scope of newly loaded dependencies.
48626         (_dl_show_scope): Indicate if there is no scope.
48627
48628         [BZ #13114]
48629         * stdio-common/Makefile (tests): Add bug24.
48630         * stdio-common/bug24.c: New file.
48631
48632 2011-08-19  Andreas Jaeger  <aj@suse.de>
48633
48634         [BZ #13114]
48635         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48636         non-existant file when using close-on-exec mode.
48637
48638 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48639
48640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48641         the very first instruction.
48642
48643         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48644         the CFI state in the end.
48645         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48646         inclusion of dl-trampoline.h.
48647         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48648
48649 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48650
48651         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48652         expectations for long double.
48653
48654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48655         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48656
48657 2011-08-14  David S. Miller  <davem@davemloft.net>
48658
48659         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48660         artificual limit depends upon the system page size.
48661
48662 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48663
48664         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48665         * resolv/Makefile: Define CFLAGS-libresolv.
48666
48667 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48668
48669         * nss/makedb.c (compute_tables): Make variables used in nested
48670         function static.
48671
48672 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48673
48674         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48675         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48676         if buffer was too small.
48677
48678         * elf/pldd.c (main): Attach to all threads in the process.
48679         Rewrite /proc handling to use *at functions.
48680
48681 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48682
48683         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48684         specifies first scope to show.
48685         (dl_open_worker): Update callers.  Move printing scope of new
48686         object to before the relocation.
48687         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48688         * sysdeps/generic/ldsodefs.h: Update declaration.
48689
48690         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48691         string for the scope number.
48692
48693 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48694
48695         * nscd/servicescache.c (cache_addserv): Make sure written is always
48696         initialized.
48697
48698 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48699
48700         * sysdeps/i386/i486/bits/atomic.h
48701         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48702         statement expression, so as to suppress "set but not used" warning.
48703         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48704
48705         * string/strncat.c (STRNCAT): Use prototype definition.
48706
48707         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48708         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48709         -Iprograms here.
48710         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48711         (localedef-modules): Add localedef.
48712         (locale-modules): Add locale.
48713
48714         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48715         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48716         to avoid a warning.
48717
48718 2011-08-14  David S. Miller  <davem@davemloft.net>
48719
48720         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48721         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48722
48723 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48724
48725         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48726         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48727         * elf/rtld.c (dl_main): Set l_name of vDSO.
48728         Call _dl_show_scope when DL_DEBUG_SCOPES.
48729         (process_dl_debug): Recognize scopes flag and also set it for all.
48730         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48731         Declare _dl_show_scope.
48732
48733         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48734         (do_dlopen): Pass caller_dlopen to dl_open.
48735         (__libc_dlopen_mode): Initialize caller_dlopen.
48736
48737         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48738         of libc.  Make tolower call locale-independent.  Optimize a bit by
48739         using isdigit instead of isalnum.
48740         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48741
48742 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48743
48744         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48745         was a dependency or dynamically loaded.
48746
48747 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48748
48749         * intl/l10nflist.c: Allow architecture-specific pop function.
48750         * sysdeps/x86_64/l10nflist.c: New file.
48751
48752         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48753         classification.
48754
48755 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48756
48757         * include/dirent.h: Add libc_hidden_proto for scandirat and
48758         scandirat64.  Don't declare __scandirat64.
48759         * dirent/scandirat.c: Add libc_hidden_def.
48760         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48761         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48762
48763 2011-08-10  David S. Miller  <davem@davemloft.net>
48764
48765         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48766         enum.
48767         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48768         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48769         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48770
48771 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48772
48773         * Versions.def [libc]: Add GLIBC_2.15.
48774         * dirent/Makefile (routines): Add scandirat and scandirat64.
48775         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48776         GLIBC_2.15.
48777         * dirent/dirent.h: Declare scandirat and scandirat64.
48778         * dirent/scandirat.c: New file.
48779         * dirent/scandirat64.c: New file.
48780         * sysdeps/wordsize-64/scandirat.c: New file.
48781         * sysdeps/wordsize-64/scandirat64.c: New file.
48782         * dirent/opendir.c: Define opendirat.
48783         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48784         using scandirat.
48785         * dirent/scandir64.c: Adjust for scandir.c change.
48786         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48787         __scandirat64, and __scandir_cancel_handler.
48788         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48789         additional parameter and use openat instead of open (outside of ld.so).
48790         Add new __opendir as wrapper around __opendirat.
48791         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48792         here without requiring old scandirat implementation.
48793
48794 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48795
48796         * dirent/scandir.c (cancel_handler): Renamed to
48797         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48798         defined.  Adjust users.
48799         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48800         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48801
48802 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48803
48804         * string/test-string.h (IMPL): Use __STRING to expand name and then
48805         stringify it.
48806
48807         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48808         of cleanups.
48809
48810 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48811
48812         * string/Makefile: Update.
48813         (strop-tests): Append strncat.
48814         * string/test-wcscmp.c: New file.
48815         New comprehensive test for wcscmp.
48816         * string/test-strcmp.c: Update.
48817         (WIDE): New define.
48818
48819 2011-07-22  Andreas Schwab  <schwab@redhat.com>
48820
48821         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48822         line.
48823
48824 2011-07-26  Andreas Schwab  <schwab@redhat.com>
48825
48826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48827         encoding to ACE if AI_IDN.
48828
48829 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
48830
48831         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48832         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48833
48834 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48835
48836         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48837         Fix overflow bug in strncat.
48838         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48839
48840         * string/test-strncat.c: Update.
48841         Add new tests for checking overflow bugs.
48842
48843 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48844
48845         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48846         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48847         * sysdeps/i386/i686/multiarch/strcat.S: New file.
48848         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48849         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48850         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48851         * sysdeps/i386/i686/multiarch/strncat.S: New file.
48852         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48853         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48854
48855         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48856         (USE_AS_STRCAT): Define.
48857         Add strcat and strncat support.
48858         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48859
48860 2011-07-25  Andreas Schwab  <schwab@redhat.com>
48861
48862         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48863         __n bigger than INT_MAX+1.
48864         (__strncmp_g): Likewise.
48865
48866 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
48867
48868         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48869         * libio/stido.h: Likewise.
48870
48871         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48872         (AF_NFC): Define.
48873         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48874         (AF_NFC): Define.
48875
48876         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48877         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48878         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48879         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48880         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48881
48882         [BZ #13021]
48883         * scripts/test-installation.pl: Don't expect libnss_test1 to be
48884         installed.
48885
48886         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48887         typo.
48888         (_dl_x86_64_save_sse): Likewise.
48889
48890 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
48891
48892         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48893         OSXSAVE.
48894         (_dl_x86_64_save_sse): Likewise.
48895
48896         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48897
48898         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48899
48900 2011-07-21  Andreas Schwab  <schwab@redhat.com>
48901
48902         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48903         change.
48904         (_dl_x86_64_save_sse): Use correct AVX check.
48905
48906 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48907
48908         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48909         bug in strncpy/strncat.
48910         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48911
48912 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
48913
48914         * string/tester.c (test_strcat): Add tests for different alignments
48915         of source and destination.
48916         (test_strncat): Likewise.
48917
48918 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48919
48920         [BZ #12852]
48921         * posix/glob.c (glob): Check passed in values before using them in
48922         expressions to avoid some overflows.
48923         (glob_in_dir): Likewise.
48924
48925         [BZ #13007]
48926         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48927         check for AVX enablement so that we don't crash with old kernels and
48928         new hardware.
48929         * elf/tst-audit4.c: Add same checks here.
48930         * elf/tst-audit6.c: Likewise.
48931
48932         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48933
48934 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
48935
48936         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48937
48938 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48939
48940         * po/cs.po: Update from translation team.
48941         * po/bg.po: Likewise.
48942
48943 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
48944
48945         * misc/sys/cdefs.h: Add support for const attribute.
48946         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48947         to gnu_dev_{major,minor,makedev} functions.
48948
48949 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
48950
48951         * intl/dcigettext.c (get_output_charset): Add missing bracket.
48952
48953 2011-07-20  Andreas Schwab  <schwab@redhat.com>
48954
48955         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48956         strlen results.
48957
48958 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48959
48960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48961         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48962         register in order to avoid conflicts with the soft frame pointer
48963         being held in r11 when necessary.
48964         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48965         (INTERNAL_VSYSCALL_NCS): Likewise.
48966
48967 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
48968
48969         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48970         * elf/dl-fini.c (_dl_fini): Adjust caller.
48971         * elf/dl-close.c (_dl_close_worker): Likewise.
48972         * sysdeps/generic/ldsodefs.h: Adjust declaration.
48973
48974 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48975
48976         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48977         "aux_cache->nlibs < 0".
48978
48979         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48980         in the reload-count case.
48981
48982 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48983
48984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48985         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48986         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48987         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48988         * sysdeps/x86_64/multiarch/strcat.S: New file.
48989         * sysdeps/x86_64/multiarch/strncat.S: New file.
48990         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48991         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48992         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48993         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48994         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48995         (USE_AS_STRCAT): Define.
48996         Add strcat and strncat support.
48997         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48998         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48999         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49000         * string/strncat.c: Update.
49001         (USE_AS_STRNCAT): Define.
49002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49003         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49004         and i7.
49005         * sysdeps/x86_64/multiarch/init-arch.h
49006         (bit_Prefer_PMINUB_for_stringop): New.
49007         (index_Prefer_PMINUB_for_stringop): Likewise.
49008         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49009         bit_Prefer_PMINUB_for_stringop.
49010
49011 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49012
49013         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49014         buffer64.
49015         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49016         of casting of buffer.
49017         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49018         buffer32 and buffer64.
49019         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49020         writes instead of casting of buffer.
49021         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49022         buffer32.
49023         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49024         casting of buffer.
49025
49026 2011-07-19  Andreas Schwab  <schwab@redhat.com>
49027
49028         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49029
49030 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49031
49032         * nscd/nscd.c (termination_handler): Don't do anything for a database
49033         if it has not yet been initialized.
49034
49035 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49036
49037         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49038
49039 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49040
49041         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49042
49043 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49044
49045         * po/nl.po: Update from translation team.
49046         * po/sv.po: Likewise.
49047
49048 2011-07-16  Roland McGrath  <roland@hack.frob.com>
49049
49050         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49051         now disallowed by GCC.
49052
49053         * configure.in (use-default-link): Default to yes if a test -shared
49054         link meets our qualifications.
49055         * configure: Regenerated.
49056
49057         * config.make.in (output-format): New variable.
49058         * configure.in: Check for ld --print-output-format support.
49059         * configure: Regenerated.
49060         * Makerules ($(common-objpfx)format.lds)
49061         [$(output-format) != unknown]: Just use $(output-format),
49062         instead of the linker-script munging.
49063
49064 2011-07-14  Roland McGrath  <roland@hack.frob.com>
49065
49066         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49067         of $(common-objpfx)shlib.lds.
49068         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49069
49070         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49071         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49072
49073         * configure.in (-z relro check): Adjust test code to add a large
49074         writable data section after it.
49075         * configure: Regenerated.
49076
49077 2011-07-11  Roland McGrath  <roland@hack.frob.com>
49078
49079         * configure.in (-z relro check): Fix test code to make the variable
49080         truly const.
49081         * configure: Regenerated.
49082
49083 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
49084
49085         * nscd/nscd.h (struct traced_file): Define.
49086         (struct database_dyn): Remove inotify_descr, reset_res, and filename
49087         elements.  Add traced_files.
49088         (inotify_fd): Declare.
49089         (register_traced_file): Declare.
49090         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49091         (inotify_fd): Export.
49092         (resolv_conf_descr): Remove.
49093         (nscd_init): Move inotify descriptor creation to main.
49094         Don't register files for notification here.
49095         (register_traced_file): New function.
49096         (invalidate_cache): Don't use reset_res to determine whether to call
49097         res_init, go through the list of registered files.
49098         (main_loop_poll): The inotify descriptors are now stored in the
49099         structures for the traced files.
49100         (main_loop_epoll): Likewise
49101         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
49102         to __nss_disable_nscd.
49103         * nscd/cache.c (prune_cache): There is no single inotify descriptor
49104         for a database anymore.  Check the records for all the registered
49105         files instead.
49106         * nss/Makefile (libnss_files-routines): Add files-init.
49107         (libnss_db-routines): Add db-init.
49108         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49109         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49110         * nss/nss_db/db-init.c: New file.
49111         * nss/nss_files/files-init.c: New file.
49112         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
49113         __nss_lookup_function.
49114         (__nss_lookup_function): Call nss_load_library.
49115         (nss_load_all_libraries): New function.
49116         (__nss_disable_nscd): Take parameter with callback function for files
49117         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
49118         used for the cached services.
49119         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49120         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49121         options for features to all the files in nscd.
49122
49123         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49124
49125 2011-07-10  Roland McGrath  <roland@hack.frob.com>
49126
49127         * csu/elf-init.c (__libc_csu_init): Comment typo.
49128
49129 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
49130
49131         * po/pl.po: Update from translation team.
49132         * po/ja.po: Likewise.
49133         * po/ru.po: Likewise.
49134         * po/ko.po: Likewise.
49135         * po/fr.po: Likewise.
49136
49137 2011-07-09  Roland McGrath  <roland@hack.frob.com>
49138
49139         * configure.in (.ctors/.dtors header and trailer check):
49140         Use an empirical test on a built program.
49141         * configure: Regenerated.
49142
49143         * configure.in (-z relro check): Use an empirical test on a built DSO.
49144         Detect, but do not require, on ia64.
49145         * configure: Regenerated.
49146
49147         * configure.in (READELF): Find it with AC_CHECK_TOOL.
49148         Update tests that use readelf to use $READELF instead.
49149         * configure: Regenerated.
49150
49151 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
49152
49153         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49154         if the result is not used.
49155
49156 2011-07-05  Andreas Jaeger  <aj@suse.de>
49157
49158         [BZ#9696]
49159         * stdlib/tst-strtod.c: Add testcase.
49160
49161 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
49162
49163         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49164         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49165         The latter has a higher limit.  Take additional parameter to pass to
49166         the new function.
49167         (__pathconf): Pass file to __statfs_link_max.
49168         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49169         __statfs_link_max.
49170         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49171         __statfs_link_max.
49172
49173         [BZ #12868]
49174         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49175         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49176         Handle Lustre.
49177         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49178         (__statfs_filesize_max): Likewise.
49179         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49180
49181 2011-07-05  Andreas Jaeger  <aj@suse.de>
49182
49183         * resolv/res_comp.c (dn_skipname): Remove unused variable.
49184
49185 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
49186
49187         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49188         `status' variable.
49189         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49190         Likewise.
49191
49192 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
49193
49194         * Makefile (strop-tests): Add strncat.
49195         * string/test-strncat.c: New file.
49196
49197 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
49198
49199         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49200
49201 2011-06-21  Andreas Jaeger  <aj@suse.de>
49202
49203         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49204         Copy rule from iconvdata/Makefile.
49205
49206 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49207
49208         [BZ #12922]
49209         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49210         but no long options are defined, just return 'W'.
49211
49212 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
49213
49214         [BZ #9696]
49215         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49216
49217 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49218
49219         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49220         netgroups to read.
49221         (innetgr): Likewise.
49222
49223 2011-07-05  Roland McGrath  <roland@hack.frob.com>
49224
49225         * config.make.in (install_root): Default to $(DESTDIR).
49226
49227 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
49228
49229         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49230
49231 2011-07-02  Roland McGrath  <roland@hack.frob.com>
49232
49233         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49234
49235         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49236         containing directory rather than embedding absolute directory names.
49237
49238         * scripts/check-local-headers.sh: Rewritten using awk.
49239         Match by word, not by line.  Print error messages for matches.
49240         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49241
49242         * Makerules [shlib-lds-flags empty]:
49243         ($(common-objpfx)libc_pic.opts): New target.
49244         ($(common-objpfx)libc_pic.os.clean): New target.
49245         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49246
49247         * config.make.in (OBJCOPY): New variable.
49248         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49249         * configure: Regenerated.
49250
49251         * config.make.in (use-default-link): New variable.
49252         * configure.in (use_default_link): Grok --with-default-link to set it.
49253         * configure: Regenerated.
49254         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49255         (shlib-lds, shlib-lds-flags): Define to empty.
49256
49257         * Makerules (shlib-lds): New variable.
49258         (shlib-lds-flags): New variable.
49259         (build-shlib, build-moduile, build-module-asneeded): Use it.
49260         ($(common-objpfx)libc.so): Use $(shlib-lds).
49261         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49262         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49263
49264         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49265         DT_FLAGS/DT_FLAGS_1 with zero flags.
49266
49267         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49268         linker script munging.
49269
49270 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
49271
49272         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49273         as 128-bit value.
49274         * crypt/sha512.c (sha512_process_block): Perform total addition using
49275         128-bit if possible.
49276         (__sha512_finish_ctx): Likewise.
49277         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49278         as 64-bit value.
49279         * crypt/sha256.c (SWAP64): Define.
49280         (sha256_process_block): Perform total addition using 64-bit if
49281         possible.
49282         (__sha256_finish_ctx): Likewise.
49283
49284 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
49285
49286         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
49287         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49288         * nscd/hstcache.c (cache_addhst): Likewise.
49289         * nscd/grpcache.c (cache_addgr): Likewise.
49290         * nscd/aicache.c (addhstaiX): Likewise
49291         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49292
49293 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
49294
49295         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49296         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49297         * nscd/hstcache.c (cache_addhst): Likewise.
49298         * nscd/grpcache.c (cache_addgr): Likewise.
49299         * nscd/aicache.c (addhstaiX): Likewise
49300
49301 2011-07-01  Andreas Schwab  <schwab@redhat.com>
49302
49303         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49304         domain only when needed.
49305
49306 2011-06-30  Andreas Schwab  <schwab@redhat.com>
49307
49308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49309         is always restored.
49310
49311 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
49312
49313         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49314         are re-adding the entry.
49315         * nscd/servicescache.c (cache_addserv): Likewise.
49316
49317 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
49318
49319         * sysdeps/generic/dl-irel.h: fix protection against multiple
49320         inclusions.
49321         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49322
49323 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
49324
49325         [BZ #12935]
49326         * malloc/memusage.sh: Fix quoting in message.
49327         * debug/xtrace.sh: Likewise.
49328
49329         * configure.in: Remove support for --experimental-malloc option, make
49330         it the default.
49331         * config.make.in: Likewise.
49332         * malloc/Makefile: Likewise.
49333
49334 2011-06-27  Andreas Schwab  <schwab@redhat.com>
49335
49336         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49337         two-byte characters.
49338
49339 2011-06-27  Roland McGrath  <roland@hack.frob.com>
49340
49341         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49342         AC_CACHE_CHECK invocation.
49343         * configure: Regenerated.
49344
49345         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49346
49347 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
49348
49349         [BZ #12350]
49350         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
49351         bit from old_res_options.
49352
49353         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49354
49355         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49356         value type for setfct.
49357
49358 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
49359
49360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49361         __gettimeofday instead of gettimeofday.
49362
49363 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
49364
49365         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49366
49367 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
49368
49369         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49370
49371         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49372         info.
49373
49374 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49375
49376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49377         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49378         strcpy-sse2-unaligned strncpy-sse2-unaligned
49379         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49380         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49381         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49382         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49383         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49384         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49385         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49386         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49387         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49388         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49389         (STRCPY): Support SSE2 and SSSE3 versions.
49390
49391 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
49392
49393         [BZ #12874]
49394         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49395         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49396         kernels which artificially limit size of requests.
49397
49398 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49399
49400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49401         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49402         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49403         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49404         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49405         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49406         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49407         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49408         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49409         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49410         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49411         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49412         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49413         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49414         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49416         Enable unaligned load optimization for Intel Core i3, i5 and i7
49417         processors.
49418         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49419         Define.
49420         (index_Fast_Unaligned_Load): Define.
49421         (HAS_FAST_UNALIGNED_LOAD): Define.
49422
49423 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
49424
49425         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49426
49427 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49428
49429         [BZ #12907]
49430         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49431         until it is clear that the information is realy needed.
49432         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49433
49434 2011-06-22  Andreas Schwab  <schwab@redhat.com>
49435
49436         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49437
49438 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49439
49440         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49441         /sys/devices/system/cpu/online if it is usable.
49442
49443         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49444         reading the information from the /proc filesystem to once a second.
49445
49446 2011-06-21  Andreas Jaeger  <aj@suse.de>
49447
49448         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49449         NULL after inclusion of kernel headers.
49450
49451 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
49452
49453         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49454         calls to internal_setent.
49455
49456         [BZ #12885]
49457         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49458         addresses using gethostbyname4_r ignore IPv4 addresses.
49459
49460         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49461         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
49462
49463         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49464
49465 2011-06-20  David S. Miller  <davem@davemloft.net>
49466
49467         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49468         inclusions.
49469         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49470
49471         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49472         (elf_irel): Use it.
49473         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49474         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49475         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49476         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49477         * sysdeps/x86_64/dl-irel.h: Likewise.
49478
49479         * elf/dl-runtime.c: Use elf_ifunc_invoke.
49480         * elf/dl-sym.c: Likewise.
49481
49482 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49483
49484         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
49485         need to dereference resplen2.
49486
49487 2011-06-14  Andreas Schwab  <schwab@redhat.com>
49488
49489         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49490
49491 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49492
49493         * Makeconfig: Define vardbdir and inst_vardbdir.
49494         * nss/Makefile: Add rules to install db-Makefile.
49495
49496         * nss/nss_db/db-XXX.c: Cleanup.
49497
49498         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49499         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49500         GLIBC_PRIVATE.
49501         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49502         * nss/makedb.c: Implement -g option to specify that value strings
49503         are generated and should not be added to table iterated over for
49504         get*ent calls.
49505         * nss/nss_db/db-initgroups.c: New file.
49506
49507         * nss/getent.c: Add support for initgroups lookups through getgrouplist
49508         interface.
49509
49510         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49511         (internal_getgrouplist): Adjust to name change.
49512         Update use_initgroups_entry if this is not the first call.
49513         * nss/databases.def: Add initgroups entry.
49514
49515         * nss/makedb.c (compute_tables): Check result of multiple hash table
49516         sizes to minimize maximum chain length.
49517
49518 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
49519
49520         * Versions.def: Add entry for libnss_db.
49521         * shlib-versions: Likewise.
49522         * nss/Makefile: Add rules to build libnss_db.
49523         * nss/Versions: Add libnss_db information.  Organize libnss_files
49524         entries better.
49525         * nss/db-Makefile: Add gshadow support.  Change rules for the new
49526         makedb progra.  Some minor improvements to generate smaller files.
49527         * nss/nss_db/nss_db.h: Move NSS database header data structures to
49528         here from...
49529         * nss/makedb.c: ...here.
49530         Improve database format to be smaller and require less memory at
49531         runtime.
49532         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
49533         db anymore.
49534         * nss/nss_db/db-netgrp.c: Likewise.
49535         * nss/nss_db/db-open.c: Likewise.
49536         * nss/nss_files/flies-XXX.x: Adjust comments.
49537         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49538         * nss/nss_files/files-grp.c: Likewise.
49539         * nss/nss_files/files-hosts.c: Likewise.
49540         * nss/nss_files/files-network.c: Likewise.
49541         * nss/nss_files/files-proto.c: Likewise.
49542         * nss/nss_files/files-pwd.c: Likewise.
49543         * nss/nss_files/files-rpc.c: Likewise.
49544         * nss/nss_files/files-service.c: Likewise.
49545         * nss/nss_files/files-sgrp.c: Likewise.
49546         * nss/nss_files/files-spwd.c: Likewise.
49547         * nss/nss_db/db-alias.c: Removed.
49548         * nss/nss_db/dummy-db.h: Removed.
49549
49550 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
49551
49552         * nss/makedb.c: Rewritten to not use database library.
49553         * nss/Makefile: Update to build new makedb program.
49554
49555 2011-06-14  Andreas Jaeger  <aj@suse.de>
49556
49557         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49558         memset declaration.
49559
49560 2011-06-10  Andreas Schwab  <schwab@redhat.com>
49561
49562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49563         tmpbuf.
49564
49565 2011-06-10  Roland McGrath  <roland@hack.frob.com>
49566
49567         * Makerules (shlib.lds): Fail if the linker script comes out empty.
49568         * elf/Makefile ($(objpfx)ld.so): Likewise.
49569
49570         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49571         Don't list ld.so twice in dependencies.
49572
49573         * posix/bug-regex31.c: Include <stdlib.h>.
49574
49575         * nscd/hstcache.c (cache_addhst): Remove unused variable.
49576
49577         * nis/nss_compat/compat-spwd.c
49578         (getspent_next_nss_netgr): Remove unused variable.
49579         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49580
49581         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49582         nonmembers" output to use the right array.
49583
49584         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49585
49586         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49587
49588         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49589         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49590         * catgets/gencat.c (read_input_file): Likewise.
49591         * locale/programs/locarchive.c (enlarge_archive): Likewise.
49592
49593         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49594         variable definition inside #if's controlling its use.
49595
49596         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49597
49598         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49599
49600         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49601
49602         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49603         unreachable code.
49604
49605         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49606
49607         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49608         * configure: Regenerated.
49609
49610         * Makerules: Revert last change.
49611         * elf/Makefile: Likewise.
49612
49613 2011-06-09  Roland McGrath  <roland@hack.frob.com>
49614
49615         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49616         * elf/Makefile ($(objpfx)librtld.os): Likewise.
49617         (reloc-link): Likewise.
49618
49619 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49620
49621         * elf/Makefile: Add rules to build pldd.
49622         * elf/pldd.c: New file.
49623         * elf/pldd-xx.c: New file.
49624
49625 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49626
49627         * version.h: Update for 2.15 development version.
49628
49629 2011-06-07  David S. Miller  <davem@davemloft.net>
49630
49631         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49632         ifuncs.
49633         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49634         elf_machine_lazy_rel): Likewise.
49635         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49636         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49637         elf_machine_lazy_rel): Likewise.
49638         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49639         dl_hwcap via passed in argument.
49640         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49641         Likewise.
49642
49643 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49644
49645         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49646
49647 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49648
49649         [BZ #12849]
49650         * manual/fdl-1.1.texi: New file, verbatim from:
49651         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49652         * manual/lgpl-2.1.texi: New file, verbatim from:
49653         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49654         * manual/Makefile (licenses): New variable, list those new file names.
49655         (texis): Use it.
49656         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49657
49658         * manual/fdl.texi: File removed.
49659         * manual/lesser.texi: File removed.
49660         * manual/libc.texinfo (Copying, Documentation License):
49661         Use new @include file names, put @appendix directive before @include.
49662
49663 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49664
49665         [BZ #12841]
49666         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49667         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49668         (mq_open): Add __NTH.
49669
49670 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49671
49672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49673         Assume Intel Core i3/i5/i7 processor if AVX is available.
49674
49675 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49676
49677         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49678         typo.
49679
49680 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49681
49682         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49683         memory.  Use alloca_account.  Fix memory leak when retrying.
49684
49685 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49686
49687         * version.h (RELEASE): Bump for 2.14 release.
49688         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49689
49690         * config.make.in (RANLIB): Remove entry.
49691
49692 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49693
49694         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49695         (libc.pot): Work around missing support for .ksh extension in xgettext.
49696
49697         [BZ #12684]
49698         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49699         if both request failed.
49700         (send_dg): In case of server errors clear resplen or *resplen2.
49701
49702         [BZ #12454]
49703         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49704         when there are multiple maps.
49705         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49706         (_dl_fini): Remove test here.
49707
49708         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49709
49710 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49711
49712         [BZ #12350]
49713         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49714         bit from old_res_options.
49715         (gaih_inet): Likewise.
49716
49717         [BZ #11099]
49718         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49719         as signed.
49720
49721         * resolv/res_init.c (res_setoptions): Make the code more compact.
49722
49723         [BZ #11558]
49724         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49725         set RES_USEVC.
49726
49727         [BZ #11634]
49728         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49729
49730         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49731
49732         [BZ #11781]
49733         * malloc/malloc.h: Declare malloc hook variables as volatile.
49734
49735         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49736         in last patch.
49737
49738         [BZ #11799]
49739         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49740         raise in the comment.
49741         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49742         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49743         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49744
49745 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49746
49747         [BZ #12811]
49748         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49749         grow the buffers more if it already has to be sufficient.
49750         (build_wcs_upper_buffer): Likewise.
49751         * posix/regexec.c (check_matching): Likewise.
49752         (clean_state_log_if_needed): Likewise.
49753         (extend_buffers): Don't enlarge buffers beyond size of the input
49754         buffer.
49755         Patches mostly by Emil Wojak <emil@wojak.eu>.
49756         * posix/bug-regex32.c: New file.
49757         * posix/Makefile (tests): Add bug-regex32.
49758
49759         * locale/findlocale.c (_nl_find_locale): Return right away if
49760         _nl_explode_name failed.
49761         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49762
49763         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49764
49765         * debug/xtrace.sh: Unify messages.
49766         * malloc/memusage.sh: Likewise.
49767
49768         [BZ #12813]
49769         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49770         time symbol from vDSO.  Substitute with vsyscall if not available.
49771         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49772         __vdso_time.
49773
49774         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49775         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49776         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49777         Add sendmmsg and internal_sendmmsg.
49778         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49779         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49780         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49781
49782         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49783         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49784         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49785
49786 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49787
49788         [BZ #12813]
49789         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49790         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49791         available.
49792         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49793         __vdso_getcpu.
49794
49795         [BZ #12814]
49796         * iconvdata/Makefile (tests): Add bug-iconv9.
49797         * iconvdata/bug-iconv9.c: New file.
49798
49799 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49800
49801         [BZ #12814]
49802         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49803
49804 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49805
49806         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49807         (struct user_regs_struct): Change intcs field back to cs.
49808
49809 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49810
49811         * po/ja.po: Update from translation team.
49812
49813 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49814
49815         [BZ #12795]
49816         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49817         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49818
49819 2011-05-20  Andreas Schwab  <schwab@redhat.com>
49820
49821         * stdlib/longlong.h: Update from GCC.
49822
49823 2011-05-23  Andreas Schwab  <schwab@redhat.com>
49824
49825         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49826         parameter name.
49827         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49828         Add parameter name.
49829         (__sysconf): Pass it down.
49830
49831 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
49832
49833         [BZ #12671]
49834         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49835         some situations.
49836         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49837         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49838         add in in __libc_use_alloca calls.  Adjust callers.
49839         (glob): Use malloc in some situations.
49840
49841         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49842         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49843         pltexit.
49844
49845 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
49846
49847         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49848         and CLOCK_BOOTTIME_ALARM.
49849
49850         [BZ #12782]
49851         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49852         is returned.
49853
49854         * string/_strerror.c (__strerror_r): Print negative errors as signed
49855         numbers.
49856
49857         [BZ #12777]
49858         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49859         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49860         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49861
49862         * configure.in: Fix typo in redirection and correct removal of test
49863         files in two cases.
49864
49865         [BZ #12788]
49866         * locale/setlocale.c (new_composite_name): Fix test to check for
49867         identical name of all categories.
49868
49869         [BZ #12792]
49870         * libio/filedoalloc.c (local_isatty): New function.
49871         (_IO_file_doallocate): Use local_isatty.
49872         * stdio-common/perror.c (perror): In case a new stream is used
49873         forward the stream error.
49874         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49875         error flag.
49876
49877 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
49878
49879         [BZ #11869]
49880         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49881         alloca.
49882         * include/alloca.h (extend_alloca_account): Define.
49883
49884         [BZ #11857]
49885         * posix/regex.h: Fix comments with documentation of user-accessible
49886         fields after compilation and describe correct free'ing of pattern
49887         after re_compile_pattern.
49888         Patch by Reuben Thomas <rrt@sc3d.org>.
49889
49890 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
49891
49892         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49893         and -mno-altivec to prevent the compiler from using Altivec and/or
49894         VSX instructions when the corresponding registers are not available.
49895
49896 2011-05-19  Andreas Schwab  <schwab@redhat.com>
49897
49898         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49899
49900 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
49901
49902         * libio/freopen.c (freopen): Use __dup2, not dup2.
49903         * libio/freopen64.c (freopen64): Likewise.
49904
49905 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49906
49907         [BZ #12775]
49908         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49909         * math/Makefile (tests): Add test-powl.
49910         (CFLAGS-test-powl.c): Define.
49911         * math/test-powl.c: New file.
49912
49913 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49914
49915         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49916
49917 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
49918
49919         [BZ #11837]
49920         * iconvdata/gb18030.c: Update to GB18020-2005.
49921
49922 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
49923
49924         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49925         RE_SYNTAX_POSIX_AWK): Update to match recent development.
49926         Patch by Aharon Robbins <arnold@skeeve.com>.
49927
49928         [BZ #11892]
49929         * stdlib/putenv.c (putenv): Don't always create copy of the variable
49930         on the stack.
49931
49932         [BZ #11895]
49933         * misc/pselect.c (__pselect): Handle timeout value errors hidden
49934         through underflows.
49935
49936         [BZ #12766]
49937         * misc/error.c (error_at_line): Ensure file_name and old_file_name
49938         point to strings before performing equality test for error_one_per_line
49939         mode.
49940
49941         [BZ #11697]
49942         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49943
49944         [BZ #11820]
49945         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49946         (struct user_fpregs_struct): Avoid __uint*_t types.
49947
49948         [BZ #6420]
49949         * malloc/mtrace.c (tr_where): Add additional parameter to point to
49950         symbol info.  Use it instead of calling _dl_addr locally.
49951         (lock_and_info): New function.
49952         (tr_freehook): Call lock_and_info and pass symbol info as additional
49953         parameter to tr_where.
49954         (tr_mallochook): Likewise.
49955         (tr_reallochook): Likewise.
49956         (tr_memalignhook): Likewise.
49957
49958         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
49959         used and couldn't be at all thread-safe.
49960
49961 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
49962
49963         * libio/freopen.c (freopen): Don't close old file descriptor
49964         before the new one is opened.  Instead dup the new file descriptor
49965         to the old one after the new stream is created.
49966         * libio/freopen64.c (freopen64): Likewise.
49967         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49968         * libio/fileops.c (_IO_new_file_close_it): Handle new
49969         _IO_FLAGS2_NOCLOSE flag.
49970         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49971         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49972         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49973         _IO_FLAGS2_NOCLOSE flag.
49974         * include/unistd.h: Add hidden_proto for dup3.
49975         Define __have_dup3.
49976         * io/dup3.c: Define hidden symbol.
49977         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49978
49979         [BZ #7101]
49980         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49981         when an incomplete long option is used.
49982         * posix/tst-getopt_long1.c: New file.
49983         * posix/Makefile (tests): Add tst-getopt_long1.
49984
49985         [BZ #10138]
49986         * scripts/config.guess: Update from autoconf-2.68.
49987         * scripts/config.sub: Likewise.
49988
49989         [BZ #10157]
49990         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49991         tests into ...
49992         (has_cpuclock): ...this.  New function.
49993         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49994         macro here based on has_cpuclock code.
49995
49996         [BZ #10149]
49997         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49998         First byte (not low byte) is now always NUL.
49999         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50000
50001         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50002         Use non-cancelable interfaces.
50003
50004         [BZ #9809]
50005         * locale/iso-639.def: Add entry for Sorani.
50006
50007         [BZ #11901]
50008         * include/stdlib.h: Move include protection to the right place.
50009         Define abort_msg_s.  Declare __abort_msg with it.
50010         * stdlib/abort.c (__abort_msg): Adjust type.
50011         * assert/assert.c (__assert_fail_base): New function.  Majority
50012         of code from __assert_fail.  Allocate memory for __abort_msg with
50013         mmap.
50014         (__assert_fail): Now call __assert_fail_base.
50015         * assert/assert-perr.c: Remove bulk of implementation.  Use
50016         __assert_fail_base.
50017         * include/assert.hL Declare __assert_fail_base.
50018         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50019         mmap.
50020         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50021
50022 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
50023
50024         [BZ #11952]
50025         [BZ #12453]
50026         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50027         until all modules are registered in the DTV.
50028         * elf/Makefile: Add rules to build and run tst-tls19.
50029         * elf/tst-tls19.c: New file.
50030         * elf/tst-tls19mod1.c: New file.
50031         * elf/tst-tls19mod2.c: New file.
50032         * elf/tst-tls19mod3.c: New file.
50033         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50034
50035         [BZ #12083]
50036         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50037         correctly.
50038
50039         [BZ #12601]
50040         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50041         two-byte sequence errors.
50042         * iconvdata/Makefile (tests): Add bug-iconv8.
50043         * iconvdata/bug-iconv8.c: New file.
50044
50045         [BZ #12626]
50046         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50047         buf2 definition.
50048
50049         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50050
50051         [BZ #12432]
50052         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50053         (dummy_getcfa): New function.
50054         (init): Get _Unwind_GetCFA address, use dummy if not found.
50055         (backtrace_helper): In recursion check, also check whether CFA changes.
50056         (__backtrace): Completely initialize arg.
50057
50058         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50059         storing incomplete byte sequence in state object.  Avoid testing for
50060         guaranteed too small input if we know there is enough data available.
50061
50062 2011-05-11  Andreas Schwab  <schwab@redhat.com>
50063
50064         * Makeconfig (+link-pie): Indent.
50065         * Rules (binaries-pie): Define if $(have-fpie) and
50066         $(build-shared).
50067         (binaries-shared): Also filter out $(binaries-pie).
50068         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50069         * nscd/Makefile (others-pie): Add nscd.
50070         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50071         ($(objpfx)nscd): Remove command override.
50072         * login/Makefile (others-pie): Add pt_chown.
50073         ($(objpfx)pt_chown): Remove command override.
50074         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50075         remove command overrides.
50076
50077 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
50078
50079         * libio/tst_putwc.c: Fix error messages.
50080
50081         [BZ #12724]
50082         * libio/fileops.c (_IO_new_file_close_it): Always flush when
50083         currently writing and seek to current position when not.
50084         * libio/Makefile (tests): Add bug-fclose1.
50085         * libio/bug-fclose1.c: New file.
50086
50087 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
50088
50089         [BZ #12511]
50090         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50091         don't set DF_1_NODELETE here.
50092         (do_lookup_x): When entering new entry test for copy relocation
50093         and if necessary set DF_1_NODELETE flag.
50094         * elf/tst-unique4.cc: New file.
50095         * elf/tst-unique4.h: New file.
50096         * elf/tst-unique4lib.cc: New file.
50097         * elf/Makefile: Add rules to build and run tst-unique4.
50098         Patch by Piotr Bury <pbury@goahead.com>.
50099
50100 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
50101
50102         [BZ #12052]
50103         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50104
50105         [BZ #12625]
50106         * misc/mntent_r.c (addmntent): Flush the stream after the output
50107
50108         [BZ #12393]
50109         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50110         (is_trusted_path_normalize): Skip initial colon.  Append slash
50111         to empty buffer.  Duplicate is_trusted_path code but allow
50112         constructed patch to be prefix.
50113         (is_dst): Allow $ORIGIN followed by /.
50114         (_dl_dst_substitute): Correct clearing of check_for_trusted.
50115         Correct testing of result of is_trusted_path_normalize
50116         (decompose_rpath): Fix warning.
50117
50118 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
50119
50120         [BZ #11257]
50121         * grp/initgroups.c (internal_getgrouplist): When we found the service
50122         list through the initgroups entry in nsswitch.conf do not always
50123         continue on a successful lookup.  Don't always use the
50124         __nss_group_database value if it is set.
50125         * nss/nsswitch.conf (initgroups): Change action for successful db
50126         lookup to continue for compatibility.
50127
50128 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
50129
50130         [BZ #11532]
50131         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50132         and CP774 modules.
50133         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50134         and CP774 modules.
50135         * iconvdata/tst-tables.sh: Likewise.
50136         * iconvdata/cp770.c: New file.
50137         * iconvdata/cp771.c: New file.
50138         * iconvdata/cp772.c: New file.
50139         * iconvdata/cp773.c: New file.
50140         * iconvdata/cp774.c: New file.
50141         * iconvdata/testdata/CP770: New file.
50142         * iconvdata/testdata/CP770..UTF8: New file.
50143         * iconvdata/testdata/CP771: New file.
50144         * iconvdata/testdata/CP771..UTF8: New file.
50145         * iconvdata/testdata/CP772: New file.
50146         * iconvdata/testdata/CP772..UTF8: New file.
50147         * iconvdata/testdata/CP773: New file.
50148         * iconvdata/testdata/CP773..UTF8: New file.
50149         * iconvdata/testdata/CP774: New file.
50150         * iconvdata/testdata/CP774..UTF8: New file.
50151
50152         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50153         END CHARMAP line.
50154         * iconvdata/gen-8bit-gap.sh: Likewise.
50155         * iconvdata/gen-8bit.sh: Likewise.
50156
50157         * locale/iso-639.def: Add ary entry.
50158
50159         [BZ #11258]
50160         * locale/C-translit.h.in: Add U20A1 transliteration.
50161
50162         [BZ #12178]
50163         * locale/iso-639.def: Add wae entry.
50164         Patch by Kevin Bortis <bortis@translate-wae.ch>.
50165
50166         [BZ #12545]
50167         * locale/programs/localedef.c (construct_output_path): Use ssize_t
50168         for n.
50169
50170         [BZ #12711]
50171         * locale/C-translit.h.in: Add entry for U20B9.
50172         Patch by pravin.d.s@gmail.com.
50173
50174 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
50175
50176         [BZ #12713]
50177         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50178         ENAMETOOLONG use generic getcwd.
50179         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
50180         in rtld.  Use *stat64.
50181         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50182         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50183         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50184         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50185         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50186         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50187         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50188         __fstatat64 macros.
50189         * include/dirent.h: Add libc_hidden_proto for rewinddir.
50190         * dirent/rewinddir.c: Add libc_hidden_def.
50191         * sysdeps/mach/hurd/rewinddir.c: Likewise.
50192         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
50193
50194         * include/dirent.h (__alloc_dir): Add flags parameter.
50195         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50196         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50197         __alloc_dir.
50198         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
50199         from fdopendir if O_CLOEXEC is already set.
50200
50201 2011-03-15  Alan Modra  <amodra@gmail.com>
50202
50203         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50204         l_tls_firstbyte_offset non-zero.  Save padding offset in
50205         l_tls_firstbyte_offset for later use.
50206         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50207         freeing static tls block.
50208
50209 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
50210
50211         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50212         where #ifdef was intended.  The intent is to prevent ARG_MAX from
50213         being defined by the kernel headers.
50214
50215 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
50216
50217         [BZ #12734]
50218         * resolv/resolv.h: Define RES_NOTLDQUERY.
50219         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50220         no-tld-query and set RES_NOTLDQUERY.
50221         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50222         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50223         modern BIND to search name as TLD unless forbidden.
50224
50225 2011-05-07  Petr Baudis  <pasky@suse.cz>
50226             Ulrich Drepper  <drepper@gmail.com>
50227
50228         [BZ #12393]
50229         * elf/dl-load.c (fillin_rpath): Move trusted path check...
50230         (is_trusted_path): ...to here.
50231         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50232         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50233         using is_trusted_path_normalize() in setuid scripts.
50234
50235 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50236
50237         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50238         __BEGIN/__END_DECLS.
50239
50240 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
50241
50242         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50243         NSS_STATUS_NOTFOUND if no record was found.
50244
50245 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50246
50247         * sunrpc/Makefile (headers): Add rpc/netdb.h.
50248         (headers-not-in-tirpc): Remove rpc/netdb.h
50249         * resolv/netdb.h: Revert last change.
50250
50251 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50252
50253         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50254         circular dependency between libgcc.a and libc.a.
50255
50256 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50257
50258         * resolv/netdb.h: Don't include <rpc/netdb.h>.
50259         * nis/Makefile: Don't install rpcsvc/*.
50260         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50261         instead of <rpc/types.h>.
50262         (MAXHOSTNAMELEN): Define.
50263
50264 2011-05-03  Andreas Schwab  <schwab@redhat.com>
50265
50266         * elf/ldconfig.c (add_dir): Don't crash on empty path.
50267
50268 2011-04-28  Maciej Babinski  <mbabinski@google.com>
50269
50270         [BZ #12714]
50271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50272         gethostbyname4_r when IPv6 results are possible.
50273
50274 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
50275
50276         [BZ #12723]
50277         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50278         _PC_PIPE_BUF handling.
50279
50280 2011-04-30  Bruno Haible  <bruno@clisp.org>
50281
50282         [BZ #12717]
50283         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50284         * resolv/netdb.h (getnameinfo): Change type of flags parameter
50285         to 'int'.
50286         * inet/getnameinfo.c (getnameinfo): Likewise.
50287
50288 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
50289
50290         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50291         to groups setting in database lookup.
50292         * nss/nsswitch.conf: Add initgroups entry.
50293
50294 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
50295
50296         [BZ #12685]
50297         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50298         mode string.
50299         Patch by Eric Blake <eblake@redhat.com>.
50300
50301 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
50302
50303         * sunrpc/Makefile (need-export-routines): Add svc_run.
50304         (routines): Remove svc_run.
50305         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50306         * sunrpc/clnt_perr.c (clnt_perrno): Export.
50307         * sunrpc/svc_run.c (svc_run): Likewise.
50308         * sunrpc/svc_udp.c (svcudp_create): Likewise.
50309
50310 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
50311
50312         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50313         problem in reallocation in last patch.
50314
50315 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
50316
50317         * sunrpc/Makefile: Move inclusion of Rules.
50318
50319 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50320
50321         * nss/nss_files/files-initgroups.c: New file.
50322         * nss/Makefile (libnss_files-routines): Add files-initgroups.
50323         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50324         _nss_files_initgroups_dyn.
50325
50326 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
50327
50328         * elf/elf.h (R_ARM_IRELATIVE): Define.
50329
50330 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50331
50332         * po/ru.po: Update from translation team.
50333
50334 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50335
50336         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50337         dependencies.
50338
50339 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
50340
50341         [BZ #12653]
50342         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50343         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50344         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50345         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50346         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50347
50348 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
50349
50350         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50351         differing bytes.
50352         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50353         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50354         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50355
50356 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50357
50358         [BZ #12420]
50359         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50360         storing it.
50361         * stdlib/bug-getcontext.c: New file.
50362         * stdlib/Makefile: Add rules to build and run bug-getcontext.
50363
50364 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50365
50366         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50367         instructions into .machine "z9-109".
50368         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50369         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50370
50371 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50372
50373         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50374         between environment variables and auxiliary vector.
50375
50376 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
50377
50378         * Makefile: Add rules to build linkobj/libc.so.
50379         * include/libc-symbols.h: Define libc_hidden_nolink.
50380         * include/rpc/auth.h: Mark functions which are to be hidden.
50381         * include/rpc/auth_des.h: Likewise.
50382         * include/rpc/auth_unix.h: Likewise.
50383         * include/rpc/clnt.h: Likewise.
50384         * include/rpc/des_crypt.h: Likewise.
50385         * include/rpc/key_prot.h: Likewise.
50386         * include/rpc/pmap_clnt.h: Likewise.
50387         * include/rpc/pmap_prot.h: Likewise.
50388         * include/rpc/pmap_rmt.h: Likewise.
50389         * include/rpc/rpc_msg.h: Likewise.
50390         * include/rpc/svc.h: Likewise.
50391         * include/rpc/svc_auth.h: Likewise.
50392         * include/rpc/xdr.h: Likewise.
50393         * nis/Makefile: Link all DSOs against linkobj/libc.so.
50394         * nss/Makefile: Likewise.
50395         * sunrpc/Makefile: Don't install headers.  Build library with normal
50396         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
50397         * sunrpc/auth_des.c: Hide exported symbols by default, export some
50398         for the compat linking library.  Remove use of INTDEF/INTUSE.
50399         * sunrpc/auth_none.c: Likewise.
50400         * sunrpc/auth_unix.c: Likewise.
50401         * sunrpc/authdes_prot.c: Likewise.
50402         * sunrpc/authuxprot.c: Likewise.
50403         * sunrpc/clnt_gen.c: Likewise.
50404         * sunrpc/clnt_perr.c: Likewise.
50405         * sunrpc/clnt_raw.c: Likewise.
50406         * sunrpc/clnt_simp.c: Likewise.
50407         * sunrpc/clnt_tcp.c: Likewise.
50408         * sunrpc/clnt_udp.c: Likewise.
50409         * sunrpc/clnt_unix.c: Likewise.
50410         * sunrpc/des_crypt.c: Likewise.
50411         * sunrpc/des_soft.c: Likewise.
50412         * sunrpc/get_myaddr.c: Likewise.
50413         * sunrpc/key_call.c: Likewise.
50414         * sunrpc/key_prot.c: Likewise.
50415         * sunrpc/netname.c: Likewise.
50416         * sunrpc/pm_getmaps.c: Likewise.
50417         * sunrpc/pm_getport.c: Likewise.
50418         * sunrpc/pmap_clnt.c: Likewise.
50419         * sunrpc/pmap_prot.c: Likewise.
50420         * sunrpc/pmap_prot2.c: Likewise.
50421         * sunrpc/pmap_rmt.c: Likewise.
50422         * sunrpc/publickey.c: Likewise.
50423         * sunrpc/rpc_cmsg.c: Likewise.
50424         * sunrpc/rpc_common.c: Likewise.
50425         * sunrpc/rpc_dtable.c: Likewise.
50426         * sunrpc/rpc_prot.c: Likewise.
50427         * sunrpc/rpc_thread.c: Likewise.
50428         * sunrpc/rtime.c: Likewise.
50429         * sunrpc/svc.c: Likewise.
50430         * sunrpc/svc_auth.c: Likewise.
50431         * sunrpc/svc_authux.c: Likewise.
50432         * sunrpc/svc_raw.c: Likewise.
50433         * sunrpc/svc_run.c: Likewise.
50434         * sunrpc/svc_simple.c: Likewise.
50435         * sunrpc/svc_tcp.c: Likewise.
50436         * sunrpc/svc_udp.c: Likewise.
50437         * sunrpc/svc_unix.c: Likewise.
50438         * sunrpc/svcauth_des.c: Likewise.
50439         * sunrpc/xcrypt.c: Likewise.
50440         * sunrpc/xdr.c: Likewise.
50441         * sunrpc/xdr_array.c: Likewise.
50442         * sunrpc/xdr_float.c: Likewise.
50443         * sunrpc/xdr_intXX_t.c: Likewise.
50444         * sunrpc/xdr_mem.c: Likewise.
50445         * sunrpc/xdr_rec.c: Likewise.
50446         * sunrpc/xdr_ref.c: Likewise.
50447         * sunrpc/xdr_sizeof.c: Likewise.
50448         * sunrpc/xdr_stdio.c: Likewise.
50449
50450 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
50451
50452         [BZ #12650]
50453         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50454         * sysdeps/ia64/dl-tls.h: Likewise.
50455         * sysdeps/powerpc/dl-tls.h: Likewise.
50456         * sysdeps/s390/dl-tls.h: Likewise.
50457         * sysdeps/sh/dl-tls.h: Likewise.
50458         * sysdeps/sparc/dl-tls.h: Likewise.
50459         * sysdeps/x86_64/dl-tls.h: Likewise.
50460         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50461
50462 2011-03-14  Andreas Schwab  <schwab@redhat.com>
50463
50464         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50465         rpath element also skip the following colon.
50466         (expand_dynamic_string_token): Add is_path parameter and pass
50467         down to DL_DST_REQUIRED and _dl_dst_substitute.
50468         (decompose_rpath): Call expand_dynamic_string_token with
50469         non-zero is_path.  Ignore empty rpaths.
50470         (_dl_map_object_from_fd): Call expand_dynamic_string_token
50471         with zero is_path.
50472
50473 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
50474
50475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50476         Make cancelable.
50477
50478 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
50479
50480         [BZ #12655]
50481         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50482         Patch by Filipe David Manana <fdmanana@apache.org>.
50483
50484 2011-04-07  Andreas Schwab  <schwab@redhat.com>
50485
50486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50487         Maintain aligned stack.
50488         (CHECK_RSP): Remove unused macro.
50489
50490 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
50491
50492         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50493         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50494
50495 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
50496
50497         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50498
50499         * include/features.h: Mention __USE_XOPEN2K8 in comment.
50500
50501 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
50502
50503         [BZ #12518]
50504         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50505         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50506         * sysdeps/x86_64/memmove.c: New file.
50507         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50508         (memcpy): Renamed to ...
50509         (__new_memcpy): This.
50510         (memcpy): Provide GLIBC_2_14 memcpy.
50511         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50512         (memcpy): Provide GLIBC_2_2_5 memcpy.
50513
50514 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50515
50516         [BZ #12631]
50517         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50518
50519 2011-03-30  Andreas Schwab  <schwab@redhat.com>
50520
50521         * misc/syncfs.c: New file.
50522         * misc/Makefile (routines): Add syncfs.
50523         * posix/unistd.h: Declare syncfs.
50524         * sysdeps/unix/syscalls.list: Add syncfs.
50525
50526 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50527
50528         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50529         open_by_handle_at.
50530         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50531         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50533         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50535         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50536         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50537
50538 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50539
50540         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50541         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50542         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50544         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50545         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50546         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50547
50548         * io/Makefile: Compile fallocate.c, fallocate64.c, and
50549         sync_file_range.c with -fexceptions.
50550         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50551         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50552         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50553         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50554         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50555         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50557         sync_file_range as cancellation point
50558         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
50559         now a wrapper around __call_sync_file_range with cancellation handling.
50560         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50561         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
50562         function name to __call_sync_file_range.
50563         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50564         Add call_sync_file_range.
50565
50566 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50567
50568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50569         bits/timex.h.
50570
50571 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50572
50573         * iconv/iconv.h: Fix typo in comment.
50574         * io/fcntl.h: Likewise.
50575         * libio/stdio.h: Likewise.
50576         * posix/spawn.h: Likewise.
50577         * posix/unistd.h: Likewise.
50578         * stdlib/stdlib.h: Likewise.
50579         * time/time.h: Likewise.
50580         * wcsmbs/wchar.h: Likewise.
50581
50582         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50583         open_by_handle): Add.
50584         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50585         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
50586         Augment a few comments.
50587         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50588         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50589         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50591         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50592         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50593         open_by_handle.
50594
50595         * io/fcntl.h (AT_EMPTY_PATH): Define.
50596
50597 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
50598
50599         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50600         * sysdeps/unix/sysv/linux/bits/time.h: New file.
50601         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50602         to...
50603         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
50604         * Versions.def: Add GLIBC_2.14.
50605         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50606         Export.
50607
50608 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
50609
50610         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50611         round counter.
50612         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50613
50614 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50615
50616         [BZ #12597]
50617         * string/test-strncmp.c (do_page_test): New function.
50618         (check2): Likewise.
50619         (test_main): Call check2.
50620         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50621
50622 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50623
50624         [BZ #12587]
50625         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50626         Handle cache information in CPU leaf 4.
50627         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50628
50629 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50630
50631         [BZ #12583]
50632         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50633         character representation.
50634         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50635
50636 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50637
50638         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50639         END(__isnan) to END(__isnanf) to match function entry point/label
50640         EALIGN(__isnanf,...).
50641
50642 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50643
50644         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50645
50646 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50647
50648         [BZ #12510]
50649         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50650         copy from the symbol referenced in the relocation to initialize the
50651         used variable.
50652         Patch by Piotr Bury <pbury@goahead.com>.
50653         * elf/Makefile: Add rules to build and tst-unique3.
50654         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50655         * elf/tst-unique3.cc: New file.
50656         * elf/tst-unique3.h: New file.
50657         * elf/tst-unique3lib.cc: New file.
50658         * elf/tst-unique3lib2.cc: New file.
50659
50660         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50661
50662 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50663
50664         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50665         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50666         to _start.
50667
50668 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50669
50670         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50671         to-be-loaded object along a path to loader is ld.so.
50672
50673 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50674             Ulrich Drepper  <drepper@gmail.com>
50675
50676         * sysdeps/x86_64/memset.S: After aligning destination, code
50677         branches to different locations depending on the value of
50678         misalignment, when multiarch is enabled. Fix this.
50679
50680 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50681
50682         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50683         Set _x86_64_preferred_memory_instruction for AMD processsors.
50684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50685         Set bit_Prefer_SSE_for_memop for AMD processors.
50686
50687 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50688
50689         * libio/fmemopen.c (fmemopen): Optimize a bit.
50690
50691 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50692
50693         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50694
50695 2011-03-03  Roland McGrath  <roland@redhat.com>
50696
50697         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50698
50699 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50700
50701         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50702         __bzero_ultra1 instead of __memset_ultra1.
50703
50704 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50705             Ulrich Drepper  <drepper@gmail.com>
50706
50707         [BZ #12509]
50708         * include/link.h (struct link_map): Add l_orig_initfini.
50709         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50710         returning unsuccessfully.
50711         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50712         close of a file loaded at startup, restore the original l_initfini
50713         list.
50714         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50715         list, store the pointer.
50716         * elf/Makefile ($(objpfx)noload-mem): New rule.
50717         (noload-ENV): Define.
50718         (tests): Add $(objpfx)noload-mem.
50719         * elf/noload.c: Include <memcheck.h>.
50720         (main): Call mtrace.  Close all opened handles.
50721
50722 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50723
50724         [BZ #12454]
50725         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50726         dependencies are missing.
50727
50728 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50729
50730         Fix __if_freereq crash: Unlike the generic version which uses free,
50731         Hurd needs munmap.
50732         * sysdeps/mach/hurd/ifreq.h: New file.
50733
50734 2011-01-27  Petr Baudis  <pasky@suse.cz>
50735             Ulrich Drepper  <drepper@gmail.com>
50736
50737         [BZ 12445]#
50738         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50739         to extend_alloca().
50740         * stdio-common/bug23.c: New file.
50741         * stdio-common/Makefile (tests): Add bug23.
50742
50743 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50744             Ulrich Drepper  <drepper@gmail.com>
50745
50746         [BZ #12489]
50747         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50748         before performing relro protection.  At old place add assertion
50749         to make sure nothing changed.
50750
50751 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50752             Glauber de Oliveira Costa  <glommer@gmail.com>
50753
50754         * elf/elf.h: Add new ARM TLS relocs.
50755
50756 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50757
50758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50759         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50760         cast from r3.
50761         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50762         'tests' variable.
50763         * sysdeps/wordsize-64/tst-writev.c: New file.
50764
50765 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50766
50767         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50768         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50769         insns in _dl_start to prevent a TOC reference before relocs are
50770         resolved.
50771
50772 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50773
50774         [BZ #12469]
50775         * Makeconfig: Remove RANLIB definition.
50776         * Makerules: Don't use RANLIB.
50777         * aclocal.m4: Remove ranlib test.
50778         * configure.in: No need to check for ranlib.
50779         * elf/rtld-Rules: Don't use RANLIB.
50780
50781 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50782
50783         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50784         protection macro.
50785         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50786         inclusion protection macro.
50787
50788         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50789         SIGRTMIN and SIGRTMAX and print information in that case only when
50790         SIGRTMIN is defined.
50791
50792 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50793
50794         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50795         arginfo fn returning -1.
50796
50797         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50798         and thousands string is zero terminated.
50799
50800 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50801
50802         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50803         sysdeps/unix/sysv/linux/bits/socket.h.
50804
50805 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50806
50807         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50808         (__CPU_COUNT): Remove old macros.
50809         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50810         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50811         (__CPU_ALLOC, __CPU_FREE): Add macros.
50812         (__sched_cpualloc, __sched_cpufree): Add declarations.
50813
50814 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50815
50816         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50817         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50818         * nscd/aicache.c (addhstaiX): Return timeout of added value.
50819         (readdhstai): Return value of addhstaiX call.
50820         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50821         (addgrbyX): Return value returned by cache_addgr.
50822         (readdgrbyname): Return value returned by addgrbyX.
50823         (readdgrbygid): Likewise.
50824         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50825         (addpwbyX): Return value returned by cache_addpw.
50826         (readdpwbyname): Return value returned by addhstbyX.
50827         (readdpwbyuid): Likewise.
50828         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50829         (addservbyX): Return value returned by cache_addserv.
50830         (readdservbyname): Return value returned by addservbyX:
50831         (readdservbyport): Likewise.
50832         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50833         (addhstbyX): Return value returned by cache_addhst.
50834         (readdhstbyname): Return value returned by addhstbyX.
50835         (readdhstbyaddr): Likewise.
50836         (readdhstbynamev6): Likewise.
50837         (readdhstbyaddrv6): Likewise.
50838         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50839         (readdinitgroups): Return value returned by addinitgroupsX.
50840         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50841         (prune_cache): Keep track of timeout value of re-added entries.
50842         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50843         * nscd/nscd.h: Adjust prototypes of readd* functions.
50844
50845 2011-02-04  Roland McGrath  <roland@redhat.com>
50846
50847         * nis/nis_server.c (nis_servstate): Use the right name for 0.
50848         (nis_stats): Likewise.
50849         * nis/nis_modify.c (nis_modify): Likewise.
50850         * nis/nis_remove.c (nis_remove): Likewise.
50851         * nis/nis_add.c (nis_add): Likewise.
50852
50853         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50854
50855         * posix/fnmatch_loop.c: Add some consts.
50856
50857         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50858
50859 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
50860
50861         [BZ #12460]
50862         * config.make.in (config-cflags-novzeroupper): Define.
50863         * configure.in: Substitute libc_cv_cc_novzeroupper.
50864         * elf/Makefile (AVX-CFLAGS): Define.
50865         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50866         (CFLAGS-tst-auditmod4a.c): Likewise.
50867         (CFLAGS-tst-auditmod4b.c): Likewise.
50868         (CFLAGS-tst-auditmod6b.c): Likewise.
50869         (CFLAGS-tst-auditmod6c.c): Likewise.
50870         (CFLAGS-tst-auditmod7b.c): Likewise.
50871         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50872
50873 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
50874
50875         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50876         function to the callback.
50877         Patch partly by Jiri Olsa <jolsa@redhat.com>.
50878
50879 2011-02-02  Andreas Schwab  <schwab@redhat.com>
50880
50881         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50882         of errno.
50883
50884 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
50885
50886         [BZ #11724]
50887         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50888         of constructors.
50889         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50890         of destructors.
50891         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50892
50893         [BZ #11724]
50894         * elf/Makefile: Add rules to build and run new test.
50895         * elf/tst-initorder.c: New file.
50896         * elf/tst-initorder.exp: New file.
50897         * elf/tst-initordera1.c: New file.
50898         * elf/tst-initordera2.c: New file.
50899         * elf/tst-initordera3.c: New file.
50900         * elf/tst-initordera4.c: New file.
50901         * elf/tst-initorderb1.c: New file.
50902         * elf/tst-initorderb2.c: New file.
50903         * elf/tst-order-a1.c: New file.
50904         * elf/tst-order-a2.c: New file.
50905         * elf/tst-order-a3.c: New file.
50906         * elf/tst-order-a4.c: New file.
50907         * elf/tst-order-b1.c: New file.
50908         * elf/tst-order-b2.c: New file.
50909         * elf/tst-order-main.c: New file.
50910         New test case by George Gensure <werkt0@gmail.com>.
50911
50912 2010-10-01  Andreas Schwab  <schwab@redhat.com>
50913
50914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50915         decoding ACE if AI_CANONIDN.
50916
50917 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
50918
50919         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50920
50921 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
50922
50923         * version.h (RELEASE): Bump for 2.13 release.
50924         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50925
50926         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50927
50928         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50929         MADV_NOHUGEPAGE.
50930         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50931         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50932         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50933         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50934         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50935         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50936
50937         * posix/getconf.c: Update copyright year.
50938         * catgets/gencat.c: Likewise.
50939         * csu/version.c: Likewise.
50940         * debug/catchsegv.sh: Likewise.
50941         * debug/xtrace.sh: Likewise.
50942         * elf/ldconfig.c: Likewise.
50943         * elf/ldd.bash.in: Likewise.
50944         * elf/sprof.c (print_version): Likewise.
50945         * iconv/iconv_prog.c: Likewise.
50946         * iconv/iconvconfig.c: Likewise.
50947         * locale/programs/locale.c: Likewise.
50948         * locale/programs/localedef.c: Likewise.
50949         * malloc/memusage.sh: Likewise.
50950         * malloc/mtrace.pl: Likewise.
50951         * nscd/nscd.c (print_version): Likewise.
50952         * nss/getent.c: Likewise.
50953
50954         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50955         PF_CAIF, and PF_ALG.
50956         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50957
50958 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
50959
50960         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50961         (modules-names): Use them.
50962         (ifunc-test-modules, ifunc-pie-tests): Define.
50963         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50964         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50965         (test-extras): Likewise.
50966         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50967         $(compile-command.c).
50968         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50969         (all-built-dso): Define.
50970         (check-textrel.out, check-execstack.out): Depend on it.
50971
50972         * configure.in: Don't override --enable-multi-arch.
50973
50974 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
50975
50976         [BZ #6812]
50977         * nscd/hstcache.c (tryagain): Define.
50978         (cache_addhst): Return tryagain not notfound for temporary errors.
50979         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50980         failed.
50981
50982 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
50983
50984         [BZ #10563]
50985         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50986         to make the syscall.
50987         * sysdeps/unix/sysv/linux/setgroups.c: New file.
50988
50989         [BZ #12378]
50990         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50991         and fall back to matching as normal character if the string ends before
50992         the matching ']' is found.  This is what POSIX requires.
50993         * posix/testfnm.c: Adjust test result.
50994         * posix/globtest.sh: Adjust test result.  Add new test.
50995         * posix/tst-fnmatch.input: Likewise.
50996         * posix/tst-fnmatch2.c: Add new test.
50997
50998 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
50999
51000         * elf/Makefile (check-execstack): Revert last change.  Depend on
51001         check-execstack.h.
51002         (check-execstack.h): New target.
51003         (generated): Add check-execstack.h.
51004         * elf/check-execstack.c: Include "check-execstack.h".
51005         (main): Revert last change.
51006         (handle_file): Return zero if GNU_STACK is absent and
51007         DEFAULT_STACK_PERMS doesn't include PF_X.
51008
51009 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
51010
51011         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51012         in child fails because the descriptor is already closed.
51013         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51014         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51015         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51016
51017         [BZ #12397]
51018         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51019         syscall.
51020
51021         [BZ #10484]
51022         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51023         temporary buffer used to handle multi lookups locally.
51024         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51025
51026 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51027
51028         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51029         loader is ld.so.
51030
51031 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
51032
51033         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51034         alignment for SSE2.
51035
51036 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51037
51038         [BZ #12394]
51039         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51040         characters.  When rounding increased number of integer digits recompute
51041         number of groups.
51042         * stdio-common/tst-grouping.c: New file.
51043         * stdio-common/Makefile: Add rules to build and run tst-grouping.
51044
51045 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
51046
51047         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51048         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
51049
51050         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51051         void.
51052         * bits/select.h: Likewise.
51053
51054 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
51055
51056         * po/ja.po: Update from translation team.
51057
51058 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
51059
51060         [BZ #11155]
51061         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51062         implementation just like for lxstat, fxstatat, et al.
51063
51064 2010-12-27  Jim Meyering  <meyering@redhat.com>
51065
51066         [BZ #12348]
51067         * posix/regexec.c (build_trtable): Return failure indication upon
51068         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
51069
51070 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
51071
51072         [BZ #12201]
51073         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51074         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51075         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51076         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51077
51078         [BZ #12207]
51079         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51080
51081         [BZ #12204]
51082         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51083         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51084
51085 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
51086
51087         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51088         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51089         script has SORT_BY_INIT_PRIORITY.
51090         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51091         NO_CTORS_DTORS_SECTIONS is defined.
51092         * elf/soinit.c: Likewise.
51093         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51094         NO_CTORS_DTORS_SECTIONS is defined.
51095         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51096         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51097         * sysdeps/sh/init-first.c: Likewise.
51098         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51099
51100 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
51101
51102         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51103         always use the slow path.
51104
51105 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
51106
51107         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51108         similar rule which adds the sysdep directories to the header search in
51109         order to pick up the correct platform stackinfo.h.
51110         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51111         perform test if it is, otherwise return successfully without testing.
51112         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51113         DEFAULT_STACK_PERMS define in stackinfo.h.
51114         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51115         defined in stackinfo.h.
51116         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51117         DEFAULT_STACK_PERMS defined in stackinfo.h.
51118         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51119         * sysdeps/ia64/stackinfo.h: Likewise.
51120         * sysdeps/s390/stackinfo.h: Likewise.
51121         * sysdeps/sh/stackinfo.h: Likewise.
51122         * sysdeps/sparc/stackinfo.h: Likewise.
51123         * sysdeps/x86_64/stackinfo.h: Likewise.
51124         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51125         PF_X for powerpc64.  Retain PF_X for powerpc32.
51126
51127 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
51128
51129         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51130         accurately.
51131         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51132         GETDENTS_64BIT_ALIGNED.
51133
51134 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
51135
51136         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51137
51138 2010-12-10  Andreas Schwab  <schwab@redhat.com>
51139
51140         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51141         _GNU_SOURCE.
51142
51143         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51144         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51145         Remove __restrict.
51146         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51147         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51148
51149 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
51150
51151         [BZ #11655]
51152         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51153         are initialized.
51154
51155 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
51156
51157         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51158
51159 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
51160
51161         * po/it.po: Update from translation team.
51162
51163 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
51164
51165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51166         unused codes.
51167
51168 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
51169
51170         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51171
51172 2010-11-24  Andreas Schwab  <schwab@redhat.com>
51173
51174         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51175         specially.
51176         (gaih_getanswer_slice): Likewise.
51177
51178 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
51179
51180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51181
51182 2010-05-31  Petr Baudis  <pasky@suse.cz>
51183
51184         [BZ #11149]
51185         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51186         silently even in the chroot mode.
51187
51188 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
51189
51190         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51191         last patch a bit.  Pretty printing
51192
51193 2010-05-31  Petr Baudis <pasky@suse.cz>
51194
51195         [BZ #10085]
51196         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51197         initialization of skip_initgroups_dyn.
51198
51199 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
51200
51201         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51202         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51203
51204 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
51205
51206         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51207
51208 2010-11-11  Andreas Schwab  <schwab@redhat.com>
51209
51210         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51211         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51212         (tst-fnmatch-ENV): Set MALLOC_TRACE.
51213         ($(objpfx)tst-fnmatch-mem): New rule.
51214         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51215         * posix/tst-fnmatch.c (main): Call mtrace.
51216
51217 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
51218
51219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51220         Support Intel processor model 6 and model 0x2c.
51221
51222 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
51223
51224         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51225           signed comparison.
51226
51227 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
51228
51229         [BZ #12205]
51230         * string/test-strncasecmp.c (check_result): New function.
51231         (do_one_test): Use it.
51232         (check1): New function.
51233         (test_main): Use it.
51234         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51235         Support strcasecmp and strncasecmp.
51236
51237 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
51238
51239         [BZ #12194]
51240         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51241         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51242
51243 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51244
51245         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51246         IFUNC support.
51247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51248         memset-x86-64.
51249         * sysdeps/x86_64/multiarch/bzero.S: New file.
51250         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51251         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51252         * sysdeps/x86_64/multiarch/memset.S: New file.
51253         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51255         Set bit_Prefer_SSE_for_memop for Intel processors.
51256         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51257         Define.
51258         (index_Prefer_SSE_for_memop): Define.
51259         (HAS_PREFER_SSE_FOR_MEMOP): Define.
51260
51261 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
51262
51263         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51264         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51265
51266 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
51267
51268         [BZ #12191]
51269         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51270         (__x86_64_raw_data_cache_size_half): Likewise.
51271         (__x86_64_raw_shared_cache_size): Likewise.
51272         (__x86_64_raw_shared_cache_size_half): Likewise.
51273
51274         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51275         (__x86_64_raw_data_cache_size_half): Likewise.
51276         (__x86_64_raw_shared_cache_size): Likewise.
51277         (__x86_64_raw_shared_cache_size_half): Likewise.
51278         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51279         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51280         and __x86_64_raw_shared_cache_size_half.  Round
51281         __x86_64_data_cache_size_half, __x86_64_data_cache_size
51282         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51283         to multiple of 256 bytes.
51284
51285 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
51286
51287         [BZ #12167]
51288         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51289         of inacessible symlinks.  Verify result of symlink before returning it.
51290         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51291         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51292
51293 2010-10-28  Erich Ritz  <erichritz@gmail.com>
51294
51295         * math/math.h (isinf): Fix typo in comment.
51296
51297 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
51298
51299         * po/da.po: Update from translation team.
51300
51301 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
51302
51303         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51304         is added to the list.
51305
51306 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51307             Ulrich Drepper  <drepper@gmail.com>
51308
51309         * elf/dl-object.c (_dl_new_object): Don't append the new object to
51310         the global list here.  Move code to...
51311         (_dl_add_to_namespace_list): ...here.  New function.
51312         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51313         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51314         * elf/dl-load.c (lose): Don't remove the element from the list.
51315         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51316         (_dl_map_object): Likewise.
51317
51318 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
51319
51320         [BZ #12159]
51321         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51322         into all bytes of SSE register.
51323         Patch by Richard Li <richardpku@gmail.com>.
51324
51325 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
51326
51327         [BZ #12140]
51328         * malloc/malloc.c (_int_free): Fill correct number of bytes when
51329         perturbing.
51330
51331 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
51332
51333         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51334         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51335         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51336         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51338         submachine.
51339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51340
51341 2010-10-22  Andreas Schwab  <schwab@redhat.com>
51342
51343         * include/dlfcn.h (__RTLD_SECURE): Define.
51344         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
51345         mode & __RTLD_SECURE instead.
51346         (open_path): Rename preloaded parameter to secure.
51347         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51348         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51349         * elf/dl-deps.c (openaux): Likewise.
51350         * elf/rtld.c (struct map_args): Remove is_preloaded.
51351         (map_doit): Don't use it.
51352         (dl_main): Likewise.
51353         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51354         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51355
51356 2010-09-09  Andreas Schwab  <schwab@redhat.com>
51357
51358         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51359         (sysd-rules-targets): Remove duplicates.
51360         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51361         rtld-%.$o dependency.
51362
51363 2010-10-18  Andreas Schwab  <schwab@redhat.com>
51364
51365         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51366         _dl_map_object do it.
51367
51368 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
51369
51370         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51371         fast fma builtins, define the macros in the C99 standard.
51372         (FP_FAST_FMAF): Likewise.
51373         (FP_FAST_FMAL): Likewise.
51374         * sysdeps/x86_64/bits/mathdef.h: Likewise.
51375
51376         * bits/mathdef.h: Update copyright year.
51377         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51378
51379 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
51380
51381         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51382         builtins, define the macros in the C99 standard.
51383         (FP_FAST_FMAF): Likewise.
51384         (FP_FAST_FMAL): Likewise.
51385         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51386         multiply/add.
51387         (FP_FAST_FMAF): Likewise.
51388
51389 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
51390
51391         [BZ #3268]
51392         * math/libm-test.inc (fma_test): Some new testcases.
51393         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51394         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51395         y and infinite z.  Do multiplication by C already in long double.
51396         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51398         y and infinite z.  Do bitwise or of inexact bit into u.d.
51399         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51400         * sysdeps/i386/fpu/s_fmaf.S: Removed.
51401         * sysdeps/i386/fpu/s_fma.S: Removed.
51402         * sysdeps/i386/fpu/s_fmal.S: Removed.
51403
51404 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
51405
51406         [BZ #3268]
51407         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51408         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51409         computation is not scheduled after fetestexcept.  Fix value
51410         of minimum denormal long double.
51411
51412 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
51413
51414         [BZ #3268]
51415         * math/libm-test.inc (fma_test): Add some more tests.
51416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51417         correctly.
51418
51419 2010-10-15  Andreas Schwab  <schwab@redhat.com>
51420
51421         * scripts/data/localplt-s390-linux-gnu.data: New file.
51422         * scripts/data/localplt-s390x-linux-gnu.data: New file.
51423
51424 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
51425
51426         [BZ #3268]
51427         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51428         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51429         instead of dbl-64.
51430         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51431         inlines.
51432         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51434         if one of x and y is very large and the other is subnormal.
51435         * sysdeps/s390/fpu/s_fmaf.c: New file.
51436         * sysdeps/s390/fpu/s_fma.c: New file.
51437         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51438         * sysdeps/powerpc/fpu/s_fma.S: New file.
51439         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51440         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51441         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51442
51443 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
51444
51445         [BZ #3268]
51446         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51447         fma tests.
51448         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51449         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51450         * sysdeps/i386/i686/multiarch/s_fma.c: Include
51451         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51452         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51453         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51454         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51455
51456 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
51457
51458         [BZ #12078]
51459         * posix/regcomp.c (parse_branch): One more memory leak plugged.
51460         * posix/bug-regex31.input: Add test case.
51461
51462 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51463
51464         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51465         * posix/bug-regex31.input: New file.
51466
51467         [BZ #12078]
51468         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51469         (parse_sub_exp): Fix last change, use postorder.
51470
51471         * posix/bug-regex31.c: New file.
51472         * posix/Makefile: Add rules to build and run bug-regex31.
51473
51474         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51475
51476         [BZ #12078]
51477         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51478
51479         [BZ #12108]
51480         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51481         to have entries in sys_siglist.
51482
51483         [BZ #12093]
51484         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51485         be NULL.
51486
51487 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
51488
51489         [BZ #3268]
51490         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51491         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51492         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51493         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51494         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51495         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51496         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51497         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51498         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51499         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51500         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51501         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51502         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51503         * math/ftestexcept.c (fetestexcept): Likewise.
51504         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51505         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51506         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51507         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51508         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51509         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51510         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51511
51512 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51513
51514         [BZ #12107]
51515         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51516         newline.
51517
51518 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
51519
51520         * string/bug-strstr1.c: New file.
51521         * string/Makefile: Add rules to build and run bug-strstr1.
51522
51523 2010-10-05  Eric Blake  <eblake@redhat.com>
51524
51525         [BZ #12092]
51526         * string/str-two-way.h (two_way_long_needle): Always clear memory
51527         when skipping input due to the shift table.
51528
51529 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
51530
51531         [BZ #12005]
51532         * malloc/mcheck.c: Handle large requests.
51533
51534         [BZ #12077]
51535         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51536         for strncmp and strncasecmp.
51537         * string/stratcliff.c: Add tests for strcmp and strncmp.
51538         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51539
51540 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51541
51542         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51543         __set_fpscr.
51544
51545 2010-09-30  Andreas Jaeger  <aj@suse.de>
51546
51547         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51548         (CGROUP_SUPER_MAGIC): Define.
51549         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51550         Handle btrfs and cgroup file systems.
51551         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51552         Likewise.
51553
51554 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
51555
51556         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51557         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51558
51559 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51560
51561         [BZ #12067]
51562         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51563         trying to locate the ELF header.
51564
51565 2010-09-27  Andreas Schwab  <schwab@redhat.com>
51566
51567         [BZ #11611]
51568         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51569         Mask out sign-bit copies when constructing f_fsid.
51570
51571 2010-09-24  Petr Baudis <pasky@suse.cz>
51572
51573         * debug/stack_chk_fail_local.c: Add missing licence exception.
51574         * debug/warning-nop.c: Likewise.
51575
51576 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
51577
51578         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51579         implementing getdents64 using getdents syscall, set d_type if
51580         __ASSUME_GETDENTS32_D_TYPE.
51581
51582 2010-09-16  Andreas Schwab  <schwab@redhat.com>
51583
51584         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51585         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51586
51587 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
51588
51589         [BZ #12037]
51590         * posix/unistd.h: Undo change of feature selection for ftruncate from
51591         2010-01-11.
51592
51593 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
51594
51595         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51596         detection.
51597
51598 2010-09-20  Andreas Schwab  <schwab@redhat.com>
51599
51600         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51601         fanotify_mark.
51602         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51603
51604 2010-09-14  Andreas Schwab  <schwab@redhat.com>
51605
51606         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51607         variables after CHECK_SP call.
51608         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51609
51610 2010-09-13  Andreas Schwab  <schwab@redhat.com>
51611             Ulrich Drepper  <drepper@redhat.com>
51612
51613         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51614         re-relocationg ld.so.
51615         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51616         _dl_init_paths call.
51617         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
51618         here anymore.
51619
51620 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51621
51622         * resolv/res_init.c (__res_vinit): Count the default server we added.
51623
51624 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51625             Ulrich Drepper  <drepper@redhat.com>
51626
51627         [BZ #11968]
51628         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51629         (____longjmp_chk): Use %ebx for saving value across system call.
51630         Add unwind info.
51631
51632 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51633
51634         * manual/Makefile: Don't mix pattern rules with normal rules.
51635
51636 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51637
51638         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51639         operation.
51640         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51641         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51642         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51643         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51645         Likewise.
51646
51647 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51648
51649         [BZ #11979]
51650         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51651         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51652
51653 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51654
51655         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51656         * sysdeps/x86_64/addmul_1.S: Likewise.
51657         * sysdeps/x86_64/lshift.S: Likewise.
51658         * sysdeps/x86_64/mul_1.S: Likewise.
51659         * sysdeps/x86_64/rshift.S: Likewise.
51660         * sysdeps/x86_64/sub_n.S: Likewise.
51661         * sysdeps/x86_64/submul_1.S: Likewise.
51662
51663 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51664
51665         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51666         Define __sched_param instead of SCHED_* and sched_param when
51667         <bits/sched.h> is included with __need_schedparam defined.
51668         * bits/sched.h [__need_schedparam]
51669         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51670         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51671         (__defined_schedparam): Define to 1.
51672         (__sched_param): New structure, identical to sched_param.
51673         (__need_schedparam): Undefine.
51674
51675 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51676
51677         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51678         (epoll_create1): Declare.
51679
51680         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51681
51682 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51683
51684         [BZ #7066]
51685         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51686         shifting retval into place.
51687
51688 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51689
51690         * nis/rpcsvc/nis.h: Update copyright notice.
51691         * nis/rpcsvc/nis.x: Likewise.
51692         * nis/rpcsvc/nis_callback.h: Likewise.
51693         * nis/rpcsvc/nis_callback.x: Likewise.
51694         * nis/rpcsvc/nis_object.x: Likewise.
51695         * nis/rpcsvc/nis_tags.h: Likewise.
51696         * nis/rpcsvc/yp.h: Likewise.
51697         * nis/rpcsvc/yp.x: Likewise.
51698         * nis/rpcsvc/ypupd.h: Likewise.
51699         * nis/yp_xdr.c: Likewise.
51700         * nis/ypupdate_xdr.c: Likewise.
51701
51702         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51703         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51704         (pmap_getport): Use __libc_rpc_getport.
51705         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51706         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51707         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51708
51709 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51710
51711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51712         fanotify_mark.
51713
51714 2010-08-27  Roland McGrath  <roland@redhat.com>
51715
51716         * sysdeps/i386/i686/multiarch/Makefile
51717         (CFLAGS-varshift.c): New variable.
51718
51719 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51720
51721         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51722         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51723
51724         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51725
51726         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51727
51728 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51729
51730         * sysdeps/x86_64/strlen.S: Unroll the loop.
51731         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51732         strlen-sse2 strlen-sse2-bsf.
51733         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51734         __strlen_no_bsf if bit_Slow_BSF is set.
51735         (__strlen_sse42): Removed.
51736         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51737         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51738
51739 2010-08-25  Roland McGrath  <roland@redhat.com>
51740
51741         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51742         * sysdeps/x86_64/multiarch/varshift.c: New file.
51743         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51744         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51745         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51746         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51747
51748 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51749
51750         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51751         strlen-sse2 strlen-sse2-bsf.
51752         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51753         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51754         (__strlen_sse2): Removed.
51755         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51758         bit_Slow_BSF for Atom.
51759         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51760         (index_Slow_BSF): Define.
51761         (HAS_SLOW_BSF): Define.
51762
51763 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51764
51765         [BZ #10851]
51766         * resolv/res_init.c (__res_vinit): When no server address at all
51767         is given default to loopback.
51768
51769 2010-08-24  Roland McGrath  <roland@redhat.com>
51770
51771         * configure.in: Remove config-name.h generation.
51772         * configure: Regenerated.
51773         * config-name.in: File removed.
51774         * scripts/config-uname.sh: New file.
51775         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51776         ($(objdir)config-name.h): New target.
51777
51778         * sunrpc/rpc_parse.h: Avoid nested comment.
51779
51780 2010-08-24  Richard Henderson  <rth@redhat.com>
51781             Ulrich Drepper  <drepper@redhat.com>
51782             H.J. Lu  <hongjiu.lu@intel.com>
51783
51784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51786         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51787         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51788         _mm_alignr_epi8 with _mm_loadu_si128.
51789         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51790         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51791         (__m128i_shift_right): Removed.
51792         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51793         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51794         * sysdeps/x86_64/multiarch/varshift.h: New file.
51795         * sysdeps/x86_64/multiarch/varshift.S: New file.
51796
51797 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51798
51799         * configure.in: Move assembler checks to before sysdep dir checking.
51800
51801 2010-08-20  Petr Baudis  <pasky@suse.cz>
51802
51803         * LICENSES: Sync the sunrpc license.
51804
51805 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51806
51807         * sunrpc/auth_des.c: Update copyright notice once again.
51808         * sunrpc/auth_none.c: Likewise.
51809         * sunrpc/auth_unix.c: Likewise.
51810         * sunrpc/authdes_prot.c: Likewise.
51811         * sunrpc/authuxprot.c: Likewise.
51812         * sunrpc/bindrsvprt.c: Likewise.
51813         * sunrpc/clnt_gen.c: Likewise.
51814         * sunrpc/clnt_perr.c: Likewise.
51815         * sunrpc/clnt_raw.c: Likewise.
51816         * sunrpc/clnt_simp.c: Likewise.
51817         * sunrpc/clnt_tcp.c: Likewise.
51818         * sunrpc/clnt_udp.c: Likewise.
51819         * sunrpc/clnt_unix.c: Likewise.
51820         * sunrpc/des_crypt.c: Likewise.
51821         * sunrpc/des_soft.c: Likewise.
51822         * sunrpc/get_myaddr.c: Likewise.
51823         * sunrpc/getrpcport.c: Likewise.
51824         * sunrpc/key_call.c: Likewise.
51825         * sunrpc/key_prot.c: Likewise.
51826         * sunrpc/openchild.c: Likewise.
51827         * sunrpc/pm_getmaps.c: Likewise.
51828         * sunrpc/pm_getport.c: Likewise.
51829         * sunrpc/pmap_clnt.c: Likewise.
51830         * sunrpc/pmap_prot.c: Likewise.
51831         * sunrpc/pmap_prot2.c: Likewise.
51832         * sunrpc/pmap_rmt.c: Likewise.
51833         * sunrpc/rpc/auth.h: Likewise.
51834         * sunrpc/rpc/auth_unix.h: Likewise.
51835         * sunrpc/rpc/clnt.h: Likewise.
51836         * sunrpc/rpc/des_crypt.h: Likewise.
51837         * sunrpc/rpc/key_prot.h: Likewise.
51838         * sunrpc/rpc/netdb.h: Likewise.
51839         * sunrpc/rpc/pmap_clnt.h: Likewise.
51840         * sunrpc/rpc/pmap_prot.h: Likewise.
51841         * sunrpc/rpc/pmap_rmt.h: Likewise.
51842         * sunrpc/rpc/rpc.h: Likewise.
51843         * sunrpc/rpc/rpc_des.h: Likewise.
51844         * sunrpc/rpc/rpc_msg.h: Likewise.
51845         * sunrpc/rpc/svc.h: Likewise.
51846         * sunrpc/rpc/svc_auth.h: Likewise.
51847         * sunrpc/rpc/types.h: Likewise.
51848         * sunrpc/rpc/xdr.h: Likewise.
51849         * sunrpc/rpc_clntout.c: Likewise.
51850         * sunrpc/rpc_cmsg.c: Likewise.
51851         * sunrpc/rpc_common.c: Likewise.
51852         * sunrpc/rpc_cout.c: Likewise.
51853         * sunrpc/rpc_dtable.c: Likewise.
51854         * sunrpc/rpc_hout.c: Likewise.
51855         * sunrpc/rpc_main.c: Likewise.
51856         * sunrpc/rpc_parse.c: Likewise.
51857         * sunrpc/rpc_parse.h: Likewise.
51858         * sunrpc/rpc_prot.c: Likewise.
51859         * sunrpc/rpc_sample.c: Likewise.
51860         * sunrpc/rpc_scan.c: Likewise.
51861         * sunrpc/rpc_scan.h: Likewise.
51862         * sunrpc/rpc_svcout.c: Likewise.
51863         * sunrpc/rpc_tblout.c: Likewise.
51864         * sunrpc/rpc_util.c: Likewise.
51865         * sunrpc/rpc_util.h: Likewise.
51866         * sunrpc/rpcinfo.c: Likewise.
51867         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51868         * sunrpc/rpcsvc/key_prot.x: Likewise.
51869         * sunrpc/rpcsvc/klm_prot.x: Likewise.
51870         * sunrpc/rpcsvc/mount.x: Likewise.
51871         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51872         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51873         * sunrpc/rpcsvc/rex.x: Likewise.
51874         * sunrpc/rpcsvc/rstat.x: Likewise.
51875         * sunrpc/rpcsvc/rusers.x: Likewise.
51876         * sunrpc/rpcsvc/sm_inter.x: Likewise.
51877         * sunrpc/rpcsvc/spray.x: Likewise.
51878         * sunrpc/rpcsvc/yppasswd.x: Likewise.
51879         * sunrpc/rtime.c: Likewise.
51880         * sunrpc/svc.c: Likewise.
51881         * sunrpc/svc_auth.c: Likewise.
51882         * sunrpc/svc_authux.c: Likewise.
51883         * sunrpc/svc_raw.c: Likewise.
51884         * sunrpc/svc_run.c: Likewise.
51885         * sunrpc/svc_simple.c: Likewise.
51886         * sunrpc/svc_tcp.c: Likewise.
51887         * sunrpc/svc_udp.c: Likewise.
51888         * sunrpc/svc_unix.c: Likewise.
51889         * sunrpc/svcauth_des.c: Likewise.
51890         * sunrpc/xcrypt.c: Likewise.
51891         * sunrpc/xdr.c: Likewise.
51892         * sunrpc/xdr_array.c: Likewise.
51893         * sunrpc/xdr_float.c: Likewise.
51894         * sunrpc/xdr_mem.c: Likewise.
51895         * sunrpc/xdr_rec.c: Likewise.
51896         * sunrpc/xdr_ref.c: Likewise.
51897         * sunrpc/xdr_sizeof.c: Likewise.
51898         * sunrpc/xdr_stdio.c: Likewise.
51899
51900         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51901         handling.
51902
51903 2010-08-19  Andreas Schwab  <schwab@redhat.com>
51904
51905         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51906
51907 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
51908
51909         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51910         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51911         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51912         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51913         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51914         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51915         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51916         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51917         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51918         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51919         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51920         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51921         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51922         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51923
51924 2010-07-26  Anton Blanchard  <anton@samba.org>
51925
51926         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51927         * malloc/arena.c (heap_trim): Likewise.
51928
51929 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
51930
51931         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51932         here.  Not...
51933         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51934         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51935
51936 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
51937
51938         * sysdeps/i386/elf/Makefile: New file.
51939
51940 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51941
51942         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51943         from fanotify_init.
51944         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51945         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51946
51947 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
51948
51949         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51950         of strncasecmp_l.
51951         * sysdeps/multiarch/strcmp.S: Likewise.
51952
51953 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
51954
51955         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51956         strncase_l-nonascii.
51957         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51958         Add strncase_l-ssse3.
51959         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51960         * sysdeps/x86_64/strcmp.S: Likewise.
51961         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51962         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51963         * sysdeps/x86_64/strncase.S: New file.
51964         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51965         * sysdeps/x86_64/strncase_l.S: New file.
51966         * string/Makefile (strop-tests): Add strncasecmp.
51967         * string/test-strncasecmp.c: New file.
51968
51969         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51970         warning.
51971
51972         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51973         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51974
51975 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51976
51977         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51978
51979 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
51980
51981         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51982         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51983         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51984
51985 2010-05-01  Alan Modra  <amodra@gmail.com>
51986
51987         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51988         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51989         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51990         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51991         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51992         tidying.  Don't tail-call __sigjmp_save for static lib.
51993         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51994         save location.
51995         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51996         (CALL_MCOUNT): Add eh info, and nop after bl.
51997         (TAIL_CALL_SYSCALL_ERROR): New macro.
51998         (PSEUDO_RET): Use it.
51999         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52000         Correct save location of integer regs and cr.
52001         (_dl_profile_resolve): Correct cr save location.  Delete nops
52002         after bl when SHARED.  Reduce cfi size a little by better
52003         placement of cfi directives.
52004         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52005         make a stack frame.  Instead use parm save area as a temp.
52006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52007         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
52008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52009         Don't make a stack frame for parent, use parm save area.
52010         Increase child stack frame to 112 bytes.  Don't save unused reg,
52011         and adjust reg usage.  Set up cfi on error recovery and
52012         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52014         (__makecontext): Add dummy nop after jump to exit.
52015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52016         Use correct parm save area and cr save, reduce stack frame.
52017         Correct cfi for possible PSEUDO_RET frame setup.
52018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52019         Branch to local label emitted by PSEUDO_RET rather than
52020         __syscall_error.
52021
52022 2010-08-12  Andreas Schwab  <schwab@redhat.com>
52023
52024         [BZ #11904]
52025         * locale/programs/locale.c (print_assignment): New function.
52026         (show_locale_vars): Use it.
52027
52028 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
52029
52030         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52031         field.
52032         (struct statfs64): Likewise.
52033         (_STATFS_F_FLAGS): Define.
52034         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52035         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52036         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52037         (ST_VALID): Define locally.
52038         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52039         __statvfs_getflags, use the provided value.
52040         * sysdeps/unix/sysv/linux/kernel-features.h: Define
52041         __ASSUME_STATFS_F_FLAGS.
52042
52043         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52044
52045         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52046         Add sys/fanotify.h.
52047         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52048         fanotify_mask for GLIBC_2.13.
52049         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52050         fanotify_init and fanotify_mark.
52051         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52052         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52053
52054         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52055         Add prlimit.
52056         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52057         prlimit64 for GLIBC_2.13.
52058         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52059         prlimit64.
52060         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52061         syscall.
52062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52063         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52064         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52065         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52066         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
52067         add prlimit alias.
52068         * sysdeps/unix/sysv/linux/prlimit.c: New file.
52069
52070         [BZ #11903]
52071         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52072         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52073
52074         * nss/Makefile: Add rules to build and run tst-nss-test1.
52075         * shlib-versions: Add entry for libnss_test1.
52076         * nss/nss_test1.c: New file.
52077         * nss/tst-nss-test1.c: New file.
52078
52079         * nss/nsswitch.c (__nss_database_custom): Define new variable.
52080         (__nss_configure_lookup): Set appropriate entry in
52081         __nss_configure_lookup to true.
52082         * nss/nsswitch.h: Define enum with indeces of databases in
52083         databases and __nss_database_custom arrays.  Declare
52084         __nss_database_custom.
52085         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52086         to avoid using nscd when custom rules are installed.
52087         * nss/getXXbyYY_r.c: Likewise.
52088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52089
52090         * nss/nss_files/files-parse.c: Whitespace fixes.
52091
52092 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
52093
52094         [BZ #11883]
52095         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52096         * posix/fnmatch_loop.c: Likewise.
52097
52098 2010-07-17  Andi Kleen  <ak@linux.intel.com>
52099
52100         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52101         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52102         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52103         * Versions.def [GLIBC_2.13]: Add.
52104
52105 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
52106
52107         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52108         Also fail if tpwd after pwuid call is NULL.
52109
52110 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52111
52112         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52113         when converting to ms.
52114
52115 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52116
52117         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52118         EOPNOTSUPP errors with ENOTTY.
52119         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52120         EOPNOTSUPP errors with ENOTTY.
52121
52122 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
52123
52124         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52125         Add strcasecmp_l-ssse3.
52126         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52127         strcasecmp.
52128         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52129         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52130         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52131
52132 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
52133
52134         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52135
52136         * string/Makefile (strop-tests): Add strcasecmp.
52137         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52138         strcasecmp_l-nonascii.
52139         (gen-as-const-headers): Add locale-defines.sym.
52140         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52141         * sysdeps/x86_64/strcasecmp.S: New file.
52142         * sysdeps/x86_64/strcasecmp_l.S: New file.
52143         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52144         * sysdeps/x86_64/locale-defines.sym: New file.
52145         * string/test-strcasecmp.c: New file.
52146
52147         * string/test-strcasestr.c: Test both ends of the range of characters.
52148         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52149
52150 2010-07-29  Roland McGrath  <roland@redhat.com>
52151
52152         [BZ #11856]
52153         * manual/locale.texi (Yes-or-No Questions): Fix example code.
52154
52155 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
52156
52157         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52158         for ld.so.
52159
52160 2010-07-27  Andreas Schwab  <schwab@redhat.com>
52161
52162         * manual/memory.texi (Malloc Tunable Parameters): Document
52163         M_PERTURB.
52164
52165 2010-07-26  Roland McGrath  <roland@redhat.com>
52166
52167         [BZ #11840]
52168         * configure.in (-fgnu89-inline check): Set and substitute
52169         gnu89_inline, not libc_cv_gnu89_inline.
52170         * configure: Regenerated.
52171         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52172
52173 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
52174
52175         * string/test-strnlen.c: New file.
52176         * string/Makefile (strop-tests): Add strnlen.
52177         * string/tester.c (test_strnlen): Add a few more test cases.
52178         * string/tst-strlen.c: Better error reporting.
52179
52180         * sysdeps/x86_64/strnlen.S: New file.
52181
52182 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
52183
52184         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52185         lower-latency instructions.
52186
52187 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
52188
52189         * string/test-strcasestr.c: New file.
52190         * string/test-strstr.c: New file.
52191         * string/Makefile (strop-tests): Add strstr and strcasestr.
52192         * string/str-two-way.h: Don't undefine MAX.
52193         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52194
52195 2010-07-21  Andreas Schwab  <schwab@redhat.com>
52196
52197         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52198         strcasestr-nonascii.
52199         (CFLAGS-strcasestr-nonascii.c): Define.
52200         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52201         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52202         Remove unused attribute.
52203
52204 2010-07-20  Roland McGrath  <roland@redhat.com>
52205
52206         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52207         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
52208         ld.so.cache was broken.  With it, there is no way to disable dsocaps
52209         like LD_HWCAP_MASK can disable hwcaps.
52210
52211 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52212
52213         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52214
52215 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
52216
52217         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52218         call in strcasestr.
52219         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52220         __strcasestr_sse42_nonascii.
52221         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52222         strcasestr-nonascii.c.
52223         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52224
52225 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
52226
52227         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52228         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52229         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52230         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52231
52232 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
52233
52234         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52235         fcntl.
52236
52237 2010-07-06  Andreas Schwab  <schwab@redhat.com>
52238
52239         [BZ #11577]
52240         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52241         dl_signal_cerror.
52242
52243 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
52244
52245         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52246         _PC_PIPE_BUF using F_GETPIPE_SZ.
52247
52248 2010-07-05  Roland McGrath  <roland@redhat.com>
52249
52250         * manual/arith.texi (Rounding Functions): Fix rint description
52251         implicit in round description.
52252
52253 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
52254
52255         * elf/Makefile: Fix linking for a few tests to make recent linker
52256         happy.
52257
52258 2010-06-30  Andreas Schwab  <schwab@redhat.com>
52259
52260         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52261         $(common-objpfx)libc_nonshared.a.
52262
52263 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
52264
52265         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52266         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52267         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52268         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52269         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52270         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52271         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52272         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52287         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52288         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52289         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52290         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52291         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52292         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52293         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52294         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52295         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52296         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52297         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52298         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52313
52314 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
52315
52316         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52317         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
52318         * string/memmove.c (memmove): Renamed to ...
52319         (MEMMOVE): ...this.  Default to memmove.
52320         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52321         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52322         (END_CHK): Define.
52323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52324         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52325         mempcpy-ssse3-back memmove-ssse3-back.
52326         * sysdeps/x86_64/multiarch/bcopy.S: New file .
52327         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52328         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52329         * sysdeps/x86_64/multiarch/memcpy.S: New file.
52330         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52331         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52332         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52333         * sysdeps/x86_64/multiarch/memmove.c: New file.
52334         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52335         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52336         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52337         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52338         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52339         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52340         Define.
52341         (index_Fast_Copy_Backward): Define.
52342         (HAS_ARCH_FEATURE): Define.
52343         (HAS_FAST_REP_STRING): Define.
52344         (HAS_FAST_COPY_BACKWARD): Define.
52345
52346 2010-06-21  Andreas Schwab  <schwab@redhat.com>
52347
52348         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52349         Restore proper fallback handling.
52350
52351 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
52352
52353         [BZ #11701]
52354         * posix/group_member.c (__group_member): Correct checking loop.
52355
52356         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52357         OOM in getpwuid_r correctly.  Return error number when the caller
52358         should return, otherwise -1.
52359         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52360         call returning > 0 value.
52361         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52362
52363 2010-06-07  Andreas Schwab  <schwab@redhat.com>
52364
52365         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52366         libc_nonshared.a from targets in modules-names.
52367
52368 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
52369
52370         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52371         requires it.
52372
52373 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
52374
52375         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52376         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52377         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52378         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52379
52380 2010-06-02  Andreas Schwab  <schwab@redhat.com>
52381
52382         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52383
52384 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
52385
52386         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52387         and F_GETPIPE_SZ.
52388         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52389         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52391         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52392         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52393         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52394
52395 2010-06-14  Roland McGrath  <roland@redhat.com>
52396
52397         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52398
52399 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
52400
52401         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52402         __REDIRECT followed by __THROW.
52403         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52404         * posix/getopt.h (getopt): Likewise.
52405
52406 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52407
52408         * hurd/lookup-at.c (__file_name_lookup_at): Accept
52409         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
52410         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52411         in AT_FLAGS.
52412         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52413         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52414
52415 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
52416
52417         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52418
52419 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
52420
52421         [BZ #11640]
52422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52423         Properly check family and model.
52424
52425 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
52426
52427         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52428
52429 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
52430
52431         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52432
52433 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
52434
52435         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52436         symbol reference.
52437
52438 2010-05-19  Andreas Schwab  <schwab@redhat.com>
52439
52440         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52441         symbol reference.
52442
52443 2010-05-21  Andreas Schwab  <schwab@redhat.com>
52444
52445         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52446         and internal_recvmmsg.
52447         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52448         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52449         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52450         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52451
52452         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52453         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52454         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52455
52456 2010-05-20  Andreas Schwab  <schwab@redhat.com>
52457
52458         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52459
52460 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
52461
52462         POWER7 optimizations.
52463         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52464         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52465
52466 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
52467
52468         * version.h: Update for 2.13 development version.
52469
52470 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
52471
52472         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52473         exceptions.  Return 0.
52474
52475 2010-05-07  Roland McGrath  <roland@redhat.com>
52476
52477         * elf/ldconfig.c (main): Add a const.
52478
52479 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
52480
52481         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52482         (args_options): Add no-idn option.
52483         (ahosts_keys_int): Add idn_flags to ai_flags.
52484         (parse_option): Handle 'i' option to clear idn_flags.
52485
52486         * malloc/malloc.c (_int_free): Possible race in the most recently
52487         added check.  Only act on the data if no current modification
52488         happened.
52489
52490 See ChangeLog.17 for earlier changes.