manual: cuserid is mtasurace if not passed a string
[glibc.git] / ChangeLog
blobd57c023ac15596009d6cdf3ed71751c4e76effb9
1 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4         of not passing it a buffer.
5         Reported by Peng Haitao.
7 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9         * manual/Makefile ($(objpfx)stamp-summary): Require
10         check-safety.sh to pass.
11         * manual/check-safety.sh: Wish for verification that every
12         @deftypefn and @deftypefun is followed by a @safety remark.
14 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19         PTHREAD_CANCEL_ASYNCHRONOUS.
20         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
21         send SIGCANCEL.
23         * nptl/default-sched.h: New file.
24         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25         * nptl/pthread_create.c: Include it.
26         (__pthread_create_2_1): Use collect_default_sched instead of making
27         Linux syscalls here directly.
29 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32         __pthread_once): Use C11 atomics.
34 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
38 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40         * include/atomic.h (__atomic_link_error, __atomic_check_size,
41         atomic_thread_fence_acquire, atomic_thread_fence_release,
42         atomic_thread_fence_seq_cst, atomic_load_relaxed,
43         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44         atomic_compare_exchange_weak_relaxed,
45         atomic_compare_exchange_weak_acquire,
46         atomic_compare_exchange_weak_release,
47         atomic_exchange_acquire, atomic_exchange_release,
48         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
49         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
50         atomic_fetch_and_acquire,
51         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
53 2014-11-20  Torvald Riegel  <triegel@redhat.com>
55         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
56         USE_ATOMIC_COMPILER_BUILTINS): Define.
57         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
58         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
59         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
60         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
61         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
62         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
63         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
64         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
65         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
66         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
67         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
68         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
69         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
70         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
71         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
72         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
73         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
74         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
75         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
76         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
77         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
78         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
79         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
80         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
81         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
82         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
83         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
84         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
85         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
86         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
87         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
88         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
89         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
90         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
91         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
92         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
93         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
94         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
95         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
96         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
98 2014-11-19  Roland McGrath  <roland@hack.frob.com>
100         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
101         the sched_priority value here.  It was already checked when the user
102         called pthread_attr_setschedparam.
104         * nptl/tst-bad-schedattr.c: New file.
105         * nptl/Makefile (tests): Add it.
107 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
108             Florian Weimer  <fweimer@redhat.com>
109             Joseph Myers  <joseph@codesourcery.com>
110             Adam Conrad  <adconrad@0c3.net>
111             Andreas Schwab  <schwab@suse.de>
112             Brooks  <bmoses@google.com>
114         [BZ #17625]
115         * wordexp-test.c (__dso_handle): Add prototype.
116         (__register_atfork): Likewise.
117         (__app_register_atfork): New function.
118         (registered_forks): New global.
119         (register_fork): New function.
120         (test_case): Add 3 new tests for WRDE_CMDSUB.
121         (main): Call __app_register_atfork.
122         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
123         fork count is non-zero fail the test.
124         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
125         is set.
126         (parse_dollars): Remove check for WRDE_NOCMD.
127         (parse_dquote): Likewise.
129 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
131         * Makeconfig (built-modules): List non-library modules to be
132         built.
133         (module-cppflags): Include libc-modules.h for
134         everything except shlib-versions.v.i.
135         (CPPFLAGS): Use it.
136         (before-compile): Add libc-modules.h.
137         ($(common-objpfx)libc-modules.h,
138         $(common-objpfx)libc-modules.stmp): New targets.
139         (common-generated): Add libc-modules.h and libc-modules.stmp.
140         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
141         * include/libc-symbols.h: Don't include libc-modules.h.
142         * include/libc-modules.h: Remove file.
143         * scripts/gen-libc-modules.awk: New script to generate
144         libc-modules.h.
145         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
146         Depend on libc-modules.stmp.
148         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
150         * Makeconfig (in-module): Get value of libof set for the
151         translation unit.
152         (CPPFLAGS): Use $(in-module).
153         * Makerules: Don't suffix routine names for nonlib.
154         * include/libc-modules.h: New file.
155         * include/libc-symbols.h: Include libc-modules.h
156         (IS_IN): New macro to replace IS_IN_* macros.
157         * elf/Makefile: Set libof-* for each routine.
158         * elf/rtld-Rules: Likewise.
159         * extra-modules.mk: Likewise.
160         * iconv/Makefile: Likewise.
161         * iconvdata/Makefile: Likewise.
162         * locale/Makefile: Likewise.
163         * malloc/Makefile: Likewise.
164         * nss/Makefile: Likewise.
165         * sysdeps/gnu/Makefile: Likewise.
166         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
167         * sysdeps/unix/sysv/linux/Makefile: Likewise.
168         * sysdeps/s390/s390-64/Makefile: Likewise.
169         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
170         CPPFLAGS for nscd instead of nonlib.
172 2014-11-18  Roland McGrath  <roland@hack.frob.com>
174         * nptl/createthread.c: New file.
176         * nptl/createthread.c: Moved ...
177         * sysdeps/unix/sysv/linux/createthread.c: ... here.
179         * nptl/createthread.c: Add proper top-line comment.
180         (do_clone): Folded into ...
181         (create_thread): ... here.  Take new arguments STOPPED_START and
182         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
183         increment __nptl_threads, do event-reporting logic, do
184         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
185         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
186         resource cleanup if sched_setaffinity or sched_setscheduler fails,
187         just send SIGCANCEL.
188         * nptl/pthread_create.c: Forward-declare create_thread before
189         including createthread.c.
190         (start_thread): Use new macro START_THREAD_DEFN to replace defining
191         declaration, and new macro START_THREAD_SELF to replace argument.
192         Remove return statement.
193         (report_thread_creation): New function.
194         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
195         synchronization logic, and __nptl_nthreads increment here, around
196         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
197         PD->parent_cancelhandling here, before create_thread.  When
198         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
199         __deallocate_stack, and ENOMEM translation here.
201 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
203         [BZ #17616]
204         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
205         (mptwo): Rename to __mptwo.
206         (__inv): Use __mptwo instead of mptwo.
207         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
208         (mptwo): Rename to __mptwo.
209         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
210         of mpone and __mptwo instead of mptwo.
211         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
212         instead of mpone.
213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
214         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
215         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
216         of mpone and __mptwo instead of mptwo.
217         (__mpranred): Use __mpone instead of mpone.
218         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
219         variable.
220         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
221         (test-xfail-ISO99/math.h/linknamespace): Likewise.
222         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
223         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
224         (test-xfail-ISO11/math.h/linknamespace): Likewise.
225         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
226         (test-xfail-XPG3/math.h/linknamespace): Likewise.
227         (test-xfail-XPG4/math.h/linknamespace): Likewise.
228         (test-xfail-POSIX/math.h/linknamespace): Likewise.
229         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
230         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
231         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
232         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
233         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
234         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
235         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
236         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
237         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
238         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
240 2014-11-18  Tom de Vries  <tom@codesoucery.com>
242         * manual/signal.texi (Primitives Interrupted by Signals): In section,
243         replace BSD Handler xref with BSD Signal Handling.
245 2014-11-17  Richard Henderson  <rth@redhat.com>
247         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
248         (_FP_PACK_RAW_2): Remove.
249         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
250         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
251         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
252         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
253         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
254         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
255         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
256         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
257         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
258         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
259         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
260         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
261         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
262         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
263         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
264         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
266 2014-11-14  Roland McGrath  <roland@hack.frob.com>
268         * signal/signal.h [__USE_MISC]
269         (struct sigvec): Remove type.
270         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
271         (sigvec): Remove declaration.
272         * sysdeps/posix/sigvec.c: Moved ...
273         * signal/sigvec.c: ... here, replacing old file.
274         (struct sigvec): New type, copied from old signal.h definition.
275         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
276         (__sigvec): Convert definition to prototype.
277         (sigvec): Replace weak_alias with compat_symbol.
278         * signal/Versions (libc: GLIBC_2.21): New version set.
279         * include/signal.h: Remove __sigvec declaration.
280         * sysdeps/unix/bsd/sigvec.c: Remove file.
281         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
282         * manual/signal.texi (BSD Handler): Remove subsection.
283         Move siginterrupt up to ...
284         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
285         (Blocking in BSD): Fold subsection into its parent.
286         * NEWS: Mention sigvec removal.
288 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
290         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
291         (DLA_FMS): Make definition conditional only on [__FMA4__].
292         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
293         definition.
295         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
296         Make definition conditional only on [PROF].
297         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
298         definition.
299         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
300         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
302         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
303         !__GNUC__].
304         * include/signal.h (__sigpause): Move declaration above call to
305         libc_hidden_proto.
306         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
307         variable.
308         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
309         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
311 2014-11-14  David S. Miller  <davem@davemloft.net>
313         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
314         Define before including <string/memcpy.c> and <string/mempcpy.c>.
316 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
318         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
319         * configure: Regenerated.
320         * manual/install.texi (Tools for Compilation): Document a
321         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
322         compiler verified to work.
323         * INSTALL: Regenerated.
325         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
326         redeclare with asm name.
327         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
328         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
329         including <string.h>.
330         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
331         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
332         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
333         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
334         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
335         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
336         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
338 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
340         * stdlib/strtol.c (__strtol): Use prototype definition.
342         [BZ #17594]
343         * stdlib/strtol.c (SYM__): New macro.
344         (SYM__1): Likewise.
345         (__strtol): Likewise.
346         (strtol): Rename to __strtol and define as weak alias of
347         __strtol.  Use libc_hidden_weak.
349 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
351         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
352         Use numbered labels in inline assembly.
354 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
356         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
357         Add setjmp LIBC_PROBE.
358         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
359         Likewise.
360         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
361         Add longjmp, longjmp_target LIBC_PROBE.
362         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
363         Likewise.
365 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
367         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
368         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
369         to get rid of unused variable warning.
371 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
373         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
374         Check for unwind_backtrace ==  NULL only in SHARED case.
375         (__backchain_backtrace): Compile only in SHARED case.
376         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
377         Likewise.
378         (__backchain_backtrace): Declare as static.
380 2014-11-12  Roland McGrath  <roland@hack.frob.com>
382         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
383         (__libc_multiple_threads_ptr): Variable moved ...
384         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
386 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
388         * conform/GlibcConform.pm: New file.
389         * conform/conformtest.pl: Use GlibcConform module.
390         * conform/linknamespace.pl: New file.
391         * conform/list-header-symbols.pl: Likewise.
392         * conform/Makefile (linknamespace-symlists-base): New variable.
393         (linknamespace-symlists-tests): Likewise.
394         (linknamespace-header-base): Likewise.
395         (linknamespace-header-tests): Likewise.
396         (tests-special): Add new tests.
397         ($(linknamespace-symlists-tests)): New rule.
398         (linknamespace-libs): New variable.
399         ($(objpfx)symlist-stdlibs): New rule.
400         ($(linknamespace-header-tests)): Likewise.
401         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
402         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
403         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
404         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
405         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
406         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
407         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
408         (test-xfail-ISO/math.h/linknamespace): Likewise.
409         (test-xfail-ISO/signal.h/linknamespace): Likewise.
410         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
411         (test-xfail-ISO/time.h/linknamespace): Likewise.
412         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
413         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
414         (test-xfail-ISO99/math.h/linknamespace): Likewise.
415         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
416         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
417         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
418         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
419         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
420         (test-xfail-ISO11/math.h/linknamespace): Likewise.
421         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
422         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
423         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
424         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
425         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
426         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
427         (test-xfail-XPG3/math.h/linknamespace): Likewise.
428         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
429         (test-xfail-XPG3/search.h/linknamespace): Likewise.
430         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
431         (test-xfail-XPG3/time.h/linknamespace): Likewise.
432         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
433         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
434         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
435         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
436         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
437         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
438         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
439         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
440         (test-xfail-XPG4/math.h/linknamespace): Likewise.
441         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
442         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
443         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
444         (test-xfail-XPG4/search.h/linknamespace): Likewise.
445         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
446         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
447         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
448         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
449         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
450         (test-xfail-XPG4/time.h/linknamespace): Likewise.
451         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
452         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
453         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
454         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
455         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
456         (test-xfail-POSIX/math.h/linknamespace): Likewise.
457         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
458         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
459         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
460         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
461         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
462         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
463         (test-xfail-POSIX/time.h/linknamespace): Likewise.
464         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
465         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
466         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
467         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
468         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
469         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
470         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
471         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
472         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
473         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
474         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
475         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
476         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
477         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
478         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
479         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
480         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
481         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
482         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
483         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
484         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
485         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
486         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
487         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
488         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
489         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
490         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
491         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
492         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
493         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
494         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
495         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
496         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
497         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
498         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
499         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
500         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
501         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
502         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
503         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
504         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
505         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
506         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
507         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
508         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
509         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
510         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
511         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
512         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
513         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
514         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
515         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
516         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
517         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
518         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
519         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
520         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
521         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
522         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
523         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
524         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
525         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
526         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
527         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
528         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
529         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
530         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
531         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
532         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
533         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
534         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
535         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
536         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
537         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
538         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
539         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
540         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
541         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
542         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
543         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
544         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
545         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
546         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
547         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
548         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
549         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
550         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
551         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
552         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
553         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
554         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
555         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
556         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
557         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
558         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
559         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
560         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
561         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
563         [BZ #17589]
564         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
565         of fgets_unlocked.
567         [BZ #17585]
568         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
569         (memmem): Rename to __memmem and define as weak alias of
570         __memmem.  Use libc_hidden_weak.
571         (__memmem): Use libc_hidden_def.
572         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
573         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
574         memmem.
576         [BZ #17582]
577         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
578         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
579         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
580         and define as weak alias of __fgets_unlocked.  Use
581         libc_hidden_weak.
582         (__fgets_unlocked): Use libc_hidden_def.
583         * include/stdio.h (__fgets_unlocked): Declare.  Use
584         libc_hidden_proto.
585         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
586         __fgets_unlocked instead of fgets_unlocked.
587         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
588         (GET_NPROCS_CONF_PARSER): Likewise.
589         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
590         (GET_NPROCS_CONF_PARSER): Likewise.
592         [BZ #17574]
593         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
594         weak alias of __wmemset.  Use libc_hidden_weak.
595         (__wmemset): Use libc_hidden_def.
596         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
597         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
598         of wmemset.
600         [BZ #17573]
601         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
602         with asm name __mempcpy.
603         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
605         [BZ #17572]
606         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
607         and define as weak alias of __rawmemchr.
608         (__rawmemchr): Do not define as strong alias of rawmemchr.
610         [BZ #17571]
611         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
612         alias of __qsort_r.
613         (qsort): Call __qsort_r instead of qsort_r.
614         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
615         (__qsort_r): Declare.  Call libc_hidden_proto.
616         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
617         instead of qsort_r.
618         * nscd/gai.c (__qsort_r): Define to qsort_r.
619         * posix/tst-rfc3484.c (__qsort_r): Likewise.
620         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
621         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
623         [BZ #17570]
624         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
625         define as weak alias of __malloc_info.
627         [BZ #17584]
628         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
629         as weak alias of __rewinddir.  Don't use libc_hidden_def.
630         (__rewinddir): Use libc_hidden_def.
631         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
632         as weak alias of __rewinddir.  Don't use libc_hidden_def.
633         (__rewinddir): Use libc_hidden_def.
634         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
635         weak alias of __rewinddir.  Don't use libc_hidden_def.
636         (__rewinddir): Use libc_hidden_def.
637         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
638         (__rewinddir): Use libc_hidden_proto.
639         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
640         rewinddir.
641         (__getcwd): Use __rewinddir instead of rewinddir.
643         [BZ #17583]
644         * libio/fileno.c (fileno): Rename to __fileno and define as weak
645         alias of __fileno.  Use libc_hidden_weak.
646         (__fileno): Use libc_hidden_def.
647         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
648         * libio/ftello.c (ftello): Rename to __ftello and define as weak
649         alias of __ftello.
650         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
651         __ftello.
652         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
653         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
654         libc_hidden_def.
655         (fread_unlocked): Don't use libc_hidden_ver.
656         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
657         and define as weak alias of __fread_unlocked.  Don't use
658         libc_hidden_def.
659         (__fread_unlocked): Use libc_hidden_def.
660         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
661         (ftello): Don't use libc_hidden_proto.
662         (__ftello): Declare.  Use libc_hidden_proto.
663         (fread_unlocked): Don't use libc_hidden_proto.
664         (__fread_unlocked): Declare.  Use libc_hidden_proto.
665         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
666         and __ftello instead of fileno, fread_unlocked and ftello.
668 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
670         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
671         GOT12.
672         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
673         Likewise.
674         (_dl_start_user): Likewise.
675         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
677 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
678             Siddhesh Poyarekar  <siddhesh@redhat.com>
680         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
681         Move argv and envp down instead of moving argc up.
682         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
684 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
686         [BZ #17506]
687         * test-skeleton.c (main): Return successful if one of
688         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
689         * string/tst-strcoll-overflow.c: Define expected status.
691 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
693         [BZ #17475]
694         * locale/iso-639.def: Define Bhili and Tulu language codes.
696 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
698         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
700 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
702         [BZ #17555]
703         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
705 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
707         * configure.ac: Updated check of minimal required version to
708         2.22.
709         * manual/install.texi (Tools for Compilation): Updated version
710         number.
711         * configure: Regenerated.
712         * INSTALL: Likewise.
714 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
716         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
717         __tls_get_addr.
719 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
721         * include/sys/wait.h (__libc_waitpid): Remove declaration.
722         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
723         (__waitpid): Don't define as alias.  Use libc_hidden_def not
724         libc_hidden_weak.
725         (waitpid): Define as alias of __waitpid.
726         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
727         __waitpid.
728         (__waitpid): Don't define as alias.  Use libc_hidden_def not
729         libc_hidden_weak.
730         (waitpid): Define as alias of __waitpid.
731         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
732         __libc_waitpid alias.
733         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
734         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
735         Likewise.
736         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
737         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
738         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
739         alias.
740         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
741         __waitpid.
742         (__waitpid): Don't define as alias.  Use libc_hidden_def not
743         libc_hidden_weak.
744         (waitpid): Define as alias of __waitpid.
746 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
748         * manual/llio.texi: Add comment that write safety has been
749         fixed in Linux.
751         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
752         (localplt-build-dso): Add elf/ld.so.
753         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
754         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
755         and free for ld.so.
756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
757         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
759         Likewise.
760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
761         Likewise.
762         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
763         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
764         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
765         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
766         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
767         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
768         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
769         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
770         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
771         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
772         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
774 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
776         [BZ #14132]
777         * include/libc-symbols.h (INTUSE): Remove macro.
778         (INTDEF): Likewise.
779         (INTVARDEF): Likewise.
780         (_INTVARDEF): Likewise.
781         (INTDEF2): Likewise.
782         (INTVARDEF2): Likewise.
783         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
784         rtld_hidden_def instead of INTVARDEF.
785         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
786         (_dl_starting_up_internal): Remove declaration.
787         (_dl_starting_up): Use rtld_hidden_proto.
788         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
789         declaration.
790         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
791         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
792         _dl_starting_up.
793         * elf/dl-writev.h (_dl_writev): Likewise.
794         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
795         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
796         _dl_starting_up_internal.
798 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
800         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
801         test-skeleton.c.
803 2014-11-05  Will Newton  <will.newton@linaro.org>
805         * benchtests/Makefile: (bench-malloc): Add malloc thread
806         scalability benchmark.
807         * benchtests/bench-malloc-threads.c: New file.
809 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
811         * sysdeps/aarch64/strchrnul.S: New file.
813 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
815         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
816         definition.
817         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
818         Likwise.
819         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
820         Likewise.
821         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
822         Likewise.
823         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
824         Likewise.
825         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
826         Likewise.
828 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
830         * catgets/test-gencat.c: Use test-skeleton.c.
831         * catgets/tst-catgets.c: Likewise.
832         * csu/tst-empty.c: Likewise.
833         * elf/tst-audit2.c: Likewise.
834         * elf/tst-global1.c: Likewise.
835         * elf/tst-pathopt.c: Likewise.
836         * elf/tst-piemod1.c: Likewise.
837         * elf/tst-tls10.c: Likewise.
838         * elf/tst-tls11.c: Likewise.
839         * elf/tst-tls12.c: Likewise.
840         * gnulib/tst-gcc.c: Likewise.
841         * iconvdata/tst-e2big.c: Likewise.
842         * iconvdata/tst-loading.c: Likewise.
843         * iconv/tst-iconv1.c: Likewise.
844         * iconv/tst-iconv2.c: Likewise.
845         * inet/test-inet6_opt.c: Likewise.
846         * inet/tst-gethnm.c: Likewise.
847         * inet/tst-network.c: Likewise.
848         * inet/tst-ntoa.c: Likewise.
849         * intl/tst-codeset.c: Likewise.
850         * intl/tst-gettext2.c: Likewise.
851         * intl/tst-gettext3.c: Likewise.
852         * intl/tst-ngettext.c: Likewise.
853         * intl/tst-translit.c: Likewise.
854         * io/test-stat.c: Likewise.
855         * libio/test-fmemopen.c: Likewise.
856         * libio/tst-freopen.c: Likewise.
857         * libio/tst-sscanf.c: Likewise.
858         * libio/tst-ungetwc1.c: Likewise.
859         * libio/tst-ungetwc2.c: Likewise.
860         * libio/tst-widetext.c: Likewise.
861         * localedata/tst-ctype.c: Likewise.
862         * localedata/tst-digits.c: Likewise.
863         * localedata/tst-leaks.c: Likewise.
864         * localedata/tst-mbswcs1.c: Likewise.
865         * localedata/tst-mbswcs2.c: Likewise.
866         * localedata/tst-mbswcs3.c: Likewise.
867         * localedata/tst-mbswcs4.c: Likewise.
868         * localedata/tst-mbswcs5.c: Likewise.
869         * localedata/tst-setlocale.c: Likewise.
870         * localedata/tst-trans.c: Likewise.
871         * localedata/tst-wctype.c: Likewise.
872         * localedata/tst-xlocale1.c: Likewise.
873         * login/tst-grantpt.c: Likewise.
874         * malloc/tst-calloc.c: Likewise.
875         * malloc/tst-malloc.c: Likewise.
876         * malloc/tst-mallocstate.c: Likewise.
877         * malloc/tst-mcheck.c: Likewise.
878         * malloc/tst-mtrace.c: Likewise.
879         * malloc/tst-obstack.c: Likewise.
880         * math/atest-exp2.c: Likewise.
881         * math/atest-exp.c: Likewise.
882         * math/atest-sincos.c: Likewise.
883         * math/test-matherr.c: Likewise.
884         * math/test-misc.c: Likewise.
885         * math/test-powl.c: Likewise.
886         * math/tst-definitions.c: Likewise.
887         * misc/tst-dirname.c: Likewise.
888         * misc/tst-efgcvt.c: Likewise.
889         * misc/tst-fdset.c: Likewise.
890         * misc/tst-hsearch.c: Likewise.
891         * misc/tst-mntent2.c: Likewise.
892         * nptl/tst-sem7.c: Likewise.
893         * nptl/tst-sem8.c: Likewise.
894         * nptl/tst-sem9.c: Likewise.
895         * nss/test-netdb.c: Likewise.
896         * posix/tst-fnmatch.c: Likewise.
897         * posix/tst-getlogin.c: Likewise.
898         * posix/tst-gnuglob.c: Likewise.
899         * posix/tst-mmap.c: Likewise.
900         * pwd/tst-getpw.c: Likewise.
901         * resolv/tst-inet_ntop.c: Likewise.
902         * rt/tst-timer.c: Likewise.
903         * stdio-common/test-fseek.c: Likewise.
904         * stdio-common/test-popen.c: Likewise.
905         * stdio-common/test-vfprintf.c: Likewise.
906         * stdio-common/tst-cookie.c: Likewise.
907         * stdio-common/tst-fileno.c: Likewise.
908         * stdio-common/tst-gets.c: Likewise.
909         * stdio-common/tst-obprintf.c: Likewise.
910         * stdio-common/tst-perror.c: Likewise.
911         * stdio-common/tst-sprintf2.c: Likewise.
912         * stdio-common/tst-sprintf3.c: Likewise.
913         * stdio-common/tst-sprintf.c: Likewise.
914         * stdio-common/tst-swprintf.c: Likewise.
915         * stdio-common/tst-tmpnam.c: Likewise.
916         * stdio-common/tst-unbputc.c: Likewise.
917         * stdio-common/tst-wc-printf.c: Likewise.
918         * stdlib/tst-environ.c: Likewise.
919         * stdlib/tst-fmtmsg.c: Likewise.
920         * stdlib/tst-limits.c: Likewise.
921         * stdlib/tst-rand48-2.c: Likewise.
922         * stdlib/tst-rand48.c: Likewise.
923         * stdlib/tst-random2.c: Likewise.
924         * stdlib/tst-random.c: Likewise.
925         * stdlib/tst-strtol.c: Likewise.
926         * stdlib/tst-strtoll.c: Likewise.
927         * stdlib/tst-tls-atexit.c: Likewise.
928         * stdlib/tst-xpg-basename.c: Likewise.
929         * string/test-ffs.c: Likewise.
930         * string/tst-bswap.c: Likewise.
931         * string/tst-inlcall.c: Likewise.
932         * string/tst-strtok.c: Likewise.
933         * string/tst-strxfrm.c: Likewise.
934         * sysdeps/x86_64/tst-audit10.c: Likewise.
935         * sysdeps/x86_64/tst-audit3.c: Likewise.
936         * sysdeps/x86_64/tst-audit4.c: Likewise.
937         * sysdeps/x86_64/tst-audit5.c: Likewise.
938         * time/tst-ftime_l.c: Likewise.
939         * time/tst-getdate.c: Likewise.
940         * time/tst-mktime3.c: Likewise.
941         * time/tst-mktime.c: Likewise.
942         * time/tst-posixtz.c: Likewise.
943         * time/tst-strptime2.c: Likewise.
944         * time/tst-strptime3.c: Likewise.
945         * wcsmbs/tst-btowc.c: Likewise.
946         * wcsmbs/tst-mbrtowc.c: Likewise.
947         * wcsmbs/tst-mbsrtowcs.c: Likewise.
948         * wcsmbs/tst-wchar-h.c: Likewise.
949         * wcsmbs/tst-wcpncpy.c: Likewise.
950         * wcsmbs/tst-wcrtomb.c: Likewise.
951         * wcsmbs/tst-wcsnlen.c: Likewise.
952         * wcsmbs/tst-wcstof.c: Likewise.
954 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
956         [BZ #14132]
957         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
958         INTDEF.
959         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
960         declaration.
961         (_dl_mcount): Use rtld_hidden_proto.
962         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
963         _dl_mcount.
964         * elf/rtld.c (_rtld_global_ro): Likewise.
966         [BZ #14132]
967         * elf/dl-init.c (_dl_init): Don't use INTDEF.
968         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
969         of _dl_init_internal.
970         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
971         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
972         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
973         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
974         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
975         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
976         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
977         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
978         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
979         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
980         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
981         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
982         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
983         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
984         * sysdeps/tile/dl-start.S (_start): Likewise.
985         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
986         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
988         [BZ #14132]
989         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
990         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
991         (rtld_progname): Make macro definition unconditional.
992         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
993         INTDEF.
994         (dlmopen_doit): Do not use INTUSE with _dl_argv.
995         (dl_main): Likewise.
996         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
997         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
998         instead of _dl_argv_internal.
999         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1000         __GI__dl_argv instead of INTUSE(_dl_argv).
1001         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1002         __GI__dl_argv instead of _dl_argv_internal.
1004         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1005         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1006         macro.
1007         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1008         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1009         New macro.
1010         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1011         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1012         macro.
1013         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1014         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1016 2014-11-04  Andreas Schwab  <schwab@suse.de>
1018         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1020 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1022         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1023         mtvsrd instruction in binary form.
1025 2014-11-03  Andreas Schwab  <schwab@suse.de>
1027         [BZ #17522]
1028         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1029         for less than MB_LEN_MAX use a local buffer of that size.
1030         * libio/tst-fputws.c: New file.
1031         * libio/Makefile (tests): Add tst-fputws.
1033 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
1035         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1036         the size of the fpu_fr.fpu_dregs[] array.
1038 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
1040         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1041         (__nanosleep): Do not define as alias.
1042         (nanosleep): Define as alias of __nanosleep.
1043         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1044         __libc_nanosleep name.
1046 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1048         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1049         install.texi in comment.
1051 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1053         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1054         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1055         ... add here and use lwsync or sync ...
1056         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1057         ... and add here using lwsync.
1059 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1061         * elf/dl-machine-reject-phdr.h: New file.
1062         * elf/dl-load.c: #include that.
1063         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1064         if that returned true.
1066 2014-10-31  Roland McGrath  <roland@hack.frob.com>
1068         [BZ #17496]
1069         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1070         gen-as-const-headers chunk.  Add a big scare comment after the last
1071         safe place to touch before-compile.
1073 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1075         * manual/install.texi (Tools for Compilation): Update autoconf
1076         version requirements.
1077         * INSTALL: Regenerated.
1079         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1080         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1081         (__libc_pselect): Likewise.
1083         [BZ #14138]
1084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1089 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1091         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1092         correct barrier instruction.
1093         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1094         Likewise.
1095         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1096         Likewise.
1098 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1100         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1101         after defining inlines.  Instead, just use parens to defeat macro
1102         expansion of __isctype in its declaration.
1104 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1106         * include/sys/uio.h (__libc_readv): Remove declaration.
1107         (__libc_writev): Likewise.
1108         * misc/readv.c (__libc_readv): Rename to __readv.
1109         (__readv): Do not define as alias.
1110         (readv): Define as alias of __readv.
1111         * misc/writev.c (__libc_writev): Rename to __writev.
1112         (__writev): Do not define as alias.
1113         (writev): Define as alias of __writev.
1114         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1115         (__readv): Do not define as alias.
1116         (readv): Define unconditionally as alias of __readv.
1117         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1118         (__writev): Do not define as alias.
1119         (writev): Define unconditionally as alias of __writev.
1120         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1121         name.
1122         (writev): Do not define __libc_writev name.
1124 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1126         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1127         (convert_charseq): New function, broken out of ...
1128         (use_from_charmap): ... here.  Call it.
1129         (use_to_charmap): Use convert_charseq and free instead of duplicating
1130         its code with a variable-length stack struct.
1132 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1134         * include/fcntl.h (__libc_creat): Remove declaration.
1135         * io/creat.c (__libc_creat): Rename to creat.
1136         (creat): Do not define as alias.
1137         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1138         of creat instead of __libc_creat.
1139         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1140         to creat.
1141         (creat): Do not define as alias.
1142         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1143         __libc_creat.
1144         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1145         __libc_creat name.
1146         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1147         Likewise.
1149 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
1151         * manual/llio.texi: Add comments discussing why write() may be
1152         considered MT-unsafe on Linux.
1154 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
1156         * dl-load.c (local_strdup): Remove.
1157         (expand_dynamic_string_token): Use __strdup.
1158         (decompose_rpath): Likewise.
1159         (_dl_map_object): Likewise.
1161 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
1163         [BZ #14132]
1164         * sysdeps/generic/unwind-dw2-fde.c
1165         (__register_frame_info_bases_internal): Do not declare.
1166         (__register_frame_info_table_bases_internal): Likewise.
1167         (__deregister_frame_info_bases_internal): Likewise.
1168         (__register_frame_info_bases): Declare and use hidden_proto before
1169         definition.  Use hidden_def instead of INTDEF.
1170         (__register_frame_info_table_bases): Likewise.
1171         (__deregister_frame_info_bases): Likewise.
1172         (__register_frame_info): Do not use INTUSE.
1173         (__register_frame): Likewise.
1174         (__register_frame_info_table): Likewise.
1175         (__register_frame_table): Likewise.
1176         (__deregister_frame_info): Likewise.
1177         (__deregister_frame): Likewise.
1179 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
1181         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1182         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1183         not undefine.
1184         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1185         Likewise.
1186         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1187         Likewise.
1189 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
1191         [BZ #14138]
1192         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1193         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1194         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1195         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1196         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1197         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1198         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1199         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1200         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1201         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1202         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1203         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1204         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1205         syscall.
1206         (setfsuid): Likewise.
1207         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1208         (setfsuid): Likewise.
1209         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1210         (setfsuid): Likewise.
1211         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1212         Likewise.
1213         (setfsuid): Likewise.
1214         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1215         (setfsuid): Likewise.
1216         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1217         Likewise.
1218         (setfsuid): Likewise.
1220 2014-10-27  Andreas Schwab  <schwab@suse.de>
1222         [BZ #17501]
1223         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1224         check for Slow_SSE4_2 feature bit.
1225         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1226         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1227         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1228         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
1230 2014-10-24  Roland McGrath  <roland@hack.frob.com>
1232         * configure.ac: Validate compiler version with a empirical test of
1233         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1234         $CC -v output.
1235         * configure: Regenerated.
1237         * inet/htons.c (htons): Prototypify.
1238         * inet/htonl.c (htonl): Likewise.
1240 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1242         * string/strncat.c (strncat): Improve performance by using strlen.
1244 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1246         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1248 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1250         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1251         Call libc_fetestexcept_aarch64.
1253 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1255         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1256         Call libc_feholdexcept_aarch64.
1258 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1260         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1261         Call get_rounding_mode.
1263 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1265         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1266         Simplify logic.
1268 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1270         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1271         Simplify logic.
1273 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
1275         [BZ #14138]
1276         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1277         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1278         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1279         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1280         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1281         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1282         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1283         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1284         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1285         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1286         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1287         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1288         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1289         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1290         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1291         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1292         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1293         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1294         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1295         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1296         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1297         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1298         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1299         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1300         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1301         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1302         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1303         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1304         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1305         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1306         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1307         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1308         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1309         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1310         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1311         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1312         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1313         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1314         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1315         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1316         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1317         syscall.
1318         (geteuid): Likewise.
1319         (getgid): Likewise.
1320         (getuid): Likewise.
1321         (getresgid): Likewise.
1322         (getresuid): Likewise.
1323         (getgroups): Likewise.
1324         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1325         (geteuid): Likewise.
1326         (getgid): Likewise.
1327         (getuid): Likewise.
1328         (getresgid): Likewise.
1329         (getresuid): Likewise.
1330         (getgroups): Likewise.
1331         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1332         (geteuid): Likewise.
1333         (getgid): Likewise.
1334         (getuid): Likewise.
1335         (getresgid): Likewise.
1336         (getresuid): Likewise.
1337         (getgroups): Likewise.
1338         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1339         Likewise.
1340         (geteuid): Likewise.
1341         (getgid): Likewise.
1342         (getuid): Likewise.
1343         (getresgid): Likewise.
1344         (getresuid): Likewise.
1345         (getgroups): Likewise.
1346         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1347         (geteuid): Likewise.
1348         (getgid): Likewise.
1349         (getuid): Likewise.
1350         (getresgid): Likewise.
1351         (getresuid): Likewise.
1352         (getgroups): Likewise.
1353         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1354         Likewise.
1355         (geteuid): Likewise.
1356         (getgid): Likewise.
1357         (getuid): Likewise.
1358         (getgroups): Likewise.
1360         [BZ #14138]
1361         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1362         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1363         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1364         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1365         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1366         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1367         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1368         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1369         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1370         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1371         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1372         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1373         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1374         __chown.
1375         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1376         (lchown): Likewise.
1377         (fchown): Likewise.
1378         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1379         Likewise.
1380         (lchown): Likewise.
1381         (fchown): Likewise.
1382         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1383         (lchown): Likewise.
1384         (fchown): Likewise.
1385         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1386         Likewise.
1387         (lchown): Likewise.
1388         (fchown): Likewise.
1390 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1392         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1393         Simplify logic.
1395 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1397         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1398         Cleanup logic.
1400 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1402         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1403         Remove unused include.
1405 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1407         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1408         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1409         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1410         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1412 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
1413             Helge Deller <deller@gmx.de>
1415         [BZ #17508]
1416         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1417         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1418         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1420 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
1422         [BZ #14132]
1423         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1424         Remove macro definition.
1425         (__ashrdi3_v_glibc20): Likewise.
1426         (__lshrdi3_v_glibc20): Likewise.
1427         (__cmpdi2_v_glibc20): Likewise.
1428         (__ucmpdi2_v_glibc20): Likewise.
1429         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1430         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1431         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1432         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1433         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1434         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1436 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1438         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1439         old GNU extension [0] syntax.
1440         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1441         alloca rather than an array member with variable length.
1442         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1443         * nscd/nscd.c (invalidate_db): New function, broken out of ...
1444         (parse_opt): ... here.  Likewise use alloca there.
1445         Validate the -i argument before checking for rootness.
1446         (send_shutdown): New function, broken out of ...
1447         (parse_opt): ... here.
1449 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1451         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1452         macro to get at the _rt_local_ro field.
1453         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1454         ([PIC] case) or _dl_hwcap ([!PIC] case).
1455         * sysdeps/arm/setjmp.S: Likewise.
1457         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1458         * sysdeps/arm/configure.ac: New check to define it.
1459         * sysdeps/arm/configure: Regenerated.
1460         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1461         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1462         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1463         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1464         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1465         Use move/movt pair instead of a load.
1466         (LDST_GLOBAL): Macro removed.
1467         (LDR_GLOBAL): New macro replaces it.
1468         (LDR_HIDDEN): New macro.
1469         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1470         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1472         * setjmp/tst-setjmp-static.c: New file.
1473         * setjmp/Makefile (tests): Add it.
1474         (tests-static): New variable.
1476 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
1478         [BZ #17485]
1479         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1481 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
1483         [BZ #14132]
1484         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1486 2014-10-21  Roland McGrath  <roland@hack.frob.com>
1488         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1490 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1492         * io/fts.c (dirent_not_directory): New function.
1493         (fts_build): Call it.
1495 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1497         * nptl/version.c (__nptl_main): Use normal __write rather than
1498         INTERNAL_SYSCALL.
1499         (banner): Update copyright years.
1501         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1502         gettimeofday.
1503         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1504         * nptl/pthread_cond_timedwait.c: Likewise.
1505         * nptl/pthread_mutex_timedlock.c: Likewise.
1506         * nptl/sem_timedwait.c: Likewise.
1508         * sysdeps/nptl/bits/libc-lock.h
1509         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1510         (__libc_lock_init_recursive): Return void, not 0.
1511         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1512         (__libc_rwlock_init): Likewise.
1513         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1515 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1517         [BZ #15215]
1518         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1519         (__pthread_once_slow): ... here.
1520         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1521         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1523 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1525         [BZ #15215]
1526         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1527         __PTHREAD_ONCE_FORK_GEN_INCR): New.
1528         * sysdeps/nptl/fork.c (__libc_fork): Use them.
1529         * nptl/pthread_once.c (__pthread_once): Likewise.
1530         Update comments.
1532 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
1534         [BZ #14138]
1535         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1536         name.
1537         (writev): Use __libc_writev as strong name.
1538         * sysdeps/unix/sysv/linux/readv.c: Remove file.
1539         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1541 2014-10-17  Roland McGrath  <roland@hack.frob.com>
1543         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1545         * sysdeps/i386/nptl/tls.h
1546         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1547         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1548         New macros.
1549         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1550         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1551         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1552         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1553         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1554         Call CHECK_THREAD_SYSINFO instead of doing an assert.
1556         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1557         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1558         on [__NR_futex].
1559         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1560         broken out of ...
1561         (__pthread_mutex_init): ... here.  Call it.
1562         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1563         Conditionalize PI cases on [__NR_futex].
1564         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1565         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1566         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1568         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1569         conditional on [SIGSETXID].
1570         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1571         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1572         is defined.  Likewise for SIGSETXID.
1573         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1574         Conditionalize definitions on [SIGSETXID].
1575         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1576         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1577         unblocking on [SIGCANCEL].
1579         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1580         [__NR_set_robust_list].
1582 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1584         * string/strcoll_l.c (get_next_seq): Fix up formatting.
1585         (do_compare): Likewise.
1587 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
1589         [BZ #15884]
1590         * string/strcoll_l.c: Don't include stdio.h.
1591         (coll_seq): Remove members idxarr and rulearr.
1592         (get_next_seq_cached): Remove function.
1593         (get_next_seq): Likewise.
1594         (get_next_seq_nocache): Rename to get_next_seq.
1595         (do_compare): Remove function.
1596         (do_compare_nocache): Rename to do_compare.
1597         (STRCOLL): Remove weight and rules cache.
1599 2014-10-16  Roland McGrath  <roland@hack.frob.com>
1601         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1602         * sysdeps/arm/sfp-machine.h: ... to here.
1603         * sysdeps/arm/Implies: Remove arm/soft-fp.
1605 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
1607         * conform/data/sys/utsname.h-data (*_t): Allow.
1608         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1609         [POSIX] (WEXITED): Do not expect constant.
1610         [POSIX] (WSTOPPED): Likewise.
1611         [POSIX] (WNOHANG): Likewise.
1612         [POSIX] (WNOWAIT): Likewise.
1613         [POSIX] (siginfo_t): Do not expect type or elements.
1614         [POSIX] (pid_t): Do not expect type.
1615         [POSIX] (signal.h): Do not allow header.
1616         [POSIX] (sys/resource.h): Likewise.
1617         [POSIX] (si_*): Do not allow pattern.
1618         [POSIX] (W*): Likewise.
1619         [POSIX] (P_*): Likewise.
1620         [POSIX] (BUS_*): Likewise.
1621         [POSIX] (CLD_*): Likewise.
1622         [POSIX] (FPE_*): Likewise.
1623         [POSIX] (ILL_*): Likewise.
1624         [POSIX] (POLL_*): Likewise.
1625         [POSIX] (SEGV_*): Likewise.
1626         [POSIX] (SI_*): Likewise.
1627         [POSIX] (TRAP_*): Likewise.
1628         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1629         variable.
1631 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1633         [BZ #12926]
1634         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1635         infinite loop when __recvmsg returns 0.
1637 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
1639         * CANCEL-FCT-WAIVE: Remove file.
1640         * CANCEL-FILE-WAIVE: Likewise.
1642         [BZ #14132]
1643         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1644         instead of INTVARDEF.
1645         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1646         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1647         rtld_hidden_data_def instead of INTVARDEF.
1648         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1649         * elf/dl-deps.c (expand_dst): Likewise.
1650         * elf/dl-load.c (_dl_dst_count): Likewise.
1651         (_dl_dst_substitute): Likewise.
1652         (decompose_rpath): Likewise.
1653         (_dl_init_paths): Likewise.
1654         (open_path): Likewise.
1655         (_dl_map_object): Likewise.
1656         * elf/rtld.c (dl_main): Likewise.
1657         (process_dl_audit): Likewise.
1658         (process_envvars): Likewise.
1659         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1660         Remove declaration.
1661         (__libc_enable_secure): Use rtld_hidden_proto.
1663 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1665         * elf/dl-load.c
1666         (add_path): New function broken out of _dl_rtld_di_serinfo.
1667         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
1669 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1671         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1672         parentheses around macro arguments.
1673         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1674         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1675         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1676         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1677         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1678         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1679         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1680         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1681         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1682         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1683         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1684         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1685         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1686         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1687         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1688         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1689         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1690         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1691         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1692         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1693         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1694         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1696         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1697         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1698         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1699         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1700         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1701         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1702         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1703         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1704         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1705         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1706         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1707         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1708         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1709         Likewise.
1710         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1711         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1712         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1713         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1714         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1715         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1716         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1717         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1718         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1719         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1720         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1721         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1722         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1723         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1724         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1725         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1726         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1727         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1728         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1729         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1730         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1731         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1732         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1733         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1734         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1735         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1736         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1737         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1738         (_FP_FRAC_SRS_1): Likewise.
1739         (_FP_FRAC_CLZ_1): Likewise.
1740         (_FP_MUL_MEAT_1_imm): Likewise.
1741         (_FP_MUL_MEAT_1_wide): Likewise.
1742         (_FP_MUL_MEAT_1_hard): Likewise.
1743         (_FP_SQRT_MEAT_1): Likewise.
1744         (_FP_FRAC_ASSEMBLE_1): Likewise.
1745         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1746         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1747         (__FP_CLZ_2): Likewise.
1748         (_FP_MUL_MEAT_2_wide): Likewise.
1749         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1750         (_FP_MUL_MEAT_2_gmp): Likewise.
1751         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1752         (_FP_SQRT_MEAT_2): Likewise.
1753         (_FP_FRAC_ASSEMBLE_2): Likewise.
1754         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1755         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1756         (_FP_FRAC_CLZ_4): Likewise.
1757         (_FP_MUL_MEAT_4_wide): Likewise.
1758         (_FP_MUL_MEAT_4_gmp): Likewise.
1759         (_FP_SQRT_MEAT_4): Likewise.
1760         (_FP_FRAC_ASSEMBLE_4): Likewise.
1761         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1762         * soft-fp/op-common.h (_FP_CMP): Likewise.
1763         (_FP_CMP_EQ): Likewise.
1764         (_FP_CMP_UNORD): Likewise.
1765         (_FP_TO_INT): Likewise.
1766         (_FP_FROM_INT): Likewise.
1767         [!__FP_CLZ] (__FP_CLZ): Likewise.
1768         (_FP_DIV_HELP_imm): Likewise.
1769         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1770         Likewise.
1771         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1772         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1773         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1774         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1775         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1776         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1777         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1778         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1779         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1780         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1781         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1782         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1783         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1784         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1785         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1786         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1787         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1788         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1789         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1790         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1791         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1792         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1793         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1794         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1795         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1796         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1797         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1798         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1799         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1800         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1801         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1802         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1803         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1804         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1805         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1806         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1807         (FP_UNPACK_RAW_SP): Likewise.
1808         (FP_PACK_RAW_S): Likewise.
1809         (FP_PACK_RAW_SP): Likewise.
1810         (FP_UNPACK_S): Likewise.
1811         (FP_UNPACK_SP): Likewise.
1812         (FP_UNPACK_SEMIRAW_S): Likewise.
1813         (FP_UNPACK_SEMIRAW_SP): Likewise.
1814         (FP_PACK_S): Likewise.
1815         (FP_PACK_SP): Likewise.
1816         (FP_PACK_SEMIRAW_S): Likewise.
1817         (FP_PACK_SEMIRAW_SP): Likewise.
1818         (_FP_SQRT_MEAT_S): Likewise.
1819         (FP_CMP_S): Likewise.
1820         (FP_CMP_EQ_S): Likewise.
1821         (FP_CMP_UNORD_S): Likewise.
1822         (FP_TO_INT_S): Likewise.
1823         (FP_FROM_INT_S): Likewise.
1825         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1827         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1828         (FP_EX_INVALID_IMZ): Likewise.
1829         (FP_EX_INVALID_IMZ_FMA): Likewise.
1830         (FP_EX_INVALID_ISI): Likewise.
1831         (FP_EX_INVALID_ZDZ): Likewise.
1832         (FP_EX_INVALID_IDI): Likewise.
1833         (FP_EX_INVALID_SQRT): Likewise.
1834         (FP_EX_INVALID_CVI): Likewise.
1835         (FP_EX_INVALID_VC): Likewise.
1836         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1837         "invalid" exceptions.
1838         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1839         (_FP_ADD_INTERNAL): Likewise.
1840         (_FP_MUL): Likewise.
1841         (_FP_FMA): Likewise.
1842         (_FP_DIV): Likewise.
1843         (_FP_CMP_CHECK_NAN): Likewise.
1844         (_FP_SQRT): Likewise.
1845         (_FP_TO_INT): Likewise.
1846         (FP_EXTEND): Likewise.
1848 2014-10-09  Allan McRae  <allan@archlinux.org>
1850         * po/fr.po: Update French translation from translation project.
1852 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1854         [BZ #14132]
1855         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1856         of INTDEF.
1857         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1858         (__cxa_atexit): Use libc_hidden_proto.
1859         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1861         [BZ #14132]
1862         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1863         declaration.
1864         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1865         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1866         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1867         [!_ISOMAC] (__iswctype_internal): Likewise.
1868         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1869         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1870         alias.
1871         (fcntl): Remove __fcntl_internal alias.
1872         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1873         __connect_internal alias.
1874         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1875         Likewise.
1877         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1878         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1879         FP_DENORM_ZERO.
1880         (_FP_CHECK_FLUSH_ZERO): New macro.
1881         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1882         (_FP_CMP): Likewise.
1883         (_FP_CMP_EQ): Likewise.
1884         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1885         FP_DENORM_ZERO.
1886         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1887         (FP_TRUNC): Likewise.
1889         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1890         treated as invalid conversion, not as normal exponent.
1892         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1893         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1894         (_FP_CMP_EQ): Likewise.
1895         (_FP_CMP_UNORD): Likewise.
1896         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1897         (FP_CMP_EQ_D): Likewise.
1898         (FP_CMP_UNORD_D): Likewise.
1899         * soft-fp/extended.h (FP_CMP_E): Likewise.
1900         (FP_CMP_EQ_E): Likewise.
1901         (FP_CMP_UNORD_E): Likewise.
1902         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1903         (FP_CMP_EQ_Q): Likewise.
1904         (FP_CMP_UNORD_Q): Likewise.
1905         * soft-fp/single.h (FP_CMP_S): Likewise.
1906         (FP_CMP_EQ_S): Likewise.
1907         (FP_CMP_UNORD_S): Likewise.
1908         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1909         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1910         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1911         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1912         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1913         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1914         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1915         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1916         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1917         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1918         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1919         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1920         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1921         to FP_CMP_Q.
1922         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1923         FP_CMP_Q.
1924         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1925         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1926         FP_CMP_EQ_Q.
1927         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1928         FP_CMP_Q.
1929         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1930         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1931         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1932         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1933         FP_CMP_EQ_Q.
1934         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1935         FP_CMP_Q.
1936         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1937         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1938         FP_CMP_EQ_Q.
1939         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1940         FP_CMP_Q.
1941         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1942         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1943         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1944         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1945         FP_CMP_EQ_Q.
1947         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1948         a subnormal result, set the underflow exception if trapping on
1949         underflow is enabled.
1950         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1951         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1952         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1953         redefine to 0.
1954         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1955         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1956         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1957         * soft-fp/extendxftf2.c (__extendxftf2): Use
1958         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1960         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1961         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1962         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1963         FP_HANDLE_EXCEPTIONS.
1964         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1965         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1966         FP_HANDLE_EXCEPTIONS.
1967         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1968         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1969         FP_HANDLE_EXCEPTIONS.
1970         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1971         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1972         FP_HANDLE_EXCEPTIONS.
1974 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
1976         [BZ #14132]
1977         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1978         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1979         use INTUSE.
1980         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1981         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1982         Remove alias.
1983         (__adjtimex): Define using libc_hidden_ver.
1984         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1985         Remove declaration.
1986         (ntp_gettime): Call __adjtimex directly.
1987         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1988         Remove declaration.
1989         (ntp_gettimex): Call __adjtimex directly.
1990         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1991         __adjtimex_internal alias.
1993 2014-10-08  Roland McGrath  <roland@hack.frob.com>
1995         [BZ #17460]
1996         * nscd/nscd.c (more_help): Rewrite list of tables collection
1997         using xstrdup and asprintf.
1999         * nscd/nscd_conf.c: Remove local xstrdup declaration.
2001 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2002             Roland McGrath  <roland@hack.frob.com>
2004         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2005         (do_lookup_unique): ... local function 'enter' here; update callers.
2007 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
2009         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2010         compat_symbol calls on [SHARED].
2011         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2012         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2013         Remove.
2014         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2015         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2016         (oldsetrlimit): Remove.
2017         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2019         (lchown): New syscall entry.
2020         (oldsetrlimit): Remove.
2021         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2022         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2023         (oldsetrlimit): Remove.
2024         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2026         [BZ #14138]
2027         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2028         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2029         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2030         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2031         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2032         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2033         (fchown): Likewise.
2034         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2035         (fchown): Likewise.
2036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2037         Likewise.
2039 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2041         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2042         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2043         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2044         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2045         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2046         Likewise.
2047         (__old_sem_post): Likewise.
2049 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
2051         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2052         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2053         HAVE_CLOCK_GETTIME_VSYSCALL macros.
2054         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2055         Use INLINE_VSYSCALL macro.
2056         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2057         __vdso_clock_gettime.
2058         * sysdeps/unix/sysv/linux/tile/init-first.c
2059         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2060         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2061         __vdso_clock_gettime.
2063         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2064         to set up frame more cleanly.
2066         * sysdeps/tile/memcmp.c: New file.
2068         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2070         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2071         * sysdeps/tile/tilegx/strcasestr.c: New file.
2072         * sysdeps/tile/tilegx/strnlen.c: New file.
2073         * sysdeps/tile/tilegx/strstr.c: New file.
2075         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2077 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
2079         * nptl/tst-setuid3.c: Write errors to stdout.
2081 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2083         * elf/dl-deps.c
2084         (preload): New functions broken out of _dl_map_object_deps.
2085         (_dl_map_object_deps):  Remove a nested function. Update call sites.
2087 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
2089         [BZ #14138]
2090         * sysdeps/unix/sysv/linux/execve.c: Remove file.
2091         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2093 2014-10-01  Steve Ellcey  <sellcey@mips.com>
2095         * sysdeps/mips/strcmp.S: New.
2097 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
2099         [BZ #14138]
2100         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2101         (linkat): Likewise.
2102         (mkdirat): Likewise.
2103         (readlinkat): Likewise.
2104         (renameat): Likewise.
2105         (symlinkat): Likewise.
2106         (unlinkat): Likewise.
2107         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2108         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2109         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2110         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2111         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2112         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2113         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2115 2014-09-30  Will Newton  <will.newton@linaro.org>
2117         * math/math.h: Define long double math functions if
2118         _LIBC_TEST is defined.
2119         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2121         * localedata/Makefile: Move assignment to tests-special
2122         into an ifdef testing run-built-tests.
2123         * timezone/Makefile: Likewise.
2125 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
2127         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2128         with $(BASH) not $(SHELL).
2130 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
2131             Matthew LeGendre  <legendre1@llnl.gov>
2133         [BZ #17411]
2134         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2135         l_reloc_result.
2137 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2139         * stdio-common/printf_fp.c
2140         (hack_digit): New function, broken out of ...
2141         (__printf_fp): ... local function here.  Update call sites.
2142         hack_digit now takes an additional parameter that is a pointer
2143         to a struct of the referenced locals.  Those locals moved inside
2144         the struct and references updated.
2146 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2148         * aclocal.m4: Require autoconf 2.69.
2149         * configure: Regenerated.
2150         * sysdeps/aarch64/configure: Likewise.
2151         * sysdeps/alpha/configure: Likewise.
2152         * sysdeps/arm/armv7/configure: Likewise.
2153         * sysdeps/arm/configure: Likewise.
2154         * sysdeps/ia64/configure: Likewise.
2155         * sysdeps/mach/configure: Likewise.
2156         * sysdeps/mips/configure: Likewise.
2157         * sysdeps/s390/configure: Likewise.
2158         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2161         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2162         file.
2163         * sysdeps/ia64/configure.ac: Likewise.
2165 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
2167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2168         specify symbol version for ld.so.  Do not include entry for
2169         libpthread.
2170         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2171         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2172         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2174         [BZ #14171]
2175         * Makeconfig [$(build-shared) = yes]
2176         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2177         makefiles.
2178         [$(build-shared) = yes && $(soversions.mk-done) = t]
2179         ($(common-objpfx)gnu/lib-names.h): Remove rule.
2180         [$(build-shared) = yes && $(soversions.mk-done) = t]
2181         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
2182         to Makerules.
2183         [$(build-shared) = yes && $(soversions.mk-done) = t]
2184         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2185         here.
2186         [$(build-shared) = yes && $(soversions.mk-done) = t]
2187         (common-generated): Don't append gnu/lib-names.h and
2188         gnu/lib-names.stmp here.
2189         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2190         (lib-names-h-abi): New variable.
2191         [$(build-shared) = yes && $(soversions.mk-done) = t]
2192         (lib-names-stmp-abi): Likewise.
2193         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2194         abi-variants] (before-compile): Append
2195         $(common-objpfx)$(lib-names-h-abi).
2196         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2197         abi-variants] (common-generated): Append gnu/lib-names.h.
2198         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2199         abi-variants] (install-others-nosubdir): Depend on
2200         $(inst_includedir)/$(lib-names-h-abi).
2201         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2202         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2203         [$(build-shared) = yes && $(soversions.mk-done) = t]
2204         ($(common-objpfx)$(lib-names-h-abi)): New rule.
2205         [$(build-shared) = yes && $(soversions.mk-done) = t]
2206         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2207         [$(build-shared) = yes && $(soversions.mk-done) = t]
2208         (common-generated): Append $(lib-names-h-abi) and
2209         $(lib-names-stmp-abi).
2210         * scripts/lib-names.awk: Do not handle multi being set.
2211         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2212         Remove variable.
2213         (abi-lp64_be-ld-soname): Likewise.
2214         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2215         Likewise.
2216         (abi-hard-ld-soname): Likewise.
2217         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2218         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2219         Remove variable.
2220         (abi-o32_hard-ld-soname): Likewise.
2221         (abi-o32_soft_2008-ld-soname): Likewise.
2222         (abi-o32_hard_2008-ld-soname): Likewise.
2223         (abi-n32_soft-ld-soname): Likewise.
2224         (abi-n32_hard-ld-soname): Likewise.
2225         (abi-n32_soft_2008-ld-soname): Likewise.
2226         (abi-n32_hard_2008-ld-soname): Likewise.
2227         (abi-n64_soft-ld-soname): Likewise.
2228         (abi-n64_hard-ld-soname): Likewise.
2229         (abi-n64_soft_2008-ld-soname): Likewise.
2230         (abi-n64_hard_2008-ld-soname): Likewise.
2231         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2232         Likewise.
2233         (abi-64-v2-ld-soname): Likewise.
2234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2235         ld.so entries.
2236         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2237         variable.
2238         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2239         entry.
2240         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2241         variable.
2242         (abi-64-ld-soname): Likewise.
2243         (abi-x32-ld-soname): Likewise.
2244         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2245         entry.
2246         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2248 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
2250         [BZ #14138]
2251         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2252         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2253         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2254         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2255         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2256         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2257         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2258         syscall entry for GLIBC_2.2 symbol version.
2259         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2260         Likewise.
2261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2262         (setrlimit): Likewise.
2263         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2264         Likewise.
2266 2014-09-23  Will Newton  <will.newton@linaro.org>
2268         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2269         _LINUX_ARM_SYSDEP_H include guard too.
2270         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2271         define.
2273 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2275         * sysdeps/unix/sysv/linux/eventfd.c:
2276         Make first argument unsigned.
2277         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2278         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2280 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
2282         * socket/recvmmsg.c (recvmmsg): Drop const argument.
2283         * socket/sys/socket.h: Likewise
2284         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2286 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2288         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2290 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
2292         * time/tst-ftime.c: New test.
2293         * time/Makefile (tests): Add tst-ftime.
2295 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
2297         * soft-fp/extended.h: Fix comment formatting.
2298         * soft-fp/op-1.h: Likewise.
2299         * soft-fp/op-2.h: Likewise.
2300         * soft-fp/op-4.h: Likewise.
2301         * soft-fp/op-8.h: Likewise.
2302         * soft-fp/op-common.h: Likewise.
2303         * soft-fp/soft-fp.h: Likewise.
2305         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2307 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
2309         [BZ #6652]
2310         * Makeconfig (soversions-default-setname): Remove variable.
2311         ($(common-objpfx)soversions.i): Don't pass default_setname to
2312         soversions.awk.
2313         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2314         oldest_abi to abi-versions.awk.
2315         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2316         * config.make.in (oldest-abi): Remove variable.
2317         * configure.ac (--enable-oldest-abi): Remove configure option.
2318         * configure: Regenerated.
2319         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2320         text.
2321         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2322         * scripts/soversions.awk: Do not handle default_setname variable.
2323         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2324         variable.
2325         * sysdeps/mach/hurd/configure: Regenerated.
2326         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2327         variable.
2328         * sysdeps/unix/sysv/linux/configure: Regenerated.
2330 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2332         * elf/Makefile (CFLAGS-interp.c): Remove.
2333         ($(elf-objpfx)runtime-linker.h): Generate header with linker
2334         path string.
2335         * elf/interp.c: Include generated runtime-linker.h
2337         * Makerules (lib%.so): Don't include $(+interp) in
2338         prerequisites.
2339         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2340         * dlfcn/eval.c: Remove file.
2342         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2343         macros.
2345         [BZ #17266]
2346         * misc/sys/cdefs.h: Define __extern_always_inline for clang
2347         4.2 and newer.
2349         [BZ #17370]
2350         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2352 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2353             Jakub Jelinek  <jakub@redhat.com>
2355         [BZ #17266]
2356         * libio/stdio.h: Check definition of __fortify_function
2357         instead of __extern_always_inline to include bits/stdio2.h.
2358         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2359         check if __extern_always_inline is defined.
2360         [__USE_MISC || __USE_XOPEN]: Likewise.
2361         [__USE_ISOC99] Likewise.
2362         * misc/sys/cdefs.h (__fortify_function): Define only if
2363         __extern_always_inline is defined.
2364         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2365         __extern_always_inline and __extern_inline only for g++-4.3
2366         and newer or a compatible gcc.
2368 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
2370         [BZ #17371]
2371         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2372         last change to handle zero prefix length.
2374 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2376         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2377         _SC_REGEX_VERSION.
2379         * posix/getconf.c (vars): Add _POSIX_IPV6 and
2380         _POSIX_RAW_SOCKETS.
2382 2014-09-13  Allan McRae  <allan@archlinux.org>
2384         * po/ru.po: Update Russian translation from translation project.
2386 2014-09-12  Roland McGrath  <roland@hack.frob.com>
2388         * locale/programs/locale.c (show_locale_vars): Inline local function
2389         into its sole call site.  Clean up some style nits.
2390         (print_item): New function, broken out of ...
2391         (show_info): ... local function here.  Clean up style nits.
2393         * locale/programs/ld-ctype.c (set_one_default): New function, broken
2394         out of ...
2395         (set_class_defaults): ... local function set_default here.
2396         Define set_default as a macro locally to pass constant parameters.
2397         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2398         rather than a shared local.
2400         * stdlib/rpmatch.c (try): New function, broken out of ...
2401         (rpmatch): ... local function here.  Also, prototypify definition.
2403 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2405         * scripts/soversions.awk: Do not handle configuration names.
2406         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2407         vendor and os variables to soversions.awk.
2408         * configure.ac: Do not modify gnu-* host_os.
2409         * configure: Regenerated
2410         * shlib-versions: Remove first column with configuration names.
2411         * nptl/shlib-versions: Likewise.
2412         * nptl_db/shlib-versions: Likewise.
2413         * sysdeps/hppa/shlib-versions: Likewise.
2414         * sysdeps/m68k/shlib-versions: Likewise.
2415         * sysdeps/mach/hurd/shlib-versions: Likewise.
2416         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2417         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2418         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2419         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2420         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2421         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2422         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2423         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2425         Likewise.
2426         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2427         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2428         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2429         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2430         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2431         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2432         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2433         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2436         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2438         Regenerated.
2439         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2441         Condition symbol version definitions on [HAVE_ELFV2_ABI].
2443         * shlib-versions: Remove OS-specific entries.  Moved to files in
2444         sysdeps.
2445         * sysdeps/mach/hurd/shlib-versions: New file.
2446         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2448         * nptl/shlib-versions: Remove architecture-specific entries.
2449         Moved to files in sysdeps.
2450         * shlib-versions: Likewise.
2451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2452         file.
2453         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2454         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2455         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2456         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2458         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2459         (UDP_NO_CHECK6_RX): Likewise.
2461 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2463         * sysdeps/posix/sysconf.c (__sysconf): Spell
2464         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2466 2014-08-12  Florian Weimer  <fweimer@redhat.com>
2468         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2469         loading.
2470         * iconv/Versions (__gconv_transliterate): Export for use from
2471         gconv modules.
2472         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2473         (struct __gconv_trans_data, __gconv_trans_fct,
2474         __gconv_trans_context_fct, __gconv_trans_query_fct,
2475         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2476         definitions.
2477         (struct __gconv_step_data): Remove __trans member.
2478         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
2479         longer hidden.  Remove unused trans_data argument.
2480         * iconv/gconv_int.h (struct trans_struct): Remove definition.
2481         (__gconv_translit_find): Remove declaration.
2482         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
2483         prototype.
2484         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2485         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2486         trans_data argument.  Add hidden definition.
2487         (__gconv_translit_find): Remove.
2488         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2489         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2490         * iconv/skeleton.c: Remove transliteration initialization.
2491         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2492         __gconv_step_data initialization.
2493         * libio/iofwide.c (__libio_translit_): Remove.
2494         (_IO_fwide): Adjust struct __gconv_step_data initialization.
2495         * wcsmbs/btowc.c (__btowc): Likewise.
2496         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2497         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2498         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2499         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2500         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2501         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2502         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2503         * wcsmbs/wctob.c (wctob): Likewise.
2505 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2507         [BZ #16194]
2508         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2509         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
2510         register usage.
2511         * sysdeps/x86/Makefile: Adjust.
2513 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2514             Roland McGrath  <roland@hack.frob.com>
2516         * locale/weight.h: Add include guard.
2517         (findidx): Make static rather than auto; take new parameters
2518         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2519         * locale/weightwc.h: Likewise.
2520         * posix/fnmatch_loop.c
2521         (FCT): Change type of EXTRA from int32_t to wint_t.
2522         Don't include either header inside the function.
2523         Call FINDIDX rather than findidx, and pass new arguments.
2524         #undef FINDIDX at the end of the file.
2525         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2526         FINDIDX before including fnmatch_loop.c for the non-wide version.
2527         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2528         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2529         for the wide version.
2530         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2531         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2532         Pass new arguments to findidx.
2533         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2534         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2535         Don't #include it inside the function.  Pass new arguments to findidx.
2536         * posix/regex_internal.h
2537         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2538         (re_string_elem_size_at): Don't #include it inside the function.
2539         Pass new arguments to findidx.
2540         * string/strcoll_l.c: #include WEIGHT_H at top level.
2541         (get_next_seq): Don't #include it inside the function.
2542         Pass new arguments to findidx.
2543         (get_next_seq_nocache): Likewise.
2544         * string/strxfrm_l.c: #include WEIGHT_H at top level.
2545         (STRXFRM): Don't #include it inside the function.
2546         Pass new arguments to findidx.
2548 2014-09-11  Florian Weimer  <fweimer@redhat.com>
2550         [BZ #17344]
2551         * malloc/malloc.c (unlink): Turn asserts into a call to
2552         malloc_printerr.
2554 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
2556         [BZ #17370]
2557         * libio/wfileops (do_ftell_wide): Free OUT.
2559 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
2561         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2563 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2565         [BZ #17363]
2566         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2567         group if the current group is empty.
2569 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2571         * benchtests/bench-memset.c (test_main): Add more test from size
2572         from 32 to 512 bytes.
2573         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2574         Add POWER8 memset object.
2575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2576         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2577         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2578         implementation.
2579         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2580         Likewise.
2581         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2582         multiarch POWER8 memset optimization.
2583         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2584         POWER8 memset optimization.
2586         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2587         Remove bzero multiarch objects.
2588         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2589         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2590         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2591         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2592         Remove define.
2593         [__bzero]: Redefine to specific name.
2594         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2595         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2596         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2597         define.
2598         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2599         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2601 2014-09-10  Florian Weimer  <fweimer@redhat.com>
2603         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2604         warnings into errors.
2606         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2607         __cxa_thread_atexit_impl prototype.
2609 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2611         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2612         Fix capitalization of error message.
2614 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2616         * sysdeps/mips/preconfigure: Modify ABI tests.
2618 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
2620         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2622 2014-09-07  Roland McGrath  <roland@hack.frob.com>
2623             Carlos O'Donell  <carlos@systemhalted.org>
2625         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2626         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2627         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2628         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2629         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2630         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2631         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2632         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2633         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2634         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2635         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2636         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2637         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2638         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2639         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2640         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2641         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2642         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2643         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2644         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2645         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2646         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2647         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2648         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2649         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2650         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2651         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2652         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2653         Deconditionalize the code that was previously under [RESET_PID].
2654         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2655         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2656         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2657         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2658         include sysdep.h.
2660 2014-09-08  Allan McRae  <allan@archlinux.org>
2662         * version.h (RELEASE): Set to "development".
2663         (VERSION): Set to "2.20.90"
2665 2014-09-07  Allan McRae  <allan@archlinux.org
2667         * version.h (RELEASE): Set to "stable".
2668         (VERSION): Set to "2.20"
2669         * include/features.h (__GLIBC_MINOR__): Set to 20.
2671         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2672         Liebler.
2674         * po/ko.po: Update Korean translation from translation project.
2676 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
2678         [BZ #17354]
2679         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2680         macro for handling signed relocations.
2682 2014-09-03  Florian Weimer  <fweimer@redhat.com>
2684         [BZ #17325]
2685         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2686         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2687         assert.
2688         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2689         * iconvdata/ibm935.c (BODY): Likewise.
2690         * iconvdata/ibm937.c (BODY): Likewise.
2691         * iconvdata/ibm939.c (BODY): Likewise.
2692         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2693         assert.
2694         * iconvdata/Makefile (iconv-test.out): Pass module list to test
2695         script.
2696         * iconvdata/run-iconv-test.sh: New test loop for checking for
2697         decoder crashers.
2699 2014-09-02  Khem Raj  <raj.khem@gmail.com>
2701         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2702         libm_hidden_ver.
2704 2014-09-01  Allan McRae  <allan@archlinux.org>
2706         * po/eo.po: Update Esperanto translation from translation project.
2708         * po/ca.po: Update Catalan translation from translation project.
2710 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2712         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2713         __proc_dostop call.
2715 2014-08-27  Mark Wielaard  <mjw@redhat.com>
2717         [BZ #17319]
2718         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2719         to call set_thread_area instead of hand written asm.
2720         (__NR_set_thread_area): Removed define.
2721         (TLS_FLAG_WRITABLE): Likewise.
2722         (__ASSUME_SET_THREAD_AREA): Remove check.
2723         (TLS_EBX_ARG): Remove define.
2724         (TLS_LOAD_EBX): Likewise.
2726 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2728         Simplify atomicity of socket creation in bind.
2730         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2731         looking up the name after linking the file.
2733 2014-08-27  Allan McRae  <allan@archlinux.org>
2735         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2737 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2739         [BZ #17187]
2740         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2741         trans_compare, open_translit, __gconv_translit_find):
2742         Remove module loading code.
2744 2014-08-26  Allan McRae  <allan@archlinux.org>
2746         * po/vi.po: Update Vietnamese translation from translation project.
2748         * po/uk.po: Update Ukrainian translation from translation project.
2750         * po/fr.po: Update French translation from translation project.
2752         * po/ru.po: Update Russian translation from translation project.
2754         * po/pl.po: Update Polish translation from translation project.
2756         * po/cs.po: Update Czech translation from translation project.
2758         * po/de.po: Update German translation from translation project.
2760         * po/bg.po: Update Bulgarian translation from translation project.
2762         * po/sv.po: Update Sweedish translation from translation project.
2764         * po/nl.po: Update Dutch translation from translation project.
2766         * po/es.po: Update Spanish translation from translation project.
2768 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2770         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2772         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2773         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2774         (CPPFLAGS-iconvconfig): Likewise.
2775         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2777         * include/libc-symbols.h: Remove unnecessary check for
2778         NOT_IN_libc.
2779         * nptl/pthreadP.h: Likewise.
2780         * sysdeps/aarch64/setjmp.S: Likewise.
2781         * sysdeps/alpha/setjmp.S: Likewise.
2782         * sysdeps/arm/sysdep.h: Likewise.
2783         * sysdeps/i386/setjmp.S: Likewise.
2784         * sysdeps/m68k/setjmp.c: Likewise.
2785         * sysdeps/posix/getcwd.c: Likewise.
2786         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2787         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2788         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2789         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2790         * sysdeps/sh/sh3/setjmp.S: Likewise.
2791         * sysdeps/sh/sh4/setjmp.S: Likewise.
2792         * sysdeps/unix/alpha/sysdep.h: Likewise.
2793         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2794         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2795         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2796         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2799         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2800         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2801         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2802         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2803         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2804         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2805         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2806         * sysdeps/x86_64/setjmp.S: Likewise.
2808 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2810         [BZ #17263]
2811         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2812         <stdint.h>.
2813         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2814         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2816 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2818         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2820         [BZ #17262]
2821         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2822         and __x86_64__ when disabling x87 inline functions.
2824 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2826         [BZ #17259]
2827         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2828         asm statement with __cpuid_count.
2830 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2832         * configure.ac: Change __ehdr_start code to dereference the struct.
2833         Run readelf on the output to look for relocations.
2834         * configure: Regenerated.
2836 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2838         [BZ #17261]
2839         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2840         value to 0.
2841         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2843 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2845         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2847 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2849         [BZ #16892]
2850         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2851         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2853 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2855         * malloc/malloc.c: Fix typo in comment.
2857 2014-08-09  Allan McRae  <allan@archlinux.org>
2859         * Regenerate libc.po.
2861 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2863         * intl/tst-gettext2.sh: Check every lang file for creation.
2865 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2867         * sysdeps/aarch64/fpu/math_private.h
2868         (libc_feholdsetround_noex_aarch64_ctx): New function.
2870 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2872         * sysdeps/arm/armv6/strcpy.S (strcpy):
2873         Fix performance issue in misaligned cases.
2875 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2877         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2878         Move definition from termios.h.
2879         (struct termio): Likewise.
2880         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2881         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2882         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2883         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2884         Likewise.
2885         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2886         Move definition to ioctl-types.h
2887         (struct termio): Likewise.
2888         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2889         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2890         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2891         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2892         Likewise.
2894 2014-08-05  Richard Henderson  <rth@redhat.com>
2896         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2897         exceptions.
2898         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2899         Add fraiseexcpt.
2900         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2901         Use __feraiseexcept.
2902         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2903         Protect libm symbols with IS_IN_libm.
2905         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2907 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2909         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2911 2014-08-04  Will Newton  <will.newton@linaro.org>
2913         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2914         file.
2916 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
2918         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2919         variants for each function.
2921 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2923         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2924         appended ...
2925         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2926         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2927         appended ...
2928         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2929         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2930         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2931         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2932         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2933         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2934         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2935         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2936         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2937         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2938         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2939         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2940         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2941         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2942         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2943         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2944         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2945         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2946         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2947         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2948         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2949         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2950         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2951         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2952         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2953         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2954         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2955         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2956         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2957         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2958         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2959         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2960         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2961         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2962         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2963         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2964         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2965         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2966         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2967         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2968         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2969         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2970         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2971         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2972         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2973         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2974         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2975         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2976         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2977         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2978         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2979         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2980         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2981         Update #include.
2982         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2983         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2985 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2987         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2988         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2989         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2990         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2991         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2992         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2994 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2996         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2997         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2998         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2999         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3001 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3003         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3004         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3005         (__libc_vfork): Define function under this name.
3006         (__vfork): Define as an alias.
3007         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3008         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3010 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3012         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3013         that was previously under [RESET_PID].
3014         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3016 2014-08-04  Andreas Schwab  <schwab@suse.de>
3018         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3020 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
3022         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3023         (main): Likewise.
3025 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3027         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3029 2014-08-01  Richard Henderon  <rth@redhat.com>
3031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3032         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3033         typo in exact zero test.
3034         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3035         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3036         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3038 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3040         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3041         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3042         * sysdeps/arm/sysdep.h: ... here.
3043         [!__ASSEMBLER__]: Include <stdint.h>.
3045 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3047         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3048         (HAVE_WCTYPE_H): Likewise.
3049         (HAVE_ISWCTYPE): Likewise.
3050         (ENABLE_NLS): Likewise.
3051         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3052         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3054         * posix/regex_internal.c: Check if DEBUG is defined and is
3055         set.
3057         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3058         (HAVE_MBSRTOWCS): Likewise.
3059         * posix/fnmatch.c: Include string.h unconditionally.
3061 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3063         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3064         reversal.
3066 2014-07-31  Roland McGrath  <roland@hack.frob.com>
3068         * sysdeps/generic/safe-fatal.h: New file.
3069         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3070         * nptl/forward.c: Include it.
3071         (__pthread_unwind): Use __safe_fatal as default action, rather
3072         than a bogus use of INTERNAL_SYSCALL that could never work.
3074         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3075         * configure.ac (libc_cv_builtin_trap): New test.
3076         * configure: Regenerated.
3077         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3078         (ABORT_INSTRUCTION): Define using __builtin_trap.
3080         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3081         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3082         * sysdeps/nptl/nptl-signals.h: New file.
3083         * nptl/pthreadP.h: Include <nptl-signals.h>.
3085 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3087         * sysdeps/s390/s390-64/utf16-utf32-z9.c
3088         (ONE_DIRECTION): Define.
3089         * sysdeps/s390/s390-64/utf8-utf16-z9.c
3090         (ONE_DIRECTION): Define.
3091         * sysdeps/s390/s390-64/utf8-utf32-z9.c
3092         (ONE_DIRECTION): Define.
3094 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3096         * sysdeps/s390/Makefile: Delete file.
3097         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3098         * sysdeps/s390/__longjmp.c: Delete file.
3099         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3100         Remove fields __flags and __reserved.
3101         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3102         and add versioning.
3103         * sysdeps/s390/rtld-__longjmp.c: Delete file.
3104         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3105         * sysdeps/s390/rtld-setjmp.S: Likewise.
3106         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3107         * sysdeps/s390/s390-32/__longjmp.c: ... here.
3108         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3109         * sysdeps/s390/s390-32/setjmp.S: ... here.
3110         Add versioning.
3111         (__sigsetjmp): Remove setting __flags field.
3112         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3113         * sysdeps/s390/s390-64/__longjmp.c: ... here.
3114         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3115         * sysdeps/s390/s390-64/setjmp.S: ... here.
3116         Add versioning.
3117         (__sigsetjmp): Remove setting __flags field.
3118         * sysdeps/s390/setjmp.S: Delete file.
3119         * sysdeps/s390/sigjmp.c: Likewise.
3120         * sysdeps/s390/v1-longjmp.c: Likewise.
3121         * sysdeps/s390/v1-setjmp.h: Likewise.
3122         * sysdeps/s390/v1-sigjmp.c: Likewise.
3123         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3124         Remove v1-longjmp_chk.
3125         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3126         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3127         Include debug/longjmp_chk.c and add versioning.
3128         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3129         Include nptl/pt-longjmp.c and add versioning.
3130         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3131         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3132         Include __longjmp.c.
3133         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3134         Move to ...
3135         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3136         (__getcontext): Remove setting __flags field.
3137         Add versioning.
3138         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3139         Don't restore upper high grps.
3140         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3141         Likewise.
3142         (__swapcontext): Remove setting uc_flags field.
3143         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3144         Delete file.
3145         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3146         Include __longjmp.c.
3147         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3148         Move to ...
3149         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3150         (__getcontext): Remove setting __flags field.
3151         Add versioning.
3152         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3153         (__swapcontext): Remove setting uc_flags field.
3154         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3155         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3156         Remove fields uc_high_gprs and __reserved.
3157         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3158         New file with reverted content.
3159         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3160         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3161         Regenerated.
3162         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3163         Regenerated.
3165 2014-07-31  Andreas Schwab  <schwab@suse.de>
3167         * config.h.in (HAVE_IFUNC): Define to 0.
3168         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3169         definedness.
3171 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
3173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3174         memmove-avx-unaligned, memcpy-avx-unaligned and
3175         mempcpy-avx-unaligned.
3176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3177         Add tests for AVX memcpy functions.
3178         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3179         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3180         memcpy_chk.
3181         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3182         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3183         memmove_chk.
3184         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3185         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3186         mempcpy_chk.
3187         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3188         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3189         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3191 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3193         [BZ #17213]
3194         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3195         powerpc64le.
3197 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
3199         [BZ #16839]
3200         * manual/llio.texi: Add section about open file description locks.
3201         * manual/examples/ofdlocks.c: Example of open file description
3202         lock usage.
3203         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3204         F_OFD_SETLK, and F_OFD_SETLKW.
3206 2014-07-23  Allan McRae  <allan@archlinux.org>
3208         * po/es.po: Update Spanish translation from translation project.
3210 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
3212         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3214 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
3216         [BZ #17078]
3217         * sysdeps/arm/dl-machine.h (elf_machine_rela)
3218         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3219         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3221 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
3223         [BZ #17088]
3224         * math/fesetenv.c (__fesetenv)
3225         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3226         * math/feupdateenv.c (__feupdateenv)
3227         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3229         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3230         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3231         (__ASSUME_SOCKETCALL): Do not define.
3233         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3234         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3235         (__ASSUME_SOCKETCALL): Do not define.
3236         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3237         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3238         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3239         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3240         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3241         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3242         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3243         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3245         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3246         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3247         (__ASSUME_SOCKETCALL): Do not define.
3248         (__ASSUME_IPC64): Define unconditionally.
3249         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3250         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3251         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3252         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3253         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3254         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3255         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3256         Likewise.
3258         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3259         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3260         (__ASSUME_SOCKETCALL): Do not define.
3261         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3262         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3263         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3264         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3265         (__ASSUME_REQUEUE_PI): Define unconditionally.
3266         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3267         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3268         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3269         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3270         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3271         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3273         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3274         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3275         (__ASSUME_SOCKETCALL): Do not define.
3276         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3277         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3278         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3279         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3280         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3281         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3283         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3284         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3285         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3286         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3287         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3288         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3289         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3290         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3291         (__ASSUME_GETCPU_SYSCALL): Likewise.
3293         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3294         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
3295         cases for individual architectures.
3296         * sysdeps/gnu/configure: Regenerated.
3297         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3298         LIBC_SLIBDIR_RTLDDIR.
3299         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3300         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3301         LIBC_SLIBDIR_RTLDDIR.
3302         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3304         LIBC_SLIBDIR_RTLDDIR.
3305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3306         Regenerated.
3307         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3308         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3309         file.
3310         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3311         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3312         file.
3313         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3314         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3315         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3316         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3318         * sysdeps/aarch64/shlib-versions: Move to ...
3319         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3320         * sysdeps/alpha/shlib-versions: Move to ...
3321         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3322         * sysdeps/arm/shlib-versions: Move to ...
3323         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3324         * sysdeps/hppa/shlib-versions: Move all contents except for
3325         libgcc_s entry to ...
3326         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
3327         entry from ...
3328         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
3329         * sysdeps/ia64/shlib-versions: Move to ...
3330         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
3331         entry from ...
3332         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
3333         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3334         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3335         * sysdeps/microblaze/shlib-versions: Move to ...
3336         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3337         * sysdeps/mips/shlib-versions: Move to ...
3338         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
3339         entry from ...
3340         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
3341         * sysdeps/tile/shlib-versions: Move to ...
3342         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3343         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3344         from ...
3345         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
3346         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3347         entry from ...
3348         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
3350 2014-07-17  Will Newton  <will.newton@linaro.org>
3352         * sysdeps/arm/bits/atomic.h
3353         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3354         (__arch_compare_and_exchange_bool_16_int): Likewise.
3355         (__arch_compare_and_exchange_bool_64_int): Likewise.
3357         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3358         into an #else block.
3360 2014-07-16  Roland McGrath  <roland@hack.frob.com>
3362         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3363         just Linux configurations.  Test empirically that the compiler sets
3364         __ARM_EABI__, rather than using the tuple to decide.
3365         * sysdeps/arm/preconfigure: Regenerated.
3366         * sysdeps/unix/sysv/linux/arm/configure: File removed.
3367         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3368         contents appended ...
3369         * sysdeps/arm/configure.ac: ... here.
3370         * sysdeps/arm/configure: Regenerated.
3372 2014-07-15  Roland McGrath  <roland@hack.frob.com>
3374         * nptl/pthread_kill.c: New file.
3375         * nptl/pthread_sigmask.c: New file.
3376         * nptl/pthread_sigqueue.c: New file.
3378         * sysdeps/nptl/lowlevellock.h: New file.
3379         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3380         * sysdeps/nptl/lowlevellock-futex.h: New file.
3382         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3383         Remove dead declarations.
3385 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
3387         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3388         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3389         config-cflags-avx2.
3390         * sysdeps/x86_64/configure.ac: Likewise.
3391         * sysdeps/i386/configure: Regenerated.
3392         * sysdeps/x86_64/configure: Likewise.
3393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3394         memset-avx2 only if config-cflags-avx2 is yes.
3395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3396         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3397         defined.
3398         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3399         only if HAVE_AVX2_SUPPORT is defined.
3400         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3402 2014-07-14  Alan Modra  <amodra@gmail.com>
3404         [BZ #17153]
3405         * elf/elf.h (DT_PPC64_NUM): Correct value.
3406         * NEWS: Add to fixed bug list.
3408 2014-07-13  Jim Meyering  <meyering@fb.com>
3410         [BZ 17150]
3411         regex: don't deref NULL upon heap allocation failure
3412         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3413         failure in one more place.
3414         To trigger the segfault, configure grep -with-included-regex,
3415         build it, and run these commands:
3416         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3418 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3420         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3422 2014-07-11  Richard Henderson  <rth@redhat.com>
3424         * sysdeps/aarch64/libm-test-ulps: Update.
3426 2014-07-10  Florian Weimer  <fweimer@redhat.com>
3428         [BZ #17135]
3429         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3430         * nptl/allocatestack.c (__nptl_setxid_error): New function.
3431         (__nptl_setxid): Initialize error member.  Call
3432         __nptl_setxid_error.
3433         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3434         * nptl/descr.h (struct xid_command): Add error member.
3435         * nptl/tst-setuid3.c: New file.
3436         * nptl/Makefile (tests): Add it.
3438 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3440         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3441         New define.
3442         (__lll_trylock): Use __lll_base_trylock.
3443         (__lll_cond_trylock): Likewise.
3445 2014-07-10  Roland McGrath  <roland@hack.frob.com>
3447         * nptl/pthread_create.c (start_thread): Use atomic_or and
3448         lll_futex_wake directly rather than lll_robust_dead.
3449         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3450         (lll_robust_dead): Macro removed.
3451         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3452         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3453         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3454         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3455         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3456         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3457         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3458         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3459         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3460         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3461         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3462         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3463         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3464         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3465         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3467         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3468         Use atomic_compare_and_exchange_val_acq directly rather than
3469         lll_robust_trylock.
3470         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3471         (__lll_robust_trylock, lll_robust_trylock): Removed.
3472         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3473         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3474         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3475         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3476         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3477         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3478         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3479         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3480         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3481         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3482         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3483         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3484         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3485         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3487 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3489         * manual/locale.texi (Locale Names): New section documenting
3490         locale name syntax.  Adjust menu and node chaining accordingly.
3491         (Choosing Locale): Reference Locale Names, Locale Categories.
3492         Mention setting LC_ALL=C.  Reflect that name syntax is now
3493         documented.
3494         (Locale Categories): New section title.  Reference Locale Names.
3495         LC_ALL is an environment variable, but not a category.
3496         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3497         description, now in Locale Name.  Reference that section.  Locale
3498         name syntax is now documented.
3500 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3502         [BZ #17137]
3503         * locale/findlocale.c (name_present, valid_locale_name): New
3504         functions.
3505         (_nl_find_locale): Use the loc_name variable to store name
3506         candidates.  Call name_present and valid_locale_name to check and
3507         validate locale names.  Return an error if the locale is invalid.
3509 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3511         * locale/setlocale.c (setlocale): Use strdup for allocating
3512         composite name copy.
3514 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3516         Sync up with gnulib.
3517         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3518         [!_LIBC && ENABLE_NLS]: Include gettext.h.
3519         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3520         and _GL_ARG_NONNULL.
3521         [USE_UNLOCKED_IO]: Include unlocked-io.h.
3522         [!_LIBC]: Include code for Windows and Cygwin.
3523         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3524         Include prototype for int strerror_r.
3525         [!_LIBC] (is_open): New function.
3526         (flush_stdout): New function.
3527         (print_errno_message): Use it.
3528         (error): Likewise.
3529         (error_at_line): Likewise.
3530         (error_tail) Add function attribute macros.  Use
3531         __builtin_expect.
3533         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3535         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3537         * io/ftw.c: Include sys/param.h unconditionally.
3539         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3541         [BZ #17125]
3542         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3543         libc_freeres_ptr.
3544         (freecache): New function to free CACHE on exit.
3546         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3547         initialization.
3549 2014-07-09  David S. Miller  <davem@davemloft.net>
3551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3553         * sysdeps/sparc/nptl/internaltypes.h: Delete.
3554         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3555         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3556         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3557         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3558         * sysdeps/sparc/nptl/sem_init.c: Likewise.
3559         * sysdeps/sparc/nptl/sem_post.c: Likewise.
3560         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3561         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3562         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3563         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3564         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3565         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3567 2014-07-09  Andreas Schwab  <schwab@suse.de>
3569         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3570         output.
3571         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3572         (do_test): Likewise.
3574         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3576 2014-07-09  Will Newton  <will.newton@linaro.org>
3578         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3579         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3580         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3581         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3582         * sysdeps/hppa/start.S (_start): Likewise.
3584 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3586         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3588         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3589         defined.
3591 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3593         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3594         after checking that it is non-NULL.
3596         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3598 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3600         * sysdeps/powerpc/memmove.c: Remove file.
3601         * sysdeps/powerpc/powerpc32/power4/memcopy.h
3602         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3603         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3604         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3605         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3606         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3607         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3608         string memmove instead of removed powerpc one.
3610         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3611         [weak_alias]: Fix compiler warning due trailing data.
3612         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3613         [weak_alias]: Likewise.
3614         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3615         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3618         (__libc_ifunc_impl_list): Add memmove functions.
3620 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3622         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3623         Remove code.
3624         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3625         Likewise
3626         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3627         Likewise
3628         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3629         Likewise
3630         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3631         Likewise
3632         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3633         Likewise
3634         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3635         Likewise
3636         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3637         Likewise
3638         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3639         Likewise
3640         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3641         Likewise
3642         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3643         Likewise
3644         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3645         Likewise
3646         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3647         Likewise
3648         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3649         Likewise
3650         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3651         Likewise
3652         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3653         Likewise
3654         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3655         Likewise
3657 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3659         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3660         to avoid alignment traps in non-cacheable memory.
3661         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3664         multiarch objects.
3665         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3666         file: multiarch power7 memmove.
3667         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3668         multiarch default memmove.
3669         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3670         multiarch memove for powerpc32/power4.
3672         * string/bcopy.c: Use full path to include memmove.c.
3673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3674         multiarch objects.
3675         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3676         bcopy for powerpc64.
3677         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3678         bcopy for powerpc64.
3679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3680         and memmove implementations.
3681         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3682         optimized multiarch memmove for POWER7/powerpc64.
3683         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3684         default multiarch memmove for powerpc64.
3685         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3686         multiarch for powerpc64.
3687         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3688         for POWER7/powerpc64.
3689         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3690         memmove for POWER7/powerpc64.
3692         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3693         glibc default one.
3695         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3696         __ELF_NATIVE_CLASS equal to 64.
3698 2014-07-07  Roland McGrath  <roland@hack.frob.com>
3700         * sysdeps/nptl/lowlevellock.h: File removed.
3702         * NEWS: NPTL is no longer an add-on!
3703         * nptl/internaltypes.h: Moved ...
3704         * sysdeps/nptl/internaltypes.h: ... here.
3705         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3706         * sysdeps/nptl/fork.c: Likewise.
3707         * sysdeps/nptl/gai_misc.h: Likewise.
3708         * sysdeps/nptl/librt-cancellation.c: Likewise.
3709         * sysdeps/nptl/jmp-unwind.c: Likewise.
3710         * sysdeps/nptl/setxid.h: Likewise.
3711         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3712         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3713         * sysdeps/unix/sysv/linux/arm/Implies: New file.
3714         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3715         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3716         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3717         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3718         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3719         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3720         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3721         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3722         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3723         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3724         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3725         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3726         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3727         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3728         * nptl/Makeconfig: Moved ...
3729         * sysdeps/nptl/Makeconfig: ... here.
3730         * nptl/configure: File removed.
3731         * nptl/ANNOUNCE: File removed.
3732         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3733         * sysdeps/unix/sysv/linux/configure: Regenerated.
3735         * nptl/Makefile (routines): Add libc_pthread_init,
3736         libc_multiple_threads, register-atfork and unregister-atfork.
3737         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3738         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3739         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3740         pthread-pi-defines.sym, structsem.sym.
3741         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3742         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3743         [$(subdir) = nptl] (tests): Add tst-setgetname.
3744         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3745         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3746         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3747         [!LIBC_SIGACTION]: Remove aliases.
3748         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3749         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3750         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3751         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3752         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3753         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3754         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3755         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3756         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3757         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3758         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3759         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3760         __libc_allocate_rtsig_private.
3761         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3762         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3763         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3764         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3765         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3766         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3767         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3768         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3769         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3770         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3771         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3772         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3773         * nptl/internaltypes.h: ... here.
3774         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3775         * sysdeps/nptl/jmp-unwind.c: ... here.
3776         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3777         * nptl/libc-lowlevellock.c: ... here.
3778         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3779         * nptl/libc_multiple_threads.c: ... here.
3780         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3781         * nptl/libc_pthread_init.c: ... here.
3782         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3783         * nptl/lowlevelbarrier.sym: ... here.
3784         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3785         * nptl/lowlevelcond.sym: ... here.
3786         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3787         * nptl/lowlevellock.c: ... here.
3788         * nptl/lowlevellock.h: Moved ...
3789         * sysdeps/nptl/lowlevellock.h: ... here.
3790         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3791         * nptl/lowlevelrobustlock.c: ... here.
3792         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3793         * nptl/lowlevelrobustlock.sym: ... here.
3794         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3795         * nptl/lowlevelrwlock.sym: ... here.
3796         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3797         * nptl/pt-fork.c: ... here.
3798         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3799         * nptl/pthread-pi-defines.sym: ... here.
3800         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3801         * nptl/pthread_attr_getaffinity.c: ... here.
3802         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3803         * nptl/pthread_attr_setaffinity.c: ... here.
3804         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3805         * nptl/pthread_mutex_cond_lock.c: ... here.
3806         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3807         Update #include.
3808         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3809         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3810         * nptl/pthread_once.c: ... here, replacing old file.
3811         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3812         * nptl/pthread_yield.c: ... here.
3813         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3814         * nptl/register-atfork.c: ... here.
3815         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3816         * nptl/sem_post.c: ... here.
3817         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3818         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3819         * nptl/sem_timedwait.c: ... here.
3820         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3821         * nptl/sem_trywait.c: ... here.
3822         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3823         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3824         * nptl/sem_wait.c: ... here.
3825         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3826         * nptl/structsem.sym: ... here.
3827         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3828         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3829         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3830         * nptl/unregister-atfork.c: ... here.
3831         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3832         * nptl/unwindbuf.sym: ... here.
3833         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3834         * sysdeps/nptl/fork.c: ... here.
3835         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3836         * sysdeps/nptl/fork.h: ... here.
3837         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3838         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3839         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3840         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3841         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3842         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3843         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3844         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3845         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3846         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3847         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3848         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3849         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3850         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3851         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3852         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3853         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3854         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3855         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3856         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3857         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3858         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3859         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3860         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3861         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3862         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3863         * sysdeps/unix/sysv/linux/raise.c: ... here.
3864         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3865         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3866         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3867         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3868         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3869         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3870         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3871         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3872         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3873         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3874         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3875         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3876         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3877         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3878         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3880 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3882         * sysdeps/generic/memcopy.h: Add comment for
3883         MEMCPY_OK_FOR_FWD_MEMMOVE.
3885 2014-07-04  Will Newton  <will.newton@linaro.org>
3887         * string/memchr.c: Merge from gnulib.
3888         [_LIBC]: Remove conditionals.
3889         (__ptr_t): Remove define.
3890         (LONG_MAX_32_BITS): Likewise.
3891         (LONG_MAX): Likewise.
3892         (MEMCHR): Use ANSI prototype and optimize algorithm.
3894         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3896 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3898         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3899         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3901         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3902         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3903         in a bare environment with no <stdlib.h> installed.
3904         * sysdeps/nptl/configure: Regenerated.
3906         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3908         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3909         AC_EGREP_CPP for kernel header checks, so they only succeed if
3910         including <linux/version.h> actually works right.
3911         * sysdeps/unix/sysv/linux/configure: Regenerated.
3913         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3914         value so it's not diagnosed as unused.
3916         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3917         thing) with "ifeq ($(subdir),rt)".
3919 2014-07-03  Richard Henderson  <rth@redhat.com>
3921         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3922         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3923         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3925         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3926         (math_force_eval): New.
3928         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3929         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3931         * sysdeps/alpha/fpu/s_round.c: Remove file.
3932         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3934         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3935         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3936         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3937         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3938         (_dl_start, print_statistics): Likewise.
3939         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3940         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3942         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3943         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3944         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3945         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3946         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3947         (HP_SMALL_TIMING_AVAIL): Define.
3948         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3949         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3950         (HP_SMALL_TIMING_AVAIL): Define.
3951         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3952         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3954         * sysdeps/aarch64/hp-timing.h: New file.
3956         * sysdeps/generic/hp-timing.h: Remove dead comment.
3957         * sysdeps/generic/hp-timing-common.h: New file.
3958         * sysdeps/alpha/hp-timing.h: Include it.
3959         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3960         * sysdeps/i386/i686/hp-timing.h: Likewise.
3961         * sysdeps/ia64/hp-timing.h: Likewise.
3962         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3963         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3964         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3965         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3966         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3967         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3968         (hp_timing_t): New.
3970         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3971         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3972         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3973         * elf/rtld.c (_dl_start_final): Likewise.
3974         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3975         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3976         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3977         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3978         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3979         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3980         (HP_TIMING_DIFF_INIT): Remove.
3981         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3982         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3983         (HP_TIMING_DIFF_INIT): Remove.
3984         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3985         * sysdeps/i386/i686/hp-timing.c: Remove file.
3986         * sysdeps/x86_64/hp-timing.c: Remove file.
3987         * sysdeps/ia64/hp-timing.c: Remove file.
3988         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3989         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3991         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3993         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3994         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3995         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3996         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3997         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3998         (HP_TIMING_ACCUM): Remove.
3999         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4000         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4001         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4003         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4004         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4005         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4006         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4007         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4008         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4009         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4010         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4012         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4014 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
4016         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4018 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4020         Sync up with gettext.
4021         * intl/loadmsgcat.c: Define O_BINARY if not defined.
4022         [_MSC_VER]: Include malloc.h
4023         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4024         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4025         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
4026         TEMP_FAILURE_RETRY.  Cast return of alloca.
4027         [!_LIBC] Call gl_rwlock_init.
4028         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4030 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4032         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4033         before checking its value.
4035 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4037         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4039         * debug/memcpy_chk.c: Don't include pagecopy.h.
4040         * debug/mempcpy_chk.c: Likewise.
4041         * string/memcpy.c: Likewise.
4042         * string/memmove.c: Likewise.
4043         * sysdeps/powerpc/memmove.c: Likewise.
4044         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
4045         definition of PAGE_COPY_FWD_MAYBE here...
4046         * sysdeps/generic/pagecopy.h: ... from here.
4047         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4049 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4050             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4052         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4054         optimizations.
4055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4056         (__libc_ifunc_impl_list): Likewise.
4057         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4058         multiarch strcat for PPC64.
4059         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4060         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4062 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4064         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4066 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4068         * intl/loadmsgcat.c: Remove declaration of
4069         get_sysdep_segment_value.
4070         (get_sysdep_segment_value): Use ISO C style.
4071         (_nl_load_domain): Use ISO C style.  Get rid of redundant
4072         semicolon.  Fix typo and formatting in comment.
4073         (_nl_unload_domain): Use ISO C style.
4075         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4077 2014-07-02  Will Newton  <will.newton@linaro.org>
4079         * malloc/obstack.c: Merge from gnulib master.
4080         [HAVE_CONFIG_H]: Remove conditional code.
4081         [!_LIBC]: Include config.h.
4082         [!ELIDE_CODE]: Don't include inttypes.h, include
4083         stdint.h unconditionally.
4084         (print_and_abort): Mark as _Noreturn.
4085         (_obstack_allocated_p): Mark as __attribute_pure__.
4086         (obstack_free): Rename to __obstack_free.
4087         [!__attribute__]: Remove conditional code.
4088         * malloc/obstack.h: Merge from gnulib master.
4089         [__cplusplus]: Move conditional down.
4090         [!__attribute_pure__]: Define __attribute_pure__ here
4091         if it is not already defined.
4092         (_obstack_memory_used): Mark as __attribute_pure__.
4093         [!__obstack_free]: Define as obstack_free.
4094         [__GNUC__]: Remove check for ancient NeXT gcc.
4096 2014-07-02  Will Newton  <will.newton@linaro.org>
4097             Paul Eggert  <eggert@cs.ucla.edu>
4099         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4101 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4103         * resolv/gethnamaddr.c: Add comment warning that the file is
4104         not maintained.
4106 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
4108         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4109         entries.
4111         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4112         entry for aio_cancel and aio_cancel64.
4113         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4114         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4115         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4116         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4117         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4118         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4119         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4120         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4121         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4122         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4123         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4124         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4125         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4127 2014-07-01  Roland McGrath  <roland@hack.frob.com>
4129         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4130         * nptl/pthread_mutex_lock.c: Likewise.
4131         * nptl/pthread_mutex_timedlock.c: Likewise.
4132         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4134 2014-07-01  Richard henderson  <rth@redhat.com>
4136         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4137         (__isnan, __isnanl): Remove.
4138         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4140         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4142 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4144         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4146 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4148         * resolv/nss_dns/dns-host.c (getanswer_r)
4149         [MULTI_PTRS_ARE_ALIASES]: Remove code.
4151 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
4153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4154         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4155         undefine.
4156         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4157         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4159 2014-07-01  Roland McGrath <roland@hack.frob.com>
4161         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4162         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4164         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4165         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4167         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4168         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4169         ... here.
4170         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4171         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4173         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4174         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4175         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4176         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4178         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4179         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4180         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4181         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4182         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4183         Moved ...
4184         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4185         ... here.
4186         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4187         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4188         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4189         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4190         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4191         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4192         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4193         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4194         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4195         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4196         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4197         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4198         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4199         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4200         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4201         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4202         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4203         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4204         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4205         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4206         ... here.
4207         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4208         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4209         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4210         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4211         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4212         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4213         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4214         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4216 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
4218         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4219         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4220         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4221         Add sysdep.
4223 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4227 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4229         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4230         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4232         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4234         * sysdeps/arm/libm-test-ulps: Regenerated.
4236 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4237             Roland McGrath <roland@hack.frob.com>
4239         * test-skeleton.c (signal_handler): Kill the whole process group
4240         before killing the child individually.
4241         (main): Report any failure on `setpgid'.
4243 2014-06-30  Roland McGrath  <roland@hack.frob.com>
4245         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4246         from _TLS_H to _ARM_NPTL_TLS_H.
4247         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4248         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4250 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4252         [BZ #16539]
4253         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4254         (__expm1l): Return argument unchanged when small but not
4255         subnormal.
4257         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4258         include macro name.
4259         (_FP_UNPACK_RAW_1_P): Likewise.
4260         (_FP_PACK_RAW_1): Likewise.
4261         (_FP_PACK_RAW_1_P): Likewise.
4262         (_FP_MUL_MEAT_1_wide): Likewise.
4263         (_FP_MUL_MEAT_DW_1_hard): Likewise.
4264         (_FP_MUL_MEAT_1_hard): Likewise.
4265         (_FP_DIV_MEAT_1_imm): Likewise.
4266         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4267         (_FP_DIV_MEAT_1_udiv): Likewise.
4268         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4269         (_FP_UNPACK_RAW_2): Likewise.
4270         (_FP_UNPACK_RAW_2_P): Likewise.
4271         (_FP_PACK_RAW_2): Likewise.
4272         (_FP_PACK_RAW_2_P): Likewise.
4273         (_FP_MUL_MEAT_DW_2_wide): Likewise.
4274         (_FP_MUL_MEAT_2_wide): Likewise.
4275         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4276         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4277         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4278         (_FP_MUL_MEAT_2_gmp): Likewise.
4279         (_FP_DIV_MEAT_2_udiv): Likewise.
4280         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4281         (_FP_FRAC_SRL_4): Likewise.
4282         (_FP_FRAC_SRST_4): Likewise.
4283         (_FP_FRAC_SRS_4): Likewise.
4284         (_FP_UNPACK_RAW_4): Likewise.
4285         (_FP_UNPACK_RAW_4_P): Likewise.
4286         (_FP_PACK_RAW_4): Likewise.
4287         (_FP_PACK_RAW_4_P): Likewise.
4288         (_FP_MUL_MEAT_DW_4_wide): Likewise.
4289         (_FP_MUL_MEAT_4_wide): Likewise.
4290         (_FP_MUL_MEAT_4_gmp): Likewise.
4291         (umul_ppppmnnn): Likewise.
4292         (_FP_DIV_MEAT_4_udiv): Likewise.
4293         (__FP_FRAC_ADD_4): Likewise.
4294         (__FP_FRAC_SUB_3): Likewise.
4295         (__FP_FRAC_SUB_4): Likewise.
4296         (__FP_FRAC_DEC_3): Likewise.
4297         (__FP_FRAC_DEC_4): Likewise.
4298         (__FP_FRAC_ADDI_4): Likewise.
4299         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4300         (_FP_FRAC_SRL_8): Likewise.
4301         (_FP_FRAC_SRS_8): Likewise.
4303         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4304         include macro name.
4305         (FP_UNPACK_RAW_EP): Likewise.
4306         (FP_PACK_RAW_E): Likewise.
4307         (FP_PACK_RAW_EP): Likewise.
4308         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4309         (_FP_ISSIGNAN): Likewise.
4310         (_FP_ADD_INTERNAL): Likewise.
4311         (_FP_FMA): Likewise.
4312         (_FP_CMP): Likewise.
4313         (_FP_SQRT): Likewise.
4314         (_FP_TO_INT): Likewise.
4315         (_FP_FROM_INT): Likewise.
4316         (FP_EXTEND): Likewise.
4317         (_FP_DIV_MEAT_N_loop): Likewise.
4319 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4321         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4322         throughout.
4324 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
4326         [BZ #17097]
4327         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4328         result with correct sign in case of exponents that produce
4329         overflow except for X very close to 1.
4331 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
4333         mktime: merge #if/#ifdef usage from glibc
4334         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4335         as that works with both Glibc's and Gnulib's style.
4336         See thread starting at Siddhesh Poyarekar's bug report at:
4337         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4339 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4341         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4342         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4343         * sysdeps/tile/tilegx/memmove.c: Remove file.
4345 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4347         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4348         abi-name definition.
4349         * scripts/soversions.awk: Do not handle or generate ABI lines.
4350         * shlib-versions: Remove ABI entries.
4351         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4352         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4354 2014-06-27  Roland McGrath  <roland@hack.frob.com>
4356         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4357         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4358         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4359         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4361         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4363         Moved ...
4364         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4365         ... here.
4366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4367         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4369         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4371         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4373         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4375         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4377         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4378         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4379         Moved ...
4380         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4382         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4384         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4385         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4386         Moved ...
4387         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4388         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4389         Moved ...
4390         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4392         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4393         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4394         Moved ...
4395         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4396         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4397         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4398         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4399         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4400         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4401         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4402         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4403         Moved ...
4404         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4405         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4406         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4407         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4408         Moved ...
4409         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4411         Moved ...
4412         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4413         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4414         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4415         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4416         Moved ...
4417         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4418         ... here.
4419         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4420         Identical file removed.
4421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4422         Moved ...
4423         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4425         Identical file removed.
4426         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4427         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4428         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4429         Moved ...
4430         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4432         Identical file removed.
4433         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4434         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4435         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4436         Identical file removed.
4437         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4438         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4439         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4440         Identical file removed.
4441         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4442         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4443         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4444         Identical file removed.
4445         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4446         Moved ...
4447         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4448         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4449         Identical file removed.
4450         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4451         Moved ...
4452         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4453         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4454         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4455         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4456         Identical file removed.
4457         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4458         Moved ...
4459         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4460         ... here.
4461         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4462         Identical file removed.
4463         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4464         Moved ...
4465         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4466         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4467         Identical file removed.
4468         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4469         Moved ...
4470         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4471         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4472         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4473         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4474         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4475         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4476         Moved ...
4477         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4478         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4479         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4481         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4482         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4483         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4484         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4485         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4487 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
4489         [BZ #17092]
4490         * nscd/nscd.c (monitor_child): Return exit status of child
4491         instead of return value from wait syscall.
4493 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4495         * configure.ac (libc_commonpagesize): Remove variable.
4496         (libc_relro_required): Likewise.
4497         (libc_cv_z_relro): Remove configure test.
4498         * configure: Regenerated.
4499         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4500         variable.
4501         (libc_relro_required): Likewise.
4502         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4503         (libc_relro_required): Likewise.
4504         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4505         (libc_relro_required): Likewise.
4506         * sysdeps/arm/preconfigure: Regenerated.
4507         * sysdeps/ia64/preconfigure: Remove file.
4508         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4509         variable.
4510         (libc_relro_required): Likewise.
4512         [BZ #16561]
4513         [BZ #16562]
4514         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4515         (__ieee754_yn): Set FE_TONEAREST mode internally and then
4516         recompute overflowing results in original rounding mode.
4517         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4518         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4519         recompute overflowing results in original rounding mode.
4520         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4521         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4522         recompute overflowing results in original rounding mode.
4523         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4524         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4525         recompute overflowing results in original rounding mode.
4526         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4527         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4528         recompute overflowing results in original rounding mode.
4529         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4530         (libc_feholdsetround_ctx): New macro.
4531         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4532         * sysdeps/i386/fpu/libm-test-ulps: Update.
4533         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4535 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4537         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4538         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4539         corresponding .cpsetup call.
4541 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4543         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4544         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4545         * sysdeps/arm/Makefile [$(subdir) = csu]
4546         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4547         (static-only-routines): Add aeabi_read_tp here.
4548         (shared-only-routines): Add libc-aeabi_read_tp here.
4549         (CFLAGS-libc-start.c): Add -fexceptions here.
4550         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4551         (sysdep_routines, static-only-routines, shared-only-routines):
4552         Don't add to these here.
4553         (CFLAGS-libc-start.c): Likewise.
4555         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4556         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4557         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4558         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4559         * sysdeps/arm/Makefile [$(subdir) = rt]
4560         (librt-sysdep_routines, librt-shared-only-routines):
4561         Append rt-aeabi_unwind_cpp_pr1 here.
4562         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4563         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4564         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4565         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4566         Append nptl-aeabi_unwind_cpp_pr1 here.
4567         (tests): Filter out tst-cleanupx4 here.
4568         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4569         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4570         Don't do those here.
4572 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4574         * scripts/list-sources.sh: Do not handle ports specially.
4576 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4578         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4579         * sysdeps/arm/feupdateenv.c: Likewise.
4581         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4583 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4585         * manual/texinfo.tex: Update to version 2014-05-05.10 with
4586         trailing whitespace removed.
4587         * scripts/config.guess: Update to version 2014-03-23.
4588         * scripts/config.sub: Update to version 2014-05-01
4589         * scripts/install-sh: Update to version 2013-12-25.23.
4590         * scripts/move-if-change: Update from gnulib.
4592 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4594         * debug/memmove_chk.c: Remove pagecopy.h include.
4596 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
4598         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
4599         identical to gnulib mktime.
4601 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4603         * configure.ac: Do not test for machine being rs6000.  Do not test
4604         for powerpc*-*soft.
4605         * configure: Regenerated.
4607         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4608         test.
4609         * configure: Regenerated.
4610         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4611         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4612         Remove configure test.
4613         * sysdeps/arm/configure: Regenerated.
4614         * sysdeps/nptl/configure.ac: Do not check
4615         libc_cv_asm_cfi_directives.
4616         * sysdeps/nptl/configure: Regenerated.
4617         * sysdeps/x86_64/nptl/configure.ac: Remove file.
4618         * sysdeps/x86_64/nptl/configure: Remove generated file.
4619         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4620         unconditional.
4621         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4623 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4625         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4626         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4627         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4628         it is defined.
4630         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4631         instead of whether it is defined.
4632         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4633         * sysdeps/hppa/dl-machine.h: Likewise.
4634         * sysdeps/ia64/dl-machine.h: Likewise.
4635         * sysdeps/m68k/dl-machine.h: Likewise.
4636         * sysdeps/microblaze/dl-machine.h: Likewise.
4637         * sysdeps/mips/dl-machine.: Likewise.
4638         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4639         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4640         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4641         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4642         * sysdeps/sh/dl-machine.h: Likewise.
4643         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4644         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4645         * sysdeps/tile/dl-machine.h: Likewise.
4646         * sysdeps/x86_64/dl-machine.h: Likewise.
4648         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4649         code.
4650         (verify_persistent_db): Likewise.
4652 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4655         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4657         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4659         Moved ...
4660         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4661         ... here.
4662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4663         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4665         Identical file removed.
4666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4667         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4669         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4671         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4673         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4675         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4677         Moved ...
4678         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4680         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4682         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4684         Moved ...
4685         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4687         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4689         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4691         Identical file removed.
4692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4693         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4695         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4697         Moved ...
4698         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4699         ... here.
4700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4701         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4703         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4705         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4707         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4709         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4711         Moved ...
4712         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4714         Moved ...
4715         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4717         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4719         Moved ...
4720         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4722         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4724         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4725         folded into ...
4726         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4727         * sysdeps/unix/sysv/linux/s390/Versions
4728         (libpthread: GLIBC_2.19): New version set.
4729         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4730         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4731         (librt: GLIBC_2.3.3): New version set.
4732         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4733         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4734         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4735         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4736         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4737         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4738         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4739         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4740         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4741         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4742         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4743         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4744         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4745         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4746         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4747         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4748         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4749         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4750         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4751         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4752         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4753         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4754         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4755         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4756         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4757         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4758         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4759         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4760         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4761         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4762         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4763         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4764         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4768         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4769         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4770         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4772         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4773         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4774         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4775         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4776         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4778         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4779         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4780         (__libc_vfork): Define the function under this name.
4781         [!NOT_IN_libc] (__vfork): Make this an alias.
4782         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4783         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4784         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4785         (__libc_vfork): Define the function under this name.
4786         [!NOT_IN_libc] (__vfork): Make this an alias.
4787         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4788         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4789         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4790         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4791         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4792         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4794         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4795         code that was previously under [RESET_PID].
4796         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4797         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4798         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4800         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4801         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4802         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4803         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4804         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4805         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4806         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4807         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4808         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4809         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4810         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4811         Moved ...
4812         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4813         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4814         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4815         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4816         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4817         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4818         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4819         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4820         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4821         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4822         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4823         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4824         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4825         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4826         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4827         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4828         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4829         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4830         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4831         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4832         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4833         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4834         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4835         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4836         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4837         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4838         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4839         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4840         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4842 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4844         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4845         that was previously under [RESET_PID].
4846         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4848 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4850         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4851         not undefine and redefine.
4852         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4853         [O_CLOEXEC]: Make code unconditional.
4854         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4855         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4856         <kernel-features.h>.
4857         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4858         conditional variable definition.
4859         (shm_open) [O_CLOEXEC]: Make code unconditional.
4860         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4861         code.
4863         * configure.ac (USE_REGPARMS): Don't define here.
4864         * configure: Regenerated.
4865         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4866         * sysdeps/i386/configure: Regenerated.
4868         * nptl/createthread.c: Don't include kernel-features.h.
4869         * nptl/pthread_cancel.c: Likewise.
4870         * nptl/pthread_condattr_setclock.c: Likewise.
4871         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4872         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4873         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4874         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4875         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4876         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4877         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4879         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4880         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4881         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4882         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4883         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4884         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4885         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4886         * nscd/gai.c: Likewise.
4887         * nss/nss_db/db-open.c: Likewise.
4888         * sysdeps/generic/ldsodefs.h: Likewise.
4889         * sysdeps/sh/nptl/tls.h: Likewise.
4890         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4891         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4892         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4893         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4894         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4895         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4896         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4897         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4898         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4899         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4900         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4901         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4902         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4903         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4904         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4905         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4906         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4907         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4908         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4909         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4910         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4911         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4912         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4913         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4914         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4915         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4916         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4917         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4918         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4919         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4920         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4921         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4922         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4923         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4924         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4925         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4926         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4927         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4928         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4929         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4930         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4931         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4932         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4933         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4934         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4935         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4936         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4937         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4938         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4939         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4940         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4941         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4942         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4943         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4944         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4945         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4946         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4947         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4970         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4971         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4972         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4973         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4974         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4975         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4976         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4977         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4978         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4979         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4980         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4981         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4982         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4983         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4984         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4985         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4986         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4987         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4988         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4989         * sysdeps/unix/sysv/linux/system.c: Likewise.
4990         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4991         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4992         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4993         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4994         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4995         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4996         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4998         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4999         * configure: Regenerated.
5000         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5002         * configure.ac (base_machine): Do not set specially for particular
5003         machines here.
5004         * configure: Regenerated.
5005         * sysdeps/powerpc/preconfigure: Move machine and base_machine
5006         settings from configure.ac.
5007         * sysdeps/i386/preconfigure: New file.
5008         * sysdeps/s390/preconfigure: Likewise.
5009         * sysdeps/sh/preconfigure: Likewise.
5010         * sysdeps/sparc/preconfigure: Likewise.
5012 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5014         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5015         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5016         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5017         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5018         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5019         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5020         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5021         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5022         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5023         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5024         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5025         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5026         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5027         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5028         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5029         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5031         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5032         * sysdeps/sparc/sparc64/Makefile: ... appended here.
5034         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5035         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5036         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5037         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5038         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5039         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5040         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5041         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5042         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5043         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5044         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5045         * sysdeps/sparc/sparc32/sem_post.c: ... here.
5046         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5047         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5048         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5049         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5050         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5051         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5052         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5053         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5054         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5055         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5056         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5057         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5058         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5059         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5060         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5061         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5062         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5063         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5064         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5065         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5066         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5067         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5068         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5069         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5070         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5071         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5074         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5076         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5078         Moved ...
5079         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5080         ... here.
5081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5082         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5084         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5086         Moved ...
5087         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5089         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5091         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5093         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5095         Moved ...
5096         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5098         Moved ...
5099         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5101         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5103         Moved ...
5104         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5106         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5108         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5110         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5112         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5114         Moved ...
5115         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5116         ... here.
5117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5118         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5120         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5122         Moved ...
5123         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5125         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5127         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5129         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5131         Moved ...
5132         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5134         Moved ...
5135         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5137         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5139         Moved ...
5140         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5142         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5144         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5146 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5148         * timezone/checktab.awk: Update from tzcode 2014e.
5149         * timezone/private.h: Likewise.
5150         * timezone/tzfile.h: Likewise.
5151         * timezone/zdump.c: Likewise.
5152         * timezone/zic.c: Likewise.
5154         * sysdeps/unix/sysv/linux/kernel-features.h
5155         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5156         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5157         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5158         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5159         Remove conditional code.
5161 2014-06-25  Will Newton  <will.newton@linaro.org>
5163         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5164         (_dl_arm_cap_flags): Add HWCAP2 values.
5165         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5166         (_DL_HWCAP_COUNT): Increase to 37.
5167         (_DL_HWCAP_LAST): New define.
5168         (_DL_HWCAP2_LAST): New define.
5169         (_dl_procinfo): Add support for printing
5170         AT_HWCAP2 entries.
5171         (_dl_string_hwcap): Use _dl_hwcap_string.
5173 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5177 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5179         * README: Do not mention ports directory.
5181         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5182         Remove macro.
5183         * sysdeps/unix/sysv/linux/futimes.c: Do not include
5184         <kernel-features.h>.
5185         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5186         conditional variable definition.
5187         (__futimes): Update comment.
5188         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5189         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5191         [BZ #16560]
5192         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5193         arguments close to 0.
5194         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5195         Likewise.
5196         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5197         Likewise.
5198         * math/auto-libm-test-in: Add more tests of exp10.
5199         * math/auto-libm-test-out: Regenerated.
5200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5202         * sysdeps/unix/sysv/linux/kernel-features.h
5203         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5204         * sysdeps/unix/sysv/linux/readv.c: Do not include
5205         <kernel-features.h>.
5206         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5207         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5208         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5209         unconditional.
5210         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5211         conditional code.
5212         * sysdeps/unix/sysv/linux/writev.c: Do not include
5213         <kernel-features.h>.
5214         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5215         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5216         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5217         unconditional.
5218         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5219         conditional code.
5221 2014-06-25  Will Newton  <will.newton@linaro.org>
5223         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5224         comment changes throughout the file.  Remove checks
5225         for HAVE_*_H definitions that are not required.
5226         (__gen_tempname): Call abort if an unknown kind value is
5227         passed.
5229 2014-06-25  Andreas Schwab  <schwab@suse.de>
5231         [BZ #17086]
5232         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5233         scalbln, scalblnf, scalblnl in libc.
5235 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5237         [BZ #17086]
5238         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5239         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5240         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5242 2014-06-24  Roland McGrath  <roland@hack.frob.com>
5244         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5245         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5246         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5247         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5248         Update #include.
5249         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5250         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5251         Update #include.
5252         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5253         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5254         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5255         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5256         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5257         * sysdeps/x86/bits/pthreadtypes.h: ... here.
5258         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5259         * sysdeps/x86/bits/semaphore.h: ... here.
5260         * sysdeps/x86/nptl/elide.h: Moved ...
5261         * sysdeps/x86/elide.h: ... here.
5262         * sysdeps/x86_64/nptl/Implies: File removed.
5263         * sysdeps/i386/nptl/Implies: File removed.
5265 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
5267         [BZ #16539]
5268         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5269         return the argument for normal arguments with exponent below -64.
5270         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5271         Likewise.
5272         * math/auto-libm-test-in: Add another test of expm1.
5273         * math/auto-libm-test-out: Regenerated.
5275         [BZ #16287]
5276         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5277         calling __erfcl for arguments at least 16.
5278         * math/auto-libm-test-in: Add more tests of erf.
5279         * math/auto-libm-test-out: Regenerated.
5281         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5282         individual architectures.
5283         * sysdeps/unix/sysv/linux/configure: Regenerated.
5284         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5285         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5286         * sysdeps/unix/sysv/linux/powerpc/configure.ac
5287         (ldd_rewrite_script): Define variable.
5288         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5290         file.
5291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5292         generated file.
5293         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5294         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5295         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5296         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5297         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5298         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5299         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5300         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5302 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304         [BZ #17084]
5305         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5306         Rename member __data.d to __data.__elision_data.
5308 2014-06-24  Wilco  <wdijkstr@arm.com>
5310         * NEWS: Add 16918 to fixed bug list.
5312 2014-06-24  Wilco  <wdijkstr@arm.com>
5314         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5316 2014-06-24  Wilco  <wdijkstr@arm.com>
5318         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5319         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5320         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5321         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5322         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5323         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5324         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5325         Use _FPU_MASK_RM.
5327 2014-06-24  Wilco  <wdijkstr@arm.com>
5329         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5331 2014-06-24  Wilco  <wdijkstr@arm.com>
5333         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5334         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5335         * sysdeps/arm/fesetround.c (fesetround): Remove space.
5336         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5338 2014-06-24  Wilco  <wdijkstr@arm.com>
5340         [BZ #16918]
5341         * sysdeps/arm/feupdateenv.c (feupdateenv):
5342         Rewrite to reduce FPSCR accesses and fix return value.
5344 2014-06-24  Wilco  <wdijkstr@arm.com>
5346         * sysdeps/arm/fclrexcpt.c (feclearexcept):
5347         Optimize to avoid unnecessary FPSCR writes.
5348         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5349         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5350         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5351         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5353 2014-06-24  Wilco  <wdijkstr@arm.com>
5355         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5356         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5357         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5358         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5359         Call libc_fetestexcept_vfp.
5360         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5361         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5362         __SOFTFP__ ifdef so that they can be built for softfp.
5364 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5366         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5367         argument type signed char.
5369         * Makerules (check-abi): Dump diff of symlist if the test
5370         fails.
5372 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5374         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5375         using abort.
5377         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5378         Remove unused variable ST.
5380 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5382         [BZ #16354]
5383         [BZ #17061]
5384         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5385         small arguments before calling __expm1.
5386         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5387         small arguments before calling __expm1f.
5388         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5389         small arguments before calling __expm1l.
5390         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5391         Likewise.
5392         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5393         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
5394         spurious underflow for some cosh tests.
5395         * math/auto-libm-test-out: Regenerated.
5396         * sysdeps/i386/fpu/libm-test-ulps: Update.
5398         [BZ #17050]
5399         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5400         (__ieee754_y1): Set errno if return value overflows.
5401         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5402         (__ieee754_y1f): Set errno if return value overflows.
5403         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5404         (__ieee754_y1l): Set errno if return value overflows.
5405         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5406         (__ieee754_y1l): Set errno if return value overflows.
5407         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5408         * math/auto-libm-test-out: Regenerated.
5410         * math/gen-auto-libm-tests.c: Document use of
5411         ignore-zero-inf-sign.
5412         (input_flag_type): Add value flag_ignore_zero_inf_sign.
5413         (input_flags): Add ignore-zero-inf-sign.
5414         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5415         * math/gen-libm-test.pl (generate_testfile): Handle
5416         ignore-zero-inf-sign.
5417         * math/auto-libm-test-in: Mark some cpow tests with
5418         ignore-zero-inf-sign and some with xfail-rounding.
5419         * math/auto-libm-test-out: Regenerated.
5420         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5421         * sysdeps/i386/fpu/libm-test-ulps: Update.
5422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5424         [BZ #16315]
5425         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5426         overflowing or underflowing operations take place with sign of
5427         result.
5428         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5429         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5430         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5431         (__ieee754_pow): Recompute overflowing and underflowing results in
5432         original rounding mode.
5433         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5434         (__powl_helper): Allow negative argument X and scale negated value
5435         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
5436         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5437         overflowing or underflowing operations take place with sign of
5438         result.
5439         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5440         Include <math.h>.
5441         * math/auto-libm-test-in: Add more tests of pow.
5442         * math/auto-libm-test-out: Regenerated.
5443         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5444         (pow_tonearest_test_data): Remove.
5445         (pow_test_tonearest): Likewise.
5446         (pow_towardzero_test_data): Likewise.
5447         (pow_test_towardzero): Likewise.
5448         (pow_downward_test_data): Likewise.
5449         (pow_test_downward): Likewise.
5450         (pow_upward_test_data): Likewise.
5451         (pow_test_upward): Likewise.
5452         (main): Don't call removed functions.
5453         * sysdeps/i386/fpu/libm-test-ulps: Update.
5454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5456 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5459         Moved ...
5460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5462         Moved ...
5463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5465         Moved ...
5466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5468         Moved ...
5469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5471         File removed.
5472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5473         File removed.
5474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5475         File removed.
5476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5477         File removed.
5478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5479         File removed.
5480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5481         File removed.
5482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5483         File removed.
5484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5485         File removed.
5486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5487         File removed.
5488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5489         File removed.
5490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5491         File removed.
5492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5493         File removed.
5494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5495         Moved ...
5496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5498         Moved ...
5499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5500         ... here.
5501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5502         Moved ...
5503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5505         Moved ...
5506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5508         Moved ...
5509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5511         Moved ...
5512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5514         Moved ...
5515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5517         Moved ...
5518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5520         Moved ...
5521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5524         ... here.
5525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5526         Moved ...
5527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5529         Moved ...
5530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5531         ... here.
5532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5533         Moved ...
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5535         ... here.
5536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5537         Moved ...
5538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5539         ... here.
5540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5541         Moved ...
5542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5544         Moved ...
5545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5549         Moved ...
5550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5551         ... here.
5552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5553         Moved ...
5554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5555         ... here.
5556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5557         Moved ...
5558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5560         Moved ...
5561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5563         Moved ...
5564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5566         Moved ...
5567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5569         Moved ...
5570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5571         ... here.
5572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5573         Moved ...
5574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5576         Moved ...
5577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5579         Moved ...
5580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5582         Moved ...
5583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5587         Moved ...
5588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5590         Moved ...
5591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5593         Moved ...
5594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5595         ... here.
5596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5597         Moved ...
5598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5599         ... here.
5600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5601         Moved ...
5602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5603         ... here.
5604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5605         Moved ...
5606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5608         Moved ...
5609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5611         Moved ...
5612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5614         Moved ...
5615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5616         ... here.
5617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5618         Moved ...
5619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5620         ... here.
5621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5622         Moved ...
5623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5624         ... here.
5625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5626         Moved ...
5627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5629         Moved ...
5630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5632 2014-06-23  Will Newton  <will.newton@linaro.org>
5633             Wilco  <wdijkstr@arm.com>
5635         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5636         implementation.  Include get-rounding-mode.h.
5637         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5638         [!libc_feholdsetround_noex_ctx]: Define
5639         libc_feholdsetround_noex_ctx.
5640         [!libc_feholdsetround_noexf_ctx]: Define
5641         libc_feholdsetround_noexf_ctx.
5642         [!libc_feholdsetround_noexl_ctx]: Define
5643         libc_feholdsetround_noexl_ctx.
5644         (libc_feholdsetround_ctx): New function.
5645         (libc_feresetround_ctx): New function.
5646         (libc_feholdsetround_noex_ctx): New function.
5647         (libc_feresetround_noex_ctx): New function.
5649 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5651         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5652         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5653         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5654         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5655         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5656         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5658         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5659         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5660         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5661         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5662         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5663         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5665         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5667         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5669         Moved ...
5670         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5671         ... here.
5672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5673         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5674         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5675         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5676         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5677         Moved ...
5678         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5679         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5680         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5682         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5683         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5684         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5685         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5686         Moved ...
5687         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5688         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5689         Moved ...
5690         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5691         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5692         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5693         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5694         Moved ...
5695         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5696         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5697         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5698         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5699         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5700         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5701         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5702         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5703         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5704         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5705         Moved ...
5706         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5707         ... here.
5708         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5709         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5711         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5712         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5713         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5714         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5715         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5716         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5717         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5718         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5719         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5720         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5721         Moved ...
5722         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5723         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5724         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5725         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5726         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5727         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5728         Moved ...
5729         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5730         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5731         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5732         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5733         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5735         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5736         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5737         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5738         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5739         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5740         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5741         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5742         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5743         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5744         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5745         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5746         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5747         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5748         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5749         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5750         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5751         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5752         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5753         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5754         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5755         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5756         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5757         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5758         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5759         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5760         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5761         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5762         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5764 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5766         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5767         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5768         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5769         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5770         (IPV6_PMTUDISC_INTERFACE): Likewise.
5771         (IPV6_PMTUDISC_OMIT): Likewise.
5773 2014-06-23  Andreas Schwab  <schwab@suse.de>
5775         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5776         Remove unused errout label.
5778 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5780         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5781         macro: hardware supports Vector Crypto instructions.
5783 2014-06-23  Will Newton  <will.newton@linaro.org>
5785         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5786         rather than __builtin_expect.
5788         * elf/dl-lookup.c (undefined_msg): Remove variable.
5789         (_dl_lookup_symbol_x): Replace undefined_msg with string
5790         literal.
5792         * elf/dl-lookup.c (do_lookup_unique): New function.
5793         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5794         to a separate function.
5796 2014-06-23  Andreas Schwab  <schwab@suse.de>
5798         [BZ #17079]
5799         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5800         before reading the next line.
5802 2014-06-23  Will Newton  <will.newton@linaro.org>
5804         * test-skeleton.c (signal_handler): Use printf and %m
5805         rather than perror.  Use printf rather than fprintf to
5806         stderr.  Use puts rather than fputs to stderr.
5807         (main): Likewise.
5809 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5811         * nscd/nscd.c (thread_info_t): Remove typedef.
5812         (thread_info): Remove variable.
5814 2014-06-21  Allan McRae  <allan@archlinux.org>
5816         * NEWS: Mention CVE-2014-4043.
5818 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5820         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5821         * nptl/smp.h: ... here.
5823         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5825         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5826         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5827         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5828         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5830         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5831         * nptl/stack-aliasing.h: New file.
5832         * sysdeps/i386/i686/stack-aliasing.h: New file.
5833         * sysdeps/i386/i686/nptl/Makefile: File removed.
5834         * sysdeps/x86_64/stack-aliasing.h: New file.
5835         * sysdeps/x86_64/nptl/Makefile
5836         (CFLAGS-pthread_create.c): Variable removed.
5838         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5839         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5840         old file.
5841         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5842         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5843         old file.
5845 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5847         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5848         (__ASSUME_SIGFRAME_V2): Remove macro.
5849         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5850         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5851         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5852         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5853         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5854         Declare as function.  Remove conditional macro definitions.
5855         (__default_rt_sa_restorer): Likewise.
5856         (__default_sa_restorer_v1): Remove declaration.
5857         (__default_sa_restorer_v2): Likewise.
5858         (__default_rt_sa_restorer_v1): Likewise.
5859         (__default_rt_sa_restorer_v2): Likewise.
5860         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5861         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5862         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5864 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5866         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5867         (libpthread-routines): Add sysdep.
5868         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5869         * sysdeps/unix/sysv/linux/sparc/Versions
5870         (libpthread: GLIBC_2.3.3): New version set.
5871         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5872         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5873         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5874         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5875         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5876         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5877         Moved ...
5878         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5879         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5880         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5881         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5882         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5883         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5884         * sysdeps/sparc/nptl/sem_init.c: ... here.
5885         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5886         * sysdeps/sparc/nptl/sem_post.c: ... here.
5887         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5888         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5889         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5890         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5891         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5892         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5893         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5894         (libpthread-routines): Add cpu_relax.
5895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5896         File removed.
5897         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5898         (librt: GLIBC_2.3.3): New version set.
5899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5900         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5901         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5902         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5905         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5907         Moved ...
5908         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5910         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5912         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5914         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5916         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5918         Moved ...
5919         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5920         Update #include.
5921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5922         Moved ...
5923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5924         Update #include.
5925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5926         Moved ...
5927         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5928         Update #include.
5929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5930         Moved ...
5931         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5932         Update #include.
5933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5934         Moved ...
5935         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5936         Update #include.
5937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5938         Moved ...
5939         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5940         Update #include.
5941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5942         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5946         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5948         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5950         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5952         Moved ...
5953         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5955         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5957         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5959 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5961         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5962         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5963         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5964         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5965         * nscd/nscd.c: Likewise.
5966         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5967         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5968         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5969         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5971         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5972         <kernel-features.h>.
5973         (init_mq_netlink): Remove conditional have_sock_cloexec
5974         definitions.  Remove code conditional on have_sock_cloexec < 0.
5975         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5976         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5977         * sysdeps/unix/sysv/linux/opensock.c: Do not include
5978         <kernel-features.h>.
5979         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5980         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5982 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5985         Add tests for memset_chk and memset.
5987         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5988         with AVX2_Usable.
5990 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5992         [BZ #16046]
5993         * elf/tst-dl-iter-static.c: New file.
5994         * elf/Makefile (tests-static): Add tst-dl-iter-static.
5996         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5997         error.
5999 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6001         * sysdeps/unix/sysv/linux/kernel-features.h
6002         (__ASSUME_F_GETOWN_EX): Remove macro.
6003         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6004         <kernel-features.h>.
6005         (miss_F_GETOWN_EX): Remove variable or macro.
6006         (do_fcntl): Do not check miss_F_GETOWN_EX.
6007         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6009         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6010         Remove macro.
6011         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6012         [!__ASSUME_AT_RANDOM]: Remove conditional code.
6013         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6015         * sysdeps/unix/sysv/linux/kernel-features.h
6016         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6017         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6018         [ADJ_OFFSET_SS_READ]: Make code unconditional.
6019         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6021 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6023         [BZ #17075]
6024         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6025         Fix calculation of the symbol's value.
6026         * sysdeps/arm/tst-armtlsdescloc.c: New file.
6027         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6028         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6029         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6030         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6031         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6032         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6033         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6034         (modules-names): Add `tst-armtlsdescmod',
6035         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6036         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6037         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6038         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6039         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6040         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6041         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6042         ($(objpfx)tst-armtlsdescloc): New dependency.
6043         ($(objpfx)tst-armtlsdescextnow): Likewise.
6044         ($(objpfx)tst-armtlsdescextlazy): Likewise.
6045         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6046         TLS scheme support.
6047         * sysdeps/arm/configure: Regenerate.
6049 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6051         * include/fcntl.h (__atfct_seterrno): Remove prototype.
6052         (__atfct_seterrno_2): Likewise.
6053         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6054         <kernel-features.h>.
6055         (__ASSUME_ATFCTS): Do not undefine and redefine.
6056         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6057         (__have_atfcts): Remove conditional definition.
6058         (__fxstatat([__NR_fstatat64]: Make code unconditional.
6059         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6060         unreachable if [__ASSUME_ATFCTS].
6061         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6062         not undefine and redefine.
6063         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6064         <kernel-features.h>.
6065         (faccessat) [__NR_faccessat]: Make code unconditional.
6066         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6067         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6068         <kernel-features.h>.
6069         (fchmodat) [__NR_fchmodat]: Make code unconditional.
6070         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6071         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6072         <kernel-features.h>.
6073         (fchownat) [__NR_fchownat]: Make code unconditional.
6074         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6075         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6076         <kernel-features.h>.
6077         (futimesat) [__NR_futimesat]: Make code unconditional.
6078         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6079         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6080         <kernel-features.h>.
6081         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6082         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6083         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6084         <kernel-features.h>.
6085         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6086         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6087         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6088         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6089         <kernel-features.h>.
6090         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6091         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6092         * sysdeps/unix/sysv/linux/linkat.c: Do not include
6093         <kernel-features.h>.
6094         (linkat) [__NR_linkat]: Make code unconditional.
6095         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6096         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6097         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6098         <kernel-features.h>.
6099         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6100         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6101         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6102         <kernel-features.h>.
6103         (mkdirat) [__NR_mkdirat]: Make code unconditional.
6104         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6105         * sysdeps/unix/sysv/linux/openat.c: Do not include
6106         <kernel-features.h>.
6107         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6108         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6109         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6110         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6111         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6112         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6113         <kernel-features.h>.
6114         (readlinkat) [__NR_readlinkat]: Make code unconditional.
6115         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
6116         result of INLINE_SYSCALL directly, not via int variable.
6117         * sysdeps/unix/sysv/linux/renameat.c: Do not include
6118         <kernel-features.h>.
6119         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6120         (renameat) [__NR_renameat]: Make code unconditional.
6121         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6122         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6123         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6124         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6125         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6126         (__ASSUME_ATFCTS): Do not undefine and redefine.
6127         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6128         <kernel-features.h>.
6129         (symlinkat) [__NR_symlinkat]: Make code unconditional.
6130         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6131         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6132         <kernel-features.h>.
6133         (unlinkat) [__NR_unlinkat]: Make code unconditional.
6134         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6135         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6136         (__ASSUME_ATFCTS): Do not undefine and redefine.
6137         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6138         <kernel-features.h>.
6139         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6140         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6141         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6142         <kernel-features.h>.
6143         (__xmknodat) [__NR_mknodat]: Make code unconditional.
6144         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6146 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6148         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6150 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
6152         [BZ #17069]
6153         * posix/regcomp.c (parse_reg_exp): Deallocate partially
6154         constructed tree before returning error.
6155         * posix/bug-regexp36.c: Expand test case.
6157 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6159         [BZ #6803]
6160         * math/libm-test.inc (scalbln_test_date):
6161         Add errno expectations.
6162         * math/w_scalblnf.c: New File.
6163         Add wrapper which checks for setting errno to ERANGE.
6164         Add weak_alias for corresponding scalbln function.
6165         * math/w_scalbln.c: Likewise.
6166         * math/w_scalblnl.c: Likewise.
6167         * math/Makefile (libm-calls): Add w_scalbln.
6168         * sysdeps/ieee754/flt-32/s_scalblnf.c:
6169         Remove weak_alias for corresponding scalbln function.
6170         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6171         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6172         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6173         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6174         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6175         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6176         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6177         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6178         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6179         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6180         Remove long_double_symbol for scalblnl function in libm, libc.
6181         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6182         Add wrapper which checks for setting errno to ERANGE.
6183         Add long_double_symbol for scalblnl function in libm, libc.
6184         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6185         Remove long_double_symbol for scalblnl in libm.
6186         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6187         Add wrapper which checks for setting errno to ERANGE.
6188         Add long_double_symbol for scalblnl function in libm.
6189         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6190         Do not use wrapper because of own implementation.
6192 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
6194         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6195         3 bytes for __pad1 for x32.
6196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6198 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
6199             H.J. Lu  <hongjiu.lu@intel.com>
6201         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6202         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6203         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6204         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6205         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6207 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
6209         [BZ #17069]
6210         * posix/regcomp.c (parse_expression): Deallocate partially
6211         constructed tree before returning error.
6212         * posix/Makefile.c (tests): Add bug-regex36.
6213         (generated): Add bug-regex36.mtrace.
6214         (tests-special): Add $(objpfx)bug-regex36-mem.out
6215         (bug-regex36-ENV): New variable.
6216         ($(objpfx)bug-regex36-mem.out): New rule.
6217         * posix/bug-regex36.c: New file.
6219 2014-06-19  Will Newton  <will.newton@linaro.org>
6221         * malloc/malloc.c (systrim): If extra is zero then return
6222         early.
6224 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6226         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6228 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
6230         * sysdeps/aarch64/strchr.S: New file.
6232 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6234         [BZ #17022]
6235         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6236         from arguments -2 or below.
6237         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6238         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6240 2014-06-18  Andreas Schwab  <schwab@suse.de>
6242         [BZ #17062]
6243         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6244         of a bracket expr not to run off the end of the string.
6245         * posix/Makefile (tests): Add tst-fnmatch3.
6246         * posix/tst-fnmatch3.c: New file.
6248 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6250         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6251         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6252         [$(cross-compiling) = no]: Likewise.
6253         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6254         [$(cross-compiling) = no]: Likewise.
6256 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6258         [BZ #17031]
6259         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6260         double, adjusted for any remainder from the high double.
6261         * math/libm-test.inc (nearbyint): Add tests.
6262         (rint): Likewise.
6264 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6266         * nptl/sysdeps/powerpc/Makefile: Moved ...
6267         * sysdeps/powerpc/nptl/Makefile: ... here.
6268         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6269         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6270         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6271         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6272         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6273         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6274         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6275         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6276         * nptl/sysdeps/powerpc/tls.h: Moved ...
6277         * sysdeps/powerpc/nptl/tls.h: ... here.
6279 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
6281         [BZ #16681]
6282         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6283         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6284         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6285         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6286         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6287         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6288         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6289         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6290         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6292 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
6294         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6296 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
6298         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6299         defined operator.
6301         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6302         $TIMEOUTFACTOR.
6304 2014-06-16  Florian Weimer  <fweimer@redhat.com>
6306         [BZ #17058]
6307         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6308         non-executed part of the test.
6310 2014-06-16  Andreas Schwab  <schwab@suse.de>
6312         * string/bits/string2.h (strdup, strndup): Update feature guard.
6314 2014-06-14  David S. Miller  <davem@davemloft.net>
6316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6318 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
6320         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6321         that was previously under [RESET_PID].
6322         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6324         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6325         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6326         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6327         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6328         (__libc_vfork): New strong alias.
6329         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6331 2014-06-14 Andi Kleen  <ak@linux.intel.com>
6333         * sysdeps/generic/elide.h: New file.
6335 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6337         * Makefile (installed-headers): Adjust path of pthread.h header.
6339 2014-06-13  Roland McGrath  <roland@hack.frob.com>
6341         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6342         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6343         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6344         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6346         * nptl/sysdeps/s390/Makefile: Moved ...
6347         * sysdeps/s390/nptl/Makefile: ... here.
6348         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6349         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6350         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6351         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6352         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6353         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6354         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6355         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6356         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6357         * sysdeps/s390/nptl/pthreaddef.h: ... here.
6358         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6359         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6360         * nptl/sysdeps/s390/tls.h: Moved ...
6361         * sysdeps/s390/nptl/tls.h: ... here.
6363         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6364         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6366 2014-06-13  David S. Miller  <davem@davemloft.net>
6368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6371         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6375         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6376         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6377         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6378         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6379         Remove RESET_PID cpp guards.
6380         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6381         Remove RESET_PID cpp guards.
6382         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6384 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
6386         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6387         __sp to uintptr_t.
6389 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6391         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6392         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6393         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6394         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6395         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6396         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6397         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6398         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6399         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6400         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6401         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6402         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6403         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6404         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6405         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6406         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6407         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6408         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6409         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6410         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6412         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6413         (pthread_rwlock_rdlock): Add elision.
6414         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6415         (pthread_rwlock_wrlock): Add elision.
6416         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6417         (pthread_rwlock_trywrlock): Add elision.
6418         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6419         (pthread_rwlock_tryrdlock): Add elision.
6420         * nptl/pthread_rwlock_unlock.c: Include elide.h.
6421         (pthread_rwlock_tryrdlock): Add elision unlock.
6422         * nptl/sysdeps/pthread/pthread.h:
6423         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6424         (PTHREAD_RWLOCK_INITIALIZER,
6425         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6426         Handle new elision field.
6427         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6428         * sysdeps/arm/nptl/bits/pthreadtypes.h
6429         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6430         * sysdeps/sh/nptl/bits/pthreadtypes.h
6431         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6432         * sysdeps/tile/nptl/bits/pthreadtypes.h
6433         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6434         * sysdeps/a/nptl/bits/pthreadtypes.h
6435         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6436         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6437         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6438         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6439         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6440         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6441         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6442         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6443         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6444         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6445         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6446         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6447         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6448         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6449         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6450         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6451         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6452         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6453         (elision_init): Set try_xbegin to zero when no RTM.
6454         * sysdeps/x86/nptl/bits/pthreadtypes.h
6455         (pthread_rwlock_t): Change __pad1 to __rwelision.
6456         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6458 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6460         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6461         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6462         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6463         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6465 2014-06-13  Meador Inge  <meadori@codesourcery.com>
6467         [BZ #16996]
6468         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6469         that the cached result has been set before returning it.
6471 2014-06-12  Roland McGrath  <roland@hack.frob.com>
6473         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6474         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6475         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6476         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6477         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6478         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6480         * nptl/sysdeps/sparc/Makefile: Moved ...
6481         * sysdeps/sparc/nptl/Makefile: ... here.
6482         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6483         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6484         * nptl/sysdeps/sparc/tls.h: Moved ...
6485         * sysdeps/sparc/nptl/tls.h: ... here.
6486         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6487         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6488         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6489         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6490         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6491         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6492         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6493         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6494         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6495         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6496         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6497         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6498         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6499         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6500         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6501         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6502         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6503         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6504         Update #include.
6505         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6506         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6507         Update #include.
6508         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6509         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6510         Update #include.
6511         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6512         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6513         Update #include.
6515         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6517         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6518         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6520         * sysdeps/pthread/posix-timer.h: Include <list.h>.
6521         (struct list_links): Type removed.
6522         (struct thread_node, struct timer_node): Replace struct list_links
6523         with struct list_head.
6524         (list_unlink_ip): Likewise.
6525         * sysdeps/pthread/timer_routines.c
6526         (timer_free_list, thread_free_list, thread_active_list): Likewise.
6527         (list_append, list_insbefore): Likewise.
6528         (list_init): Function removed.
6529         (thread_init, init_module): Use INIT_LIST_HEAD instead.
6530         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6531         * sysdeps/pthread/Makefile: ... here, new file.
6533         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6534         * sysdeps/nptl/Implies: ... here.
6535         * sysdeps/unix/sysv/linux/Implies: Add nptl.
6536         * nptl/sysdeps/pthread/list.h: Moved ...
6537         * include/list.h: ... here.
6538         * nptl/sysdeps/pthread/createthread.c: Moved ...
6539         * nptl/createthread.c: ... here.
6540         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6541         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6542         * nptl/pt-longjmp.c: ... here.
6543         * nptl/sysdeps/pthread/Makefile: Moved ...
6544         * sysdeps/nptl/Makefile: ... here.
6545         * nptl/sysdeps/pthread/Subdirs: Moved ...
6546         * sysdeps/nptl/Subdirs: ... here.
6547         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6548         * sysdeps/nptl/aio_misc.h: ... here.
6549         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6550         * sysdeps/nptl/bits/libc-lock.h: ... here.
6551         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6552         * sysdeps/nptl/bits/libc-lockP.h: ... here.
6553         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6554         * sysdeps/nptl/bits/stdio-lock.h: ... here.
6555         * nptl/sysdeps/pthread/configure: Moved ...
6556         * sysdeps/nptl/configure: ... here.
6557         * nptl/sysdeps/pthread/configure.ac: Moved ...
6558         * sysdeps/nptl/configure.ac: ... here.
6559         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6560         * sysdeps/nptl/gai_misc.h: ... here.
6561         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6562         * sysdeps/nptl/librt-cancellation.c: ... here.
6563         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6564         * sysdeps/nptl/malloc-machine.h: ... here.
6565         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6566         * sysdeps/nptl/pthread-functions.h: ... here.
6567         * nptl/sysdeps/pthread/pthread.h: Moved ...
6568         * sysdeps/nptl/pthread.h: ... here.
6569         * nptl/sysdeps/pthread/setxid.h: Moved ...
6570         * sysdeps/nptl/setxid.h: ... here.
6571         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6572         * sysdeps/nptl/sigfillset.c: ... here.
6573         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6574         * sysdeps/nptl/tcb-offsets.h: ... here.
6575         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6576         * sysdeps/nptl/tst-mqueue8x.c: ... here.
6577         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6578         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6579         * nptl/sysdeps/pthread/allocalim.h: Moved ...
6580         * sysdeps/pthread/allocalim.h: ... here.
6581         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6582         * sysdeps/pthread/bits/sigthread.h: ... here.
6583         * nptl/sysdeps/pthread/flockfile.c: Moved ...
6584         * sysdeps/pthread/flockfile.c: ... here.
6585         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6586         * sysdeps/pthread/ftrylockfile.c: ... here.
6587         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6588         * sysdeps/pthread/funlockfile.c: ... here.
6589         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6590         * sysdeps/pthread/posix-timer.h: ... here.
6591         * nptl/sysdeps/pthread/timer_create.c: Moved ...
6592         * sysdeps/pthread/timer_create.c: ... here.
6593         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6594         * sysdeps/pthread/timer_delete.c: ... here.
6595         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6596         * sysdeps/pthread/timer_getoverr.c: ... here.
6597         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6598         * sysdeps/pthread/timer_gettime.c: ... here.
6599         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6600         * sysdeps/pthread/timer_routines.c: ... here.
6601         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6602         * sysdeps/pthread/timer_settime.c: ... here.
6603         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6604         * sysdeps/pthread/tst-timer.c: ... here.
6605         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6606         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6608         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6609         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6611         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6612         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6613         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6614         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6615         Update #include target.
6616         * nptl/sysdeps/i386/i686/Makefile: Moved ...
6617         * sysdeps/i386/i686/nptl/Makefile: ... here.
6618         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6619         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6620         Update #include target.
6621         * nptl/sysdeps/i386/i686/tls.h: Moved ...
6622         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
6623         * nptl/sysdeps/i386/Makefile: Moved ...
6624         * sysdeps/i386/nptl/Makefile: ... here.
6625         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6626         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6627         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6628         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6629         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6630         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6631         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6632         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6633         * sysdeps/i386/nptl/pthreaddef.h: ... here.
6634         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6635         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6636         * nptl/sysdeps/i386/tls.h: Moved ...
6637         * sysdeps/i386/nptl/tls.h: ... here.
6639         * sysdeps/sh/Makefile [$(subdir) = csu]
6640         (gen-as-const-headers): Add tcb-offsets.sym.
6641         * nptl/sysdeps/sh/Makefile: File removed.
6642         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6643         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6644         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6645         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6646         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6647         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6648         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6649         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6650         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6651         * sysdeps/sh/nptl/pthreaddef.h: ... here.
6652         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6653         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6654         * nptl/sysdeps/sh/tls.h: Moved ...
6655         * sysdeps/sh/nptl/tls.h: ... here.
6656         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6657         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6658         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6659         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6660         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6661         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6662         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6663         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6664         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6665         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6666         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6667         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6668         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6669         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6671         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6672         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6673         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6674         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6675         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6676         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6677         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6678         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6679         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6680         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6681         Moved ...
6682         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6683         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6684         Moved ...
6685         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6686         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6687         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6688         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6689         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6690         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6691         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6692         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6693         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6694         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6695         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6696         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6697         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6698         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6699         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6700         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6701         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6702         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6703         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6705 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6707         * posix/spawn_faction_addopen.c: Include string.h.
6709 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6711         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6712         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6713         * nptl/sysdeps/x86_64/Makefile: Moved ...
6714         * sysdeps/x86_64/nptl/Makefile: ... here.
6715         * nptl/sysdeps/x86_64/configure: Moved ...
6716         * sysdeps/x86_64/nptl/configure: ... here.
6717         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6718         * sysdeps/x86_64/nptl/configure.ac: ... here.
6719         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6720         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6721         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6722         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6723         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6724         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6725         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6726         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6727         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6728         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6729         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6730         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6731         * nptl/sysdeps/x86_64/tls.h: Moved ...
6732         * sysdeps/x86_64/nptl/tls.h: ... here.
6733         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6734         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6735         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6736         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6738         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6740 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6744 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6746         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6747         type.
6748         [POSIX] (off_t): Likewise.
6749         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6750         [POSIX] (S_ISBLK): Require macro.
6751         [POSIX] (S_ISCHR): Likewise.
6752         [POSIX] (S_ISDIR): Likewise.
6753         [POSIX] (S_ISFIFO): Likewise.
6754         [POSIX] (S_ISREG): Likewise.
6755         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6756         optional-macro.
6757         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6758         type.
6759         [POSIX] (time_t): Likewise.
6760         [POSIX] (timer_t): Likewise.
6762 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6764         [BZ #17048]
6765         * posix/spawn_int.h (struct __spawn_action): Make the path string
6766         non-const to support deallocation.
6767         * posix/spawn_faction_addopen.c
6768         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6769         * posix/spawn_faction_destroy.c
6770         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6771         path in all spawn_do_open actions.
6772         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6773         posix_spawn_file_actions_addopen.
6775 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6777         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6778         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6779         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6780         conditional code always true.
6781         (__libc_vfork): New alias.
6783 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6785         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6786         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6788         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6790         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6791         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6793         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6794         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6796         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6797         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6799 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6801         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6802         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6803         multiarch strcmp for PPC64.
6804         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6805         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6807         multiarch optimizations.
6808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6809         (__libc_ifunc_impl_list): Likewise.
6811 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6813         * benchtests/scripts/validate_benchout.py: New script.
6814         * benchtests/Makefile (bench-func): Call it.
6815         * benchtests/scripts/benchout.schema.json: New file.
6817 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6819         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6820         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6821         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6822         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6823         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6824         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6825         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6826         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6827         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6828         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6829         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6830         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6831         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6832         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6833         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6834         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6836         Moved ...
6837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6838         ... here.
6839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6840         Moved ...
6841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6843         Moved ...
6844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6845         ... here.
6846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6847         Moved ...
6848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6849         ... here.
6850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6851         Moved ...
6852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6854         Moved ...
6855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6856         ... here.
6857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6858         Moved ...
6859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6860         ... here.
6861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6862         Moved ...
6863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6865         Moved ...
6866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6867         ... here.
6868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6869         Moved ...
6870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6871         ... here.
6872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6873         Moved ...
6874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6875         ... here.
6876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6877         Moved ...
6878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6880         Moved ...
6881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6882         ... here.
6883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6884         Moved ...
6885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6886         ... here.
6887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6888         Moved ...
6889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6890         ... here.
6891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6892         Moved ...
6893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6895         Moved ...
6896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6897         ... here.
6898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6899         Moved ...
6900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6901         ... here.
6902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6903         Moved ...
6904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6906         Moved ...
6907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6908         ... here.
6909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6910         Moved ...
6911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6913         Moved ...
6914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6916         Moved ...
6917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6918         ... here.
6919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6920         Moved ...
6921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6922         ... here.
6923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6924         Moved ...
6925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6926         ... here.
6927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6928         Moved ...
6929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6931         Moved ...
6932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6933         ... here.
6934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6935         Moved ...
6936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6937         ... here.
6938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6939         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6940         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6941         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6942         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6943         Moved ...
6944         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6945         ... here.
6946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6947         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6949         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6950         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6951         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6952         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6953         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6954         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6955         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6956         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6957         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6958         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6959         Moved ...
6960         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6961         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6962         Moved ...
6963         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6964         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6965         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6966         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6967         Moved ...
6968         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6969         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6970         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6971         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6972         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6973         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6974         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6976 2014-06-10  Wilco  <wdijkstr@arm.com>
6978         * math/test-fenv-return.c: New file.
6979         * math/Makefile: Add new test test-fenv-return.
6981 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
6983         [BZ #17042]
6984         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6985         when x - 1 is zero.
6986         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6987         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6988         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6989         0.0L for an argument of 1.0L.
6990         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6991         Likewise.
6992         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6993         value when x - 1 is zero.
6994         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6995         * sysdeps/i386/fpu/libm-test-ulps: Update.
6996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6998 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
7000         [BZ #15119]
7001         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7003 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7005         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7006         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7008 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7010         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7011         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7013         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7014         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7016         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7017         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7019         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7020         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7022         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7023         if not already defined.
7024         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7025         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7026         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7027         (TLS_INIT_TP): Use it.
7028         (TLS_DEFINE_INIT_TP): New macro.
7029         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7031 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
7033         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7034         constant.
7035         [POSIX] (IXANY): Likewise.
7036         [POSIX] (OLCUC): Likewise.
7037         [POSIX || POSIX2008] (CBAUD): Do not allow.
7038         [POSIX || POSIX2008] (DEFECHO): Likewise.
7039         [POSIX || POSIX2008] (ECHOCTL): Likewise.
7040         [POSIX || POSIX2008] (ECHOKE): Likewise.
7041         [POSIX || POSIX2008] (ECHOPRT): Likewise.
7042         [POSIX || POSIX2008] (EXTA): Likewise.
7043         [POSIX || POSIX2008] (EXTB): Likewise.
7044         [POSIX || POSIX2008] (FLUSHO): Likewise.
7045         [POSIX || POSIX2008] (LOBLK): Likewise.
7046         [POSIX || POSIX2008] (PENDIN): Likewise.
7047         [POSIX || POSIX2008] (SWTCH): Likewise.
7048         [POSIX || POSIX2008] (VDISCARD): Likewise.
7049         [POSIX || POSIX2008] (VDSUSP): Likewise.
7050         [POSIX || POSIX2008] (VLNEXT): Likewise.
7051         [POSIX || POSIX2008] (VREPRINT): Likewise.
7052         [POSIX || POSIX2008] (VSTATUS): Likewise.
7053         [POSIX || POSIX2008] (VWERASE): Likewise.
7054         (B*): Change to B[0123456789]*.
7055         * conform/data/time.h-data [POSIX || UNIX98]
7056         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7057         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7058         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7059         [POSIX] (tm_*): Do not allow.
7061 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
7063         * Makefile (install): Don't set LANGUAGE.
7064         * Makefile.in (install): Likewise.
7065         * assert/Makefile (test-assert-ENV): Remove variable.
7066         (test-assert-perr-ENV): Likewise.
7067         * elf/Makefile (neededtest4-ENV): Likewise.
7068         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7069         [$(cross-compiling) = no]: Don't set LANGUAGE.
7070         * io/ftwtest-sh (LANG): Remove variable.
7071         * libio/Makefile (tst-widetext-ENV): Likewise.
7072         * manual/install.texi (Running make install): Don't refer to
7073         environment settings for make install.
7074         * INSTALL: Regenerated.
7075         * nptl/tst-tls6.sh: Don't set LANG.
7076         * posix/globtest.sh (LANG): Remove variable.
7077         * string/Makefile (tester-ENV): Likewise.
7078         (inl-tester-ENV): Likewise.
7079         (noinl-tester-ENV): Likewise.
7080         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7081         [$(cross-compiling) = no]: Don't set LANGUAGE.
7082         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7083         without explicit environment settings.
7085 2014-06-06  Roland McGrath  <roland@hack.frob.com>
7087         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7088         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7089         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7090         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7092 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
7094         * crypt/crypt-private.h [DOS]: Add some includes taken from the
7095         other files in the crypt directory.
7096         * crypt/crypt.c: Remove duplicate includes.
7097         * crypt/crypt-entry.c: Likewise.
7098         * crypt/crypt_util.c: Likewise.
7100 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
7102         * Makeconfig (run-program-env): New variable.
7103         (run-program-prefix-before-env): Likewise.
7104         (run-program-prefix-after-env): Likewise.
7105         (run-program-prefix): Define in terms of new variables.
7106         (built-program-cmd-before-env): New variable.
7107         (built-program-cmd-after-env): Likewise.
7108         (built-program-cmd): Define in terms of new variables.
7109         (test-program-prefix-before-env): New variable.
7110         (test-program-prefix-after-env): Likewise.
7111         (test-program-prefix): Define in terms of new variables.
7112         (test-program-cmd-before-env): New variable.
7113         (test-program-cmd-after-env): Likewise.
7114         (test-program-cmd): Define in terms of new variables.
7115         * Rules (make-test-out): Use $(run-program-env).
7116         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7117         (help): Do not mention environment variables.  Mention
7118         --timeoutfactor option.
7119         (timeoutfactor): New variable.
7120         (blacklist_exports): Remove function.
7121         (exports): Remove variable.
7122         (command): Do not include ${exports}.
7123         * manual/install.texi (Configuring and compiling): Do not mention
7124         test wrappers preserving environment variables.  Mention that last
7125         assignment to a variable must take precedence.
7126         * INSTALL: Regenerated.
7127         * benchtests/Makefile (run-bench): Use $(run-program-env).
7128         * catgets/Makefile ($(objpfx)test1.cat): Use
7129         $(built-program-cmd-before-env), $(run-program-env) and
7130         $(built-program-cmd-after-env).
7131         ($(objpfx)test2.cat): Do not specify environment variables
7132         explicitly.
7133         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7134         $(run-program-env) and $(built-program-cmd-after-env).
7135         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7136         $(run-program-env) and $(test-program-cmd-after-env).
7137         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7138         explicitly.
7139         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7140         run_program_env and test_program_cmd_after_env arguments.
7141         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7142         * elf/tst-pathopt.sh: Use run_program_env argument.
7143         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7144         $(test-wrapper-env) and $(run-program-env).
7145         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7146         run_program_env arguments.
7147         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7148         * intl/Makefile ($(objpfx)tst-gettext.out): Use
7149         $(test-program-prefix-before-env), $(run-program-env) and
7150         $(test-program-prefix-after-env).
7151         ($(objpfx)tst-gettext2.out): Likewise.
7152         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7153         run_program_env and test_program_prefix_after_env arguments.
7154         * intl/tst-gettext2.sh: Likewise.
7155         * intl/tst-gettext4.sh: Do not set environment variables
7156         explicitly.
7157         * intl/tst-gettext6.sh: Likewise.
7158         * intl/tst-translit.sh: Likewise.
7159         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7160         $(test-program-prefix-before-env), $(run-program-env) and
7161         $(test-program-prefix-after-env).
7162         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7163         run_program_env and test_program_prefix_after_env arguments.
7164         * math/Makefile (run-regen-ulps): Use $(run-program-env).
7165         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7166         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
7167         explicitly with each use of ${test_wrapper_env}.
7168         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7169         $(test-program-prefix-before-env), $(run-program-env) and
7170         $(test-program-prefix-after-env).
7171         * posix/tst-getconf.sh: Do not set environment variables
7172         explicitly.
7173         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7174         run_program_env and test_program_prefix_after_env arguments.
7175         * stdio-common/tst-printf.sh: Do not set environment variables
7176         explicitly.
7177         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7178         $(test-program-prefix-before-env), $(run-program-env) and
7179         $(test-program-prefix-after-env).
7180         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7181         run_program_env and test_program_prefix_after_env arguments.
7182         Split $test calls into $test_pre and $test.
7183         * timezone/Makefile (build-testdata): Use
7184         $(built-program-cmd-before-env), $(run-program-env) and
7185         $(built-program-cmd-after-env).
7187 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7189         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7190         strlen for non SHARED builds.
7192 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7194         * nptl/allocatestack.c (check_list): Inlined function...
7195         (__reclaim_stacks): ... here.
7197 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7199         [BZ #15698]
7200         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7201         memory overrun.
7203 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
7205         * Rules (make-test-out): Include
7206         LOCPATH=$(common-objpfx)localedata in default environment.
7207         * debug/Makefile (tst-chk1-ENV): Remove variable.
7208         (tst-chk2-ENV): Likewise.
7209         (tst-chk3-ENV): Likewise.
7210         (tst-chk4-ENV): Likewise.
7211         (tst-chk5-ENV): Likewise.
7212         (tst-chk6-ENV): Likewise.
7213         (tst-lfschk1-ENV): Likewise.
7214         (tst-lfschk2-ENV): Likewise.
7215         (tst-lfschk3-ENV): Likewise.
7216         (tst-lfschk4-ENV): Likewise.
7217         (tst-lfschk5-ENV): Likewise.
7218         (tst-lfschk6-ENV): Likewise.
7219         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7220         (tst-iconv7-ENV): Likewise.
7221         * intl/Makefile (LOCPATH-ENV): Likewise.
7222         (tst-codeset-ENV): Likewise.
7223         (tst-gettext3-ENV): Likewise.
7224         (tst-gettext5-ENV): Likewise.
7225         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7226         (tst-fopenloc-ENV): Likewise.
7227         (tst-fgetws-ENV): Remove variable.
7228         (tst-ungetwc1-ENV): Likewise.
7229         (tst-ungetwc2-ENV): Likewise.
7230         (bug-ungetwc2-ENV): Likewise.
7231         (tst-swscanf-ENV): Likewise.
7232         (bug-ftell-ENV): Likewise.
7233         (tst-fgetwc-ENV): Likewise.
7234         (tst-fseek-ENV): Likewise.
7235         (tst-ftell-partial-wide-ENV): Likewise.
7236         (tst-ftell-active-handler-ENV): Likewise.
7237         (tst-ftell-append-ENV): Likewise.
7238         * posix/Makefile (tst-fnmatch-ENV): Likewise.
7239         (tst-regexloc-ENV): Likewise.
7240         (bug-regex1-ENV): Likewise.
7241         (tst-regex-ENV): Likewise.
7242         (tst-regex2-ENV): Likewise.
7243         (bug-regex5-ENV): Likewise.
7244         (bug-regex6-ENV): Likewise.
7245         (bug-regex17-ENV): Likewise.
7246         (bug-regex18-ENV): Likewise.
7247         (bug-regex19-ENV): Likewise.
7248         (bug-regex20-ENV): Likewise.
7249         (bug-regex22-ENV): Likewise.
7250         (bug-regex23-ENV): Likewise.
7251         (bug-regex25-ENV): Likewise.
7252         (bug-regex26-ENV): Likewise.
7253         (bug-regex30-ENV): Likewise.
7254         (bug-regex32-ENV): Likewise.
7255         (bug-regex33-ENV): Likewise.
7256         (bug-regex34-ENV): Likewise.
7257         (bug-regex35-ENV): Likewise.
7258         (tst-rxspencer-ENV): Likewise.
7259         (tst-rxspencer-no-utf8-ENV): Likewise.
7260         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7261         (tst-sscanf-ENV): Likewise.
7262         (tst-swprintf-ENV): Likewise.
7263         (tst-swscanf-ENV): Likewise.
7264         (test-vfprintf-ENV): Likewise.
7265         (scanf13-ENV): Likewise.
7266         (bug14-ENV): Likewise.
7267         (tst-grouping-ENV): Likewise.
7268         * stdlib/Makefile (tst-strtod-ENV): Likewise.
7269         (tst-strtod3-ENV): Likewise.
7270         (tst-strtod4-ENV): Likewise.
7271         (tst-strtod5-ENV): Likewise.
7272         (testmb2-ENV): Likewise./
7273         * string/Makefile (tst-strxfrm-ENV): Likewise.
7274         (tst-strxfrm2-ENV): Likewise.
7275         (bug-strcoll1-ENV): Likewise.
7276         (test-strcasecmp-ENV): Likewise.
7277         (test-strncasecmp-ENV): Likewise.
7278         * time/Makefile (tst-strptime-ENV): Likewise.
7279         (tst-ftime_l-ENV): Likewise.
7280         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7281         (tst-mbrtowc-ENV): Likewise.
7282         (tst-wcrtomb-ENV): Likewise.
7283         (tst-mbrtowc2-ENV): Likewise.
7284         (tst-c16c32-1-ENV): Likewise.
7285         (tst-mbsnrtowcs-ENV): Likewise.
7287 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7289         * manual/resource.texi (How to get information about the memory
7290         subsystem?): Fix typo.
7291         Reported by Peon de la Parra Ivan <peon@keba.com>
7293 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
7295         [BZ #16882]
7296         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7297         (pthread_spin_lock): Branch out of spin loop to proper location.
7298         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7299         (pthread_spin_lock): Likewise.
7301         * nptl/tst-spin4.c: New test.
7302         * nptl/Makefile (tests): Add tst-spin4.
7304 2014-06-03  Andreas Schwab  <schwab@suse.de>
7306         [BZ #15946]
7307         * resolv/res_send.c (send_dg): Reload file descriptor after
7308         calling reopen.
7310 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
7312         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7314 2014-06-03  Richard Henderson  <rth@redhat.com>
7316         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7317         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7318         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7319         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
7320         in the SAVE_PID block.
7321         (__libc_vfork): New alias.
7322         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7324         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7325         child in registers, not on the stack.  Remove RESET_PID conditionals.
7326         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7328 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7330         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7332 2014-06-03  Wilco  <wdijkstr@arm.com>
7334         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7335         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7336         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7337         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7338         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7339         Likewise.
7341 2014-06-03  Wilco  <wdijkstr@arm.com>
7343         * sysdeps/aarch64/fpu/math_private.h
7344         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7345         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7346         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7347         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7348         Fix declarations.
7350 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7352         * crypt/crypt-private.h: Include ufc-crypt.h.
7353         (__b64_from_24bit): Declare extern.
7354         * crypt/crypt_util.c(__b64_from_24bit): New function.
7355         (b64t): New static const variable.
7356         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7357         (b64t): Remove variable.
7358         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7359         * crypt/sha256-crypt.c: Include crypt-private.h.
7360         (b64t): Remove variable.
7361         (__sha256_crypt_r): Remove b64_from_24bit and replace
7362         with __b64_from_24bit.
7363         * crypt/sha512-crypt.c: Likewise.
7365 2014-06-02  Roland McGrath  <roland@hack.frob.com>
7367         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7368         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7369         Label the code __libc_vfork rather than __vfork.
7370         [!NOT_IN_libc] (vfork): Define as weak alias.
7371         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7372         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7373         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7375 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7377         * malloc/malloc.c (malloc_info): Fix format specifier for
7378         n_mmaps.
7380 2014-06-02  Wilco  <wdijkstr@arm.com>
7382         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7383         FPCR write.
7385 2014-06-02  Wilco  <wdijkstr@arm.com>
7387         [BZ #17009]
7388         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7389         Rewrite to reduce FPCR/FPSR accesses.
7391 2014-06-01  David S. Miller  <davem@davemloft.net>
7393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7395 2014-05-31  David S. Miller  <davem@davemloft.net>
7397         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7398         to occur in round to nearest mode when |x| >= 2.0
7400 2014-05-30  Richard Henderson  <rth@twiddle.net>
7402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7403         (PSEUDO_RET_NOERRNO): Remove.
7404         (ret): Don't redefine.
7405         (ret_NOERRNO): Define in terms of ret.
7406         (ret_ERRVAL): Likewise.
7408         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7409         use of PSEUDO_RET; perform the error check directly.
7411 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
7413         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7414         with __int128_t.
7416 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7418         * malloc/malloc (malloc_info): Fix formatting.
7420 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7421             Roland McGrath  <roland@hack.frob.com>
7423         * malloc/malloc (malloc_info): Also print mmapped statistics.
7425 2014-05-30  Roland McGrath  <roland@hack.frob.com>
7427         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7428         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7430 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
7432         * malloc/malloc.c (malloc_info): Inline mi_arena.
7434 2014-05-29  Richard Henderson  <rth@twiddle.net>
7436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7437         Remove comma before expanding ASM_ARGS_##nr.
7438         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7439         Make _x0 a strict output; make _x8 a strict input; adjust expansion
7440         of ASM_ARGS_##nr.
7441         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7442         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7443         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7444         (ASM_ARGS_1): Add leading comma.
7446         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7447         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7448         to __errno_location.
7449         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7450         Remove the expected plt for __errno_location.
7452         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7453         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7454         call to __read_tp.
7456         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7457         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
7458         it and break it down.
7459         (DOCARGS_0, DOCARGS_1): Do nothing.
7460         (DOCARGS_2): Update to store into the new stack frame.
7461         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7462         (UNDOCARGS_1): Update to restore from the new stack frame.
7463         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7464         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7466         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7467         (SINGLE_THREAD_P): New parameter for result regno.
7468         (PSEUDO): Update to match; use cbz instead of beq.
7470         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7471         Use ENTRY to define the _nocancel entry point.  Share the syscall
7472         and syscall error check paths with the cancel path.
7473         (PSEUDO_END): New.
7475         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7476         whitespace; tabs before and after asm mnemonics.
7478 2014-05-29  Eric Wong  <normalperson@yhbt.net>
7480         [BZ #15132]
7481         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7482         Call fstat64 or stat64 internally, depending on arguments passed.
7483         Replace stat buffer argument with file descriptor argument.
7484         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7485         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7486         Pass fd to __internal_statvfs instead of calling fstat64.
7487         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7488         Pass fd to __internal_statvfs64 instead of calling fstat64.
7489         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7490         Pass -1 to __internal_statvfs instead of calling stat64.
7491         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7492         Pass -1 to __internal_statvfs64 instead of calling stat64.
7494 2014-05-28  Roland McGrath  <roland@hack.frob.com>
7496         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7497         that was previously under [RESET_PID].
7498         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7500         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7501         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7503 2014-05-27  Roland McGrath  <roland@hack.frob.com>
7505         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7507         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7508         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7510 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
7512         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7514 2014-05-27  Andreas Schwab  <schwab@suse.de>
7516         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7517         TLS_INIT_TP macro.
7518         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7519         * elf/rtld.c (init_tls, dl_main): Likewise.
7520         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7521         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7522         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7523         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7524         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7525         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7526         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7527         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7528         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7529         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7530         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7531         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7532         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7533         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7534         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7535         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7536         * sysdeps/generic/tls.h: Update description.
7538 2014-05-27  Will Newton  <will.newton@linaro.org>
7540         [BZ #16990]
7541         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7542         and restore r2 rather than just restoring.
7544 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7546         [BZ #16724]
7547         * libio/tst-ftell-append.c: New test case.
7548         * libio/Makefile (tests): Add test case.
7549         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7550         append mode.
7551         * libio/wfileops.c (do_ftell_wide): Likewise.
7553 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7557         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7558         ...
7559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7561         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7562         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7563         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7564         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7565         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7566         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7568         Moved ...
7569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7570         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7571         Moved ...
7572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7573         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7574         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7575         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7576         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7577         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7578         ...
7579         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7580         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7581         Moved ...
7582         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7583         here.
7584         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7585         ...
7586         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7587         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7588         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7590         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7591         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7592         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7593         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7596         merge into ...
7597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7599         ...
7600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7602         ...
7603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7605         Moved ...
7606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7607         here.
7608         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7609         Moved ...
7610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7612         Moved ...
7613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7616         conditional [RESET_PID].
7617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7618         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7619         removed.
7620         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7621         removed.
7623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7624         <tcb-offsets.h>.
7625         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7626         (__libc_vfork): New strong alias.
7627         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7628         removed.
7629         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7630         Removed.
7632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7633         <tcb-offsets.h>.
7634         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7635         (__libc_vfork): New strong alias.
7636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7637         removed.
7638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7639         removed.
7641 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
7643         * malloc/malloc.c (mi_arena): New function.
7644         (malloc_info): Remove nested function mi_arena. Call non-nosted
7645         function mi_arena.
7647 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7649         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7650         by insrwi.
7651         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7652         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7653         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7654         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7655         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7656         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7657         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7659 2014-05-26  Andreas Schwab  <schwab@suse.de>
7661         [BZ #16984]
7662         * locale/programs/repertoire.c (repertoire_read): Add slash
7663         between I18NPATH element and file name.
7664         * locale/programs/locfile.c (locfile_read): Likewise.
7666 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7668         * nptl/pthread_mutexattr_settype.c
7669         (__pthread_mutexattr_settype):
7670         Disable lock elision for PTHREAD_MUTEX_NORMAL.
7672 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7674         * nptl/tst-mutex5 (do_test):
7675         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7677 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7679         * benchtests/README: Document 'init' directive.
7680         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7681         BENCH_INIT.
7682         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7683         (parse_file): Recognize 'init' directive.
7685 2014-05-26  Kyle McMartin  <kyle@redhat.com>
7687         [BZ #16796]
7688         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7689         alignment of struct pthread.
7691 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7693         [BZ #16878]
7694         * nscd/netgroupcache.c (addgetnetgrentX): Look for
7695         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7696         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7697         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7699 2014-05-25  Richard Henderson  <rth@twiddle.net>
7701         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7702         (SINGLE_THREAD_P_PIC): Remove.
7703         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7704         (SINGLE_THREAD_P_PIC): Remove.
7706         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7707         branch to syscall error ...
7708         (PSEUDO): ... here.
7709         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7710         from __local_syscall_error to .Lsyscall_error.
7711         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7712         (SYSCALL_ERROR): Update label name.
7714         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7715         Do not use DOARGS/UNDOARGS.
7716         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7717         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7718         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7719         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7720         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7722         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7723         block comment.
7725         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7726         define if !NOT_IN_libc.
7727         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7728         define with non-default symbol versions.
7730 2014-05-23  Richard Henderson  <rth@twiddle.net>
7732         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7733         (vfork, __vfork): Define via compat_symbol.
7735         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7736         [!HAVE_IFUNC] (vfork_compat): Remove.
7737         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7739 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7741         [BZ #16978]
7742         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7743         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7744         variable.
7746 2014-05-23  Richard Henderson  <rth@twiddle.net>
7748         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7749         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7750         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7751         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7753         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7754         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7755         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7756         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7757         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7758         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7759         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7760         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7761         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7762         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7763         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7764         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7765         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7766         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7767         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7768         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7769         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7770         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7771         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7772         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7773         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7774         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7775         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7776         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7777         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7778         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7779         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7780         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7781         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7782         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7783         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7784         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7785         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7786         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7787         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7788         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7789         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7790         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7791         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7792         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7793         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7794         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7795         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7796         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7797         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7798         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7799         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7800         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7801         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7802         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7803         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7804         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7805         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7806         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7807         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7808         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7810         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7811         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7812         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7813         before exiting on error.
7814         (__libc_vfork): New strong alias.
7815         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7816         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7818         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7819         that was previously under [RESET_PID].
7820         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7822         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7824 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7826         [BZ #16977]
7827         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7828         value when x - 1 is zero.
7829         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7830         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7831         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7832         0.0L for an argument of 1.0L.
7833         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7834         Likewise.
7835         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7836         value when x - 1 is zero.
7837         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7838         * sysdeps/i386/fpu/libm-test-ulps: Update.
7839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7841 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7843         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7844         alphasort and versionsort.
7846 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7848         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7849         macro.
7850         [copysignf]: Likewise.
7852 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7854         * crypt/md5-crypt.c: Fix formatting.
7856 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7858         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7859         (b64_from_24bit): New function.
7861 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7863         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7864         libc_hidden_builtin_def to ifunc.
7865         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7866         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7868 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7870         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7871         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7873 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7875         * nscd/Depend (linuxthreads): Remove.
7876         (nptl): Add.
7877         * resolv/Depend (linuxthreads): Remove.
7878         * rt/Depend (linuxthreads): Remove.
7880         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7881         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7882         $(common-objpfx)elf/.
7883         (link-libc-before-gnulib): Likewise.
7884         (elfobjdir): Remove variable.
7885         * Makefile (install): Use $(elf-objpfx) instead of
7886         $(common-objpfx)elf/.
7887         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7888         $(elfobjdir)/.
7889         (link-libc-deps): Likewise.
7890         ($(common-objpfx)libc.so): Likewise.
7891         ($(common-objpfx)linkobj/libc.so): Likewise.
7892         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7893         instead of $(common-objpfx)elf/.
7894         (symbolic-link-list): Likewise.
7895         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7896         [$(cross-compiling) = no]: Likewise.
7897         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7898         $(elfobjdir)/.
7899         (static-gnulib-arch): Likewise.
7900         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7901         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7902         $(common-objpfx)elf/.
7904 2014-05-21  Richard Henderson  <rth@redhat.com>
7906         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7907         (SINGLE_THREAD_P): Use the correct width load.  Fold
7908         into the ldr offset.
7910         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7911         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7913 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
7915         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7916         (libgcc_s_resume): Use __attribute_used__.
7917         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7918         Likewise.
7920 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7922         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7923         optimization when used with float constants.
7925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7927 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
7929         [BZ #16915]
7930         * locale/nl_langinfo_l.c: Make direct reference to every
7931         _nl_current_CATEGORY symbol.
7932         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7933         (tests-static): Add tst-langinfo-static.
7934         (tests-special): Add tst-langinfo-static.out.
7935         ($(objpfx)tst-langinfo.out): Redirect output.
7936         ($(objpfx)tst-langinfo-static.out): New.
7937         * localedata/tst-langinfo.sh: Send output to stdout.
7938         * localedata/tst-langinfo-static.c: New file.
7940         [BZ #16965]
7941         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7942         when the shift amount is modulo the limb size.
7944 2014-05-20  Richard Henderson  <rth@redhat.com>
7946         [BZ #16967]
7947         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7948         Change type of sa_flags from unsigned int to int.
7950         [BZ #16966]
7951         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7953         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7955 2014-05-20  Will Newton  <will.newton@linaro.org>
7957         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7958         Test the return value of the system call in the nocancel case.
7960 2014-05-20  Will Newton  <will.newton@linaro.org>
7961             Yvan Roux  <yvan.roux@linaro.org>
7963         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7964         #include of asm/ptrace.h.
7965         (PTRACE_GET_THREAD_AREA): Remove #undef.
7966         (PTRACE_GETHBPREGS): Likewise.
7967         (PTRACE_SETHBPREGS): Likewise.
7968         (struct user_regs_struct): New structure.
7969         (struct user_fpsimd_struct): New structure.
7970         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7971         #include of asm/ptrace.h and second #include of sys/user.h.
7972         (PTRACE_GET_THREAD_AREA): Remove #undef.
7973         (PTRACE_GETHBPREGS): Likewise.
7974         (PTRACE_SETHBPREGS): Likewise.
7975         (ELF_NGREG): Use new struct user_regs_struct.
7976         (elf_fpregset_t): Use new struct user_fpsimd_struct.
7978 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7980         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7981         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7983 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
7985         [BZ #16958]
7986         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7987         membar to avoid block loads/stores to overlap previous stores.
7989 2014-05-17  Richard Henderson  <rth@redhat.com>
7991         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7992         Create the __##syscall_name##_nocancel entry point.
7993         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7994         Remove; let the sysdep-cancel.h code create it.
7996 2014-05-17  David S. Miller  <davem@davemloft.net>
7998         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7999         Protect with __USE_GNU.
8000         (TIOCSET_TEMPT): Likewise.
8001         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8002         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8003         these are already provided in bits/ioctl-types.h
8005 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8007         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8008         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8010         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8011         Use wait4 regardless of [__NR_waitpid].
8013 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8015         PR libgcc/60166
8016         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8017         (_FP_NANSIGN_Q): Set the quiet bit.
8019 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
8021         * benchtests/Makefile
8022         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8023         not $(common-objpfx)math/libm.so.
8024         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8025         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8026         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8027         $(common-objpfx)dlfcn/libdl.so.
8028         ($(objpfx)tst-audit8): Depend on $(libm), not
8029         $(common-objpfx)math/libm.so.
8030         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8031         not $(common-objpfx)dlfcn/libdl.so.
8032         * math/Makefile
8033         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8034         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
8035         [$(build-shared) = yes].
8036         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8037         $(common-objpfx)nptl/libpthread.so.
8038         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8039         $(common-objpfx)math/libm.so$(libm.so-version) or
8040         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8041         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8042         $(common-objpfx)dlfcn/libdl.so.
8043         * setjmp/Makefile (link-libm): Remove variable.
8044         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8045         * stdio-common/Makefile (link-libm): Remove variable.
8046         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8047         * stdlib/Makefile (link-libm): Remove variable.
8048         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8049         ($(objpfx)tst-strtod-round): Likewise.
8050         ($(objpfx)tst-tininess): Likewise.
8051         ($(objpfx)tst-strtod-underflow): Likewise.
8052         ($(objpfx)tst-strtod6): Likewise.
8053         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8054         $(libdl), not $(common-objpfx)nptl/libpthread.so and
8055         $(common-objpfx)dlfcn/libdl.so.
8057 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8059         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8060         BSD terminal modes definitions.
8062 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8064         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8065         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8067         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8068         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8069         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8070         Don't do #include_next.
8071         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8072         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8073         Don't do #include_next.
8074         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8075         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8076         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8077         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8079 2014-05-16  Allan McRae  <allan@archlinux.org>
8081         * po/sv.po: Update Swedish translation from translation project.
8083         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8084         in sed expression.
8086 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
8088         [BZ #16917]
8089         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8090         errno if the TIOCGPTN ioctl fails with an error different than
8091         EINVAL.
8092         * login/tst-ptsname.c: New file.
8093         * login/Makefile (tests): Add tst-ptsname.
8095         [BZ #16943]
8096         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8097         and prlimit64.
8099 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8101         [BZ #16849]
8102         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8103         herrno to return EAI_AGAIN.
8105 2014-05-14  Roland McGrath  <roland@hack.frob.com>
8107         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8108         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8109         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8110         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8111         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8112         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8113         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8114         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8115         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8116         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8117         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8118         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8119         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8120         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8121         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8122         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8123         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8124         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8125         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8126         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8127         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8128         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8129         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8130         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8131         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8132         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8133         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8134         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8135         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8136         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8138         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8140         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8142         Moved ...
8143         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8145         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8147         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8149         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8151         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8153         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8155         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8157         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8159         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8161         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8163         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8165         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8167         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8169         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8171         Moved ...
8172         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8174         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8176         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8178         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8180         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8182         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8184         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8186         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8188         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8190         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8192         Moved ...
8193         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8195         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8197         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8198         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8199         (libpthread-sysdep_routines): Add elision-related stuff here instead.
8200         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8201         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8202         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8203         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8204         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8205         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8206         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8207         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8208         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8209         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8210         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8211         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8212         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8213         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8214         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8215         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8216         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8217         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8218         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8219         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8220         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8221         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8222         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8223         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8224         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8225         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8226         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8227         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8229         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8230         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8232         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8233         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8234         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8235         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8236         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8237         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8238         Moved ...
8239         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8240         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8241         Moved ...
8242         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8243         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8244         Moved ...
8245         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8246         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8247         Moved ...
8248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8249         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8250         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8251         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8252         Moved ...
8253         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8254         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8255         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8256         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8257         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8258         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8259         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8260         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8261         Moved ...
8262         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8263         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8264         Moved ...
8265         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8266         ... here.
8267         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8268         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8269         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8270         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8271         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8272         Moved ...
8273         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8274         ... here.
8275         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8276         Moved ...
8277         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8278         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8279         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8280         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8281         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8282         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8283         Moved ...
8284         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8285         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8286         Moved ...
8287         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8288         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8289         Moved ...
8290         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8291         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8292         Moved ...
8293         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8294         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8295         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8296         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8297         Moved ...
8298         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8299         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8300         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8301         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8302         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8303         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8304         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8305         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8306         Moved ...
8307         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8308         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8309         Moved ...
8310         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8311         ... here.
8312         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8313         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8314         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8315         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8316         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8317         Moved ...
8318         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8319         ... here.
8320         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8321         Moved ...
8322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8323         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8324         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8325         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8326         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8327         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8328         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8329         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8330         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8331         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8332         Moved ...
8333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8334         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8335         Moved ...
8336         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8337         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8338         Moved ...
8339         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8340         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8341         Moved ...
8342         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8343         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8344         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8345         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8346         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8347         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8348         Moved ...
8349         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8350         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8351         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8352         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8353         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8354         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8355         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8356         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8357         Moved ...
8358         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8359         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8360         Moved ...
8361         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8362         ... here.
8363         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8364         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8365         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8366         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8367         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8368         Moved ...
8369         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8370         ... here.
8371         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8372         Moved ...
8373         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8374         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8375         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8376         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8377         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8378         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8379         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8380         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8381         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8382         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8383         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8385         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8386         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8388         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8389         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8391         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8392         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8393         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8394         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8395         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8396         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8397         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8398         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8399         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8400         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8401         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8402         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8403         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8404         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8405         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8406         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8407         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8408         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8409         Moved ...
8410         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8411         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8412         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8413         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8414         Moved ...
8415         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8416         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8417         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8418         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8419         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8420         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8421         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8422         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8423         Moved ...
8424         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8425         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8426         Moved ...
8427         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8428         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8429         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8430         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8431         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8432         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8433         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8434         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8435         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8436         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8437         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8438         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8439         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8440         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8441         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8442         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8443         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8445         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8446         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8447         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8448         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8449         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8451         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8452         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8453         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8454         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8455         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8456         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8457         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8458         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8459         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8460         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8463         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8465         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8466         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8467         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8468         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8469         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8470         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8471         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8472         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8473         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8474         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8475         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8476         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8477         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8478         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8480         Update #include.
8481         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8482         Likewise.
8483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8484         Likewise.
8485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8486         Likewise.
8487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8488         Likewise.
8489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8490         Likewise.
8491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8492         Likewise.
8493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8494         Likewise.
8495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8496         Likewise.
8497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8498         Likewise.
8499         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8500         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8501         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8502         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8503         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8504         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8505         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8506         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8507         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8508         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8509         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8510         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8511         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8512         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
8513         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
8515         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8516         that was previously under [RESET_PID].
8517         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8518         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8519         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8521         * sysdeps/i386/nptl/Implies: New file.
8522         * sysdeps/x86_64/nptl/Implies: New file.
8523         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8524         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8525         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8526         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8528         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8529         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8530         (__libc_vfork): New strong alias.
8531         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8532         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8534         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8535         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8536         (__libc_vfork): New strong alias.
8537         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8538         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8540         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8541         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8542         (__libc_vfork): New strong alias.
8543         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8544         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8545         * nptl/pt-vfork.c: New file.
8546         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8547         (libpthread: GLIBC_2.20): New version set (empty).
8549 2014-05-14  Will Newton  <will.newton@linaro.org>
8551         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8552         rather than #if.
8554 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8556         [BZ #16564]
8557         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8558         arguments with exponent 65 or above.
8559         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8560         arguments 0x1p113L or above.
8561         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8562         to arguments 0x1p107L or above.
8563         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8564         positive arguments with exponent 65 or above.
8565         * math/auto-libm-test-in: Add more tests of log1p.
8566         * math/auto-libm-test-out: Regenerated.
8568         [BZ #16928]
8569         * math/s_cacos.c (__cacos): Ensure zero real part of result from
8570         non-finite arguments is +0.
8571         * math/s_cacosf.c (__cacosf): Likewise.
8572         * math/s_cacosl.c (__cacosl): Likewise.
8573         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8574         * sysdeps/i386/fpu/libm-test-ulps: Update.
8575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8577         [BZ #16927]
8578         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8579         value.
8580         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8581         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8582         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8583         for explicit high bit of mantissa when testing for argument equal
8584         to 1.
8585         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8586         * sysdeps/i386/fpu/libm-test-ulps: Update.
8587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8589         [BZ #16516]
8590         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8591         (__erf): Scale by 16 instead of 8 in potentially underflowing
8592         case.  Ensure exception if result actually underflows.
8593         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8594         (__erff): Scale by 16 instead of 8 in potentially underflowing
8595         case.  Ensure exception if result actually underflows.
8596         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8597         (efx8): Remove variable.
8598         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8599         case.  Ensure exception if result actually underflows.
8600         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8601         (efx8): Remove variable.
8602         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8603         case.  Ensure exception if result actually underflows.
8604         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8605         (efx8): Remove variable.
8606         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8607         case.  Ensure exception if result actually underflows.
8608         * math/auto-libm-test-in: Add more tests of erf.
8609         * math/auto-libm-test-out: Regenerated.
8611 2014-05-14  Andreas Schwab  <schwab@suse.de>
8613         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8614         Remove code conditionalized on USE___THREAD.
8616         * config.h.in (HAVE_PT_CHOWN): Define as 0.
8617         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8618         not definedness.
8620 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8622         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8623         Define unconditionally.
8624         (__ASSUME_O_CLOEXEC): Likewise.
8625         (__ASSUME_SOCK_CLOEXEC): Likewise.
8626         (__ASSUME_IN_NONBLOCK): Likewise.
8627         (__ASSUME_PIPE2): Likewise.
8628         (__ASSUME_EVENTFD2): Likewise.
8629         (__ASSUME_SIGNALFD4): Likewise.
8630         (__ASSUME_DUP3): Likewise.
8631         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8632         (__ASSUME_DUP3): Do not define.
8633         (__ASSUME_EVENTFD2): Likewise.
8634         (__ASSUME_IN_NONBLOCK): Likewise.
8635         (__ASSUME_O_CLOEXEC): Likewise.
8636         (__ASSUME_PIPE2): Likewise.
8637         (__ASSUME_SIGNALFD4): Likewise.
8638         (__ASSUME_SOCK_CLOEXEC): Likewise.
8639         (__ASSUME_UTIMES): Undefine.
8640         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8641         (__ASSUME_UTIMES): Do not define.
8642         (__ASSUME_O_CLOEXEC): Likewise.
8643         (__ASSUME_SOCK_CLOEXEC): Likewise.
8644         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8645         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8646         0x020621].
8647         (__ASSUME_PIPE2): Likewise.
8648         (__ASSUME_EVENTFD2): Likewise.
8649         (__ASSUME_SIGNALFD4): Likewise.
8650         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8651         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8652         Do not define.
8653         (__ASSUME_EVENTFD2): Likewise.
8654         (__ASSUME_SIGNALFD4): Likewise.
8655         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8656         (__ASSUME_32BITUIDS): Likewise.
8657         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8658         (__ASSUME_IPC64): Likewise.
8659         (__ASSUME_ST_INO_64_BIT): Likewise.
8660         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8661         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8662         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8663         (__ASSUME_UTIMES): Do not define.
8664         (__ASSUME_PSELECT): Likewise.
8665         (__ASSUME_PPOLL): Likewise.
8666         (__ASSUME_O_CLOEXEC): Likewise.
8667         (__ASSUME_SOCK_CLOEXEC): Likewise.
8668         (__ASSUME_IN_NONBLOCK): Likewise.
8669         (__ASSUME_PIPE2): Likewise.
8670         (__ASSUME_EVENTFD2): Likewise.
8671         (__ASSUME_SIGNALFD4): Likewise.
8672         (__ASSUME_DUP3): Likewise.
8673         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8674         (__ASSUME_UTIMES): Likewise.
8675         (__ASSUME_O_CLOEXEC): Likewise.
8676         (__ASSUME_SOCK_CLOEXEC): Likewise.
8677         (__ASSUME_IN_NONBLOCK): Likewise.
8678         (__ASSUME_PIPE2): Likewise.
8679         (__ASSUME_EVENTFD2): Likewise.
8680         (__ASSUME_SIGNALFD4): Likewise.
8681         (__ASSUME_DUP3): Likewise.
8682         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8683         (__ASSUME_UTIMES): Likewise.
8684         (__ASSUME_O_CLOEXEC): Likewise.
8685         (__ASSUME_SOCK_CLOEXEC): Likewise.
8686         (__ASSUME_IN_NONBLOCK): Likewise.
8687         (__ASSUME_PIPE2): Likewise.
8688         (__ASSUME_EVENTFD2): Likewise.
8689         (__ASSUME_SIGNALFD4): Likewise.
8690         (__ASSUME_DUP3): Likewise.
8691         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8692         Likewise.
8693         (__ASSUME_UTIMES): Likewise.
8694         (__ASSUME_EVENTFD2): Likewise.
8695         (__ASSUME_SIGNALFD4): Likewise.
8696         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8697         (__ASSUME_O_CLOEXEC): Likewise.
8698         (__ASSUME_SOCK_CLOEXEC): Likewise.
8699         (__ASSUME_IN_NONBLOCK): Likewise.
8700         (__ASSUME_PIPE2): Likewise.
8701         (__ASSUME_EVENTFD2): Likewise.
8702         (__ASSUME_SIGNALFD4): Likewise.
8703         (__ASSUME_DUP3): Likewise.
8704         (__ASSUME_UTIMES): Undefine.
8706         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8707         feclearexcept.  Remove symbol versioning code.
8708         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
8709         symbol versioning code.
8710         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
8711         symbol versioning code.
8712         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8713         feupdateenv.  Remove symbol versioning code.
8714         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8715         fegetexceptflag.  Remove symbol versioning code.
8716         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8717         fesetexceptflag.  Remove symbol versioning code.
8718         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8719         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8720         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8721         (__posix_fadvise64_l32): Remove prototype.
8722         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8723         code.
8725 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8727         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8728         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8729         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8730         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8732 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8734         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8735         current working directory
8737 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8739         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8740         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8741         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8742         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8743         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8744         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8745         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8746         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8747         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8748         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8749         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8750         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8751         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8752         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8753         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8754         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8755         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8756         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8757         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8758         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8759         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8760         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8761         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8762         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8763         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8764         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8765         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8766         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8767         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8768         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8769         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8770         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8771         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8772         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8773         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8774         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8775         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8776         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8777         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8778         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8779         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8780         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8782         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8783         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8785         * sysdeps/unix/sysv/linux/arm/Makefile
8786         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8787         Add rt-aeabi_unwind_cpp_pr1.
8788         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8789         Add nptl-aeabi_unwind_cpp_pr1.
8790         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8791         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8792         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8793         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8794         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8795         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8797         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8798         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8799         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8800         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8802         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8803         Deconditionalize the code that was previously under [RESET_PID].
8804         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8806         * sysdeps/generic/exit-thread.h: New file.
8807         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8808         * include/unistd.h (__exit_thread): Remove declaration.
8809         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8810         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8811         * csu/libc-start.c: Include <exit-thread.h>.
8812         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8813         * nptl/pthread_create.c: Include <exit-thread.h>.
8814         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8815         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8816         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8817         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8818         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8819         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8820         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8821         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8822         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8823         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8824         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8825         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8826         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8827         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8828         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8829         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8830         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8832 2014-05-13  Andreas Schwab  <schwab@suse.de>
8834         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8836 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8838         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8839         (__ASSUME_UTIMES): Do not condition on kernel version.
8840         (__ASSUME_PSELECT): Define unconditionally.
8841         (__ASSUME_PPOLL): Likewise.
8842         (__ASSUME_ATFCTS): Likewise.
8843         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8844         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8845         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8846         (__ASSUME_UTIMENSAT): Define unconditionally.
8847         (__ASSUME_PRIVATE_FUTEX): Likewise.
8848         (__ASSUME_FALLOCATE): Likewise.
8849         (__ASSUME_O_CLOEXEC): Likewise.
8850         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8851         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8852         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8853         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8854         (__ASSUME_IN_NONBLOCK): Likewise.
8855         (__ASSUME_PIPE2): Likewise.
8856         (__ASSUME_EVENTFD2): Likewise.
8857         (__ASSUME_SIGNALFD4): Likewise.
8858         (__ASSUME_DUP3): Likewise.
8859         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8860         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8861         (__ASSUME_AT_RANDOM): Likewise.
8862         (__ASSUME_PREADV): Likewise.
8863         (__ASSUME_PWRITEV): Likewise.
8864         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8865         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8866         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8867         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8868         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8869         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8870         (__ASSUME_O_CLOEXEC): Define unconditionally.
8871         (__ASSUME_PSELECT): Do not undefine conditionally.
8872         (__ASSUME_PPOLL): Likewise.
8873         (__ASSUME_ATFCTS): Likewise.
8874         (__ASSUME_SET_ROBUST_LIST): Likewise.
8875         (__ASSUME_UTIMENSAT): Likewise.
8876         (__ASSUME_FDATASYNC): Define unconditionally.
8877         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8878         (__ASSUME_SIGFRAME_V2): Likewise.
8879         )__ASSUME_EVENTFD2): Likewise.
8880         (__ASSUME_SIGNALFD4): Likewise.
8881         (__ASSUME_PSELECT): Do not undefine conditionally.
8882         (__ASSUME_PPOLL): Likewise.
8883         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8884         (__ASSUME_PSELECT): Define unconditionally.
8885         (__ASSUME_PPOLL): Likewise.
8886         (__ASSUME_O_CLOEXEC): Likewise.
8887         (__ASSUME_SOCK_CLOEXEC): Likewise.
8888         (__ASSUME_IN_NONBLOCK): Likewise.
8889         (__ASSUME_PIPE2): Likewise.
8890         (__ASSUME_EVENTFD2): Likewise.
8891         (__ASSUME_SIGNALFD4): Likewise.
8892         (__ASSUME_DUP3): Likewise.
8893         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8894         (__ASSUME_O_CLOEXEC): Likewise.
8895         (__ASSUME_SOCK_CLOEXEC): Likewise.
8896         (__ASSUME_IN_NONBLOCK): Likewise.
8897         (__ASSUME_PIPE2): Likewise.
8898         (__ASSUME_EVENTFD2): Likewise.
8899         (__ASSUME_SIGNALFD4): Likewise.
8900         (__ASSUME_DUP3): Likewise.
8901         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8902         (__ASSUME_EVENTFD2): Likewise.
8903         (__ASSUME_SIGNALFD4): Likewise.
8904         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8906 2014-05-12  Andreas Schwab  <schwab@suse.de>
8908         [BZ #16932]
8909         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8910         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8911         than maximum RPC packet size.
8912         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8913         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8914         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8915         (_nss_nis_getservbyport_r): Likewise.
8917 2014-05-12  Will Newton  <will.newton@linaro.org>
8919         * malloc/Makefile (tests): Add tst-mallopt.
8920         * malloc/tst-mallopt.c: New file.
8922 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8924         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8925         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8927 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8929         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8930         (tst-tlsmod6.so): Likewise.
8932 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8934         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8936 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
8938         [BZ #16064]
8939         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8940         and <dl-procinfo.h>.
8941         (__fegetenv): Save SSE state in envp->__eip if supported.
8942         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8943         envp->__eip if supported.
8944         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8945         and <dl-procinfo.h>.
8946         (__fesetenv): Always set __eip, __cs_selector, __opcode,
8947         __data_offset and __data_selector in environment to 0.  Set SSE
8948         state if supported.
8949         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8950         test-fenv-sse.
8951         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8952         -mfpmath=sse.
8953         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8955 2014-05-09  Will Newton  <will.newton@linaro.org>
8957         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8958         and libc_relro_required for ARM.
8959         * sysdeps/arm/preconfigure: Regenerate.
8961 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8962             Stefan Liebler  <stli@linux.vnet.ibm.com>
8964         * config.make.in (enable-lock-elision): New Makefile variable.
8965         * configure.ac: Likewise.
8966         * configure: Regenerate.
8967         * sysdeps/s390/configure.ac:
8968         Add check for gcc transactions support.
8969         * sysdeps/s390/configure: Regenerate.
8970         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8971         Build elision files if enabled.
8972         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8973         Add lock elision support for s390.
8974         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8975         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8976         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8977         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8978         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8979         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8980         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8981         Likewise.
8982         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8983         Likewise.
8984         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8985         Likewise.
8986         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8987         Likewise.
8988         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8989         (__lll_timedlock_elision, __lll_lock_elision)
8990         (__lll_unlock_elision, __lll_trylock_elision)
8991         (lll_timedlock_elision, lll_lock_elision)
8992         (lll_unlock_elision, lll_trylock_elision): Add.
8993         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8994         (pthread_mutex_t): Add lock elision support for s390.
8996 2014-05-14  Wilco  <wdijkstr@arm.com>
8998         * sysdeps/arm/fclrexcpt.c: Cleanup.
8999         * sysdeps/arm/fedisblxcpt.c: Cleanup.
9000         * sysdeps/arm/feenablxcpt.c: Cleanup.
9001         * sysdeps/arm/fegetenv.c: Cleanup.
9002         * sysdeps/arm/fegetexcept.c: Cleanup.
9003         * sysdeps/arm/fegetround.c: Cleanup.
9004         * sysdeps/arm/feholdexcpt.c: Cleanup.
9005         * sysdeps/arm/fesetenv.c: Cleanup.
9006         * sysdeps/arm/fesetround.c: Cleanup.
9007         * sysdeps/arm/feupdateenv.c: Cleanup.
9008         * sysdeps/arm/fgetexcptflg.c: Cleanup.
9009         * sysdeps/arm/fraiseexcpt.c: Cleanup.
9010         * sysdeps/arm/fsetexcptflg.c: Cleanup.
9011         * sysdeps/arm/ftestexcept.c: Cleanup.
9012         * sysdeps/arm/get-rounding-mode.h: Cleanup.
9013         * sysdeps/arm/setfpucw.c: Cleanup.
9015 2014-05-09  Will Newton  <will.newton@linaro.org>
9017         * sysdeps/arm/armv7/strcmp.S: New file.
9018         * NEWS: Mention addition of ARMv7 optimized strcmp.
9020 2014-05-08  Roland McGrath  <roland@hack.frob.com>
9022         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9023         look for %.ac rather than %.in.
9025         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9026         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9027         * sysdeps/mach/hurd/configure: Regenerated.
9028         * sysdeps/unix/sysv/linux/configure: Regenerated.
9030         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9032 2014-05-07  Steve Ellcey  <sellcey@mips.com>
9034         [BZ# 16922]
9035         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9036         (LONG_SUB): Ditto.
9037         (PTR_SUB): Ditto.
9039 2014-05-07  Andreas Schwab  <schwab@suse.de>
9041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9042         when skipping over non-matching result from nscd.
9044 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
9046         [BZ #16876]
9047         * nptl/sockperf.c (client): Check socket return value.
9049         [BZ #16877]
9050         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9051         nscd security class.
9053 2014-05-06  Roland McGrath  <roland@hack.frob.com>
9055         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9056         * sysdeps/arm/unwind.h: ... here.
9058 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
9060         [BZ# 16916]
9061         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9062         Define.
9064 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9066         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9067         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9068         multiarch strncpy for PPC64.
9069         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9070         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9072         multiarch optimizations.
9073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9074         (__libc_ifunc_impl_list): Likewise.
9075         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9076         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9077         multiarch stpncpy for PPC64.
9078         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9079         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9081 2014-05-06  Andreas Schwab  <schwab@suse.de>
9083         [BZ #16912]
9084         * gmon/mcount.c (_MCOUNT_DECL): Use
9085         atomic_compare_and_exchange_bool_acq instead of
9086         catomic_compare_and_exchange_bool_acq.
9088 2014-05-05  Roland McGrath  <roland@hack.frob.com>
9090         * elf/Makefile (others, install-bin): Remove pldd.
9091         (pldd-modules): Variable removed.
9092         ($(objpfx)pldd): Target removed.
9093         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9094         (others, install-bin): Append pldd here.
9095         ($(objpfx)pldd): New target.
9097         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9098         to 0, so the first #if test emitted later doesn't see it undefined.
9099         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9100         * sysdeps/gnu/errlist.c: Regenerated.
9102 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9104         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9105         [libc_hidden_builtin_def]: Define to empty value.
9106         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9107         [libc_hidden_builtin_def]: Likewise.
9108         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9109         [libc_hidden_builtin_def]: Likewise.
9110         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9111         [libc_hidden_builtin_def]: Likewise.
9112         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9113         __redirect_memcpy and define ifunc as default hidden symbol.
9114         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9115         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9117 2014-05-04  Adam Conrad  <adconrad@0c3.net>
9119         * locale/iso-4217.def: Reintroduce XDR currency.
9121 2014-05-04  Allan McRae  <allan@archlinux.org>
9123         * po/eo.po: Update Esperanto translation from translation project.
9125 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
9127         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9128         and FEATURE_INDEX_MAX to 1.
9129         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9131 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9133         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9134         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9135         * iconvdata/big5.c (ONE_DIRECTION): Define.
9136         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9137         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9138         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9139         * iconvdata/cp932.c (ONE_DIRECTION): Define.
9140         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9141         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9142         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9143         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9144         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9145         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9146         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9147         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9148         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9149         * iconvdata/gbk.c (ONE_DIRECTION): Define.
9150         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9151         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9152         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9153         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9154         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9155         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9156         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9157         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9158         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9159         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9160         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9161         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9162         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9163         * iconvdata/iso646.c (ONE_DIRECTION): Define.
9164         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9165         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9166         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9167         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9168         * iconvdata/johab.c (ONE_DIRECTION): Define.
9169         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9170         * iconvdata/sjis.c (ONE_DIRECTION): Define.
9171         * iconvdata/t.61.c (ONE_DIRECTION): Define.
9172         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9173         * iconvdata/tscii.c (ONE_DIRECTION): Define.
9174         * iconvdata/uhc.c (ONE_DIRECTION): Define.
9175         * iconvdata/unicode.c (ONE_DIRECTION): Define.
9176         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9177         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9178         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9180 2014-05-01  Roland McGrath  <roland@hack.frob.com>
9182         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9183         (_IO_JUMPS_OFFSET): Define to 0.
9185         * nptl/sysdeps/pthread/bits/libc-lock.h
9186         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9187         (__libc_lock_define_initialized_recursive): Always define using
9188         initializer.  Modern compilers treat uninitialized (implicit zero) and
9189         explicit zero initializers the same (i.e. put the datum in bss).
9191 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9193         * nscd/nscd-client.h: Include <string.h>.
9195 2014-05-01  David S. Miller  <davem@davemloft.net>
9197         [BZ #16885]
9198         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9199         multiple zero bytes exist at the end of a string.
9200         Reported by Aurelien Jarno <aurelien@aurel32.net>
9202         * string/test-strcmp.c (check): Add explicit test for situations where
9203         there are multiple zero bytes after the first.
9205 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9207         [BZ #16890]
9208         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9209         when compiling wprintf.
9210         * stdio-common/tstdiomisc.c (t3): New function.
9211         (main): Call it.
9213 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9215         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9216         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9217         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9218         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9220 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9222         * stdlib/longlong.h: Updated from GCC.
9224 2014-05-01  Will Newton  <will.newton@linaro.org>
9225             Bernard Ogden  <bernie.ogden@linaro.org>
9227         * NEWS: Update fixed bug list.
9229         [BZ #15119]
9230         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9232 2014-04-30  David S. Miller  <davem@davemloft.net>
9234         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9235         (libc_feholdexcept_setround_sparc_ctx): New function.
9236         (libc_fesetenv_sparc_ctx): Likewise.
9237         (libc_feupdateenv_sparc_ctx): Likewise.
9238         (libc_feholdsetround_sparc_ctx): Likewise.
9239         (libc_feholdexcept_setround_ctx): Define.
9240         (libc_feholdexcept_setroundf_ctx): Likewise.
9241         (libc_feholdexcept_setroundl_ctx): Likewise.
9242         (libc_fesetenv_ctx): Likewise.
9243         (libc_fesetenvf_ctx): Likewise.
9244         (libc_fesetenvl_ctx): Likewise.
9245         (libc_feupdateenv_ctx): Likewise.
9246         (libc_feupdateenvf_ctx): Likewise.
9247         (libc_feupdateenvl_ctx): Likewise.
9248         (libc_feresetround_ctx): Likewise.
9249         (libc_feresetroundf_ctx): Likewise.
9250         (libc_feresetroundl_ctx): Likewise.
9251         (libc_feholdsetround_ctx): Likewise.
9252         (libc_feholdsetroundf_ctx): Likewise.
9253         (libc_feholdsetroundl_ctx): Likewise.
9255         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9256         with __USE_GNU instead of XOPEN cpp guards.
9258         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9259         0.
9261         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9262         with XOPEN cpp guards.
9264 2014-04-30  Julian Brown  <julian@codesourcery.com>
9266         [BZ #16888]
9267         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9268         handling.
9270 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
9272         [BZ #9894]
9273         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9274         Change to 2.6.32.
9275         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9276         * sysdeps/unix/sysv/linux/configure: Regenerated.
9277         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9278         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9279         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9280         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9281         * README: Update reference to required Linux kernel version.
9282         * manual/install.texi (Linux): Update reference to required Linux
9283         kernel headers version.
9284         * INSTALL: Regenerated.
9286         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9287         header inclusion.
9288         [POSIX] (limits.h): Likewise.
9289         [POSIX] (math.h): Likewise.
9290         [POSIX] (sys/wait.h): Likewise.
9291         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9292         function.
9293         [POSIX] (stddef.h): Do not allow header inclusion.
9295 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9297         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9299 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
9301         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9302         Return immediately after lll_futex_wake.
9304 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9306         [BZ #16791]
9307         * nscd/nscd-client.h (datahead_init_common): Initialize entire
9308         structure.
9309         (datahead_init_pos): Call datahead_init_common early.
9310         (datahead_init_neg): Likewise.
9312         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9313         datahead_init_neg): New functions.
9314         * nscd/aicache.c (addhstaiX): Use them.
9315         * nscd/grpcache.c (cache_addgr): Likewise.
9316         * nscd/hstcache.c (cache_addhst): Likewise.
9317         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9318         * nscd/netgroupcache.c (do_notfound): Likewise.
9319         (addgetnetgrentX): Likewise.
9320         (addinnetgrX): Likewise.
9321         * nscd/pwdcache.c (cache_addpw): Likewise.
9322         * nscd/servicescache.c (cache_addserv): Likewise.
9324 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9325             Atsushi Onoe  <atsushi@onoe.org>
9327         [BZ #14308]
9328         [BZ #12994]
9329         [BZ #13651]
9330         * resolv/res_query.c (__libc_res_nsearch): Return if at least
9331         one response is valid.
9332         * resolv/res_send.c (send_dg): Check for validity of other
9333         response if the current response is a referral.
9335 2014-04-29  Steve Ellcey  <sellcey@mips.com>
9337         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9339 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
9341         [BZ #16823]
9342         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9343         Always divide by positive zero when computing -Inf result.
9344         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9345         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9347 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9349         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9350         FPSCR if value do not change.
9351         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9352         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9353         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9354         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9355         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9356         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9357         function.
9359 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
9361         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9362         * sysdeps/unix/sysv/linux/hppa: Move directory from
9363         ports/systeps/unix/sysv/linux/hppa.
9364         * README: Update listing for hppa-*-linux-gnu.
9366 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
9368         [BZ #16754]
9369         * manual/stdio.texi (Hook functions): Fix types of stream hook
9370         functions.
9371         [BZ #16854]
9372         * socket/sys/socket.h: Fix typo in comment.
9374 2014-04-28  Wilco  <wdijkstr@arm.com>
9376         * sysdeps/arm/fenv_private.h: New file.
9377         * sysdeps/arm/math_private.h: New file.
9378         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9380 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
9382         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9383         with __int128_t.
9384         (La_x86_64_retval): Likewise.
9386 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
9388         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9389         fpsr if value didn't change.
9390         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9391         to fpcr if value didn't change.
9392         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9393         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9394         fpsr or fpcr if value didn't change.
9395         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9396         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9397         fpcr if value didn't change.
9398         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9399         to fpsr if value didn't change.
9401 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9403         * nptl/tst-sem3.c: Use test-skeleton.c
9404         (main): Rename to do_test.  Use return instead of
9405         exit.
9406         * nptl/tst-sem4.c: Use test-skeleton.c
9407         (main): Rename to do_test.
9409 2014-04-22  David S. Miller  <davem@davemloft.net>
9411         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9412         (struct sigaction): New struct member __glibc_reserved0, change
9413         type of sa_flags to int.
9415 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
9417         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9418         (COUNT_LEADING_ZEROS_0): Define for AArch64.
9420 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9422         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9423         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9425 2014-04-22  Will Newton  <will.newton@linaro.org>
9426             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
9428         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9429         (__longjmp): Add longjmp and longjmp_target SystemTap
9430         probes.
9431         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9432         (__sigsetjmp): Add setjmp SystemTap probe.
9434 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
9436         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9437         match manual order.
9439 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9441         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9443         * sysdeps/powerpc/fpu/fenv_private.h
9444         (libc_feholdexcept_setroundl_ctx): Define to
9445         libc_feholdexcept_setround_ppc_ctx.
9446         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9447         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9448         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9449         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9451 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9453         * sysdeps/aarch64/math-tests.h: New file.
9455 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
9457         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9458         New.
9459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9460         Check and set bit_AVX2_Usable.
9461         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9462         macro.
9463         (bit_AVX2): Likewise.
9464         (index_AVX2_Usable): Likewise.
9465         (CPUID_AVX2): Likewise.
9466         (HAS_AVX2): Likewise.
9468 2014-04-17  Will Newton  <will.newton@linaro.org>
9470         * manual/setjmp.texi (System V contexts): Add note that
9471         calling setcontext on a context created by a call to a
9472         signal handler is undefined.  Update text to note that
9473         setcontext from a signal handler is possible but not
9474         recommended.
9476         [BZ #16629]
9477         * stdlib/tst-setcontext.c: Include signal.h.
9478         (main): Check that the signal stack before and
9479         after swapcontext is the same.
9481         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9482         Re-implement to restore registers in user code and avoid
9483         rt_sigreturn system call.
9485 2014-04-17  Wilco  <wdijkstr@arm.com>
9487         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9488         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9489         * math/test-fenv.c: Skip exception trap tests on targets which only
9490         support non-stop mode.
9492 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9493             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9495         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9496         (libc_feholdsetround_aarch64_ctx)
9497         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9498         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9499         (libc_feresetround_ctx, libc_feresetroundf_ctx)
9500         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9501         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9502         (libc_feresetround_noexl_ctx): Define.
9504 2014-04-16  Richard Henderson  <rth@redhat.com>
9506         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9508         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9509         unwind tables.
9511         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9512         const from the non-libc, non-ldso copy.
9514         * sysdeps/alpha/libm-test-ulps: Regenerate.
9516 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
9517             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9519         * sysdeps/aarch64/fpu/math_private.h: New file.
9521 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9523         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9525 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
9527         [BZ #16275]
9528         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9529         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9530         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9531         Intel MPX bound registers before _dl_profile_fixup.
9532         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9533         registers after _dl_profile_fixup.  Save and restore bound
9534         registers bnd0/bnd1 when calling _dl_call_pltexit.
9535         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9536         (LR_BND_OFFSET): Likewise.
9537         (LRV_BND0_OFFSET): Likewise.
9538         (LRV_BND1_OFFSET): Likewise.
9540 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9542         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9543         to...
9544         * sysdeps/mach/hurd/i386/tls.h: ... here.
9545         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9546         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9547         fields.
9549 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9551         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9553 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9555         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9557 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9559         [BZ #14770]
9560         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9561         * sysdeps/s390/configure: Regenerate.
9563         [BZ #16824]
9564         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9565         Set round-to-nearest internally to reduce error accumulation.
9567 2014-04-16  Alan Modra  <amodra@gmail.com>
9569         [BZ #16740]
9570         [BZ #16619]
9571         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9572         * math/libm-test.inc (frexp_test_data): Add tests.
9573         * NEWS: Update fixed bug list.
9575 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9577         * benchtests/Makefile: Depend on libraries in build directory.
9578         (bench-math): Separate out math tests.
9579         (bench-pthread): Separate out pthread tests.
9580         (bench): Include math and pthread tests.
9582 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
9584         [BZ #16831]
9585         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9586         _dl_debug_initialize.
9588         * configure.ac: Remove SELinux header check.
9589         * configure: Regenerate.
9590         * nscd/selinux.c (perms): Array of const char* to permission names.
9591         (nscd_request_avc_has_perm): Call security_deny_unknown to find
9592         default policy. Call string_to_security_class and string_to_av_perm to
9593         translate strings. Enforce default policy and call avs_has_perm with
9594         results of translated strings.
9596 2014-04-13  David S. Miller  <davem@davemloft.net>
9598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9600 2014-04-12  Allan McRae  <allan@archlinux.org>
9602         [BZ #16838]
9603         * manual/string.texi (Collation Functions): Fix qsort argument
9604         order in example.
9605         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9607 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
9609         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9610         Make the test a no-op if there are no exceptions defined.
9612 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9614         * elf/Makefile (tests): make tst-dlopen-aout conditional on
9615         enable-hardcoded-path-in-tests
9617 2014-04-11  Will Newton  <will.newton@linaro.org>
9619         * benchtests/Makefile (extra-objs): Add json-lib.o.
9620         (bench-func): Tidy up JSON output.
9621         * benchtests/bench-skeleton.c: Include json-lib.h.
9622         (main): Use JSON library functions to do output of
9623         benchmark results.
9624         * benchtests/bench-timing-type.c (main): Output the
9625         timing type simply, leaving formatting to the user.
9626         * benchtests/json-lib.c: New file.
9627         * benchtests/json-lib.h: Likewise.
9629 2014-04-11  Torvald Riegel  <triegel@redhat.com>
9631         [BZ #15215]
9632         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9633         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
9634         memory barriers.  Add comments.
9635         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9636         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9637         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9638         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9639         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9640         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9642 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9644         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9645         * sysdeps/s390/s390-64/configure.ac: ... this ...
9646         * sysdeps/s390/configure.ac: ... to here.
9647         * sysdeps/s390/s390-32/configure: Delete file.
9648         * sysdeps/s390/s390-64/configure: Delete file.
9649         * sysdeps/s390/configure: Regenerate.
9651 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
9653         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9655 2014-04-11  Will Newton  <will.newton@linaro.org>
9657         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9658         to zero if it is not defined elsewhere.  (mtrim): Test
9659         the value of MALLOC_DEBUG with #if rather than #ifdef.
9661 2014-04-10 Torvald Riegel  <triegel@redhat.com>
9663         * benchtests/pthread_once-inputs: New file.
9664         * benchtests/pthread_once-source.c: New file.
9665         * benchtests/README: Update documentation.
9667 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9668             H.J. Lu  <hongjiu.lu@intel.com>
9670         [BZ #16275]
9671         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9672         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9673         * sysdeps/x86_64/configure: Regenerated.
9674         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9675         macro.
9676         (REGISTER_SAVE_RAX): Likewise.
9677         (REGISTER_SAVE_RCX): Likewise.
9678         (REGISTER_SAVE_RDX): Likewise.
9679         (REGISTER_SAVE_RSI): Likewise.
9680         (REGISTER_SAVE_RDI): Likewise.
9681         (REGISTER_SAVE_R8): Likewise.
9682         (REGISTER_SAVE_R9): Likewise.
9683         (REGISTER_SAVE_BND0): Likewise.
9684         (REGISTER_SAVE_BND1): Likewise.
9685         (REGISTER_SAVE_BND2): Likewise.
9686         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
9687         bound registers when calling _dl_fixup.
9689 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9691         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9692         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9693         of its definition.
9694         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9695         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9696         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9697         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9698         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9699         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9700         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9702 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
9704         [BZ #15514]
9705         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9706         pathconf(_PC_NAME_MAX).
9708 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9710         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9711         Remove macro usage.
9712         (__PTHREAD_SPINS): Move definition to ...
9713         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9714         (__PTHREAD_SPINS): ... here.
9715         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9716         (__PTHREAD_SPIN): Likewise.
9717         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9718         (__PTHREAD_SPIN): Likewise.
9719         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9720         (__PTHREAD_SPIN): Likewise.
9721         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9722         (__PTHREAD_SPIN): Likewise.
9723         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9724         (__PTHREAD_SPIN): Likewise.
9725         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9726         (__PTHREAD_SPIN): Likewise.
9727         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9728         (__PTHREAD_SPIN): Likewise.
9729         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9730         (__PTHREAD_SPIN): Likewise.
9731         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9732         (__PTHREAD_SPIN): Likewise.
9733         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9734         (__PTHREAD_SPIN): Likewise.
9735         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9736         (__PTHREAD_SPIN): Likewise.
9737         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9738         (__PTHREAD_SPIN): Likewise.
9740         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9741         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9742         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9743         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9744         imply folder.
9745         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9746         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9747         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9748         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9749         correct imply path.
9750         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9751         strlen symbol for non multi-arch builds.
9752         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9753         missing hidden_def and weak_alias.
9755 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9757         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9759 2014-04-07  Will Newton  <will.newton@linaro.org>
9761         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9762         and contents.  [!_LIBC] Remove #ifndef and contents.
9763         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9764         * string/memccpy.c (__memccpy): Use ANSI prototype.
9765         * string/memfrob.c (memfrob): Likewise.
9766         * string/strcoll.c (STRCOLL): Likewise.
9767         * string/strlen.c (strlen): Likewise.
9768         * string/strtok.c (STRTOK): Likewise.
9769         * string/strcat.c: Remove unused #include of memcopy.h.
9770         (strcat): Use ANSI prototype.
9771         * string/strchr.c: Remove unused #include of memcopy.h.
9772         (strchr): Use ANSI prototype.
9773         * string/strcmp.c: Remove unused #include of memcopy.h.
9774         (strcmp): Use ANSI prototype.
9775         * string/strcpy.c: Remove unused #include of memcopy.h.
9776         (strcpy): Use ANSI prototype.
9778 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9780         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9781         * config.make.in (config-extra-cppflags): Set it from
9782         libc_extra_cppflags.
9783         * configure.ac (libc_extra_cflags): Make it accumulate over
9784         configure fragments.
9785         (libc_extra_cppflags): New flag.
9786         * configure. Regenerate.
9787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9788         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9789         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9792         [BZ #16815]
9793         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9794         result for FE_DOWNWARD rounding mode.
9795         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9796         Likewise.
9797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9799 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9801         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9802         in function argument name.
9804 2014-04-03  David Svoboda  <svoboda@cert.org>
9806         [BZ #5666]
9807         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9808         explicitly.
9810 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9812         * elf/dl-unmap-segments.h: New file.
9813         * sysdeps/generic/ldsodefs.h
9814         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9815         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9816         * elf/dl-fptr.c: Likewise.
9817         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9818         * sysdeps/aarch64/tlsdesc.c: Likewise.
9819         * sysdeps/arm/tlsdesc.c: Likewise.
9820         * sysdeps/i386/tlsdesc.c: Likewise.
9821         * sysdeps/tile/dl-runtime.c: Likewise.
9822         * sysdeps/x86_64/tlsdesc.c: Likewise.
9823         * elf/dl-load.h: New file.
9824         * elf/dl-load.c: Include it.
9825         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9826         Macros moved to dl-load.h.
9827         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9828         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9829         Use _dl_unmap_segments in place of __munmap.
9830         Break out segment-mapping loop into ...
9831         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9833 2014-04-03  Will Newton  <will.newton@linaro.org>
9835         * elf/dl-lookup.c (do_lookup_x): Remove comment
9836         referring to nested function and move variable
9837         declarations down to before first use.
9839 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9841         [BZ #16799]
9842         [BZ #16800]
9843         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9844         with 0 numerator.
9845         * math/s_catanf.c (__catanf): Likewise.
9846         * math/s_catanh.c (__catanh): Likewise.
9847         * math/s_catanhf.c (__catanhf): Likewise.
9848         * math/s_catanhl.c (__catanhl): Likewise.
9849         * math/s_catanl.c (__catanl): Likewise.
9850         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9851         by positive zero when computing -Inf result.
9852         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9853         (catanh_test): Likewise.
9854         * sysdeps/i386/fpu/libm-test-ulps: Update.
9855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9857         [BZ #16789]
9858         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9859         instead of using underflowing value in computing result.
9860         * math/s_clog10.c (__clog10): Likewise.
9861         * math/s_clog10f.c (__clog10f): Likewise.
9862         * math/s_clog10l.c (__clog10l): Likewise.
9863         * math/s_clogf.c (__clogf): Likewise.
9864         * math/s_clogl.c (__clogl): Likewise.
9865         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9866         (clog10_test): Likewise.
9867         * sysdeps/i386/fpu/libm-test-ulps: Update.
9868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9870 2014-04-02  Alan Modra  <amodra@gmail.com>
9872         [BZ #16739]
9873         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9874         output when value is near a power of two.  Use int64_t for lx and
9875         remove casts.  Use decimal rather than hex exponent constants.
9876         Don't use long double multiplication when double will suffice.
9877         * math/libm-test.inc (nextafter_test_data): Add tests.
9878         * NEWS: Add 16739 and 16786 to bug list.
9880         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9882         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9884 2014-04-01  Will Newton  <will.newton@linaro.org>
9886         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9887         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9889 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9891         [BZ #13347]
9892         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9893         * nptl/tst-setuid2.c: New file.
9894         * nptl/Makefile (xtests): Add tst-setuid2.
9896 2014-04-01  Alan Modra  <amodra@gmail.com>
9898         [BZ #16786]
9899         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9901 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9903         [BZ #6803]
9904         [BZ #6804]
9905         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9906         set errno as appropriate.
9907         * math/w_scalbf.c (__scalbf): Likewise.
9908         * math/w_scalbl.c (__scalbl): Likewise.
9909         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9910         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9911         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9912         Add more NaN tests.
9914         [BZ #16349]
9915         * math/w_atan2.c: Include <errno.h>.
9916         (__atan2): Set errno for result underflowing to zero.
9917         * math/w_atan2f.c: Include <errno.h>.
9918         (__atan2f): Set errno for result underflowing to zero.
9919         * math/w_atan2l.c: Include <errno.h>.
9920         (__atan2l): Set errno for result underflowing to zero.
9921         * math/auto-libm-test-in: Don't allow missing errno for some atan2
9922         tests.
9923         * math/auto-libm-test-out: Regenerated.
9925 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9927         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9928         Encode instruction correctly in little endian.
9929         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9930         Likewise.
9931         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9932         Likewise.
9933         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9934         Likewise.
9935         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9936         Likewise.
9938 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9940         [BZ #9894]
9941         * sysdeps/unix/sysv/linux/kernel-features.h
9942         [__sparc__ && !__arch64__ && !__sparc_v9__]
9943         (__ASSUME_SET_ROBUST_LIST): Do not define.
9944         [__sparc__ && !__arch64__ && !__sparc_v9__]
9945         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9946         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9947         Likewise.
9948         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9949         (__ASSUME_FUTEX_LOCK_PI): Undefine.
9950         (__ASSUME_REQUEUE_PI): Likewise.
9951         (__ASSUME_SET_ROBUST_LIST): Likewise.
9952         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9953         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9954         Undefine.
9955         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9956         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9957         Likewise.
9958         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9959         Likewise.
9960         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9961         Likewise.
9962         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9963         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9964         Undefine.
9965         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9966         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9967         Likewise.
9969         [BZ #16648]
9970         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9971         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9972         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9974 2014-03-31  Will Newton  <will.newton@linaro.org>
9976         * benchtests/Makefile (bench): Add ffs and ffsll to list
9977         of tests.
9978         * benchtests/ffs-inputs: New file.
9979         * benchtests/ffsll-inputs: Likewise.
9981 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
9983         [BZ #16770]
9984         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9985         too large before casting to int.
9986         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9987         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9988         * math/libm-test.inc (scalb_test_data): Add more tests.
9990 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9992         * benchtests/Makefile (DETAILED_OPT): New make option.
9993         (bench-func): Run benchmark program with -d if DETAILED_OPT is
9994         set.
9995         * benchtests/bench-skeleton.c: Include stdbool.h.
9996         (main): Store and print timings per input.
9997         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9998         member to each argument value.
9999         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10000         (_print_arg_data): Initialize per-input timing to 0.
10002         * benchtests/Makefile (timing-type): New binary.
10003         (bench-clean): Also remove bench-timing-type.
10004         (bench): New target for timing-type.
10005         (bench-func): Print output in JSON format.
10006         * benchtests/bench-skeleton.c (main): Print output in JSON
10007         format.
10008         * benchtests/bench-timing-type.c: New file.
10009         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10010         (TIMING_PRINT_STATS): Remove.
10011         * benchtests/scripts/bench.py (_print_arg_data): Store variant
10012         name separately.
10014         * benchtests/bench-modf.c: Remove.
10015         * benchtests/modf-inputs: New inputs file.
10017 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
10019         [BZ #16362]
10020         * math/s_clog10.c (M_PI_LOG10E): New macro.
10021         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10022         imaginary parts are 0.
10023         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10024         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10025         imaginary parts are 0.
10026         * math/s_clog10l.c (M_PI_LOG10El): New macro.
10027         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10028         imaginary parts are 0.
10029         * math/libm-test.inc (clog10_test_data): Update expected results
10030         for when real and imaginary parts are 0.
10032 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
10034         * elf/dl-load.c: Finish conversion of __builtin_expect into
10035         __glibc_{un}likely.
10037 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
10039         [BZ #16348]
10040         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10041         1+x for argument with exponent below -67.
10042         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10043         Likewise.
10044         * math/auto-libm-test-in: Add more tests of exp.
10045         * math/auto-libm-test-out: Regenerated.
10047 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10049         [BZ #16759]
10050         * inet/getnetgrent_r.c (get_nonempty_val): New function.
10051         (nscd_getnetgrent): Use it.
10053         [BZ #16760]
10054         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10055         of stpcpy.
10057 2014-03-27  Andi Kleen  <ak@linux.intel.com>
10059         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10060         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10061         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10062         (lll_robust_unlock): Remove out of line section. Use cfi
10063         intrinsics.
10064         (LLL_STUB_UNWIND_INFO*): Remove.
10065         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10066         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10067         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10068         (lll_robust_unlock): Remove out of line section. Use cfi
10069         intrinsics.
10070         (LLL_STUB_UNWIND_INFO*): Remove.
10072 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10074         [BZ #16758]
10075         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10076         blank values.
10078 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10080         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10082 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
10084         [BZ #16198]
10085         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10086         fnstenv.
10087         * math/test-fenv-preserve.c: New file.
10088         * math/Makefile (tests): Add test-fenv-preserve.
10090 2014-03-26  Will Newton <will.newton@linaro.org>
10092         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10094 2014-03-25  Roland McGrath  <roland@hack.frob.com>
10096         * scripts/versionlist.awk: Partition the version sets and emit all
10097         GLIBC_* (sorted) before all others (sorted).
10099 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10101         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10102         GLIBC_2.2.5 version.
10104 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10106         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10107         calls.
10109         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10110         previous change.
10112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10114 2014-03-25  Andreas Schwab  <schwab@suse.de>
10116         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10117         label to be used after in6ailist is initialized.
10119 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10121         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10122         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10124 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10126         [BZ #16357]
10127         [BZ #16599]
10128         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10129         min_plus_half.
10130         (fp_formats): Update initializers.
10131         (init_fp_formats): Initialize new field.
10132         (output_for_one_input_case): Allow underflow for results up to
10133         min_plus_half.
10134         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10135         * math/auto-libm-test-in: Don't mark some underflows from asin and
10136         atanh as spurious.
10137         * math/auto-libm-test-out: Regenerated.
10138         * sysdeps/i386/fpu/libm-test-ulps: Update.
10139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10141 2014-03-25  Andreas Schwab  <schwab@suse.de>
10143         * libio/Makefile (tst-ftell-partial-wide-ENV)
10144         (tst-ftell-active-handler-ENV): Define.
10146 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
10148         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10150 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10152         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10154 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10156         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10157         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10158         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10160 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10162         [BZ #16634]
10163         * elf/dl-load.c (open_verify): Add mode parameter.
10164         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10165         (open_path): Change from boolean 'secure' to complete flag 'mode'
10166         (_dl_map_object): Adjust.
10167         * elf/Makefile (tests): Add tst-dlopen-aout.
10168         * elf/tst-dlopen-aout.c: New test.
10170 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
10172         [BZ #16714]
10173         * sysdeps/unix/sysv/linux/s390/bits/stat.h
10174         (struct stat): Rename member pad0 to __glibc_reserved0.
10176         [BZ #16712]
10177         * sysdeps/s390/s390-32/bits/wordsize.h
10178         (__WORDSIZE32_SIZE_ULONG): New define.
10179         * sysdeps/s390/s390-64/bits/wordsize.h
10180         (__WORDSIZE32_SIZE_ULONG): Likewise.
10181         * sysdeps/generic/stdint.h (SIZE_MAX):
10182         Define as UL if __WORDSIZE32_SIZE_ULONG.
10184         [BZ #16713]
10185         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10186         (__glibc_reserved0): New variable.
10187         (sa_flags): Change type to int.
10189         * posix/Makefile (before-compile): Use += before-compile instead
10190         of a :=.
10192         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10193         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10195 2014-03-20  Andreas Schwab  <schwab@suse.de>
10197         [BZ #16743]
10198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10199         non-matching result from nscd.
10201 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10203         * scripts/bench.py: Moved to ...
10204         * benchtests/scripts/bench.py: ... here.
10205         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10207 2014-03-24  Andreas Schwab  <schwab@suse.de>
10209         [BZ #16002]
10210         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10211         alloca_account and account alloca use for struct in6ailist.
10213 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10215         [BZ #16284]
10216         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10217         rounding mode to recompute results that overflow to infinity or
10218         underflow to zero.
10219         * math/auto-libm-test-in: Don't mark tests as expected to fail for
10220         bug 16284.
10221         * math/auto-libm-test-out: Regenerated.
10222         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10223         (ccosh_test): Likewise.
10224         (csin_test_data): Use plus_oflow.
10225         (csin_test): Use ALL_RM_TEST.
10226         (csinh_test_data): Use plus_oflow.
10227         (csinh_test): Use ALL_RM_TEST.
10228         * sysdeps/i386/fpu/libm-test-ulps: Update.
10229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10231 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
10233         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10234         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10235         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10237         [BZ #16731]
10238         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10239         when x - 1 is zero.
10240         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10241         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10242         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10243         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10244         argument is 1.
10245         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10246         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10247         zero.
10248         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10249         * sysdeps/i386/fpu/libm-test-ulps: Update.
10250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10252 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10254         * scripts/bench.pl: Remove file.
10255         * scripts/bench.py: New benchmark script.
10256         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10257         * benchtests/README: Mention python dependency.
10258         * scripts/pylintrc: New file.
10259         * scripts/pylint: New file.
10261         * bits/mathdef.h: Use #ifdef instead of #if.
10262         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10263         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10264         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10265         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10266         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10267         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10269 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10270             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10272         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10274         and strpbrk-ppc64 objects.
10275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10276         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10277         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10278         multiarch strpbrk for POWER7.
10279         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10280         multiarch strpbrk for PPC64.
10281         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10282         ifunc selector.
10283         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10284         strpbrk for POWER7.
10286 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10288         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10289         (atan_test): Likewise.
10290         (atanh_test_data): Use NO_TEST_INLINE for two tests.
10291         (atanh_test): Use ALL_RM_TEST.
10292         (atan2_test_data): Likewise.
10293         (cabs_test): Likewise.
10294         (cacosh_test): Likewise.
10295         (carg_test): Likewise.
10296         (casin_test): Likewise.
10297         (casinh_test): Likewise.
10298         (cbrt_test): Likewise.
10299         (csqrt_test): Likewise.
10300         (erf_test): Likewise.
10301         (erfc_test): Likewise.
10302         (pow10_test): Likewise.
10303         (exp2_test): Likewise.
10304         (hypot_test): Likewise.
10305         (j0_test): Likewise.
10306         (j1_test): Likewise.
10307         (lgamma_test): Likewise.
10308         (gamma_test): Likewise.
10309         (sincos_test): Likewise.
10310         (tanh_test): Likewise.
10311         (y0_test): Likewise.
10312         (y1_test): Likewise.
10313         * sysdeps/i386/fpu/libm-test-ulps: Update.
10314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10316 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10318         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10320         and strcspn-ppc64 objects.
10321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10322         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10323         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10324         multiarch strcspn for POWER7.
10325         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10326         multiarch strcspn for PPC64.
10327         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10328         ifunc selector.
10329         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10330         strcspn for POWER7.
10332 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10334         * math/gen-libm-test.pl (generate_testfile): Expect only function
10335         name as argument to AUTO_TESTS_* and pass results for all rounding
10336         modes to parse_args.
10337         (parse_auto_input): Separate inputs of automatic tests from
10338         outputs before storing in %auto_tests.
10339         * math/libm-test.inc (acos_test_data): Update call to
10340         AUTO_TESTS_f_f.
10341         (acos_test): Use ALL_RM_TEST.
10342         (acos_tonearest_test_data): Remove.
10343         (acos_test_tonearest): Likewise.
10344         (acos_towardzero_test_data): Likewise.
10345         (acos_test_towardzero): Likewise.
10346         (acos_downward_test_data): Likewise.
10347         (acos_test_downward): Likewise.
10348         (acos_upward_test_data): Likewise.
10349         (acos_test_upward): Likewise.
10350         (acosh_test_data): Update call to AUTO_TESTS_f_f.
10351         (asin_test_data): Likewise.
10352         (asin_test): Use ALL_RM_TEST.
10353         (asin_tonearest_test_data): Remove.
10354         (asin_test_tonearest): Likewise.
10355         (asin_towardzero_test_data): Likewise.
10356         (asin_test_towardzero): Likewise.
10357         (asin_downward_test_data): Likewise.
10358         (asin_test_downward): Likewise.
10359         (asin_upward_test_data): Likewise.
10360         (asin_test_upward): Likewise.
10361         (asinh_test_data): Update call to AUTO_TESTS_f_f.
10362         (atan_test_data): Likewise.
10363         (atanh_test_data): Likewise.
10364         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10365         (cabs_test_data): Update call to AUTO_TESTS_c_f.
10366         (carg_test_data): Likewise.
10367         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10368         (ccos_test_data): Update call to AUTO_TESTS_c_c.
10369         (ccosh_test_data): Likewise.
10370         (cexp_test_data): Likewise.
10371         (clog_test_data): Likewise.
10372         (clog10_test_data): Likewise.
10373         (cos_test_data): Update call to AUTO_TESTS_f_f.
10374         (cos_test): Use ALL_RM_TEST.
10375         (cos_tonearest_test_data): Remove.
10376         (cos_test_tonearest): Likewise.
10377         (cos_towardzero_test_data): Likewise.
10378         (cos_test_towardzero): Likewise.
10379         (cos_downward_test_data): Likewise.
10380         (cos_test_downward): Likewise.
10381         (cos_upward_test_data): Likewise.
10382         (cos_test_upward): Likewise.
10383         (cosh_test_data): Update call to AUTO_TESTS_f_f.
10384         (cosh_test): Use ALL_RM_TEST.
10385         (cosh_tonearest_test_data): Remove.
10386         (cosh_test_tonearest): Likewise.
10387         (cosh_towardzero_test_data): Likewise.
10388         (cosh_test_towardzero): Likewise.
10389         (cosh_downward_test_data): Likewise.
10390         (cosh_test_downward): Likewise.
10391         (cosh_upward_test_data): Likewise.
10392         (cosh_test_upward): Likewise.
10393         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10394         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10395         (ctan_test_data): Likewise.
10396         (ctan_test): Use ALL_RM_TEST.
10397         (ctan_tonearest_test_data): Remove.
10398         (ctan_test_tonearest): Likewise.
10399         (ctan_towardzero_test_data): Likewise.
10400         (ctan_test_towardzero): Likewise.
10401         (ctan_downward_test_data): Likewise.
10402         (ctan_test_downward): Likewise.
10403         (ctan_upward_test_data): Likewise.
10404         (ctan_test_upward): Likewise.
10405         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10406         (ctanh_test): Use ALL_RM_TEST.
10407         (ctanh_tonearest_test_data): Remove.
10408         (ctanh_test_tonearest): Likewise.
10409         (ctanh_towardzero_test_data): Likewise.
10410         (ctanh_test_towardzero): Likewise.
10411         (ctanh_downward_test_data): Likewise.
10412         (ctanh_test_downward): Likewise.
10413         (ctanh_upward_test_data): Likewise.
10414         (ctanh_test_upward): Likewise.
10415         (erf_test_data): Update call to AUTO_TESTS_f_f.
10416         (erfc_test_data): Likewise.
10417         (exp_test_data): Likewise.
10418         (exp_test): Use ALL_RM_TEST.
10419         (exp_tonearest_test_data): Remove.
10420         (exp_test_tonearest): Likewise.
10421         (exp_towardzero_test_data): Likewise.
10422         (exp_test_towardzero): Likewise.
10423         (exp_downward_test_data): Likewise.
10424         (exp_test_downward): Likewise.
10425         (exp_upward_test_data): Likewise.
10426         (exp_test_upward): Likewise.
10427         (exp10_test_data): Update call to AUTO_TESTS_f_f.
10428         (exp10_test): Use ALL_RM_TEST.
10429         (exp10_tonearest_test_data): Remove.
10430         (exp10_test_tonearest): Likewise.
10431         (exp10_towardzero_test_data): Likewise.
10432         (exp10_test_towardzero): Likewise.
10433         (exp10_downward_test_data): Likewise.
10434         (exp10_test_downward): Likewise.
10435         (exp10_upward_test_data): Likewise.
10436         (exp10_test_upward): Likewise.
10437         (exp2_test_data): Update call to AUTO_TESTS_f_f.
10438         (expm1_test_data): Likewise.
10439         (expm1_test): Use ALL_RM_TEST.
10440         (expm1_tonearest_test_data): Remove.
10441         (expm1_test_tonearest): Likewise.
10442         (expm1_towardzero_test_data): Likewise.
10443         (expm1_test_towardzero): Likewise.
10444         (expm1_downward_test_data): Likewise.
10445         (expm1_test_downward): Likewise.
10446         (expm1_upward_test_data): Likewise.
10447         (expm1_test_upward): Likewise.
10448         (fma_test_data): Update call to AUTO_TESTS_fff_f.
10449         (fma_test): Use ALL_RM_TEST.
10450         (fma_towardzero_test_data): Remove.
10451         (fma_test_towardzero): Likewise.
10452         (fma_downward_test_data): Likewise.
10453         (fma_test_downward): Likewise.
10454         (fma_upward_test_data): Likewise.
10455         (fma_test_upward): Likewise.
10456         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10457         (j0_test_data): Update call to AUTO_TESTS_f_f.
10458         (j1_test_data): Likewise.
10459         (jn_test_data): Update call to AUTO_TESTS_if_f.
10460         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10461         (log_test_data): Update call to AUTO_TESTS_f_f.
10462         (log10_test_data): Likewise.
10463         (log1p_test_data): Likewise.
10464         (log2_test_data): Likewise.
10465         (pow_test_data): Update call to AUTO_TESTS_ff_f.
10466         (pow_tonearest_test_data): Likewise.
10467         (sin_test_data): Update call to AUTO_TESTS_f_f.
10468         (sin_test): Use ALL_RM_TEST.
10469         (sin_tonearest_test_data): Remove.
10470         (sin_test_tonearest): Likewise.
10471         (sin_towardzero_test_data): Likewise.
10472         (sin_test_towardzero): Likewise.
10473         (sin_downward_test_data): Likewise.
10474         (sin_test_downward): Likewise.
10475         (sin_upward_test_data): Likewise.
10476         (sin_test_upward): Likewise.
10477         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10478         (sinh_test_data): Update call to AUTO_TESTS_f_f.
10479         (sinh_test): Use ALL_RM_TEST.
10480         (sinh_tonearest_test_data): Remove.
10481         (sinh_test_tonearest): Likewise.
10482         (sinh_towardzero_test_data): Likewise.
10483         (sinh_test_towardzero): Likewise.
10484         (sinh_downward_test_data): Likewise.
10485         (sinh_test_downward): Likewise.
10486         (sinh_upward_test_data): Likewise.
10487         (sinh_test_upward): Likewise.
10488         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10489         (sqrt_test): Use ALL_RM_TEST.
10490         (sqrt_tonearest_test_data): Remove.
10491         (sqrt_test_tonearest): Likewise.
10492         (sqrt_towardzero_test_data): Likewise.
10493         (sqrt_test_towardzero): Likewise.
10494         (sqrt_downward_test_data): Likewise.
10495         (sqrt_test_downward): Likewise.
10496         (sqrt_upward_test_data): Likewise.
10497         (sqrt_test_upward): Likewise.
10498         (tan_test_data): Update call to AUTO_TESTS_f_f.
10499         (tan_test): Use ALL_RM_TEST.
10500         (tan_tonearest_test_data): Remove.
10501         (tan_test_tonearest): Likewise.
10502         (tan_towardzero_test_data): Likewise.
10503         (tan_test_towardzero): Likewise.
10504         (tan_downward_test_data): Likewise.
10505         (tan_test_downward): Likewise.
10506         (tan_upward_test_data): Likewise.
10507         (tan_test_upward): Likewise.
10508         (tanh_test_data): Update call to AUTO_TESTS_f_f.
10509         (tgamma_test_data): Likewise.
10510         (y0_test_data): Likewise.
10511         (y1_test_data): Likewise.
10512         (yn_test_data): Update call to AUTO_TESTS_if_f.
10513         (main): Do not call removed functions.
10515 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10517         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10518         (ldexp_test_data): Remove.
10519         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
10520         scalbn_test_data.
10521         (scalb_test): Use ALL_RM_TEST.
10523 2014-03-19  Andreas Schwab  <schwab@suse.de>
10525         * nscd/nscd.service: Also invalidate netgroup cache on reload.
10527 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10529         [BZ #16649]
10530         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10531         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10532         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10533         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10534         (__ASSUME_PREADV): Undefine.
10535         (__ASSUME_PWRITEV): Likewise.
10537 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10539         * bits/mman-linux.h: Add comment about non-Linux use.
10540         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10541         bits/mman-linux.h resting place.
10543         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10544         * bits/mman-linux.h: ... here.
10546 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10548         * conform/conformtest.pl: Add standard definition when calling C
10549         preprocessor on data files.
10550         (checknamespace): Remove unused variable.
10552 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10554         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10555         minus_oflow, plus_uflow and minus_uflow in expected results.
10556         * math/libm-test.inc (scalbn_test_data): Add more tests of
10557         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
10558         minus_uflow.
10559         (scalbn_test): Use ALL_RM_TEST.
10560         (scalbln_test_data): Add more tests of negative arguments.  Use
10561         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10562         (scalbln_test): Use ALL_RM_TEST.
10564 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10566         * scripts/abilist.awk: Ignore symbols marked with .hidden.
10568 2014-03-18  Will Newton  <will.newton@linaro.org>
10570         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10571         inaccurate comment.
10573 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10575         * Makerules [!subdir] (check-abi): Exit with error status if a
10576         test failed.
10578 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10580         * math/libm-test.inc (nearbyint_test_data): Include all tests used
10581         for rint.  Include results for all rounding modes.
10582         (nearbyint_test): Use ALL_RM_TEST.
10583         (rint_test_data): Include all tests used for nearbyint.
10585 2014-03-17  Will Newton  <will.newton@linaro.org>
10587         * nptl/sysdeps/pthread/pthread.h: Revert previous
10588         change.
10590         * sysdeps/generic/ldsodefs.h: Revert previous
10591         change.
10593         * libio/genops.c: Revert previous change.
10594         * libio/libioP.h: Likewise.
10595         * stdio-common/vfprintf.c: Likewise.
10597         * sysdeps/generic/math_private.h: Revert previous
10598         change.
10600         * sysdeps/generic/math_private.h: Check whether
10601         HAVE_RM_CTX is defined with #ifdef rather
10602         than #if.
10604         * argp/argp-fmtstream.h: Check whether
10605         __STRICT_ANSI__ is defined with #ifdef rather
10606         than #if.
10607         * argp/argp.h: Likewise.
10609         * libio/genops.c: Check whether
10610         _IO_JUMPS_OFFSET is defined with #ifdef rather
10611         than #if.
10612         * libio/libioP.h: Likewise.
10613         * stdio-common/vfprintf.c: Likewise.
10615         * sysdeps/generic/ldsodefs.h: Check whether
10616         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10617         than #if.
10619         * nptl/sysdeps/pthread/pthread.h: Check
10620         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10621         its value.
10623 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10625         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10626         setting O_APPEND.
10627         * libio/tst-ftell-active-handler.c (do_append_test): Add a
10628         test case.
10630         [BZ #16680]
10631         * libio/fileops.c (_IO_file_open): Seek to end of file but
10632         don't cache the offset.
10633         (get_file_offset): Remove function.
10634         (do_ftell): Use cached offset when available.
10635         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10636         don't cache the offset.
10637         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10638         case.
10639         (do_one_test): Call it.
10640         (do_ftell_test): Fix up expected old offset for a+ mode.
10641         * libio/wfileops.c (do_ftell_wide): Used cached offset when
10642         available.
10644         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10645         up test status with function return status.
10646         (do_write_test): Likewise.
10647         (do_append_test): Likewise.
10649         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10650         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10651         Remove.
10653 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10655         * math/gen-libm-test.pl (parse_args): Handle results specified for
10656         each rounding mode separately.
10657         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10658         tests and results from lrint_tonearest_test_data,
10659         lrint_towardzero_test_data, lrint_downward_test_data and
10660         lrint_upward_test_data.
10661         (lrint_test): Use ALL_RM_TEST.
10662         (lrint_tonearest_test_data): Remove.
10663         (lrint_test_tonearest): Likewise.
10664         (lrint_towardzero_test_data): Likewise.
10665         (lrint_test_towardzero): Likewise.
10666         (lrint_downward_test_data): Likewise.
10667         (lrint_test_downward): Likewise.
10668         (lrint_upward_test_data): Likewise.
10669         (lrint_test_upward): Likewise.
10670         (llrint_test_data): Merge in per-rounding-mode tests and results
10671         from llrint_tonearest_test_data, llrint_towardzero_test_data,
10672         llrint_downward_test_data and llrint_upward_test_data.
10673         (llrint_test): Use ALL_RM_TEST.
10674         (llrint_tonearest_test_data): Remove.
10675         (llrint_test_tonearest): Likewise.
10676         (llrint_towardzero_test_data): Likewise.
10677         (llrint_test_towardzero): Likewise.
10678         (llrint_downward_test_data): Likewise.
10679         (llrint_test_downward): Likewise.
10680         (llrint_upward_test_data): Likewise.
10681         (llrint_test_upward): Likewise.
10682         (rint_test_data): Merge in per-rounding-mode tests and results
10683         from rint_tonearest_test_data, rint_towardzero_test_data,
10684         rint_downward_test_data and rint_upward_test_data.  Add
10685         per-rounding-mode results for tests not in those arrays.
10686         (rint_test): Use ALL_RM_TEST.
10687         (rint_tonearest_test_data): Remove.
10688         (rint_test_tonearest): Likewise.
10689         (rint_towardzero_test_data): Likewise.
10690         (rint_test_towardzero): Likewise.
10691         (rint_downward_test_data): Likewise.
10692         (rint_test_downward): Likewise.
10693         (rint_upward_test_data): Likewise.
10694         (rint_test_upward): Likewise.
10695         (main): Don't call removed functions.
10697 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10699         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10700         "Compiled on ..." crapola.  It is anti-useful.
10702 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
10704         * scripts/evaluate-test.sh: Handle fourth argument to determine
10705         whether test run should stop on failure.
10706         * Makeconfig (stop-on-test-failure): New variable.
10707         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10708         $(stop-on-test-failure).
10709         * Makefile (tests): Give a summary of results from testing and
10710         exit with failure status if they include an ERROR or FAIL.
10711         (xtests): Likewise.
10712         * manual/install.texi (Configuring and compiling): Mention
10713         stop-on-test-failure=y.
10714         * INSTALL: Regenerated.
10716 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10718         * scripts/versionlist.awk: New file.
10719         * Makerules [$(build-shared) = yes]
10720         (postclean-generated): Add Versions.def, not Versions.def.v and
10721         Versions.def.v.i.
10722         ($(common-objpfx)Versions.def.v.i): Target removed.
10723         ($(common-objpfx)Versions.def): New target.
10724         ($(common-objpfx)Versions.all): Depend on that rather that
10725         $(common-objpfx)Versions.def.v.
10726         * Versions.def: File removed.
10728         * Makeconfig (+gccwarn): Add -Wundef.
10729         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10730         a dl-sysdep.h breaking its contract.
10731         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10732         * include/stackinfo.h: New file.
10733         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10734         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10735         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10736         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10737         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10738         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10739         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10740         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10741         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10742         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10743         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10744         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10745         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10746         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10747         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10749 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10751         [BZ #16707]
10752         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10753         implementation.
10754         * math/libm-test.inc (round_test_data): Add more tests.
10756         [BZ #16706]
10757         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10758         implementation.
10759         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10761         [BZ #16701]
10762         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10763         implementation.
10764         * math/libm-test.inc (ceil_test_data): Add more tests.
10766         * math/libm-test.inc (trunc_test_data): Add more tests related to
10767         BZ#16414.
10769 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10771         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10772         with #if rather than #ifdef.
10773         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10775 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10777         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10778         first.  Disable AVX-512 GCC support if assembler doesn't support
10779         it.
10780         * sysdeps/x86_64/configure: Regenerated.
10782 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10784         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10785         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10786         (__old_pthread_attr_setstack): Likewise.
10787         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10788         [!_STACK_GROWS_DOWN]: Likewise.
10790 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10792         * config.make.in (have-bash2): Delete.
10793         * configure.ac (libc_cv_have_bash2): Delete.
10794         * configure: Regenerate.
10795         * elf/Makefile (common-ldd-rewrite): Rename to ...
10796         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10797         (sh-ldd-rewrite): Delete.
10798         (bash-ldd-rewrite): Delete.
10799         (have-bash2): Delete checks.
10800         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10801         ldd-rewrite.
10803         * config.make.in (have-ksh): Delete.
10804         (KSH): Delete.
10805         * configure.ac (libc_cv_have_ksh): Delete.
10806         * configure: Regenerate.
10808         * elf/Makefile: Delete $(have-ksh) check.
10809         ($(objpfx)sotruss): Change KSH to BASH.
10810         * elf/sotruss.ksh: Rename to ...
10811         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10812         function style to match POSIX.  Drop ksh vim mode setting.
10814         * manual/time.texi (Specifying the Time Zone with TZ): Change
10815         Tuesday to Thursday.
10817         * debug/tst-longjmp_chk2.c: Update header comment.
10818         (stackoverflow_handler): Add comment.  Call assert on pass value.
10820 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10822         [BZ #16194]
10823         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10824         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10825         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10826         (La_x86_64_vector): Add zmm.
10827         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10828         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10829         ($(objpfx)tst-audit10): New target.
10830         ($(objpfx)tst-audit10.out): Likewise.
10831         (tst-audit10-ENV): New.
10832         (AVX512-CFLAGS): Likewise.
10833         (CFLAGS-tst-audit10.c): Likewise.
10834         (CFLAGS-tst-auditmod10a.c): Likewise.
10835         (CFLAGS-tst-auditmod10b.c): Likewise.
10836         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10837         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10838         * sysdeps/x86_64/configure: Regenerated.
10839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10840         AVX-512 zmm register support.
10841         (_dl_x86_64_save_sse): Likewise.
10842         (_dl_x86_64_restore_sse): Likewise.
10843         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10844         size vector registers.
10845         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10846         (ZMM_SIZE): Likewise.
10847         * sysdeps/x86_64/tst-audit10.c: New file.
10848         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10849         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10851 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10853         * configure.ac (HAVE_EHDR_START): New check.
10854         * configure: Regenerated.
10855         * config.h.in (HAVE_EHDR_START): New #undef.
10856         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10857         assuming the lowest-addressed segment maps the start of the file.
10859 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10861         * INSTALL: Regenerated.
10863 2014-03-13  Will Newton  <will.newton@linaro.org>
10865         * manual/setjmp.texi (System V contexts): Improve
10866         clarity and grammar of documentation.
10868 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10870         [BZ #16381]
10871         * elf/Makefile (tests): Add tst-pie2.
10872         (tests-pie): Add tst-pie2.
10873         * elf/tst-pie2.c: New file.
10874         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10875         for ET_EXEC.
10876         * elf/rtld.c (map_doit): Load executable as lt_executable.
10877         (dl_main): Likewise.
10879 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10881         [BZ #16642]
10882         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10883         (__ASSUME_PSELECT): Undefine.
10885 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10887         [BZ #16689]
10888         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10889         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10890         static build.
10891         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10892         selector for static builds.
10894 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10896         [BZ #16695]
10897         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10898         key in the buffer.
10900 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10902         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10903         IFUNC selector for static builds.
10905 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10907         * sysdeps/mips/math_private.h [__mips_hard_float]
10908         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10909         libc_feresetround_mips_ctx.
10910         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10911         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10912         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10914         [BZ #16677]
10915         * math/s_nextafter.c (__nextafter): Do not return value from
10916         overflowing computation.
10917         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10918         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10919         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10920         Likewise.
10921         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10922         Likewise.
10923         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10924         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10926 2014-03-11  Roland McGrath  <roland@hack.frob.com>
10928         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10929         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10930         Move sfi_sp use from the load-multiple (that no longer sets sp) to
10931         the new mov targetting sp.
10933 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10935         [BZ #16683]
10936         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10937         Define it for static builds as well.
10938         (NO_BZERO_IMPL): Likewise.
10940 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10942         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10943         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10944         multiarch strspn for PPC64.
10945         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10946         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10948         (__libc_ifunc_impl_list): Likewise.
10949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10950         multiarch optimizations
10951         * string/strspn.c (strspn): Using macro to redefine symbol name.
10953 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10954             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10956         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10957         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10958         multiarch strncat for PPC64.
10959         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10960         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10962         (__libc_ifunc_impl_list): Likewise.
10963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10964         multiarch optimizations
10966 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10968         [BZ #16639]
10969         * nscd/nscd.service: Make service type forking.
10971 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10973         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10974         sign in non default rounding modes.
10975         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10977 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
10979         * math/libm-test.inc (ALL_RM_TEST): New macro.
10980         (ceil_test): Use ALL_RM_TEST.
10981         (cimag_test): Likewise.
10982         (conj_test): Likewise.
10983         (copysign_test): Likewise.
10984         (cproj_test): Likewise.
10985         (creal_test): Likewise.
10986         (fabs_test): Likewise.
10987         (floor_test): Likewise.
10988         (fmax_test): Likewise.
10989         (fmin_test): Likewise.
10990         (fmod_test): Likewise.
10991         (fpclassify_test): Likewise.
10992         (frexp_test): Likewise.
10993         (ilogb_test): Likewise.
10994         (isfinite_test): Likewise.
10995         (finite_test): Likewise.
10996         (isgreater_test): Likewise.
10997         (isgreaterequal_test): Likewise.
10998         (isinf_test): Likewise.
10999         (isless_test): Likewise.
11000         (islessequal_test): Likewise.
11001         (islessgreater_test): Likewise.
11002         (isnan_test): Likewise.
11003         (isnormal_test): Likewise.
11004         (issignaling_test): Likewise.
11005         (isunordered_test): Likewise.
11006         (logb_test): Likewise.
11007         (logb_downward_test_data): Remove.
11008         (logb_test_downward): Likewise.
11009         (lround_test): Use ALL_RM_TEST.
11010         (llround_test): Likewise.
11011         (modf_test): Likewise.
11012         (nexttoward_test): Likewise.
11013         (remainder_test): Likewise.
11014         (drem_test): Likewise.
11015         (remainder_tonearest_test_data): Likewise.
11016         (remainder_test_tonearest): Likewise.
11017         (drem_test_tonearest): Likewise.
11018         (remainder_towardzero_test_data): Likewise.
11019         (remainder_test_towardzero): Likewise.
11020         (drem_test_towardzero): Likewise.
11021         (remainder_downward_test_data): Likewise.
11022         (remainder_test_downward): Likewise.
11023         (drem_test_downward): Likewise.
11024         (remainder_upward_test_data): Likewise.
11025         (remainder_test_upward): Likewise.
11026         (drem_test_upward): Likewise.
11027         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
11028         (round_test): Use ALL_RM_TEST.
11029         (signbit_test): Likewise.
11030         (trunc_test): Likewise.
11031         (significand_test): Likewise.
11032         (main): Don't call removed functions.
11034 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11036         [BZ #16674]
11037         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11038         || __USE_XOPEN2K8].
11039         (ILL_ILLOPN): Likewise.
11040         (ILL_ILLADR): Likewise.
11041         (ILL_ILLTRP): Likewise.
11042         (ILL_PRVOPC): Likewise.
11043         (ILL_PRVREG): Likewise.
11044         (ILL_COPROC): Likewise.
11045         (ILL_BADSTK): Likewise.
11046         (FPE_INTDIV): Likewise.
11047         (FPE_INTOVF): Likewise.
11048         (FPE_FLTDIV): Likewise.
11049         (FPE_FLTOVF): Likewise.
11050         (FPE_FLTUND): Likewise.
11051         (FPE_FLTRES): Likewise.
11052         (FPE_FLTINV): Likewise.
11053         (FPE_FLTSUB): Likewise.
11054         (SEGV_MAPERR): Likewise.
11055         (SEGV_ACCERR): Likewise.
11056         (BUS_ADRALN): Likewise.
11057         (BUS_ADRERR): Likewise.
11058         (BUS_OBJERR): Likewise.
11059         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11060         (TRAP_TRACE): Likewise.
11061         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11062         __USE_XOPEN2K8].
11063         (CLD_KILLED): Likewise.
11064         (CLD_DUMPED): Likewise.
11065         (CLD_TRAPPED): Likewise.
11066         (CLD_STOPPED): Likewise.
11067         (CLD_CONTINUED): Likewise.
11068         (POLL_IN): Likewise.
11069         (POLL_OUT): Likewise.
11070         (POLL_MSG): Likewise.
11071         (POLL_ERR): Likewise.
11072         (POLL_PRI): Likewise.
11073         (POLL_HUP): Likewise.
11074         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11075         Likewise.
11076         (ILL_ILLOPN): Likewise.
11077         (ILL_ILLADR): Likewise.
11078         (ILL_ILLTRP): Likewise.
11079         (ILL_PRVOPC): Likewise.
11080         (ILL_PRVREG): Likewise.
11081         (ILL_COPROC): Likewise.
11082         (ILL_BADSTK): Likewise.
11083         (FPE_INTDIV): Likewise.
11084         (FPE_INTOVF): Likewise.
11085         (FPE_FLTDIV): Likewise.
11086         (FPE_FLTOVF): Likewise.
11087         (FPE_FLTUND): Likewise.
11088         (FPE_FLTRES): Likewise.
11089         (FPE_FLTINV): Likewise.
11090         (FPE_FLTSUB): Likewise.
11091         (SEGV_MAPERR): Likewise.
11092         (SEGV_ACCERR): Likewise.
11093         (BUS_ADRALN): Likewise.
11094         (BUS_ADRERR): Likewise.
11095         (BUS_OBJERR): Likewise.
11096         (BUS_MCEERR_AR): Likewise.
11097         (BUS_MCEERR_AO): Likewise.
11098         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11099         (TRAP_TRACE): Likewise.
11100         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11101         __USE_XOPEN2K8].
11102         (CLD_KILLED): Likewise.
11103         (CLD_DUMPED): Likewise.
11104         (CLD_TRAPPED): Likewise.
11105         (CLD_STOPPED): Likewise.
11106         (CLD_CONTINUED): Likewise.
11107         (POLL_IN): Likewise.
11108         (POLL_OUT): Likewise.
11109         (POLL_MSG): Likewise.
11110         (POLL_ERR): Likewise.
11111         (POLL_PRI): Likewise.
11112         (POLL_HUP): Likewise.
11113         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11114         (ILL_ILLOPN): Likewise.
11115         (ILL_ILLADR): Likewise.
11116         (ILL_ILLTRP): Likewise.
11117         (ILL_PRVOPC): Likewise.
11118         (ILL_PRVREG): Likewise.
11119         (ILL_COPROC): Likewise.
11120         (ILL_BADSTK): Likewise.
11121         (FPE_INTDIV): Likewise.
11122         (FPE_INTOVF): Likewise.
11123         (FPE_FLTDIV): Likewise.
11124         (FPE_FLTOVF): Likewise.
11125         (FPE_FLTUND): Likewise.
11126         (FPE_FLTRES): Likewise.
11127         (FPE_FLTINV): Likewise.
11128         (FPE_FLTSUB): Likewise.
11129         (SEGV_MAPERR): Likewise.
11130         (SEGV_ACCERR): Likewise.
11131         (BUS_ADRALN): Likewise.
11132         (BUS_ADRERR): Likewise.
11133         (BUS_OBJERR): Likewise.
11134         (BUS_MCEERR_AR): Likewise.
11135         (BUS_MCEERR_AO): Likewise.
11136         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11137         (TRAP_TRACE): Likewise.
11138         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11139         __USE_XOPEN2K8].
11140         (CLD_KILLED): Likewise.
11141         (CLD_DUMPED): Likewise.
11142         (CLD_TRAPPED): Likewise.
11143         (CLD_STOPPED): Likewise.
11144         (CLD_CONTINUED): Likewise.
11145         (POLL_IN): Likewise.
11146         (POLL_OUT): Likewise.
11147         (POLL_MSG): Likewise.
11148         (POLL_ERR): Likewise.
11149         (POLL_PRI): Likewise.
11150         (POLL_HUP): Likewise.
11151         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11152         Likewise.
11153         (ILL_ILLOPN): Likewise.
11154         (ILL_ILLADR): Likewise.
11155         (ILL_ILLTRP): Likewise.
11156         (ILL_PRVOPC): Likewise.
11157         (ILL_PRVREG): Likewise.
11158         (ILL_COPROC): Likewise.
11159         (ILL_BADSTK): Likewise.
11160         (ILL_BADIADDR): Likewise.
11161         (ILL_BREAK): Likewise.
11162         (FPE_INTDIV): Likewise.
11163         (FPE_INTOVF): Likewise.
11164         (FPE_FLTDIV): Likewise.
11165         (FPE_FLTOVF): Likewise.
11166         (FPE_FLTUND): Likewise.
11167         (FPE_FLTRES): Likewise.
11168         (FPE_FLTINV): Likewise.
11169         (FPE_FLTSUB): Likewise.
11170         (FPE_DECOVF): Likewise.
11171         (FPE_DECDIV): Likewise.
11172         (FPE_DECERR): Likewise.
11173         (FPE_INVASC): Likewise.
11174         (FPE_INVDEC): Likewise.
11175         (SEGV_MAPERR): Likewise.
11176         (SEGV_ACCERR): Likewise.
11177         (SEGV_PSTKOVF): Likewise.
11178         (BUS_ADRALN): Likewise.
11179         (BUS_ADRERR): Likewise.
11180         (BUS_OBJERR): Likewise.
11181         (BUS_MCEERR_AR): Likewise.
11182         (BUS_MCEERR_AO): Likewise.
11183         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11184         (TRAP_TRACE): Likewise.
11185         (TRAP_BRANCH): Likewise.
11186         (TRAP_HWBKPT): Likewise.
11187         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11188         __USE_XOPEN2K8].
11189         (CLD_KILLED): Likewise.
11190         (CLD_DUMPED): Likewise.
11191         (CLD_TRAPPED): Likewise.
11192         (CLD_STOPPED): Likewise.
11193         (CLD_CONTINUED): Likewise.
11194         (POLL_IN): Likewise.
11195         (POLL_OUT): Likewise.
11196         (POLL_MSG): Likewise.
11197         (POLL_ERR): Likewise.
11198         (POLL_PRI): Likewise.
11199         (POLL_HUP): Likewise.
11200         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11201         (ILL_ILLOPN): Likewise.
11202         (ILL_ILLADR): Likewise.
11203         (ILL_ILLTRP): Likewise.
11204         (ILL_PRVOPC): Likewise.
11205         (ILL_PRVREG): Likewise.
11206         (ILL_COPROC): Likewise.
11207         (ILL_BADSTK): Likewise.
11208         (FPE_INTDIV): Likewise.
11209         (FPE_INTOVF): Likewise.
11210         (FPE_FLTDIV): Likewise.
11211         (FPE_FLTOVF): Likewise.
11212         (FPE_FLTUND): Likewise.
11213         (FPE_FLTRES): Likewise.
11214         (FPE_FLTINV): Likewise.
11215         (FPE_FLTSUB): Likewise.
11216         (SEGV_MAPERR): Likewise.
11217         (SEGV_ACCERR): Likewise.
11218         (BUS_ADRALN): Likewise.
11219         (BUS_ADRERR): Likewise.
11220         (BUS_OBJERR): Likewise.
11221         (BUS_MCEERR_AR): Likewise.
11222         (BUS_MCEERR_AO): Likewise.
11223         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11224         (TRAP_TRACE): Likewise.
11225         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11226         __USE_XOPEN2K8].
11227         (CLD_KILLED): Likewise.
11228         (CLD_DUMPED): Likewise.
11229         (CLD_TRAPPED): Likewise.
11230         (CLD_STOPPED): Likewise.
11231         (CLD_CONTINUED): Likewise.
11232         (POLL_IN): Likewise.
11233         (POLL_OUT): Likewise.
11234         (POLL_MSG): Likewise.
11235         (POLL_ERR): Likewise.
11236         (POLL_PRI): Likewise.
11237         (POLL_HUP): Likewise.
11238         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11239         (ILL_ILLOPN): Likewise.
11240         (ILL_ILLADR): Likewise.
11241         (ILL_ILLTRP): Likewise.
11242         (ILL_PRVOPC): Likewise.
11243         (ILL_PRVREG): Likewise.
11244         (ILL_COPROC): Likewise.
11245         (ILL_BADSTK): Likewise.
11246         (FPE_INTDIV): Likewise.
11247         (FPE_INTOVF): Likewise.
11248         (FPE_FLTDIV): Likewise.
11249         (FPE_FLTOVF): Likewise.
11250         (FPE_FLTUND): Likewise.
11251         (FPE_FLTRES): Likewise.
11252         (FPE_FLTINV): Likewise.
11253         (FPE_FLTSUB): Likewise.
11254         (SEGV_MAPERR): Likewise.
11255         (SEGV_ACCERR): Likewise.
11256         (BUS_ADRALN): Likewise.
11257         (BUS_ADRERR): Likewise.
11258         (BUS_OBJERR): Likewise.
11259         (BUS_MCEERR_AR): Likewise.
11260         (BUS_MCEERR_AO): Likewise.
11261         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11262         (TRAP_TRACE): Likewise.
11263         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11264         __USE_XOPEN2K8].
11265         (CLD_KILLED): Likewise.
11266         (CLD_DUMPED): Likewise.
11267         (CLD_TRAPPED): Likewise.
11268         (CLD_STOPPED): Likewise.
11269         (CLD_CONTINUED): Likewise.
11270         (POLL_IN): Likewise.
11271         (POLL_OUT): Likewise.
11272         (POLL_MSG): Likewise.
11273         (POLL_ERR): Likewise.
11274         (POLL_PRI): Likewise.
11275         (POLL_HUP): Likewise.
11276         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11277         (ILL_ILLOPN): Likewise.
11278         (ILL_ILLADR): Likewise.
11279         (ILL_ILLTRP): Likewise.
11280         (ILL_PRVOPC): Likewise.
11281         (ILL_PRVREG): Likewise.
11282         (ILL_COPROC): Likewise.
11283         (ILL_BADSTK): Likewise.
11284         (FPE_INTDIV): Likewise.
11285         (FPE_INTOVF): Likewise.
11286         (FPE_FLTDIV): Likewise.
11287         (FPE_FLTOVF): Likewise.
11288         (FPE_FLTUND): Likewise.
11289         (FPE_FLTRES): Likewise.
11290         (FPE_FLTINV): Likewise.
11291         (FPE_FLTSUB): Likewise.
11292         (SEGV_MAPERR): Likewise.
11293         (SEGV_ACCERR): Likewise.
11294         (BUS_ADRALN): Likewise.
11295         (BUS_ADRERR): Likewise.
11296         (BUS_OBJERR): Likewise.
11297         (BUS_MCEERR_AR): Likewise.
11298         (BUS_MCEERR_AO): Likewise.
11299         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11300         (TRAP_TRACE): Likewise.
11301         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11302         __USE_XOPEN2K8].
11303         (CLD_KILLED): Likewise.
11304         (CLD_DUMPED): Likewise.
11305         (CLD_TRAPPED): Likewise.
11306         (CLD_STOPPED): Likewise.
11307         (CLD_CONTINUED): Likewise.
11308         (POLL_IN): Likewise.
11309         (POLL_OUT): Likewise.
11310         (POLL_MSG): Likewise.
11311         (POLL_ERR): Likewise.
11312         (POLL_PRI): Likewise.
11313         (POLL_HUP): Likewise.
11314         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11315         (ILL_ILLOPN): Likewise.
11316         (ILL_ILLADR): Likewise.
11317         (ILL_ILLTRP): Likewise.
11318         (ILL_PRVOPC): Likewise.
11319         (ILL_PRVREG): Likewise.
11320         (ILL_COPROC): Likewise.
11321         (ILL_BADSTK): Likewise.
11322         (ILL_DBLFLT): Likewise.
11323         (ILL_HARDWALL): Likewise.
11324         (FPE_INTDIV): Likewise.
11325         (FPE_INTOVF): Likewise.
11326         (FPE_FLTDIV): Likewise.
11327         (FPE_FLTOVF): Likewise.
11328         (FPE_FLTUND): Likewise.
11329         (FPE_FLTRES): Likewise.
11330         (FPE_FLTINV): Likewise.
11331         (FPE_FLTSUB): Likewise.
11332         (SEGV_MAPERR): Likewise.
11333         (SEGV_ACCERR): Likewise.
11334         (BUS_ADRALN): Likewise.
11335         (BUS_ADRERR): Likewise.
11336         (BUS_OBJERR): Likewise.
11337         (BUS_MCEERR_AR): Likewise.
11338         (BUS_MCEERR_AO): Likewise.
11339         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11340         (TRAP_TRACE): Likewise.
11341         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11342         __USE_XOPEN2K8].
11343         (CLD_KILLED): Likewise.
11344         (CLD_DUMPED): Likewise.
11345         (CLD_TRAPPED): Likewise.
11346         (CLD_STOPPED): Likewise.
11347         (CLD_CONTINUED): Likewise.
11348         (POLL_IN): Likewise.
11349         (POLL_OUT): Likewise.
11350         (POLL_MSG): Likewise.
11351         (POLL_ERR): Likewise.
11352         (POLL_PRI): Likewise.
11353         (POLL_HUP): Likewise.
11354         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11355         (ILL_ILLOPN): Likewise.
11356         (ILL_ILLADR): Likewise.
11357         (ILL_ILLTRP): Likewise.
11358         (ILL_PRVOPC): Likewise.
11359         (ILL_PRVREG): Likewise.
11360         (ILL_COPROC): Likewise.
11361         (ILL_BADSTK): Likewise.
11362         (FPE_INTDIV): Likewise.
11363         (FPE_INTOVF): Likewise.
11364         (FPE_FLTDIV): Likewise.
11365         (FPE_FLTOVF): Likewise.
11366         (FPE_FLTUND): Likewise.
11367         (FPE_FLTRES): Likewise.
11368         (FPE_FLTINV): Likewise.
11369         (FPE_FLTSUB): Likewise.
11370         (SEGV_MAPERR): Likewise.
11371         (SEGV_ACCERR): Likewise.
11372         (BUS_ADRALN): Likewise.
11373         (BUS_ADRERR): Likewise.
11374         (BUS_OBJERR): Likewise.
11375         (BUS_MCEERR_AR): Likewise.
11376         (BUS_MCEERR_AO): Likewise.
11377         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11378         (TRAP_TRACE): Likewise.
11379         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11380         __USE_XOPEN2K8].
11381         (CLD_KILLED): Likewise.
11382         (CLD_DUMPED): Likewise.
11383         (CLD_TRAPPED): Likewise.
11384         (CLD_STOPPED): Likewise.
11385         (CLD_CONTINUED): Likewise.
11386         (POLL_IN): Likewise.
11387         (POLL_OUT): Likewise.
11388         (POLL_MSG): Likewise.
11389         (POLL_ERR): Likewise.
11390         (POLL_PRI): Likewise.
11391         (POLL_HUP): Likewise.
11392         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11393         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11395         [BZ #16670]
11396         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11397         before #include of <time.h>.
11398         [!__USE_XOPEN2K] (__need_timespec): Likewise.
11399         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11400         (test-xfail-UNIX98/sched.h/conform): Likewise.
11402 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11404         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11405         error absence of trapping exception support.
11406         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11408 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11410         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11411         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11412         * timezone/Makefile (testdata): Move definition above include of
11413         Rules.
11414         (test-zones): New variable.
11415         (tests-special): Add zone files.
11416         (build-testdata): Use $(evaluate-test).
11418         * elf/Makefile (tests-special): Rename tests to end with .out.
11419         ($(objpfx)noload-mem): Likewise.
11420         ($(objpfx)tst-leaks1-mem): Likewise.
11421         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11422         * iconv/Makefile (xtests-special): Change test-iconvconfig to
11423         $(objpfx)test-iconvconfig.out.
11424         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
11425         set -e inside subshell and redirect output to file.
11426         * iconvdata/Makefile (generated): Rename tests to end with .out.
11427         Correct type.
11428         (tests-special): Rename tests to end with .out.
11429         ($(objpfx)mtrace-tst-loading): Likewise.
11430         * intl/Makefile (generated): Likewise.
11431         (tests-special): Likewise.
11432         ($(objpfx)mtrace-tst-gettext): Likewise.
11433         * misc/Makefile (generated): Likewise.
11434         (tests-special): Likewise.
11435         ($(objpfx)tst-error1-mem): Likewise.
11436         * nptl/Makefile (tests-special): Likewise.
11437         ($(objpfx)tst-stack3-mem): Likewise.
11438         (generated): Likewise.
11439         * posix/Makefile (generated): Likewise.
11440         (tests-special): Likewise.
11441         (xtests-special): Likewise.
11442         ($(objpfx)tst-fnmatch-mem): Likewise.
11443         ($(objpfx)bug-regex2-mem): Likewise.
11444         ($(objpfx)bug-regex14-mem): Likewise.
11445         ($(objpfx)bug-regex21-mem): Likewise.
11446         ($(objpfx)bug-regex31-mem): Likewise.
11447         ($(objpfx)tst-vfork3-mem): Likewise.
11448         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11449         ($(objpfx)tst-pcre-mem): Likewise.
11450         ($(objpfx)tst-boost-mem): Likewise.
11451         ($(objpfx)bug-ga2-mem): Likewise.
11452         ($(objpfx)bug-glob2-mem): Likewise.
11453         * resolv/Makefile (generate): Likewise.
11454         (tests-special): Likewise.
11455         (xtests-special): Likewise.
11456         (generated): Likewise.
11457         ($(objpfx)mtrace-tst-leaks): Likewise.
11458         ($(objpfx)mtrace-tst-leaks2): Likewise.
11460         * scripts/merge-test-results.sh: New file.
11461         * Makefile (tests-special-notdir): New variable.
11462         (tests): Run merge-test-results.sh.
11463         (xtests): Likewise.
11464         * Rules (tests-special-notdir): New variable.
11465         (xtests-special-notdir): Likewise.
11466         (tests): Run merge-test-results.sh
11467         (xtests): Likewise.
11469         * Makeconfig (test-xfail-name): New variable.
11470         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11471         compute variable name for expected failures.
11472         * conform/Makefile (conformtest-headers-data): New variable.
11473         (conformtest-standards): Likewise.
11474         (conformtest-headers-ISO): Likewise.
11475         (conformtest-headers-ISO99): Likewise.
11476         (conformtest-headers-ISO11): Likewise.
11477         (conformtest-headers-POSIX): Likewise.
11478         (conformtest-headers-XPG3): Likewise.
11479         (conformtest-headers-XPG4): Likewise.
11480         (conformtest-headers-UNIX98): Likewise.
11481         (conformtest-headers-XOPEN2K): Likewise.
11482         (conformtest-headers-POSIX2008): Likewise.
11483         (conformtest-headers-XOPEN2K8): Likewise.
11484         (conformtest-header-list-base): Likewise.
11485         (conformtest-header-list-tests): Likewise.
11486         (conformtest-header-base): Likewise.
11487         (conformtest-header-tests): Likewise.
11488         (tests-special): Add $(conformtest-header-list-tests).  If
11489         [$(fast-check) && !$(cross-compiling)], add
11490         $(conformtest-header-tests) instead of
11491         $(objpfx)run-conformtest.out.
11492         (generated): Add $(conformtest-header-list-base).  If
11493         [$(fast-check) && !$(cross-compiling)], add
11494         $(conformtest-header-base).  Remove previous setting.
11495         ($(conformtest-header-list-tests)): New target.
11496         (test-xfail-run-conformtest): Remove variable.
11497         ($(objpfx)run-conformtest.out): Remove target.
11498         (test-xfail-ISO11/complex.h/conform): New variable.
11499         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11500         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11501         (test-xfail-XPG3/varargs.h/conform): Likewise.
11502         (test-xfail-XPG4/varargs.h/conform): Likewise.
11503         (test-xfail-UNIX98/varargs.h/conform): Likewise.
11504         (test-xfail-XPG4/ndbm.h/conform): Likewise.
11505         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11506         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11507         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11508         (test-xfail-XPG3/fcntl.h/conform): Likewise.
11509         (test-xfail-XPG3/ftw.h/conform): Likewise.
11510         (test-xfail-XPG3/grp.h/conform): Likewise.
11511         (test-xfail-XPG3/langinfo.h/conform): Likewise.
11512         (test-xfail-XPG3/limits.h/conform): Likewise.
11513         (test-xfail-XPG3/pwd.h/conform): Likewise.
11514         (test-xfail-XPG3/search.h/conform): Likewise.
11515         (test-xfail-XPG3/signal.h/conform): Likewise.
11516         (test-xfail-XPG3/stdio.h/conform): Likewise.
11517         (test-xfail-XPG3/stdlib.h/conform): Likewise.
11518         (test-xfail-XPG3/string.h/conform): Likewise.
11519         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11520         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11521         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11522         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11523         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11524         (test-xfail-XPG3/sys/types.h/conform): Likewise.
11525         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11526         (test-xfail-XPG3/termios.h/conform): Likewise.
11527         (test-xfail-XPG3/time.h/conform): Likewise.
11528         (test-xfail-XPG3/unistd.h/conform): Likewise.
11529         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11530         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11531         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11532         (test-xfail-XPG4/netdb.h/conform): Likewise.
11533         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11534         (test-xfail-XPG4/signal.h/conform): Likewise.
11535         (test-xfail-XPG4/stdio.h/conform): Likewise.
11536         (test-xfail-XPG4/stdlib.h/conform): Likewise.
11537         (test-xfail-XPG4/stropts.h/conform): Likewise.
11538         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11539         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11540         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11541         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11542         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11543         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11544         (test-xfail-XPG4/sys/time.h/conform): Likewise.
11545         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11546         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11547         (test-xfail-XPG4/termios.h/conform): Likewise.
11548         (test-xfail-XPG4/ucontext.h/conform): Likewise.
11549         (test-xfail-XPG4/unistd.h/conform): Likewise.
11550         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11551         (test-xfail-POSIX/sched.h/conform): Likewise.
11552         (test-xfail-POSIX/signal.h/conform): Likewise.
11553         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11554         (test-xfail-POSIX/tar.h/conform): Likewise.
11555         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11556         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11557         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11558         (test-xfail-UNIX98/netdb.h/conform): Likewise.
11559         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11560         (test-xfail-UNIX98/sched.h/conform): Likewise.
11561         (test-xfail-UNIX98/signal.h/conform): Likewise.
11562         (test-xfail-UNIX98/stdio.h/conform): Likewise.
11563         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11564         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11565         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11566         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11567         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11568         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11569         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11570         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11571         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11572         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11573         (test-xfail-UNIX98/unistd.h/conform): Likewise.
11574         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11575         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11576         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11577         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11578         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11579         (test-xfail-XOPEN2K/math.h/conform): Likewise.
11580         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11581         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11582         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11583         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11584         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11585         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11586         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11587         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11588         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11589         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11590         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11591         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11592         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11593         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11594         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11595         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11596         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11597         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11598         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11599         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11600         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11601         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11602         (test-xfail-POSIX2008/signal.h/conform): Likewise.
11603         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11604         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11605         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11606         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11607         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11608         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11609         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11610         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11611         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11612         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11613         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11614         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11615         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11616         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11617         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11618         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11619         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11620         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11621         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11622         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11623         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11624         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11625         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11626         (conformtest-cc-flags): Likewise.
11627         ($(conformtest-header-tests): New target.
11628         * conform/check-header-lists.sh: New file.
11629         * conform/run-conformtest.sh: Remove.
11631         * conform/conformtest.pl: Allow ' and \ in values given for
11632         constants.
11633         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11634         inclusion.
11635         [POSIX] (sys/types.h): Likewise.
11636         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11637         inclusion.
11638         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11639         inclusion.
11640         * conform/data/signal.h-data (SIGIO): Remove expectation.
11641         [XPG3] (SIGBUS): Do not expect.
11642         [POSIX || XPG3] (SIGPOLL): Likewise.
11643         [POSIX || XPG3] (SIGPROF): Likewise.
11644         [POSIX || XPG3] (SIGSYS): Likewise.
11645         [XPG3] (SIGTRAP): Likewise.
11646         [POSIX || XPG3] (SIGURG): Likewise.
11647         [POSIX || XPG3] (SIGVTALRM): Likewise.
11648         [POSIX || XPG3] (SIGXCPU): Likewise.
11649         [POSIX || XPG3] (SIGXFSZ): Likewise.
11650         [POSIX] (SA_SIGINFO): Expect.
11651         [XPG3] (siginfo_t): Do not expect type or contents.
11652         [POSIX] (si_pid): Do not expect element.
11653         [POSIX] (si_uid): Likewise.
11654         [POSIX] (si_addr): Likewise.
11655         [POSIX] (si_status): Likewise.
11656         [POSIX] (si_band): Likewise.
11657         [XPG4] (si_value): Likewise.
11658         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11659         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11660         [POSIX || XPG3] (ILL_ILLADR): Likewise.
11661         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11662         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11663         [POSIX || XPG3] (ILL_PRVREG): Likewise.
11664         [POSIX || XPG3] (ILL_COPROC): Likewise.
11665         [POSIX || XPG3] (ILL_BADSTK): Likewise.
11666         [POSIX || XPG3] (FPE_INTDIV): Likewise.
11667         [POSIX || XPG3] (FPE_INTOVF): Likewise.
11668         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11669         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11670         [POSIX || XPG3] (FPE_FLTUND): Likewise.
11671         [POSIX || XPG3] (FPE_FLTRES): Likewise.
11672         [POSIX || XPG3] (FPE_FLTINV): Likewise.
11673         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11674         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11675         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11676         [POSIX || XPG3] (BUS_ADRALN): Likewise.
11677         [POSIX || XPG3] (BUS_ADRERR): Likewise.
11678         [POSIX || XPG3] (BUS_OBJERR): Likewise.
11679         [POSIX || XPG3] (CLD_EXITED): Likewise.
11680         [POSIX || XPG3] (CLD_KILLED): Likewise.
11681         [POSIX || XPG3] (CLD_DUMPED): Likewise.
11682         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11683         [POSIX || XPG3] (CLD_STOPPED): Likewise.
11684         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11685         [POSIX || XPG3] (POLL_IN): Likewise.
11686         [POSIX || XPG3] (POLL_OUT): Likewise.
11687         [POSIX || XPG3] (POLL_MSG): Likewise.
11688         [POSIX || XPG3] (POLL_ERR): Likewise.
11689         [POSIX || XPG3] (POLL_PRI): Likewise.
11690         [POSIX || XPG3] (POLL_HUP): Likewise.
11691         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11692         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11693         (SIG*): Do not allow.
11694         [XPG3] (si_*): Likewise.
11695         [XPG3] (SI_*): Likewise.
11696         [XPG3 || XPG4] (sigev_*): Likewise.
11697         [XPG3 || XPG4] (SIGEV_*): Likewise.
11698         [XPG3 || XPG4] (sival_*): Likewise.
11699         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11700         [POSIX || XPG3] (BUS_*): Likewise.
11701         [POSIX || XPG3] (CLD_*): Likewise.
11702         [POSIX || XPG3] (FPE_*): Likewise.
11703         [POSIX || XPG3] (ILL_*): Likewise.
11704         [POSIX || XPG3] (POLL_*): Likewise.
11705         [POSIX || XPG3] (SEGV_*): Likewise.
11706         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11707         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11708         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11709         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11710         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11711         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11712         Specify type and value.
11713         (TVERSLEN): Likewise.
11714         (REGTYPE): Likewise.
11715         (AREGTYPE): Likewise.
11716         (LNKTYPE): Likewise.
11717         (SYMTYPE): Likewise.
11718         (CHRTYPE): Likewise.
11719         (BLKTYPE): Likewise.
11720         (DIRTYPE): Likewise.
11721         (FIFOTYPE): Likewise.
11722         (CONTTYPE): Likewise.
11723         (TSUID): Likewise.
11724         (TSGID): Likewise.
11725         (TSVTX): Likewise.
11726         (TUREAD): Likewise.
11727         (TUWRITE): Likewise.
11728         (TUEXEC): Likewise.
11729         (TGREAD): Likewise.
11730         (TGWRITE): Likewise.
11731         (TGEXEC): Likewise.
11732         (TOREAD): Likewise.
11733         (TOWRITE): Likewise.
11734         (TOEXEC): Likewise.
11735         [POSIX] (TSVTX): Expect constant.
11737 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11739         * Makefile (tests): Change dependencies to ....
11740         (tests-special): ... additions to this variable.
11741         (tests): Depend on $(tests-special).
11742         * Makerules (check-abi-list): New variable.
11743         (check-abi): Depend on $(check-abi-list).
11744         [$(subdir) = elf] (tests-special): Add
11745         $(objpfx)check-abi-libc.out.
11746         [$(build-shared) = yes && subdir] (tests-special): Add
11747         $(check-abi-list).
11748         [$(build-shared) = yes && subdir] (tests): Do not depend on
11749         check-abi.
11750         * Rules (tests): Depend on $(tests-special).
11751         (xtests): Depend on $(xtests-special).
11752         * catgets/Makefile (tests): Change dependencies to ....
11753         (tests-special): ... additions to this variable.
11754         * conform/Makefile (tests): Change dependencies to ....
11755         (tests-special): ... additions to this variable.
11756         * elf/Makefile (tests): Change dependencies to ....
11757         (tests-special): ... additions to this variable.
11758         * grp/Makefile (tests): Change dependencies to ....
11759         (tests-special): ... additions to this variable.
11760         * iconv/Makefile (xtests): Change dependencies to ....
11761         (xtests-special): ... additions to this variable.
11762         * iconvdata/Makefile (tests): Change dependencies to ....
11763         (tests-special): ... additions to this variable.
11764         * intl/Makefile (tests): Change dependencies to ....
11765         (tests-special): ... additions to this variable.  Also add
11766         $(objpfx)tst-gettext.out.
11767         * io/Makefile (tests): Change dependencies to ....
11768         (tests-special): ... additions to this variable.
11769         * libio/Makefile (tests): Change dependencies to ....
11770         (tests-special): ... additions to this variable.
11771         * malloc/Makefile (tests): Change dependencies to ....
11772         (tests-special): ... additions to this variable.
11773         * misc/Makefile (tests): Change dependencies to ....
11774         (tests-special): ... additions to this variable.
11775         * nptl/Makefile (tests): Change dependencies to ....
11776         (tests-special): ... additions to this variable.
11777         * nptl_db/Makefile (tests): Change dependencies to ....
11778         (tests-special): ... additions to this variable.
11779         * posix/Makefile (tests): Change dependencies to ....
11780         (tests-special): ... additions to this variable.
11781         (xtests): Change dependencies to ....
11782         (xtests-special): ... additions to this variable.
11783         * resolv/Makefile (tests): Change dependencies to ....
11784         (tests-special): ... additions to this variable.
11785         (xtests): Change dependencies to ....
11786         (xtests-special): ... additions to this variable.
11787         * stdio-common/Makefile (tests): Change dependencies to ....
11788         (tests-special): ... additions to this variable.
11789         (do-tst-unbputc): Remove target.
11790         (do-tst-printf): Likewise.
11791         * stdlib/Makefile (tests): Change dependencies to ....
11792         (tests-special): ... additions to this variable.
11793         * string/Makefile (tests): Change dependencies to ....
11794         (tests-special): ... additions to this variable.
11795         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11796         (tests-special): ... additions to this variable.
11798         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11799         whole file.
11800         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11801         whole file.
11802         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11803         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11805         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11806         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11807         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11808         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11809         * conform/data/libgen.h-data [XPG3]: Likewise.
11810         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11811         * conform/data/ndbm.h-data [XPG3]: Likewise.
11812         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11813         * conform/data/netdb.h-data [XPG3]: Likewise.
11814         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11815         * conform/data/poll.h-data [XPG3]: Likewise.
11816         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11817         * conform/data/strings.h-data [XPG3]: Likewise.
11818         * conform/data/stropts.h-data [XPG3]: Likewise.
11819         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11820         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11821         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11822         Likewise.
11823         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11824         * conform/data/sys/time.h-data [XPG3]: Likewise.
11825         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11826         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11827         * conform/data/sys/un.h-data [XPG3]: Likewise.
11828         * conform/data/syslog.h-data [XPG3]: Likewise.
11829         * conform/data/ucontext.h-data [XPG3]: Likewise.
11830         * conform/data/utmpx.h-data [XPG3]: Likewise.
11831         * conform/data/varargs.h-data [UNIX98]: Enable file.
11833         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11835         * math/libm-test.inc (struct test_f_f_data): Move expected results
11836         into structure for each rounding mode.
11837         (struct test_ff_f_data): Likewise.
11838         (struct test_ff_f_data_nexttoward): Likewise.
11839         (struct test_fi_f_data): Likewise.
11840         (struct test_fl_f_data): Likewise.
11841         (struct test_if_f_data): Likewise.
11842         (struct test_fff_f_data): Likewise.
11843         (struct test_c_f_data): Likewise.
11844         (struct test_f_f1_data): Likewise.
11845         (struct test_fF_f1_data): Likewise.
11846         (struct test_ffI_f1_data): Likewise.
11847         (struct test_c_c_data): Likewise.
11848         (struct test_cc_c_data): Likewise.
11849         (struct test_f_i_data): Likewise.
11850         (struct test_ff_i_data): Likewise.
11851         (struct test_f_l_data): Likewise.
11852         (struct test_f_L_data): Likewise.
11853         (struct test_fFF_11_data): Likewise.
11854         (RM_): New macro.
11855         (RM_FE_DOWNWARD): Likewise.
11856         (RM_FE_TONEAREST): Likewise.
11857         (RM_FE_TOWARDZERO): Likewise.
11858         (RM_FE_UPWARD): Likewise.
11859         (RUN_TEST_LOOP_f_f): Update references to expected results.
11860         (RUN_TEST_LOOP_2_f): Likewise.
11861         (RUN_TEST_LOOP_fff_f): Likewise.
11862         (RUN_TEST_LOOP_c_f): Likewise.
11863         (RUN_TEST_LOOP_f_f1): Likewise.
11864         (RUN_TEST_LOOP_fF_f1): Likewise.
11865         (RUN_TEST_LOOP_fI_f1): Likewise.
11866         (RUN_TEST_LOOP_ffI_f1): Likewise.
11867         (RUN_TEST_LOOP_c_c): Likewise.
11868         (RUN_TEST_LOOP_cc_c): Likewise.
11869         (RUN_TEST_LOOP_f_i): Likewise.
11870         (RUN_TEST_LOOP_f_i_tg): Likewise.
11871         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11872         (RUN_TEST_LOOP_f_b): Likewise.
11873         (RUN_TEST_LOOP_f_b_tg): Likewise.
11874         (RUN_TEST_LOOP_f_l): Likewise.
11875         (RUN_TEST_LOOP_f_L): Likewise.
11876         (RUN_TEST_LOOP_fFF_11): Likewise.
11877         * math/gen-libm-test.pl (parse_args): Output four copies of
11878         expected results for each test.
11880         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11881         (__ASSUME_UTIMES): Remove.
11882         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11883         (__ASSUME_UTIMES): Likewise.
11885         * math/gen-auto-libm-tests.c: Update comment on output format.
11886         (output_for_one_input_case): Generate before-rounding and
11887         after-rounding information as conditions on output flags not
11888         floating-point format.
11889         * math/auto-libm-test-out: Regenerated.
11890         * math/gen-libm-test.pl (cond_value): New function.
11891         (or_cond_value): Use cond_value.
11892         (generate_testfile): Handle conditional exceptions.
11894 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11896         * math/libm-test.inc (max_valid_error): New variable.
11897         (init_max_error): Take new argument specifying whether function
11898         results are exactly determined.  Set max_valid_error and bound
11899         other variables for errors based on this argument.
11900         (set_max_error): Do not record results above max_valid_error.
11901         (check_float_internal): Only accept errors of up to 0.5ulps if
11902         also at most max_valid_error.
11903         (START): Take new argument EXACT and pass it to init_max_error.
11904         (acos_test): Update call to START.
11905         (acos_test_tonearest): Likewise.
11906         (acos_test_towardzero): Likewise.
11907         (acos_test_downward): Likewise.
11908         (acos_test_upward): Likewise.
11909         (acosh_test): Likewise.
11910         (asin_test): Likewise.
11911         (asin_test_tonearest): Likewise.
11912         (asin_test_towardzero): Likewise.
11913         (asin_test_downward): Likewise.
11914         (asin_test_upward): Likewise.
11915         (asinh_test): Likewise.
11916         (atan_test): Likewise.
11917         (atanh_test): Likewise.
11918         (atan2_test): Likewise.
11919         (cabs_test): Likewise.
11920         (cacos_test): Likewise.
11921         (cacosh_test): Likewise.
11922         (carg_test): Likewise.
11923         (casin_test): Likewise.
11924         (casinh_test): Likewise.
11925         (catan_test): Likewise.
11926         (catanh_test): Likewise.
11927         (cbrt_test): Likewise.
11928         (ccos_test): Likewise.
11929         (ccosh_test): Likewise.
11930         (ceil_test): Likewise.
11931         (cexp_test): Likewise.
11932         (cimag_test): Likewise.
11933         (clog_test): Likewise.
11934         (clog10_test): Likewise.
11935         (conj_test): Likewise.
11936         (copysign_test): Likewise.
11937         (cos_test): Likewise.
11938         (cos_test_tonearest): Likewise.
11939         (cos_test_towardzero): Likewise.
11940         (cos_test_downward): Likewise.
11941         (cos_test_upward): Likewise.
11942         (cosh_test): Likewise.
11943         (cosh_test_tonearest): Likewise.
11944         (cosh_test_towardzero): Likewise.
11945         (cosh_test_downward): Likewise.
11946         (cosh_test_upward): Likewise.
11947         (cpow_test): Likewise.
11948         (cproj_test): Likewise.
11949         (creal_test): Likewise.
11950         (csin_test): Likewise.
11951         (csinh_test): Likewise.
11952         (csqrt_test): Likewise.
11953         (ctan_test): Likewise.
11954         (ctan_test_tonearest): Likewise.
11955         (ctan_test_towardzero): Likewise.
11956         (ctan_test_downward): Likewise.
11957         (ctan_test_upward): Likewise.
11958         (ctanh_test): Likewise.
11959         (ctanh_test_tonearest): Likewise.
11960         (ctanh_test_towardzero): Likewise.
11961         (ctanh_test_downward): Likewise.
11962         (ctanh_test_upward): Likewise.
11963         (erf_test): Likewise.
11964         (erfc_test): Likewise.
11965         (exp_test): Likewise.
11966         (exp_test_tonearest): Likewise.
11967         (exp_test_towardzero): Likewise.
11968         (exp_test_downward): Likewise.
11969         (exp_test_upward): Likewise.
11970         (exp10_test): Likewise.
11971         (exp10_test_tonearest): Likewise.
11972         (exp10_test_towardzero): Likewise.
11973         (exp10_test_downward): Likewise.
11974         (exp10_test_upward): Likewise.
11975         (pow10_test): Likewise.
11976         (exp2_test): Likewise.
11977         (expm1_test): Likewise.
11978         (expm1_test_tonearest): Likewise.
11979         (expm1_test_towardzero): Likewise.
11980         (expm1_test_downward): Likewise.
11981         (expm1_test_upward): Likewise.
11982         (fabs_test): Likewise.
11983         (fdim_test): Likewise.
11984         (floor_test): Likewise.
11985         (fma_test): Likewise.
11986         (fma_test_towardzero): Likewise.
11987         (fma_test_downward): Likewise.
11988         (fma_test_upward): Likewise.
11989         (fmax_test): Likewise.
11990         (fmin_test): Likewise.
11991         (fmod_test): Likewise.
11992         (fpclassify_test): Likewise.
11993         (frexp_test): Likewise.
11994         (hypot_test): Likewise.
11995         (ilogb_test): Likewise.
11996         (isfinite_test): Likewise.
11997         (finite_test): Likewise.
11998         (isgreater_test): Likewise.
11999         (isgreaterequal_test): Likewise.
12000         (isinf_test): Likewise.
12001         (isless_test): Likewise.
12002         (islessequal_test): Likewise.
12003         (islessgreater_test): Likewise.
12004         (isnan_test): Likewise.
12005         (isnormal_test): Likewise.
12006         (issignaling_test): Likewise.
12007         (isunordered_test): Likewise.
12008         (j0_test): Likewise.
12009         (j1_test): Likewise.
12010         (jn_test): Likewise.
12011         (ldexp_test): Likewise.
12012         (lgamma_test): Likewise.
12013         (gamma_test): Likewise.
12014         (lrint_test): Likewise.
12015         (lrint_test_tonearest): Likewise.
12016         (lrint_test_towardzero): Likewise.
12017         (lrint_test_downward): Likewise.
12018         (lrint_test_upward): Likewise.
12019         (llrint_test): Likewise.
12020         (llrint_test_tonearest): Likewise.
12021         (llrint_test_towardzero): Likewise.
12022         (llrint_test_downward): Likewise.
12023         (llrint_test_upward): Likewise.
12024         (log_test): Likewise.
12025         (log10_test): Likewise.
12026         (log1p_test): Likewise.
12027         (log2_test): Likewise.
12028         (logb_test): Likewise.
12029         (logb_test_downward): Likewise.
12030         (lround_test): Likewise.
12031         (llround_test): Likewise.
12032         (modf_test): Likewise.
12033         (nearbyint_test): Likewise.
12034         (nextafter_test): Likewise.
12035         (nexttoward_test): Likewise.
12036         (pow_test): Likewise.
12037         (pow_test_tonearest): Likewise.
12038         (pow_test_towardzero): Likewise.
12039         (pow_test_downward): Likewise.
12040         (pow_test_upward): Likewise.
12041         (remainder_test): Likewise.
12042         (drem_test): Likewise.
12043         (remainder_test_tonearest): Likewise.
12044         (drem_test_tonearest): Likewise.
12045         (remainder_test_towardzero): Likewise.
12046         (drem_test_towardzero): Likewise.
12047         (remainder_test_downward): Likewise.
12048         (drem_test_downward): Likewise.
12049         (remainder_test_upward): Likewise.
12050         (drem_test_upward): Likewise.
12051         (remquo_test): Likewise.
12052         (rint_test): Likewise.
12053         (rint_test_tonearest): Likewise.
12054         (rint_test_towardzero): Likewise.
12055         (rint_test_downward): Likewise.
12056         (rint_test_upward): Likewise.
12057         (round_test): Likewise.
12058         (scalb_test): Likewise.
12059         (scalbn_test): Likewise.
12060         (scalbln_test): Likewise.
12061         (signbit_test): Likewise.
12062         (sin_test): Likewise.
12063         (sin_test_tonearest): Likewise.
12064         (sin_test_towardzero): Likewise.
12065         (sin_test_downward): Likewise.
12066         (sin_test_upward): Likewise.
12067         (sincos_test): Likewise.
12068         (sinh_test): Likewise.
12069         (sinh_test_tonearest): Likewise.
12070         (sinh_test_towardzero): Likewise.
12071         (sinh_test_downward): Likewise.
12072         (sinh_test_upward): Likewise.
12073         (sqrt_test): Likewise.
12074         (sqrt_test_tonearest): Likewise.
12075         (sqrt_test_towardzero): Likewise.
12076         (sqrt_test_downward): Likewise.
12077         (sqrt_test_upward): Likewise.
12078         (tan_test): Likewise.
12079         (tan_test_tonearest): Likewise.
12080         (tan_test_towardzero): Likewise.
12081         (tan_test_downward): Likewise.
12082         (tan_test_upward): Likewise.
12083         (tanh_test): Likewise.
12084         (tgamma_test): Likewise.
12085         (trunc_test): Likewise.
12086         (y0_test): Likewise.
12087         (y1_test): Likewise.
12088         (yn_test): Likewise.
12089         (significand_test): Likewise.
12091         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12092         individual tests in comment.
12093         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12094         (prev_max_error): New variable.
12095         (prev_real_max_error): Likewise.
12096         (prev_imag_max_error): Likewise.
12097         (compare_ulp_data): Don't refer to test names in comment.
12098         (find_test_ulps): Remove function.
12099         (find_function_ulps): Likewise.
12100         (find_complex_function_ulps): Likewise.
12101         (init_max_error): Take function name as argument.  Look up ulps
12102         for that function.
12103         (print_ulps): Remove function.
12104         (print_max_error): Use prev_max_error instead of calling
12105         find_function_ulps.
12106         (print_complex_max_error): Use prev_real_max_error and
12107         prev_imag_max_error instead of calling find_complex_function_ulps.
12108         (check_float_internal): Take max_ulp parameter instead of calling
12109         find_test_ulps.  Don't call print_ulps.
12110         (check_float): Update call to check_float_internal.
12111         (check_complex): Update calls to check_float_internal.
12112         (START): Pass argument to init_max_error.
12113         * math/gen-libm-test.pl (%results): Don't include "kind"
12114         information.
12115         (parse_ulps): Don't handle ulps of individual tests.
12116         (print_ulps_file): Likewise.
12117         (output_ulps): Likewise.
12118         * math/README.libm-test: Update.
12119         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12120         individual tests.
12121         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12122         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12123         * sysdeps/arm/libm-test-ulps: Likewise.
12124         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12125         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12126         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12127         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12128         * sysdeps/microblaze/libm-test-ulps: Likewise.
12129         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12130         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12131         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12132         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12133         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12134         * sysdeps/sh/libm-test-ulps: Likewise.
12135         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12136         * sysdeps/tile/libm-test-ulps: Likewise.
12137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12139 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
12141         * math/libm-test.inc (print_complex_max_error): Check separately
12142         whether real and imaginary errors are within allowed range and
12143         pass 0 to print_complex_function_ulps instead of value within
12144         allowed range.
12146 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12148         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12149         formatting.
12150         (get_handles_fopen): Likewise.
12151         (do_write_test): Likewise.
12153         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12155         * libio/fileops.c (do_ftell): Use cached offset when
12156         available.
12157         * libio/iofwide.c (do_ftell_wide): Likewise.
12158         * libio/iofdopen.c (_IO_new_fdopen): Don't use
12159         _IO_file_attach.
12160         * libio/wfileops.c (_IO_fwide): Don't cache offset.
12162         [BZ #16532]
12163         * libio/libioP.h (get_file_offset): New function.
12164         * libio/fileops.c (get_file_offset): Likewise.
12165         (do_ftell): Likewise.
12166         (_IO_new_file_seekoff): Split out ftell logic.
12167         * libio/wfileops.c (do_ftell_wide): Likewise.
12168         (_IO_wfile_seekoff): Split out ftell logic.
12169         * libio/tst-ftell-active-handler.c: New test case.
12170         * libio/Makefile (tests): Add it.
12172 2014-03-03  Roland McGrath  <roland@hack.frob.com>
12174         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12175         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12177 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12179         [BZ #16639]
12180         * nscd/connections.c (nscd_init): Call do_exit.
12181         (start_threads): Call do_exit and notify_parent.
12182         (begin_drop_privileges): Call do_exit.
12183         (finish_drop_privileges): Likewise.
12184         * nscd/selinux.c (preserve_capabilities): Likewise.
12185         (install_real_capabilities): Likewise.
12186         (nscd_selinux_enabled): Likewise.
12187         (avc_create_thread): Likewise.
12188         (avc_alloc_lock): Likewise.
12189         (nscd_avc_init): Likewise.
12190         * nscd/nscd.c (parent_fd): New static variable.
12191         (main): Create a pipe between parent and child processes.
12192         Skip closing parent_fd.
12193         (monitor_child): New function.
12194         (do_exit): Likewise.
12195         (notify_parent): Likewise.
12196         * nscd/nscd.h (notify_parent): Likewise.
12197         (do_exit): Likewise.
12199 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
12201         * malloc/malloc.c (__libc_calloc): Revert last change.
12203 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12207 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12209         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12211         implementation.
12212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12213         (__libc_ifunc_impl_list): Likewise.
12214         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12215         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12216         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12217         * string/strrchr.c: Define STRRCHR.
12219 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
12221         * benchtest/bench-strtok.c (simple_strtok): Delete.
12222         (strtok_string): Use as benchmark.
12223         * string/strtok (STRTOK): New macro.
12225 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
12227         * manual/threads.texi: Add header and standard comments to all
12228         functions.
12230         * elf/dl-lookup.c (check_match): New function.
12231         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12232         (do_lookup_x): Remove nested function check_match. Use non-nested
12233         function check_match.
12235 2014-02-28  Roland McGrath  <roland@hack.frob.com>
12237         * csu/Makefile (generated, before-compile): Use += rather than =.
12238         * catgets/Makefile (generated, generated-dirs): Likewise.
12239         * debug/Makefile (generated): Likewise.
12240         * dlfcn/Makefile (generated): Likewise.
12241         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12242         * iconvdata/Makefile (before-compile, generated): Likewise.
12243         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12244         * libio/Makefile (generated): Likewise.
12245         * malloc/Makefile (generated): Likewise.
12246         * manual/Makefile (generated, generated-dirs): Likewise.
12247         * misc/Makefile (generated): Likewise.
12248         * posix/Makefile (generated): Likewise.
12249         * resolv/Makefile (generated): Likewise.
12250         * sunrpc/Makefile (generated, generated-dirs): Likewise.
12251         * timezone/Makefile (generated, generated-dirs): Likewise.
12253         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12255 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12258         power8 implementation.
12259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12260         file: POWER8 llround ifunc implementation.
12261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12262         (__lllround): Add POWER8 implementation.
12263         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12264         POWER8 llround implementation.
12266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12267         power8 implementation.
12268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12269         file: POWER8 llrint ifunc implementation.
12270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12271         Add POWER8 implementation.
12272         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12273         POWER8 llrint implementation.
12275         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12276         power8 implementation.
12277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12278         file: POWER8 finite ifunc implementation.
12279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12280         Add POWER8 implementation.
12281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12282         Likewise.
12283         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12284         POWER8 finite implementation.
12285         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12288         power8 implementation.
12289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12290         file: POWER8 isinf ifunc implementation.
12291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12292         POWER8 implementation.
12293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12294         Likewise.
12295         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12296         isinf implementation.
12297         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12299         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12300         (INIT_ARCH): Add hwcap2 initialization.
12301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12302         power8 implementation.
12303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12304         file: POWER8 isnan ifunc implementation.
12305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12306         POWER8 implementation.
12307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12308         Likewise.
12309         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12310         isnan implementation.
12311         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12313 2014-02-27  Joey Ye  <joey.ye@arm.com>
12315         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12316         (_FP_NANFRAC_Q): Set to zero.
12318 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12320         [BZ #16623]
12321         * math/auto-libm-test-in: New test inputs.
12322         * math/auto-libm-test-out: Regenerate.
12323         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12324         and DA.
12325         (__cos): Likewise.
12326         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12328 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
12330         * scripts/evaluate-test.sh: Take new argument indicating whether
12331         failure is expected.
12332         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12333         indicating whether failure is expected.
12334         * conform/Makefile (test-xfail-run-conformtest): New variable.
12335         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12336         level.
12337         * posix/Makefile (test-xfail-annexc): New variable.
12338         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12340 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
12342         * argp/Makefile: Include Makeconfig immediately after defining
12343         subdir.
12344         * assert/Makefile: Likewise.
12345         * benchtests/Makefile: Likewise.
12346         * catgets/Makefile: Likewise.
12347         * conform/Makefile: Likewise.
12348         * crypt/Makefile: Likewise.
12349         * csu/Makefile: Likewise.
12350         (all): Remove target.
12351         * ctype/Makefile: Include Makeconfig immediately after defining
12352         subdir.
12353         * debug/Makefile: Likewise.
12354         * dirent/Makefile: Likewise.
12355         * dlfcn/Makefile: Likewise.
12356         * gmon/Makefile: Likewise.
12357         * gnulib/Makefile: Likewise.
12358         * grp/Makefile: Likewise.
12359         * gshadow/Makefile: Likewise.
12360         * hesiod/Makefile: Likewise.
12361         * hurd/Makefile: Likewise.
12362         (all): Remove target.
12363         * iconvdata/Makefile: Include Makeconfig immediately after
12364         defining subdir.
12365         * inet/Makefile: Likewise.
12366         * intl/Makefile: Likewise.
12367         * io/Makefile: Likewise.
12368         * libio/Makefile: Likewise.
12369         (all): Remove target.
12370         * locale/Makefile: Include Makeconfig immediately after defining
12371         subdir.
12372         * login/Makefile: Likewise.
12373         * mach/Makefile: Likewise.
12374         (all): Remove target.
12375         * malloc/Makefile: Include Makeconfig immediately after defining
12376         subdir.
12377         (all): Remove target.
12378         * manual/Makefile: Include Makeconfig immediately after defining
12379         subdir.
12380         * math/Makefile: Likewise.
12381         * misc/Makefile: Likewise.
12382         * nis/Makefile: Likewise.
12383         * nss/Makefile: Likewise.
12384         * po/Makefile: Likewise.
12385         (all): Remove target.
12386         * posix/Makefile: Include Makeconfig immediately after defining
12387         subdir.
12388         * pwd/Makefile: Likewise.
12389         * resolv/Makefile: Likewise.
12390         * resource/Makefile: Likewise.
12391         * rt/Makefile: Likewise.
12392         * setjmp/Makefile: Likewise.
12393         * shadow/Makefile: Likewise.
12394         * signal/Makefile: Likewise.
12395         * socket/Makefile: Likewise.
12396         * soft-fp/Makefile: Likewise.
12397         * stdio-common/Makefile: Likewise.
12398         * stdlib/Makefile: Likewise.
12399         * streams/Makefile: Likewise.
12400         * string/Makefile: Likewise.
12401         * sunrpc/Makefile: Likewise.
12402         (all): Remove target.
12403         * sysvipc/Makefile: Include Makeconfig immediately after defining
12404         subdir.
12405         * termios/Makefile: Likewise.
12406         * time/Makefile: Likewise.
12407         * timezone/Makefile: Likewise.
12408         (all): Remove target.
12409         * wcsmbs/Makefile: Include Makeconfig immediately after defining
12410         subdir.
12411         * wctype/Makefile: Likewise.
12413 2014-02-26  Steve Ellcey  <sellcey@mips.com>
12415         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12416         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12417         (libc_feholdexcept_setround_mips): Ditto.
12418         (libc_feholdsetround): New.
12419         (libc_feholdsetroundf): New.
12420         (libc_feholdsetroundl): New.
12421         (libc_feupdateenv_test_mips): New.
12422         (libc_feupdateenv_test): New.
12423         (libc_feupdateenv_testf): New.
12424         (libc_feupdateenv_testl): New.
12425         (libc_feresetround): New.
12426         (libc_feresetroundf): New.
12427         (libc_feresetroundl): New.
12428         (libc_fetestexcept_mips): New.
12429         (libc_fetestexcept): New.
12430         (libc_fetestexceptf): New.
12431         (libc_fetestexceptl): New.
12432         (HAVE_RM_CTX): New.
12433         (libc_feholdexcept_setround_mips_ctx): New.
12434         (libc_feholdexcept_setround_ctx): New.
12435         (libc_feholdexcept_setroundf_ctx): New.
12436         (libc_feholdexcept_setroundl_ctx): New.
12437         (libc_fesetenv_mips_ctx): New.
12438         (libc_fesetenv_ctx): New.
12439         (libc_fesetenv_ctxf): New.
12440         (libc_fesetenv_ctxl): New.
12441         (libc_feupdateenv_mips_ctx): New.
12442         (libc_feupdateenv_ctx): New.
12443         (libc_feupdateenvf_ctx): New.
12444         (libc_feupdateenvl_ctx): New.
12445         (libc_feholdsetround_mips_ctx): New.
12446         (libc_feholdsetround_ctx): New.
12447         (libc_feholdsetroundf_ctx): New.
12448         (libc_feholdsetroundl_ctx): New.
12449         (libc_feresetround_mips_ctx): New.
12450         (libc_feresetround_ctx): New.
12451         (libc_feresetroundf_ctx): New.
12452         (libc_feresetroundl_ctx): New.
12454 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
12456         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12458         * manual/ipc.texi: New file.
12459         * manual/Makefile (chapters): Add ipc.
12460         * manual/job.texi: Add "Inter-Process Communication" to next.
12461         * manual/process.texi: Add "Inter-Process Communication" to prev.
12463 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12467 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
12469         * malloc/malloc.c (__libc_calloc): Simplify implementation.
12471         * manual/arith.texi: Fix spaces after sentences.
12472         * manual/charset.texi: Likewise.
12473         * manual/errno.texi: Likewise.
12474         * manual/install.texi: Likewise.
12475         * manual/llio.texi: Likewise.
12476         * manual/locale.texi: Likewise.
12477         * manual/maint.texi: Likewise.
12478         * manual/math.texi: Likewise.
12479         * manual/memory.texi: Likewise.
12480         * manual/message.texi: Likewise.
12481         * manual/probes.texi: Likewise.
12482         * manual/resource.texi: Likewise.
12483         * manual/signal.texi: Likewise.
12484         * manual/socket.texi: Likewise.
12485         * manual/stdio.texi: Likewise.
12486         * manual/string.texi: Likewise.
12487         * manual/time.texi: Likewise.
12488         * manual/users.texi: Likewise.
12490 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
12492         [BZ #16632]
12493         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12494         _DEFAULT_SOURCE is defined.
12496 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
12497             Carlos O'Donell  <carlos@redhat.com>
12499         [BZ #16613]
12500         * elf/dl-tls.c (_dl_count_modids): New function.
12501         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12502         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12503         audit library and increment generation counter.
12504         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12505         * elf/tst-audit9.c: New file.
12506         * elf/tst-auditmod9a.c: New file.
12507         * elf/tst-auditmod9b.c: New file.
12508         * elf/Makefile: Add rules to build and run tst-audit9.
12510 2014-02-25  Florian Weimer  <fweimer@redhat.com>
12512         [BZ #15347]
12513         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12515 2014-02-25  Will Newton  <will.newton@linaro.org>
12517         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12518         (__longjmp): Restore sp and lr before restoring callee
12519         saved registers.  Add longjmp and longjmp_target
12520         SystemTap probe point.
12521         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12522         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12523         Define to zero to match jmpbuf layout.
12524         * sysdeps/arm/setjmp.S: Include stap-probe.h.
12525         (__sigsetjmp): Save sp and lr before saving callee
12526         saved registers.  Add setjmp SystemTap probe point.
12528 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12530         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12532 2014-02-24  Andreas Schwab  <schwab@suse.de>
12534         [BZ #15804]
12535         * elf/pldd.c (wait_for_ptrace_stop): New function.
12536         (main): Call it after attaching.
12538 2014-02-22  Roland McGrath  <roland@hack.frob.com>
12540         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12541         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12542         Versions files is now verboten.
12543         * hurd/Versions (libc: GLIBC_2.0):
12544         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12545         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12546         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12547         * mach/Versions: Likewise.
12549         * csu/Versions: Remove unused %include.
12550         * resolv/Versions: Likewise.
12552 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
12554         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12555         ($(objpfx)check-local-headers.out): Likewise.
12556         ($(objpfx)begin-end-check.out): Likewise.
12557         * Makerules (check-abi-%.out): Likewise.
12558         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12559         ($(objpfx)test2.cat): Likewise.
12560         ($(objpfx)de/libc.cat): Likewise.
12561         ($(objpfx)test-gencat.out): Likewise.
12562         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12563         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12564         ($(objpfx)noload-mem): Likewise.
12565         ($(objpfx)tst-pathopt.out): Likewise.
12566         ($(objpfx)tst-rtld-load-self.out): Likewise.
12567         ($(objpfx)tst-array1-cmp.out): Likewise.
12568         ($(objpfx)tst-array1-static-cmp.out): Likewise.
12569         ($(objpfx)tst-array2-cmp.out): Likewise.
12570         ($(objpfx)tst-array3-cmp.out): Likewise.
12571         ($(objpfx)tst-array4-cmp.out): Likewise.
12572         ($(objpfx)tst-array5-cmp.out): Likewise.
12573         ($(objpfx)tst-array5-static-cmp.out): Likewise.
12574         ($(objpfx)check-textrel.out): Likewise.
12575         ($(objpfx)check-execstack.out): Likewise.
12576         ($(objpfx)check-localplt.out): Likewise.
12577         ($(objpfx)order2-cmp.out): Likewise.
12578         ($(objpfx)tst-leaks1-mem): Likewise.
12579         ($(objpfx)tst-leaks1-static-mem): Likewise.
12580         ($(objpfx)tst-initorder-cmp.out): Likewise.
12581         ($(objpfx)tst-initorder2-cmp.out): Likewise.
12582         ($(objpfx)tst-unused-dep.out): Likewise.
12583         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12584         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12585         * iconv/Makefile (test-iconvconfig): Likewise.
12586         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12587         ($(objpfx)iconv-test.out): Likewise.
12588         ($(objpfx)tst-tables.out): Likewise.
12589         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12590         ($(objpfx)tst-gettext.out): Likewise.
12591         ($(objpfx)tst-translit.out): Likewise.
12592         ($(objpfx)tst-gettext2.out): Likewise.
12593         ($(objpfx)tst-gettext4.out): Likewise.
12594         ($(objpfx)tst-gettext6.out): Likewise.
12595         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12596         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12597         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12598         ($(objpfx)tst-fopenloc-mem.out): Likewise.
12599         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12600         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12601         * posix/Makefile ($(objpfx)globtest.out): Likewise.
12602         ($(objpfx)wordexp-tst.out): Likewise.
12603         ($(objpfx)annexc.out): Likewise.
12604         ($(objpfx)tst-fnmatch-mem): Likewise.
12605         ($(objpfx)bug-regex2-mem): Likewise.
12606         ($(objpfx)bug-regex14-mem): Likewise.
12607         ($(objpfx)bug-regex21-mem): Likewise.
12608         ($(objpfx)bug-regex31-mem): Likewise.
12609         ($(objpfx)tst-vfork3-mem): Likewise.
12610         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12611         ($(objpfx)tst-pcre-mem): Likewise.
12612         ($(objpfx)tst-boost-mem): Likewise.
12613         ($(objpfx)tst-getconf.out): Likewise.
12614         ($(objpfx)bug-ga2-mem): Likewise.
12615         ($(objpfx)bug-glob2-mem): Likewise.
12616         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12617         ($(objpfx)mtrace-tst-leaks2): Likewise.
12618         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12619         ($(objpfx)tst-printf.out): Likewise.
12620         ($(objpfx)tst-setvbuf1.out): Likewise.
12621         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12622         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12623         ($(objpfx)tst-fmtmsg.out): Likewise.
12624         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12625         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12627         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12628         * bits/sigaction.h [__USE_MISC]: Likewise.
12629         * bits/waitstatus.h: Update #endif comments.
12630         * ctype/ctype.h: Likewise.
12631         * dirent/dirent.h: Likewise.
12632         [__USE_MISC]: Remove redundant conditionals.
12633         * grp/grp.h: Update #endif comments.
12634         [__USE_GNU]: Remove redundant conditionals.
12635         [__USE_MISC]: Likewise.
12636         * inet/netinet/in.h [__USE_GNU]: Likewise.
12637         * io/sys/stat.h [__USE_MISC]: Likewise.
12638         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12639         * libio/bits/stdio.h: Update #endif comments.
12640         [__USE_MISC]: Remove redundant conditionals.
12641         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12642         * libio/stdio.h: Update #endif comments.
12643         [__USE_MISC]: Remove redundant conditionals.
12644         * math/bits/math-finite.h [__USE_MISC]: Likewise.
12645         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12646         * math/math.h: Update #else and #endif comments.
12647         [__USE_MISC]: Remove redundant conditionals.
12648         * misc/sys/uio.h: Update #endif comments.
12649         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12650         * posix/glob.h [__USE_MISC]: Likewise.
12651         * posix/sys/types.h: Update #endif comments.
12652         [__USE_MISC]: Remove redundant conditionals.
12653         * posix/sys/wait.h: Update #endif comments.
12654         [__USE_MISC]: Remove redundant conditionals.
12655         * posix/unistd.h: Update #endif comments.
12656         [__USE_MISC]: Remove redundant conditionals.
12657         * pwd/pwd.h [__USE_GNU]: Likewise.
12658         [__USE_MISC]: Likewise.
12659         * resolv/netdb.h [__USE_GNU]: Likewise.
12660         * signal/signal.h: Update #endif comments.
12661         [__USE_MISC]: Remove redundant conditionals.
12662         * stdlib/stdlib.h: Update #else and #endif comments.
12663         [__USE_MISC]: Remove redundant conditionals.
12664         [__USE_GNU]: Likewise.
12665         * string/bits/string2.h [__USE_MISC]: Likewise.
12666         * string/string.h: Update #endif comments.
12667         [__USE_MISC]: Remove redundant conditionals.
12668         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12669         Likewise.
12670         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12671         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12672         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12673         Likewise.
12674         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12675         Likewise.
12676         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12677         comments.
12678         [__USE_MISC]: Remove redundant conditionals.
12679         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12680         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12681         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12682         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12683         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12684         Likewise.
12685         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12686         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12687         Likewise.
12688         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12689         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12690         Likewise.
12691         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12692         Likewise.
12693         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12694         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12695         Likewise.
12696         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12697         Likewise.
12698         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12699         * sysdeps/x86/bits/string.h: Update #endif comments.
12700         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12701         conditionals.
12702         * time/sys/time.h: Update #endif comments.
12703         * time/time.h: Likewise.
12704         [__USE_MISC]: Remove redundant conditionals.
12706 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
12708         [BZ #16600]
12709         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12711 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
12713         * Versions.def (librt): Add GLIBC_2.17.
12715 2014-02-21  Adam Conrad  <adconrad@0c3.net>
12717         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12718         synonym for _SYS_AUXV_H to allow direct inclusion.
12719         * sysdeps/sparc/bits/hwcap.h: Likewise.
12720         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12721         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12722         * sysdeps/sparc/sysdep.h: Likewise.
12724 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12726         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12728 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12730         * benchtests/bench-strrchr.c: Print length instead of position.
12732 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12734         [BZ #16611]
12735         * sysdeps/unix/sysv/linux/kernel-features.h
12736         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12737         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12738         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12739         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12740         Likewise.
12741         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12742         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12743         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12744         (__ASSUME_SENDMMSG): Define instead of using previous
12745         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12746         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12747         (__ASSUME_SENDMMSG_SYSCALL): Define.
12748         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12749         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12750         Likewise.
12751         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12752         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12753         Likewise.
12754         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12755         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12756         Likewise.
12757         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12758         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12759         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12760         [__ASSUME_SENDMMSG]: Change conditionals to
12761         [__ASSUME_SENDMMSG_SOCKETCALL].
12762         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12763         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12764         Define.
12765         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12766         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12767         Likewise.
12768         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12769         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12770         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12771         [!__ASSUME_SENDMMSG]: Change conditional to
12772         [!__ASSUME_SENDMMSG_SOCKETCALL].
12773         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12774         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12775         Define.
12777         [BZ #16610]
12778         * sysdeps/unix/sysv/linux/kernel-features.h
12779         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12780         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12781         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12782         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12783         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12784         [__i386__ || __sparc__]
12785         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12786         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12787         (__ASSUME_RECVMMSG): Define instead of using previous
12788         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12789         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12790         (__ASSUME_RECVMMSG_SYSCALL): Define.
12791         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12792         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12793         Likewise.
12794         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12795         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12796         Likewise.
12797         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12798         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12799         Likewise.
12800         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12801         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12802         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12803         [__ASSUME_RECVMMSG]: Change condition to
12804         [__ASSUME_RECVMMSG_SOCKETCALL].
12805         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12806         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12807         Define.
12808         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12810         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12811         Likewise.
12812         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12813         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12814         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12815         [!__ASSUME_RECVMMSG]: Change condition to
12816         [!__ASSUME_RECVMMSG_SOCKETCALL].
12817         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12818         (__ASSUME_RECVMMSG_SYSCALL): Define.
12820         [BZ #16609]
12821         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12822         __powerpc__ || __s390__ || __sh__ || __sparc__]
12823         (__ASSUME_SOCKETCALL): Define.
12824         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12825         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12826         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12827         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12828         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12829         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12830         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12831         (__ASSUME_ACCEPT4): Define instead of using previous
12832         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12833         __powerpc__ || __sparc__ || __s390__)] condition.
12834         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12835         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12836         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12837         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12838         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12839         [!__ASSUME_ACCEPT4]: Change condition to
12840         [!__ASSUME_ACCEPT4_SOCKETCALL].
12841         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12842         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12843         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12844         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12845         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12846         __ASSUME_ACCEPT4_SYSCALL.
12847         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12848         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12849         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12850         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12851         __ASSUME_ACCEPT4_SYSCALL.
12852         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12853         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12854         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12855         [__ASSUME_ACCEPT4]: Change condition to
12856         [__ASSUME_ACCEPT4_SOCKETCALL].
12857         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12858         (__ASSUME_SOCKETCALL): Define.
12859         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12861         (__ASSUME_SOCKETCALL): Define.
12862         (__ASSUME_ACCEPT4): Remove.
12863         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12864         Define.
12865         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12866         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12867         Likewise.
12868         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12869         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12871         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12872         macro.
12873         (HWCAP_ARM_LPAE): Likewise.
12874         (HWCAP_ARM_EVTSTRM): Likewise.
12875         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12876         Add vpfd32, lpae and evtstrm.
12877         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12878         Increase to 22.
12880 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12882         * math/auto-libm-test-in: Add tests of clog10.
12883         * math/auto-libm-test-out: Regenerated.
12884         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12885         * sysdeps/i386/fpu/libm-test-ulps: Update.
12886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12888 2014-02-18  Andreas Schwab  <schwab@suse.de>
12890         [BZ #16574]
12891         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12892         Store non-zero if the second buffer was newly allocated.
12893         (send_dg): Likewise.
12894         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12895         to send_vc and send_dg.
12896         (res_nsend): Pass NULL for ansp2_malloced.
12897         * resolv/res_query.c (__libc_res_nquery): Add parameter
12898         answerp2_malloced and pass it down to __libc_res_nsend.
12899         (res_nquery): Pass additional NULL to __libc_res_nquery.
12900         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12901         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12902         second answer buffer if answerp2_malloced was set.
12903         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12904         (__libc_res_nquerydomain): Add parameter
12905         answerp2_malloced and pass it down to __libc_res_nquery.
12906         (res_nquerydomain): Pass additional NULL to
12907         __libc_res_nquerydomain.
12908         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12909         additional NULL to __libc_res_nsend and __libc_res_nquery.
12910         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12911         additional NULL to __libc_res_nsearch.
12912         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12913         parameter of __libc_res_nsearch to check for separately allocated
12914         second buffer.
12915         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12916         __libc_res_nquery.
12917         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12918         additional NULL to __libc_res_nquery.
12919         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12920         __libc_res_nsearch.
12921         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12922         * include/resolv.h: Update prototypes of __libc_res_nquery,
12923         __libc_res_nsearch, __libc_res_nsend.
12925 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
12927         * math/auto-libm-test-in: Add tests of fma.
12928         * math/auto-libm-test-out: Regenerated.
12929         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12930         (fma_towardzero_test_data): Likewise.
12931         (fma_downward_test_data): Likewise.
12932         (fma_upward_test_data): Likewise.
12933         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12934         mpc_mode.
12935         (rounding_modes): Add values for new field.
12936         (func_calc_method): Add value mpfr_fff_f.
12937         (func_calc_desc): Add mpfr_fff_f union field.
12938         (test_function): Add field exact_args.
12939         (FUNC): Add macro argument EXACT_ARGS.
12940         (FUNC_mpfr_f_f): Update call to FUNC.
12941         (FUNC_mpfr_f_f): Likewise.
12942         (FUNC_mpfr_ff_f): Likewise.
12943         (FUNC_mpfr_if_f): Likewise.
12944         (FUNC_mpc_c_f): Likewise.
12945         (FUNC_mpc_c_c): Likewise.
12946         (test_functions): Add fma.  Update calls to FUNC.
12947         (handle_input_arg): Add argument exact_args.
12948         (add_test): Update call to handle_input_arg.
12949         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
12950         (output_for_one_input_case): Update call to calc_generic_results.
12951         Recalculate exact zero results in each rounding mode.
12953         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12954         non-negative before setting low bit.
12955         * math/auto-libm-test-in: Mark one asin test possibly having
12956         spurious underflow.
12957         * math/auto-libm-test-out: Regenerated.
12958         * sysdeps/i386/fpu/libm-test-ulps: Update.
12959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12961 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
12963         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12964         * sysdeps/unix/sysv/linux/microblaze: Move directory from
12965         ports/sysdeps/unix/sysv/linux/microblaze.
12966         * README: Add missing listing for microblaze*-*-linux-gnu.
12968 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
12970         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12971         duplicate code
12973 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
12975         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12976         * sysdeps/unix/sysv/linux/ia64: Move directory from
12977         ports/sysdeps/unix/sysv/linux/ia64.
12978         * README: Update listing for ia64-*-linux-gnu.
12980 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
12981             Joseph Myers  <joseph@codesourcery.com>
12983         * Makeconfig (test-name): New variable.
12984         (evaluate-test): Likewise.
12985         * Makerules (do-test-clean): Remove .test-result files.
12986         (common-mostlyclean): Likewise.
12987         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12988         * scripts/evaluate-test.sh: New file.
12990 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
12992         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12993         separate $(objpfx)tst-fopenloc-cmp.out and
12994         $(objpfx)tst-fopenloc-mem.out targets.
12995         (tests): Update dependencies.
12996         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12997         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12998         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12999         (tst-rxspencer-no-utf8-ARGS): New variable.
13000         (tst-rxspencer-no-utf8-ENV): Likewise.
13001         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13002         instead of $(objpfx)tst-rxspencer-mem.
13003         ($(objpfx)tst-rxspencer-mem): Change target to
13004         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
13005         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13006         * posix/tst-rxspencer-no-utf8.c: New file.
13008         * elf/Makefile ($(objpfx)order.out): Remove rule.
13009         [$(run-built-tests) = yes] (tests): Depend on
13010         $(objpfx)order-cmp.out.
13011         ($(objpfx)order-cmp.out): New rule.
13012         [$(run-built-tests) = yes] (tests): Depend on
13013         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13014         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13015         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13016         $(objpfx)tst-array5-static-cmp.out.
13017         ($(objpfx)tst-array1.out): Remove rule.
13018         ($(objpfx)tst-array1-cmp.out): New rule.
13019         ($(objpfx)tst-array1-static.out): Remove rule.
13020         ($(objpfx)tst-array1-static-cmp.out): New rule.
13021         ($(objpfx)tst-array2.out): Remove rule.
13022         ($(objpfx)tst-array2-cmp.out): New rule.
13023         ($(objpfx)tst-array3.out): Remove rule.
13024         ($(objpfx)tst-array3-cmp.out): New rule.
13025         ($(objpfx)tst-array4.out): Remove rule.
13026         ($(objpfx)tst-array4-cmp.out): New rule.
13027         ($(objpfx)tst-array5.out): Remove rule.
13028         ($(objpfx)tst-array5-cmp.out): New rule.
13029         ($(objpfx)tst-array5-static.out): Remove rule.
13030         ($(objpfx)tst-array5-static-cmp.out): New rule.
13031         [$(run-built-tests) = yes] (tests): Depend on
13032         $(objpfx)order2-cmp.out.
13033         ($(objpfx)order2.out): Remove rule.
13034         ($(objpfx)order2-cmp.out): New rule.
13035         ($(objpfx)tst-initorder.out): Remove rule.
13036         [$(run-built-tests) = yes] (tests): Depend on
13037         $(objpfx)tst-initorder-cmp.out.
13038         ($(objpfx)tst-initorder-cmp.out): New rule.
13039         ($(objpfx)tst-initorder2.out): Remove rule.
13040         [$(run-built-tests) = yes] (tests): Depend on
13041         $(objpfx)tst-initorder2-cmp.out.
13042         ($(objpfx)tst-initorder2-cmp.out): New rule.
13043         [$(run-built-tests) = yes] (tests): Depend on
13044         $(objpfx)tst-unused-dep-cmp.out.
13045         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13046         ($(objpfx)tst-unused-dep-cmp.out): New rule.
13047         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13048         on $(objpfx)tst-setvbuf1-cmp.out.
13049         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13050         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13051         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13052         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13053         ($(objpfx)tst-svc.out): Remove rule.
13054         ($(objpfx)tst-svc-cmp.out): New rule.
13056 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
13058         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13059         * ctype/ctype.h [__USE_MISC]: Likewise.
13060         * dirent/dirent.h [__USE_MISC]: Likewise.
13061         * grp/grp.h [__USE_MISC]: Likewise.
13062         * io/fcntl.h [__USE_MISC]: Likewise.
13063         * io/sys/stat.h [__USE_MISC]: Likewise.
13064         * libio/stdio.h [__USE_MISC]: Likewise.
13065         * posix/unistd.h [__USE_MISC]: Likewise.
13066         * pwd/pwd.h [__USE_MISC]: Likewise.
13067         * stdlib.h [__USE_MISC]: Likewise.
13068         * string/bits/string2.h [__USE_MISC]: Likewise.
13069         * string/string.h [__USE_MISC]: Likewise.
13070         * time/time.h [__USE_MISC]: Likewise.
13072 2014-02-13  Andreas Schwab  <schwab@suse.de>
13074         [BZ #16574]
13075         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13076         second answer buffer if it was separately allocated.
13078 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
13080         * sysdeps/mips/math-tests.h: Include <features.h>.
13081         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13082         (ROUNDING_TESTS_long_double): Do not define.
13083         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13084         (EXCEPTION_TESTS_long_double): Likewise.
13085         * sysdeps/mips/mips64/libm-test-ulps: Update.
13087         * include/features.h (__USE_BSD): Remove macro definitions.
13088         (__USE_SVID): Likewise.
13089         (_BSD_SOURCE): Likewise.
13090         (_SVID_SOURCE): Likewise.
13091         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13092         from definition of _DEFAULT_SOURCE.
13093         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13094         [_DEFAULT_SOURCE].
13095         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13096         * bits/mman.h [__USE_BSD]: Likewise.
13097         * bits/termios.h [__USE_BSD]: Likewise.
13098         * bits/waitstatus.h [__USE_BSD]: Likewise.
13099         * ctype/ctype.h [__USE_SVID]: Likewise.
13100         * dirent/dirent.h [__USE_BSD]: Likewise.
13101         * grp/grp.h [__USE_SVID]: Likewise.
13102         [__USE_BSD]: Likewise.
13103         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13104         * io/fcntl.h [__USE_BSD]: Likewise.
13105         * io/ftw.h [__USE_BSD]: Likewise.
13106         * io/sys/stat.h [__USE_BSD]: Likewise.
13107         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13108         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13109         * libio/stdio.h [__USE_SVID]: Likewise.
13110         [__USE_BSD]: Likewise.
13111         * math/math.h [__USE_SVID]: Likewise.
13112         [__USE_BSD]: Likewise.
13113         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13114         * misc/bits/syslog.h [__USE_BSD]: Likewise.
13115         * misc/search.h [__USE_SVID]: Likewise.
13116         * misc/sys/mman.h [__USE_BSD]: Likewise.
13117         * misc/sys/syslog.h [__USE_BSD]: Likewise.
13118         * misc/sys/uio.h [__USE_BSD]: Likewise.
13119         * posix/bits/unistd.h [__USE_BSD]: Likewise.
13120         * posix/glob.h [__USE_BSD]: Likewise.
13121         * posix/regex.h [__USE_BSD]: Likewise.
13122         * posix/sys/types.h [__USE_BSD]: Likewise.
13123         [__USE_SVID]: Likewise.
13124         * posix/sys/utsname.h [__USE_SVID]: Likewise.
13125         * posix/sys/wait.h [__USE_BSD]: Likewise.
13126         [__USE_SVID]: Likewise.
13127         * posix/unistd.h [__USE_BSD]: Likewise.
13128         [__USE_SVID]: Likewise.
13129         * pwd/pwd.h [__USE_SVID]: Likewise.
13130         * resolv/netdb.h [__USE_BSD]: Likewise.
13131         * setjmp/setjmp.h [__USE_BSD]: Likewise.
13132         * signal/signal.h [__USE_BSD]: Likewise.
13133         [__USE_SVID]: Likewise.
13134         * socket/sys/socket.h [__USE_BSD]: Likewise.
13135         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13136         * stdlib/stdlib.h [__USE_BSD]: Likewise.
13137         [__USE_SVID]: Likewise.
13138         * string/bits/string2.h [__USE_BSD]: Likewise.
13139         [__USE_SVID]: Likewise.
13140         * string/bits/string3.h [__USE_BSD]: Likewise.
13141         * string/endian.h [__USE_BSD]: Likewise.
13142         * string/string.h [__USE_SVID]: Likewise.
13143         [__USE_BSD]: Likewise.
13144         * string/strings.h [__USE_BSD]: Likewise.
13145         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13146         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13147         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13148         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13149         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13150         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13151         Likewise.
13152         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13153         Likewise.
13154         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13155         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13156         Likewise.
13157         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13158         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13159         Likewise.
13160         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13161         Likewise.
13162         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13163         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13164         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13165         Likewise.
13166         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13167         Likewise.
13168         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13169         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13170         * termios/termios.h [__USE_BSD]: Likewise.
13171         * time/sys/time.h [__USE_BSD]: Likewise.
13172         * time/time.h [__USE_BSD]: Likewise.
13173         [__USE_SVID]: Likewise.
13175         * Makefile (subdir_targets): Remove subdir_lint.out.
13177         * stdio-common/Makefile (do-tst-unbputc): Remove target.
13178         (do-tst-printf): Likewise.
13179         (tests): Depend directly on $(objpfx)tst-unbputc.out and
13180         $(objpfx)tst-printf.out.
13182         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13184         * Makerules (check-abi-%): Change target to
13185         $(objpfx)check-abi-%.out.
13186         (check-abi target): Update dependencies.
13187         (check-abi-pattern variable): Redirect output of diff to $@.
13188         (check-abi variable): Likewise.
13189         * elf/Makefile (check-abi): Update dependencies.
13191         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13192         unused.
13193         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13194         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13195         subnormal range.
13196         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13197         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13198         value has largest subnormal exponent.
13199         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13200         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13201         * sysdeps/aarch64/soft-fp/sfp-machine.h
13202         (_FP_TININESS_AFTER_ROUNDING): New macro.
13203         * sysdeps/alpha/soft-fp/sfp-machine.h
13204         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13205         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13206         Likewise.
13207         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13208         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13209         * sysdeps/mips/soft-fp/sfp-machine.h
13210         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13211         * sysdeps/powerpc/soft-fp/sfp-machine.h
13212         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13213         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13214         Likewise.
13215         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13216         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13217         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13218         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13219         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13220         Likewise.
13222 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
13224         [BZ #16545]
13225         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13226         model 1.
13228 2014-02-12  Richard Henderson  <rth@redhat.com>
13230         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13231         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13232         * sysdeps/unix/sysv/linux/alpha: Move directory from
13233         ports/sysdeps/unix/sysv/linux/alpha.
13234         * README: Update listing for alpha-*-linux-gnu.
13236 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
13238         * include/features.h: Update comment documenting feature test
13239         macros.
13240         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
13241         _DEFAULT_SOURCE.
13242         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13243         (_SVID_SOURCE): Likewise.
13244         (_DEFAULT_SOURCE): Update description of default features.
13245         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13246         with _GNU_SOURCE.
13247         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13248         (S_ISVTX): Likewise.
13249         * manual/math.texi (Mathematical Constants): Likewise.
13250         * manual/signal.texi (Interrupted Primitives): Likewise.
13251         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13252         * math/test-matherr.c (_SVID_SOURCE): Do not define.
13253         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13254         Don't refer to _SVID_SOURCE in warning text.
13256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13258         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13259         already defined.
13260         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13261         * sysdeps/mips/dl-lookup.c: Remove.
13262         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13264 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13266         [BZ #16447]
13267         * math/auto-libm-test-in: Add testcase for expl.
13268         * math/auto-libm-test-out: Regenerate.
13269         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13270         calculation of unsafe.
13271         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13273 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13275         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13276         * sysdeps/unix/sysv/linux/aarch64: Move directory from
13277         ports/sysdeps/unix/sysv/linux/aarch64.
13278         * README: Update listing for aarch64*-*-linux-gnu.
13280 2014-02-11  Will Newton  <will.newton@linaro.org>
13282         * manual/probes.texi (Mathematical Function Probes): Use
13283         "triggered" instead of "hit".
13285         * manual/probes.texi (Internal Probes): Add documentation
13286         of setjmp, longjmp and longjmp_target probes.
13288         * include/stap-probe.h: Add comment about probe argument
13289         format.
13291         * malloc/mtrace.c (attribute_hidden): Remove unused macro
13292         definition.  (tr_where, tr_freehook, tr_mallochook,
13293         tr_reallochook, tr_memalignhook): Use ANSI protoype.
13295 2014-02-11  David S. Miller  <davem@davemloft.net>
13297         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13298         processing int_tests.
13300 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
13302         * sysdeps/mips: Move directory from ports/sysdeps/mips.
13303         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13304         * sysdeps/unix/sysv/linux/mips: Move directory from
13305         ports/sysdeps/unix/sysv/linux/mips.
13306         * README: Update listing for mips-*-linux-gnu and
13307         mips64-*-linux-gnu.
13309 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
13311         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13312         * sysdeps/unix/sysv/linux/m68k: Move directory from
13313         ports/sysdeps/unix/sysv/linux/m68k.
13314         * README: Update listing for m68k-*-linux-gnu.
13316 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
13318         * sysdeps/tile: Move directory from ports/sysdeps/tile.
13319         * sysdeps/unix/sysv/linux/generic: Move directory from
13320         ports/sysdeps/unix/sysv/linux/generic.
13321         * sysdeps/unix/sysv/linux/tile: Move directory from
13322         ports/sysdeps/unix/sysv/linux/tile.
13323         * README: Update listing for tile*-*-linux-gnu.
13325 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
13327         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13328         __builtin_expect.
13329         * benchtests/bench-memmem.c (simple_memmem): Likewise.
13330         * catgets/open_catalog.c (__open_catalog): Likewise.
13331         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13332         * debug/confstr_chk.c: Likewise.
13333         * debug/fread_chk.c (__fread_chk): Likewise.
13334         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13335         * debug/getgroups_chk.c: Likewise.
13336         * debug/mbsnrtowcs_chk.c: Likewise.
13337         * debug/mbsrtowcs_chk.c: Likewise.
13338         * debug/mbstowcs_chk.c: Likewise.
13339         * debug/memcpy_chk.c: Likewise.
13340         * debug/memmove_chk.c: Likewise.
13341         * debug/mempcpy_chk.c: Likewise.
13342         * debug/memset_chk.c: Likewise.
13343         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13344         * debug/strcat_chk.c (__strcat_chk): Likewise.
13345         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13346         * debug/strncat_chk.c (__strncat_chk): Likewise.
13347         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13348         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13349         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13350         * debug/wcpncpy_chk.c: Likewise.
13351         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13352         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13353         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13354         * debug/wcsncpy_chk.c: Likewise.
13355         * debug/wcsnrtombs_chk.c: Likewise.
13356         * debug/wcsrtombs_chk.c: Likewise.
13357         * debug/wcstombs_chk.c: Likewise.
13358         * debug/wmemcpy_chk.c: Likewise.
13359         * debug/wmemmove_chk.c: Likewise.
13360         * debug/wmempcpy_chk.c: Likewise.
13361         * debug/wmemset_chk.c: Likewise.
13362         * dirent/scandirat.c (SCANDIRAT): Likewise.
13363         * dlfcn/dladdr1.c (dladdr1): Likewise.
13364         * dlfcn/dladdr.c (dladdr): Likewise.
13365         * dlfcn/dlclose.c (dlclose_doit): Likewise.
13366         * dlfcn/dlerror.c (__dlerror): Likewise.
13367         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13368         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13369         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13370         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13371         * dlfcn/dlsym.c (dlsym_doit): Likewise.
13372         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13373         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13374         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13375         Likewise.
13376         * elf/dl-conflict.c: Likewise.
13377         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13378         * elf/dl-dst.h: Likewise.
13379         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13380         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13381         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13382         * elf/dl-init.c (call_init, _dl_init): Likewise.
13383         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13384         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13385         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13386         Likewise.
13387         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13388         Likewise.
13389         * elf/dl-minimal.c (__libc_memalign): Likewise.
13390         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13391         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13392         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13393         * elf/dl-sym.c (do_sym): Likewise.
13394         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13395         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13396         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13397         * elf/dl-writev.h (_dl_writev): Likewise.
13398         * elf/ldconfig.c (search_dir): Likewise.
13399         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13400         (dl_main): Likewise.
13401         * elf/setup-vdso.h (setup_vdso): Likewise.
13402         * grp/compat-initgroups.c (compat_call): Likewise.
13403         * grp/fgetgrent.c (fgetgrent): Likewise.
13404         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13405         * grp/putgrent.c (putgrent): Likewise.
13406         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13407         Likewise.
13408         * hurd/hurdinit.c: Likewise.
13409         * iconvdata/8bit-gap.c (struct): Likewise.
13410         * iconvdata/ansi_x3.110.c : Likewise.
13411         * iconvdata/big5.c : Likewise.
13412         * iconvdata/big5hkscs.c : Likewise.
13413         * iconvdata/cp1255.c: Likewise.
13414         * iconvdata/cp1258.c : Likewise.
13415         * iconvdata/cp932.c : Likewise.
13416         * iconvdata/euc-cn.c: Likewise.
13417         * iconvdata/euc-jisx0213.c : Likewise.
13418         * iconvdata/euc-jp.c: Likewise.
13419         * iconvdata/euc-jp-ms.c : Likewise.
13420         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13421         * iconvdata/gb18030.c : Likewise.
13422         * iconvdata/gbbig5.c (const): Likewise.
13423         * iconvdata/gbgbk.c: Likewise.
13424         * iconvdata/gbk.c : Likewise.
13425         * iconvdata/ibm1364.c : Likewise.
13426         * iconvdata/ibm930.c : Likewise.
13427         * iconvdata/ibm932.c: Likewise.
13428         * iconvdata/ibm933.c : Likewise.
13429         * iconvdata/ibm935.c : Likewise.
13430         * iconvdata/ibm937.c : Likewise.
13431         * iconvdata/ibm939.c : Likewise.
13432         * iconvdata/ibm943.c: Likewise.
13433         * iconvdata/iso_11548-1.c: Likewise.
13434         * iconvdata/iso-2022-cn.c : Likewise.
13435         * iconvdata/iso-2022-cn-ext.c : Likewise.
13436         * iconvdata/iso-2022-jp-3.c: Likewise.
13437         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13438         * iconvdata/iso-2022-kr.c : Likewise.
13439         * iconvdata/iso646.c (gconv_end): Likewise.
13440         * iconvdata/iso_6937-2.c : Likewise.
13441         * iconvdata/iso_6937.c : Likewise.
13442         * iconvdata/iso8859-1.c: Likewise.
13443         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13444         * iconvdata/shift_jisx0213.c : Likewise.
13445         * iconvdata/sjis.c : Likewise.
13446         * iconvdata/t.61.c : Likewise.
13447         * iconvdata/tcvn5712-1.c : Likewise.
13448         * iconvdata/tscii.c: Likewise.
13449         * iconvdata/uhc.c : Likewise.
13450         * iconvdata/unicode.c (gconv_end): Likewise.
13451         * iconvdata/utf-16.c (gconv_end): Likewise.
13452         * iconvdata/utf-32.c (gconv_end): Likewise.
13453         * iconvdata/utf-7.c (base64): Likewise.
13454         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13455         * iconv/gconv_close.c (__gconv_close): Likewise.
13456         * iconv/gconv_open.c (__gconv_open): Likewise.
13457         * iconv/gconv_simple.c (internal_ucs4_loop_single)
13458         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13459         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13460         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13461         (ucs4le_internal_loop_single): Likewise.
13462         * iconv/iconv.c (iconv): Likewise.
13463         * iconv/iconv_close.c: Likewise.
13464         * iconv/loop.c (SINGLE): Likewise.
13465         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13466         * include/atomic.h: Likewise.
13467         * inet/inet6_option.c (option_alloc): Likewise.
13468         * intl/bindtextdom.c (set_binding_values): Likewise.
13469         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13470         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13471         * intl/localealias.c (read_alias_file): Likewise.
13472         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13473         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13474         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13475         * libio/fmemopen.c (fmemopen): Likewise.
13476         * libio/iofgets.c (_IO_fgets): Likewise.
13477         * libio/iofgets_u.c (fgets_unlocked): Likewise.
13478         * libio/iofgetws.c (fgetws): Likewise.
13479         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13480         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13481         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13482         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13483         * locale/findlocale.c (_nl_find_locale): Likewise.
13484         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13485         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13486         Likewise.
13487         * locale/setlocale.c (setlocale): Likewise.
13488         * login/programs/pt_chown.c (main): Likewise.
13489         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13490         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13491         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13492         (mmap, mmap64, mremap, munmap): Likewise.
13493         * math/e_exp2l.c: Likewise.
13494         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13495         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13496         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13497         * math/s_catan.c (__catan): Likewise.
13498         * math/s_catanf.c (__catanf): Likewise.
13499         * math/s_catanh.c (__catanh): Likewise.
13500         * math/s_catanhf.c (__catanhf): Likewise.
13501         * math/s_catanhl.c (__catanhl): Likewise.
13502         * math/s_catanl.c (__catanl): Likewise.
13503         * math/s_ccosh.c (__ccosh): Likewise.
13504         * math/s_ccoshf.c (__ccoshf): Likewise.
13505         * math/s_ccoshl.c (__ccoshl): Likewise.
13506         * math/s_cexp.c (__cexp): Likewise.
13507         * math/s_cexpf.c (__cexpf): Likewise.
13508         * math/s_cexpl.c (__cexpl): Likewise.
13509         * math/s_clog10.c (__clog10): Likewise.
13510         * math/s_clog10f.c (__clog10f): Likewise.
13511         * math/s_clog10l.c (__clog10l): Likewise.
13512         * math/s_clog.c (__clog): Likewise.
13513         * math/s_clogf.c (__clogf): Likewise.
13514         * math/s_clogl.c (__clogl): Likewise.
13515         * math/s_csin.c (__csin): Likewise.
13516         * math/s_csinf.c (__csinf): Likewise.
13517         * math/s_csinh.c (__csinh): Likewise.
13518         * math/s_csinhf.c (__csinhf): Likewise.
13519         * math/s_csinhl.c (__csinhl): Likewise.
13520         * math/s_csinl.c (__csinl): Likewise.
13521         * math/s_csqrt.c (__csqrt): Likewise.
13522         * math/s_csqrtf.c (__csqrtf): Likewise.
13523         * math/s_csqrtl.c (__csqrtl): Likewise.
13524         * math/s_ctan.c (__ctan): Likewise.
13525         * math/s_ctanf.c (__ctanf): Likewise.
13526         * math/s_ctanh.c (__ctanh): Likewise.
13527         * math/s_ctanhf.c (__ctanhf): Likewise.
13528         * math/s_ctanhl.c (__ctanhl): Likewise.
13529         * math/s_ctanl.c (__ctanl): Likewise.
13530         * math/w_pow.c: Likewise.
13531         * math/w_powf.c: Likewise.
13532         * math/w_powl.c: Likewise.
13533         * math/w_scalb.c (sysv_scalb): Likewise.
13534         * math/w_scalbf.c (sysv_scalbf): Likewise.
13535         * math/w_scalbl.c (sysv_scalbl): Likewise.
13536         * misc/error.c (error_tail): Likewise.
13537         * misc/pselect.c (__pselect): Likewise.
13538         * nis/nis_callback.c (__nis_create_callback): Likewise.
13539         * nis/nis_call.c (__nisfind_server): Likewise.
13540         * nis/nis_creategroup.c (nis_creategroup): Likewise.
13541         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13542         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13543         * nis/nis_getservlist.c (nis_getservlist): Likewise.
13544         * nis/nis_lookup.c (nis_lookup): Likewise.
13545         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13546         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13547         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13548         * nis/nis_xdr.c (xdr_endpoint): Likewise.
13549         * nis/nss_compat/compat-grp.c (getgrent_next_file)
13550         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13551         * nis/nss_compat/compat-initgroups.c (add_group)
13552         (internal_getgrent_r): Likewise.
13553         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13554         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13555         * nis/nss_compat/compat-spwd.c (getspent_next_file)
13556         (internal_getspnam_r): Likewise.
13557         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13558         (_nss_nis_getaliasbyname_r): Likewise.
13559         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13560         (_nss_nis_getntohost_r): Likewise.
13561         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13562         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13563         (_nss_nis_getgrgid_r): Likewise.
13564         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13565         (internal_nis_gethostent_r, internal_gethostbyname2_r)
13566         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13567         (_nss_nis_gethostbyname4_r): Likewise.
13568         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13569         (initgroups_netid): Likewise.
13570         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13571         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13572         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13573         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13574         (_nss_nis_getprotobynumber_r): Likewise.
13575         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13576         (_nss_nis_getsecretkey): Likewise.
13577         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13578         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13579         (_nss_nis_getpwuid_r): Likewise.
13580         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13581         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13582         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13583         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13584         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13585         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13586         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13587         Likewise.
13588         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13589         (_nss_nisplus_getntohost_r): Likewise.
13590         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13591         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13592         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13593         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13594         Likewise.
13595         * nis/nss_nisplus/nisplus-initgroups.c
13596         (_nss_nisplus_initgroups_dyn): Likewise.
13597         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13598         (_nss_nisplus_getnetbyaddr_r): Likewise.
13599         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13600         (_nss_nisplus_getprotobynumber_r): Likewise.
13601         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13602         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13603         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13604         Likewise.
13605         * nis/nss_nisplus/nisplus-service.c
13606         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13607         (_nss_nisplus_getservbyport_r): Likewise.
13608         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13609         (_nss_nisplus_getspnam_r): Likewise.
13610         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13611         Likewise.
13612         * nscd/aicache.c (addhstaiX): Likewise.
13613         * nscd/cache.c (cache_search, prune_cache): Likewise.
13614         * nscd/connections.c (register_traced_file, send_ro_fd)
13615         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13616         (main_loop_epoll): Likewise.
13617         * nscd/grpcache.c (addgrbyX): Likewise.
13618         * nscd/hstcache.c (addhstbyX): Likewise.
13619         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13620         * nscd/mem.c (gc, mempool_alloc): Likewise.
13621         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13622         (addinnetgrX): Likewise.
13623         * nscd/nscd-client.h (__nscd_acquire_maplock)
13624         (__nscd_drop_map_ref): Likewise.
13625         * nscd/nscd_getai.c (__nscd_getai): Likewise.
13626         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13627         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13628         Likewise.
13629         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13630         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13631         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13632         (__nscd_get_map_ref): Likewise.
13633         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13634         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13635         Likewise.
13636         * nscd/pwdcache.c (addpwbyX): Likewise.
13637         * nscd/selinux.c (preserve_capabilities): Likewise.
13638         * nscd/servicescache.c (addservbyX): Likewise.
13639         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13640         * posix/fnmatch.c (fnmatch): Likewise.
13641         * posix/getopt.c (_getopt_internal_r): Likewise.
13642         * posix/glob.c (glob, glob_in_dir): Likewise.
13643         * posix/wordexp.c (exec_comm_child): Likewise.
13644         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13645         (getanswer_r, gaih_getanswer_slice): Likewise.
13646         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13647         * resolv/res_init.c: Likewise.
13648         * resolv/res_mkquery.c (res_nmkquery): Likewise.
13649         * resolv/res_query.c (__libc_res_nquery): Likewise.
13650         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13651         Likewise.
13652         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13653         * stdio-common/perror.c (perror): Likewise.
13654         * stdio-common/printf_fp.c (___printf_fp): Likewise.
13655         * stdio-common/tmpnam.c (tmpnam): Likewise.
13656         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13657         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13658         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13659         Likewise.
13660         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13661         * stdlib/putenv.c (putenv): Likewise.
13662         * stdlib/setenv.c (__add_to_environ): Likewise.
13663         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13664         * stdlib/strtol_l.c (INTERNAL): Likewise.
13665         * string/memmem.c (memmem): Likewise.
13666         * string/strerror.c (strerror): Likewise.
13667         * string/strnlen.c (__strnlen): Likewise.
13668         * string/test-memmem.c (simple_memmem): Likewise.
13669         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13670         * sunrpc/pm_getport.c (__get_socket): Likewise.
13671         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13672         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13673         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13674         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13675         Likewise.
13676         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13677         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13678         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13679         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13680         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13681         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13682         Likewise.
13683         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13684         Likewise.
13685         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13686         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13687         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13688         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13689         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13691         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13692         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13693         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13694         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13695         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13696         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13697         Likewise.
13698         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13699         Likewise.
13700         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13701         Likewise.
13702         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13703         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13704         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13705         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13706         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13707         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13708         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13709         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13711         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13712         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13713         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13714         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13715         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13716         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13717         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13718         Likewise.
13719         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13720         Likewise.
13721         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13722         Likewise.
13723         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13724         Likewise.
13725         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13726         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13727         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13728         Likewise.
13729         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13730         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13731         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13732         * sysdeps/posix/sleep.c: Likewise.
13733         * sysdeps/posix/tempname.c: Likewise.
13734         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13735         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13736         Likewise.
13737         * sysdeps/powerpc/powerpc32/dl-machine.h
13738         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13739         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13740         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13741         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13742         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13743         Likewise.
13744         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13745         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13746         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13747         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13748         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13749         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13750         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13751         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13752         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13753         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13754         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13755         (elf_machine_lazy_rel): Likewise.
13756         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13757         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13758         (elf_machine_lazy_rel): Likewise.
13759         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13760         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13761         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13762         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13763         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13764         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13765         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13766         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13767         Likewise.
13768         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13769         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13770         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13771         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13772         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13773         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13774         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13775         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13776         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13777         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13778         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13779         Likewise.
13780         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13781         (__posix_fallocate64_l64): Likewise.
13782         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13783         (posix_fallocate): Likewise.
13784         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13785         Likewise.
13786         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13787         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13788         (getifaddrs_internal): Likewise.
13789         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13790         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13791         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13792         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13793         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13794         (__posix_fallocate64_l64): Likewise.
13795         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13796         Likewise.
13797         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13798         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13799         (__get_clockfreq): Likewise.
13800         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13801         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13802         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13803         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13804         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13805         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13806         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13807         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13808         Likewise.
13809         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13810         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13811         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13812         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13813         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13814         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13815         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13816         Likewise.
13817         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13818         (posix_fallocate): Likewise.
13819         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13820         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13821         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13822         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13823         (elf_machine_rela, elf_machine_rela_relative)
13824         (elf_machine_lazy_rel): Likewise.
13825         * time/asctime.c (asctime_internal): Likewise.
13826         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13827         * time/tzset.c (__tzset_parse_tz): Likewise.
13828         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13829         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13830         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13831         * wcsmbs/wcsmbsload.h: Likewise.
13833         [BZ #15894]
13834         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13836         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13837         (arena_get2): Remove THREAD_STATS conditionals.
13838         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13839         (__malloc_stats, int): Likewise.
13841 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13843         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13844         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13846         * manual/setjmp.texi: Fix typos/grammar errors.
13848         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13849         Only return early when n is <= 0.  Delete unused return statement.
13851         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13852         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13853         * debug/tst-longjmp_chk3.c: New file.
13855         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13856         (test_main): Replace code with set_fortify_handler call.
13857         * debug/test-strcpy_chk.c: Likewise.
13858         * debug/tst-chk1.c: Likewise.
13859         * debug/tst-longjmp_chk.c: Likewise.
13860         * test-skeleton.c: Include fcntl.h & paths.h
13861         (set_fortify_handler): Define.
13863         * debug/tst-longjmp_chk.c: Add header comment and include
13864         ../test-skeleton.c.
13865         (do_test): Mark static.
13866         (TEST_FUNCTION): Define.
13868         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13869         (IP_PMTUDISC_INTERFACE): Likewise.
13870         (IP_MULTICAST_IF): Likewise.
13871         (IP_MULTICAST_TTL): Likewise.
13872         (IP_MULTICAST_LOOP): Likewise.
13873         (IP_ADD_MEMBERSHIP): Likewise.
13874         (IP_DROP_MEMBERSHIP): Likewise.
13875         (IP_UNBLOCK_SOURCE): Likewise.
13876         (IP_BLOCK_SOURCE): Likewise.
13877         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13878         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13879         (IP_MSFILTER): Likewise.
13880         (MCAST_JOIN_GROUP): Likewise.
13881         (MCAST_BLOCK_SOURCE): Likewise.
13882         (MCAST_UNBLOCK_SOURCE): Likewise.
13883         (MCAST_LEAVE_GROUP): Likewise.
13884         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13885         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13886         (MCAST_MSFILTER): Likewise.
13887         (IP_MULTICAST_ALL): Likewise.
13888         (IP_UNICAST_IF): Likewise.
13890         * timezone/Makefile: Delete $(have-ksh) check.
13891         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13892         * timezone/tzselect.ksh: Add +x mode bits.
13894         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13895         (ANON_INODE_FS_MAGIC): Likewise.
13896         (BDEVFS_MAGIC): Likewise.
13897         (BINFMTFS_MAGIC): Likewise.
13898         (BTRFS_TEST_MAGIC): Likewise.
13899         (CRAMFS_MAGIC_WEND): Likewise.
13900         (DEBUGFS_MAGIC): Likewise.
13901         (ECRYPTFS_SUPER_MAGIC): Likewise.
13902         (EXT3_SUPER_MAGIC): Likewise.
13903         (EXT4_SUPER_MAGIC): Likewise.
13904         (FUTEXFS_SUPER_MAGIC): Likewise.
13905         (HOSTFS_SUPER_MAGIC): Likewise.
13906         (HUGETLBFS_MAGIC): Likewise.
13907         (MINIX3_SUPER_MAGIC): Likewise.
13908         (MTD_INODE_FS_MAGIC): Likewise.
13909         (NILFS_SUPER_MAGIC): Likewise.
13910         (OPENPROM_SUPER_MAGIC): Likewise.
13911         (PIPEFS_MAGIC): Likewise.
13912         (PSTOREFS_MAGIC): Likewise.
13913         (QNX6_SUPER_MAGIC): Likewise.
13914         (RAMFS_MAGIC): Likewise.
13915         (REISERFS_SUPER_MAGIC_STRING): Likewise.
13916         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13917         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13918         (SECURITYFS_MAGIC): Likewise.
13919         (SELINUX_MAGIC): Likewise.
13920         (SMACK_MAGIC): Likewise.
13921         (SOCKFS_MAGIC): Likewise.
13922         (SQUASHFS_MAGIC): Likewise.
13923         (STACK_END_MAGIC): Likewise.
13924         (TMPFS_MAGIC): Likewise.
13925         (USBDEVICE_SUPER_MAGIC): Likewise.
13926         (V9FS_MAGIC): Likewise.
13927         (XENFS_SUPER_MAGIC): Likewise.
13928         (CRAMFS_MAGIC): Fix typo in comment.
13929         (EXT2_SUPER_MAGIC): Update comment.
13930         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13932 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
13934         * sysdeps/arm: Move directory from ports/sysdeps/arm.
13935         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13936         * sysdeps/unix/sysv/linux/arm: Move directory from
13937         ports/sysdeps/unix/sysv/linux/arm.
13938         * README: Update listing for arm-*-linux-gnueabi.
13940         * README: Remove mention of am33.
13942 2014-02-07  Roland McGrath  <roland@hack.frob.com>
13944         * bits/sigset.h (__sigemptyset): Use a statement expression rather
13945         than the comma operator, to avoid "rhs of comma has no effect"
13946         compiler warnings.
13947         (__sigfillset, __sigandset, __sigorset): Likewise.
13948         * include/signal.h (__sigemptyset): Likewise.
13949         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13951 2014-02-07  Allan McRae  <allan@archlinux.org>
13953         * version.h (RELEASE): Set to "development".
13954         (VERSION): Set to "2.19.90"
13955         * NEWS: Add 2.20 section.
13957 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
13959         [BZ #16529]
13960         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13962 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13964         * manual/contrib.texi: Update entry for Carlos O'Donell,
13965         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13967 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
13969         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13971         * sysdeps/unix/sysv/linux/kernel-features.h
13972         [__LINUX_KERNEL_VERSION >= 0x020621]
13973         (__ASSUME_PROC_PID_TASK_COMM): Define.
13975 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13977         [BZ #16398]
13978         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13979         conversion when destination buffer does not have enough space.
13980         * libio/tst-ftell-partial-wide.c: New test case.
13981         * libio/Makefile (tests): Add tst-ftell-partial-wide.
13983         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13984         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
13985         Leonard and Allan McRae.
13987 2014-02-04  David S. Miller  <davem@davemloft.net>
13989         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13990         32-bit.
13992 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13995         New file
13996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13997         New file
13998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13999         New file.
14000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14001         New file.
14002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14003         New file.
14004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14005         New file.
14006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14007         New file.
14008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14009         New file.
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14011         New file.
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14013         New file.
14014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14015         New file.
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14017         New file.
14018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14019         New file.
14021 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14023         * nptl/shlib-versions: Change powerpc*le start to 2.17.
14024         * shlib-versions: Likewise.
14026 2014-02-04  Roland McGrath  <roland@hack.frob.com>
14027             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14029         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14030         (abilist-pattern): New variable, set to %-le.abilist.
14032         * Makerules (abilist-pattern): New variable.
14033         (vpath): Use $(abilist-pattern) in place of %.abilist.
14034         (check-abi-% pattern rule): Likewise.
14035         (check-abi, update-abi): Likewise.
14037 2014-02-04  Eric Wong  <normalperson@yhbt.net>
14039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14041 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
14043         * manual/startup.texi: Add next, previous, and top entries for
14044         the `Program Arguments' and `Environment Variables' nodes.
14046 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
14048         * manual/macros.texi: Add comments before MTASC-safety macros.
14050         * manual/users.texi: Document MTASC-safety properties.
14052         * manual/threads.texi (pthread_key_create, pthread_key_delete)
14053         (pthread_getspecific, pthread_setspecific): Format with
14054         @deftypefun, and add @safety note.
14055         * manual/signal.texi: Move comments that analyze the above
14056         functions to their home place.
14058 2014-02-03  Allan McRae  <allan@archlinux.org>
14060         * po/sl.po: Update Slovenian translation from translation project.
14062 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
14064         * manual/time.texi (timegm): Add missing blank after @c.
14065         Reported by Joseph Myers <joseph@codesourcery.com>.
14067 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
14069         * manual/check-safety.sh: New.
14070         * manual/Makefile ($(objpfx)stamp-summary): Run it.
14072         * manual/terminal.texi: Document MTASC-safety properties.
14074         * manual/filesys.texi: Document MTASC-safety properties.
14076         * manual/errno.texi: Document MTASC-safety properties.
14078         * manual/intro.texi: Document safety identifiers and
14079         conditionals.
14081         * manual/string.texi (wcstok): Fix prototype.
14082         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14084         * manual/time.texi: Document MTASC-safety properties.
14086         * manual/string.texi: Document MTASC-safety properties.
14088         * manual/threads.texi: Document MTASC-safety properties.
14090         * manual/stdio.texi: Document MTASC-safety properties.
14092         * manual/syslog.texi: Document MTASC-safety properties.
14094         * manual/sysinfo.texi: Document MTASC-safety properties.
14096         * manual/startup.texi: Document MTASC-safety properties.
14098         * manual/socket.texi: Document MTASC-safety properties.
14100         * manual/signal.texi: Document MTASC-safety properties.
14102 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14104         * manual/setjmp.texi: Document MTASC-safety properties.
14106         * manual/search.texi: Document MTASC-safety properties.
14108         * manual/resource.texi: Document MTASC-safety properties.
14110         * manual/process.texi: Document MTASC-safety properties.
14112         * manual/platform.texi: Document MTASC-safety properties.
14114         * manual/pipe.texi: Document MTASC-safety properties.
14116         * manual/pattern.texi: Document MTASC-safety properties.
14118         * manual/message.texi: Document MTASC-safety properties.
14120         [BZ #12751]
14121         * manual/memory.texi: Document MTASC-safety properties.
14123         * manual/math.texi: Document MTASC-safety properties.
14125         * manual/locale.texi: Document MTASC-safety properties.
14127         * manual/llio.texi: Document MTASC-safety properties.
14129         * manual/libdl.texi: New.
14131         * manual/lang.texi: Document MTASC-safety properties.
14133         * manual/job.texi: Document MTASC-safety properties.
14135         * manual/getopt.texi: Document MTASC-safety properties.
14137         * manual/ctype.texi: Document MTASC-safety properties.
14139 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
14141         [BZ #16046]
14142         * csu/libc-tls.c (static_map): Remove variable.
14143         (__libc_setup_tls): Use main executable's link map for TLS data.
14144         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14145         casing for LM_ID_BASE and GL(dl_nns).
14146         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14147         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
14148         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14149         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14150         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14151         member.
14152         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14153         l_phnum members.
14155 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
14157         * manual/debug.texi: Document MTASC-safety properties.
14159 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
14161         [BZ #16510]
14162         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14163         of __x86_64__ when disabling x87 inline functions.
14165 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
14167         * manual/charset.texi: Document MTASC-safety properties.
14169         * manual/crypt.texi: Document MTASC-safety properties.
14171         * manual/conf.texi: Document MTASC-safety properties.
14173         * manual/arith.texi: Document MTASC-safety properties.
14175         * manual/argp.texi: Document MTASC-safety properties.
14177         * manual/macros.texi: Introduce macros to document multi
14178         thread, asynchronous signal and asynchronous cancellation
14179         safety properties.
14180         * manual/intro.texi: Introduce the properties themselves.
14182 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14184         * sysdeps/sh/sh4/Makefile: New file.
14186 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
14188         * math/gen-libm-test.pl ($srcdir): New variable.
14189         ($auto_input): Use it.
14191 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14193         [BZ #16506]
14194         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14195         access beyond array bounds when parsing netgroups file.
14197         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14198         the old buffer before realloc.
14200 2014-01-27  Allan McRae  <allan@archlinux.org>
14202         * po/fr.po: Update French translation from translation project.
14204 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14206         * sysdeps/sh/libm-test-ulps: Regenerate.
14208 2014-01-24  David S. Miller  <davem@davemloft.net>
14210         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14212 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14214         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14215         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14217 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14219         [BZ #16474]
14220         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14221         string pointers after reallocation.
14223 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14225         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14226         __SH4A__ instead of __SH_FPU_ANY__.
14228 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14230         * sysdeps/sh/fpu_control.h: New file.
14231         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14232         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14233         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14234         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14235         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14236         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14237         * sysdeps/sh/sys/ucontext.h: Remove.
14238         * sysdeps/sh/sys: Remove directory.
14240 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14242         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14243         s390/sys/ucontext.h.
14244         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14245         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14247 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
14249         [BZ #15605]
14250         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14252 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14254         [BZ#16431]
14255         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14256         Adjust the vDSO correctly for internal calls.
14257         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14259 2014-01-20  Allan McRae  <allan@archlinux.org>
14261         * po/ca.po: Update Catalan translation from translation project.
14263 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
14265         * sysdeps/s390/sotruss-lib.c: New file.
14267 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14269         [BZ#16430]
14270         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14271         (__GI___gettimeofday): Alias for a different internal symbol to avoid
14272         local calls issues by not having a PLT stub required for IFUNC calls.
14273         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14275 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
14277         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14278         * math/test-fpucw-static.c: Likewise.
14280 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14282         [BZ #16453]
14283         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14285 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14287         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14288         implementation for powerpc.
14290 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
14292         [BZ #14782]
14293         * sysdeps/posix/system.c (__libc_system): Do not enable
14294         asynchronous cancellation.
14296 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14298         [BZ #16427]
14299         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14300         handling only for numbers special also in the IEEE case.
14302 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14304         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14306 2014-01-11  Allan McRae  <allan@archlinux.org>
14308         * po/bg.po: Update Bulgarian translation from translation project.
14310         * po/de.po: Update German translation from translation project.
14312 2014-01-10  Roland McGrath  <roland@hack.frob.com>
14314         * sysdeps/generic/gcc-compat.h: New file.
14316 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14318         * benchtests/asin-inputs: Correct slow inputs.
14319         * benchtests/acos-inputs: Likewise.
14321 2014-01-10  Allan McRae  <allan@archlinux.org>
14323         * po:sv.po: Update Swedish translation from translation project.
14325         * po/vi.po: Update Vietnamese translation from translation project.
14327         * po/eo.po: Update Esperanto translation from translation project.
14329         * po/cs.po: Update Czech translation from translation project.
14331         * po/nl.po: Update Dutch translation from translation project.
14333         * po/pl.po: Update Polish translation from translation project.
14335         * po/ru.po: Update Russian translation from translation project.
14337         * po/uk.po: Update Ukrainian translation from translation project.
14339 2014-01-08  Brooks Moses  <bmoses@google.com>
14341         * elf/dl-load.c: Fix comment typo.
14343 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
14345         * po/header.pot: Rename to...
14346         * po/pot.header: ... this.
14347         * po/Makefile: Use pot.header.
14349 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
14350             Maxim Kuvyrkov  <maxim@kugelworks.com>
14352         [BZ #16394]
14353         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14354         SRC and DEST against LEN.
14356 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14358         [BZ #16414]
14359         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14360         implementation.
14361         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14363 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14367 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
14369         [BZ #16408]
14370         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14371         for large positive arguments.
14373 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
14375         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14377         * math/auto-libm-test-in: Mark various tests with
14378         xfail-rounding:ldbl-128ibm.
14379         * math/auto-libm-test-out: Regenerated.
14381         [BZ #16407]
14382         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14383         Increase overflow threshold.
14385 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
14387         [BZ #14286]
14388         * stdio-common/vfprintf.c: Check for integer overflow.
14390 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14392         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14393         the first argument and return value of __tls_get_addr_internal.
14395 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14397         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14398         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14400 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14402         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14403         * sysdeps/s390/rtld-global-offsets.sym: New file.
14404         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14405         GLIBC_2.19 symbol.
14406         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14407         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14408         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14409         ... this.
14410         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14411         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14412         ... this.
14413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14414         Regenerate.
14415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14416         Regenerate.
14417         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14418         halfs of GPRs for high_gprs contexts.
14419         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14420         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
14421         field.
14422         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14423         uc_flags field.
14424         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14425         64 bit versions:
14426         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14427         for high GPRs (uc_high_gprs) and for future extensions
14428         (__reserved).
14429         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14430         for future extensions (__reserved).
14431         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14432         64 bit versions:
14433         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14434         SC_HIGHGPRS offset definition.
14435         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14436         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14438         * Versions.def: Add GLIBC_2.19 for libpthread.
14439         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14440         siglongjmp for libpthread with GLIBC_2.19 symver.
14441         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14442         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14443         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14444         * sysdeps/s390/__longjmp.c: New file.
14445         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14446         * sysdeps/s390/longjmp.c: New file.
14447         * sysdeps/s390/setjmp.S: New file.
14448         * sysdeps/s390/sigjmp.S: New file.
14449         * sysdeps/s390/v1-longjmp.c: New file.
14450         * sysdeps/s390/v1-setjmp.h: New file.
14451         * sysdeps/s390/v1-sigjmp.c: New file.
14452         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14453         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14454         GLIBC_2.19 version.
14455         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14456         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14457         versioned symbols for ____longjmp_chk.
14458         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14459         Likewise.
14460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14461         Regenerate.
14462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14463         Regenerate.
14464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14465         Regenerate.
14466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14467         Regenerate.
14468         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14469         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14470         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14471         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14472         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14473         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14474         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14475         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14476         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14477         * sysdeps/s390/rtld-__longjmp.c: New file.
14478         * sysdeps/s390/rtld-setjmp.S: New file.
14480 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
14482         [BZ #16400]
14483         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14484         Return -__logl (x) for small positive arguments without evaluating
14485         a polynomial.
14487 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
14489         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14490         Rename to ...
14491         (__ptrace_peeksiginfo_args): ... this.
14492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14494         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14496 2014-01-06  Allan McRae  <allan@archlinux.org>
14498         * inet/netinet/in.h: Fix typo in comment.
14500 2014-01-05  Andreas Jaeger  <aj@suse.de>
14502         * sysdeps/i386/fpu/libm-test-ulps: Update.
14504 2014-01-05  Allan McRae  <allan@archlinux.org>
14506         * po/libc.pot: Regenerated.
14508         * malloc/memusagestat.c: Fix gettext call formatting.
14510 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
14512         * nscd/nscd.c: Improve usage() output.
14514 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
14516         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14517         * sysdeps/unix/sysv/linux/configure: Regenerated.
14518         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14519         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14521 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14523         [BZ #16390]
14524         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14525         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14527 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14529         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14530         extra tokens at end of #undef directive.
14531         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14532         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14533         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14535 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14537         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14539         * math/auto-libm-test-in: Mark various tests with
14540         xfail-rounding:ldbl-128ibm.
14541         * math/auto-libm-test-out: Regenerated.
14543 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
14545         [BZ #16386]
14546         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14547         numbers with subnormal high part when calculating exponent.
14549         [BZ #16385]
14550         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14551         fabs.
14553         [BZ #16384]
14554         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14555         M_LN2l.
14556         (__ieee754_acoshl): Use __log1pl not __log1p.
14558 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
14560         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14561         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14562         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14563         (grow_heap, heap_trim, _int_new_arena, get_free_list)
14564         (reused_arena, arena_get2): Convert to GNU style.
14565         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14566         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14567         (memalign_check, __malloc_set_state): Likewise.
14568         * malloc/mallocbug.c (main): Likewise.
14569         * malloc/malloc.c (__malloc_assert, malloc_init_state)
14570         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14571         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14572         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14573         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14574         (__posix_memalign, malloc_info): Likewise.
14575         * malloc/malloc.h: Likewise.
14576         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14577         (mallochook, memalignhook, reallochook, mabort): Likewise.
14578         * malloc/mcheck.h: Likewise.
14579         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14580         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14581         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14582         * malloc/morecore.c (__default_morecore): Likewise.
14583         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14584         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14585         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14586         (print_and_abort): Likewise.
14587         * malloc/obstack.h: Likewise.
14588         * malloc/set-freeres.c (__libc_freeres): Likewise.
14589         * malloc/tst-mallocstate.c (main): Likewise.
14590         * malloc/tst-mtrace.c (main): Likewise.
14591         * malloc/tst-realloc.c (do_test): Likewise.
14593 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14595         [BZ #16366]
14596         * nscd/netgroupcache.c (do_notfound): New function.
14597         (addgetnetgrentX): Use it.
14599         [BZ # 16365]
14600         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14601         NSS_STATUS_NOTFOUND.
14603 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
14605         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14608 2014-01-01  Allan McRae  <allan@archlinux.org>
14610         * scripts/update-copyrights: Update configure input file suffix.
14612         * NEWS: Update copyright year.
14613         * catgets/gencat.c: Likewise.
14614         * csu/version.c: Likewise.
14615         * debug/catchsegv.sh: Likewise.
14616         * debug/pcprofiledump.c: Likewise.
14617         * debug/xtrace.sh: Likewise.
14618         * elf/ldconfig.c: Likewise.
14619         * elf/ldd.bash.in: Likewise.
14620         * elf/pldd.c: Likewise.
14621         * elf/sotruss.ksh: Likewise.
14622         * elf/sprof.c: Likewise.
14623         * iconv/iconv_prog.c: Likewise.
14624         * iconv/iconvconfig.c: Likewise.
14625         * locale/programs/locale.c: Likewise.
14626         * locale/programs/localedef.c: Likewise.
14627         * login/programs/pt_chown.c: Likewise.
14628         * malloc/memusage.sh: Likewise.
14629         * malloc/memusagestat.c: Likewise.
14630         * malloc/mtrace.pl: Likewise.
14631         * manual/libc.texinfo: Likewise.
14632         * nscd/nscd.c: Likewise.
14633         * nss/getent.c: Likewise.
14634         * nss/makedb.c: Likewise.
14635         * posix/getconf.c: Likewise.
14636         * scripts/test-installation.pl: Likewise.
14638         * All files with FSF copyright notices: Update copyright dates
14639         using scripts/update-copyrights.
14640         * intl/plural.c: Regenerated.
14641         * locale/programs/charmap-kw.h: Likewise.
14642         * locale/programs/locfile-kw.h: Likewise.
14644 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
14646         * sysdeps/unix/sysv/linux/configure: Regenerated.
14647         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14648         the linux/fanotify.h header.
14649         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14650         HAVE_LINUX_FANOTIFY_H is defined.
14652 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14654         * benchtests/cos-inputs: New inputs.
14655         * benchtests/sin-inputs: Likewise.
14657         * benchtests/atan-inputs: New inputs. Fix name of multiple
14658         precision fallback inputs.
14660         * benchtests/atanh-inputs: New inputs.
14661         * benchtests/tanh-inputs: Likewise.
14663         * benchtests/acosh-inputs: New inputs.
14664         * benchtests/asinh-inputs: Likewise.
14666         * benchtests/cosh-inputs: New inputs.
14667         * benchtests/sinh-inputs: Likewise.
14669         * benchtests/acos-inputs: Add more inputs.
14670         * benchtests/asin-inputs: Likewise.
14672 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
14674         [BZ #16375]
14675         * manual/arith.texi: Fix spelling.
14676         * manual/charset.texi: Likewise.
14677         * manual/errno.texi: Likewise.
14678         * manual/filesys.texi: Likewise.
14679         * manual/lang.texi: Likewise.
14680         * manual/llio.texi: Likewise.
14681         * manual/locale.texi: Likewise.
14682         * manual/message.texi: Likewise.
14683         * manual/resource.texi: Likewise.
14684         * manual/search.texi: Likewise.
14685         * manual/setjmp.texi: Likewise.
14686         * manual/stdio.texi: Likewise.
14687         * manual/string.texi: Likewise.
14688         * manual/sysinfo.texi: Likewise.
14689         * manual/time.texi: Likewise.
14691 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
14693         * po/sl.po: New file.
14695 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
14697         * .gitignore: Add core/.gdbinit/.gdb_history.
14699 2013-12-27  Allan McRae  <allan@archlinux.org>
14701         [BZ #16369]
14702         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14703         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14705 2013-12-24  Brooks Moses  <bmoses@google.com>
14707         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14708         all compilers that claim C++98 compliance, not just GCC.
14709         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14710         Likewise.
14712 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14714         * NEWS: Restore accidentally deleted bug-fix entries.
14716 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14717             Ondřej Bílka  <neleai@seznam.cz>
14719         [BZ #15073]
14720         * malloc/malloc.c (_int_free): Perform sanity check only if we
14721         have_lock.
14723 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14725         [BZ #12986]
14726         * manual/stdio.texi (String Input Conversions): Clarify that character
14727         classes are not supported.
14729 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14733 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14735         [BZ #16337]
14736         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14737         Calculate results for small negative arguments directly rather
14738         than using reflection formula with special underflow handling.
14740         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14741         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14742         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14743         (fchflags): Likewise.
14744         (revoke): Likewise.
14745         (setlogin): Likewise.
14746         (sigaltstack): Likewise.
14747         (wait4): Likewise.
14748         (sigblock): Remove.
14749         (sigsetmask): Likewise.
14750         (wait3): Likewise.
14751         (waitpid): Likewise.
14752         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14753         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14754         file.
14755         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14756         * sysdeps/unix/bsd/Makefile: ... here.
14757         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14758         * sysdeps/unix/bsd/Versions: ... here.
14759         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14760         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14761         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14762         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14763         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14764         * sysdeps/unix/bsd/sigblock.c: ... here.
14765         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14766         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14767         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14768         * sysdeps/unix/bsd/sigvec.c: ... here.
14769         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14770         * sysdeps/unix/bsd/tcdrain.c: ... here.
14771         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14772         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14773         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14774         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14775         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14776         * sysdeps/unix/bsd/wait.c: ... here.
14777         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14778         * sysdeps/unix/bsd/wait3.c: ... here.
14779         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14780         * sysdeps/unix/bsd/waitpid.c: ... here.
14782 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14784         [BZ #16356]
14785         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14786         round-to-nearest for [!USE_AS_EXPM1L].
14787         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14788         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14789         more tests of exp and exp10.  Expect some exp10 tests to miss
14790         exceptions or fail in directed rounding modes.
14791         * math/auto-libm-test-out: Regenerated.
14792         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14793         (exp10_test_tonearest): New function.
14794         (exp10_towardzero_test_data): New array.
14795         (exp10_test_towardzero): New function.
14796         (exp10_downward_test_data): New array.
14797         (exp10_test_downward): New function.
14798         (exp10_upward_test_data): New array.
14799         (exp10_test_upward): New function.
14800         (main): Call the new functions.
14801         * sysdeps/i386/fpu/libm-test-ulps: Update.
14802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14804 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14806         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14807         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14808         * math/auto-libm-test-out: Regenerated.
14809         * math/libm-test.inc (acosh_test_data): Add more tests.
14810         (atanh_test_data): Likewise.
14811         (ceil_test_data): Likewise.
14812         (copysign_test_data): Likewise.
14813         * sysdeps/i386/fpu/libm-test-ulps: Update.
14814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14816         * timezone/checktab.awk: Update from tzcode 2013i.
14817         * timezone/private.h: Likewise.
14818         * timezone/scheck.c: Likewise.
14819         * timezone/tzfile.h: Likewise.
14820         * timezone/tzselect.ksh: Likewise.
14821         * timezone/zdump.c: Likewise.
14822         * timezone/zic.c: Likewise.
14824         * math/auto-libm-test-in: Add tests of cpow.
14825         * math/auto-libm-test-out: Regenerated.
14826         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14827         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14828         mpc_cc_c.
14829         (func_calc_desc): Add mpc_cc_c union field.
14830         (test_functions): Add cpow.
14831         (special_fill_2pi): New function.
14832         (special_real_inputs): Add 2pi.
14833         (calc_generic_results): Handle mpc_cc_c.
14834         * sysdeps/i386/fpu/libm-test-ulps: Update.
14835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14837         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14838         csqrt, ctan and ctanh.
14839         * math/auto-libm-test-out: Regenerated.
14840         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14841         (TEST_COND_x86): Likewise.
14842         (ccos_test_data): Use AUTO_TESTS_c_c.
14843         (ccosh_test_data): Likewise.
14844         (cexp_test_data): Likewise.
14845         (clog_test_data): Likewise.
14846         (csqrt_test_data): Likewise.
14847         (ctan_test_data): Likewise.
14848         (ctan_tonearest_test_data): Likewise.
14849         (ctan_towardzero_test_data): Likewise.
14850         (ctan_downward_test_data): Likewise.
14851         (ctan_upward_test_data): Likewise.
14852         (ctanh_test_data): Likewise.
14853         (ctanh_tonearest_test_data): Likewise.
14854         (ctanh_towardzero_test_data): Likewise.
14855         (ctanh_downward_test_data): Likewise.
14856         (ctanh_upward_test_data): Likewise.
14857         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14858         mpc_c_c.
14859         (func_calc_desc): Add mpc_c_c union field.
14860         (FUNC_mpc_c_c): New macro.
14861         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14862         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14863         ctanh.
14864         (special_fill_min_subnorm_p120): New function.
14865         (special_real_inputs): Add min_subnorm_p120.
14866         (calc_generic_results): Handle mpc_c_c.
14867         * sysdeps/i386/fpu/libm-test-ulps: Update.
14868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14870 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14872         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14873         (do_sin_slow): New functions.
14874         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14875         (cslow2, csloww1, csloww2): Use the new functions.
14877         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14878         Use M to change sign of result instead of X.  Assume X is
14879         positive.
14880         (csloww1): Likewise.
14881         (__sin): Adjust.
14882         (__cos): Adjust.
14884         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14885         arguments A and DA.
14886         (__sin): Adjust.
14887         (__cos): Likewise.
14889         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14890         (__cos): Likewise.
14891         (sloww1): Don't adjust sign of DX.
14892         (csloww1): Likewise.
14893         (sloww2): Use X directly and don't adjust sign of DX.
14894         (csloww2): Likewise.
14896 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14898         * math/auto-libm-test-in: Add tests of cabs and carg.
14899         * math/auto-libm-test-out: Regenerated.
14900         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14901         (carg_test_data): Likewise.
14902         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14903         mpc_c_f.
14904         (func_calc_desc): Add mpc_c_f union field.
14905         (test_functions): Add cabs and carg.
14906         (calc_generic_results): Handle mpc_c_f.
14908         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14909         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14910         as a macro and a compat symbol.
14911         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14912         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14913         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14914         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14915         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14916         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14917         not use .hidden.
14918         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14919         Likewise.
14920         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14921         Likewise.
14922         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14923         Likewise.
14924         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14925         Likewise.
14926         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14927         Likewise.
14928         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14929         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14930         from GLIBC_2.3.2.
14932 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14936 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14938         * manual/texinfo.tex: Update to version 2013-11-26.10 with
14939         trailing whitespace removed.
14940         * scripts/config.guess: Update to version 2013-11-29.
14941         * scripts/config.sub: Update to version 2013-10-01.
14943         * math/auto-libm-test-in: Add tests of sincos.
14944         * math/auto-libm-test-out: Regenerated.
14945         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14946         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14947         mpfr_f_11.
14948         (func_calc_desc): Add mpfr_f_11 union field.
14949         (test_functions): Add sincos.
14950         (calc_generic_results): Handle mpfr_f_11.
14951         * sysdeps/i386/fpu/libm-test-ulps: Update.
14952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14954 2013-12-19  Andreas Schwab  <schwab@suse.de>
14956         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14957         CALL_MCOUNT.
14958         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14959         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14960         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14962 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14964         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14965         * sysdeps/i386/fpu/libm-test-ulps: Update.
14966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14968         [BZ #16293]
14969         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14970         round-to-nearest mode when using frndint.
14971         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14972         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14973         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14974         Likewise.
14975         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
14976         sinh test to fail.
14977         * math/auto-libm-test-out: Regenerated.
14978         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14979         (TEST_COND_x86): Likewise.
14980         (expm1_tonearest_test_data): New array.
14981         (expm1_test_tonearest): New function.
14982         (expm1_towardzero_test_data): New array.
14983         (expm1_test_towardzero): New function.
14984         (expm1_downward_test_data): New array.
14985         (expm1_test_downward): New function.
14986         (expm1_upward_test_data): New array.
14987         (expm1_test_upward): New function.
14988         (main): Run the new test functions.
14989         * sysdeps/i386/fpu/libm-test-ulps: Update.
14990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14992         * include/features.h: Update comment documenting feature test
14993         macros.  Mention _DEFAULT_SOURCE in comment.
14994         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14995         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14996         _BSD_SOURCE and _SVID_SOURCE.
14997         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14998         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14999         !_SVID_SOURCE]: Likewise.
15000         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15001         (__USE_POSIX_IMPLICITLY): Define.
15002         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15003         (_POSIX_SOURCE): Undefine and redefine.
15004         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15005         (_POSIX_C_SOURCE): Likewise.
15006         * manual/creature.texi (_DEFAULT_SOURCE): Document.
15007         (Feature Test Macros): Update documentation of default features.
15009 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15011         * benchtests/Makefile: Add bench-strtok.
15012         * benchtests/bench-strtok.c: New file: strtok benchtest.
15014 2013-12-19  Allan McRae  <allan@archlinux.org>
15016         * manual/install.texi: Suppress menu for plain text output.
15017         * INSTALL: Regenerated.
15019 2013-12-18  Brooks Moses  <bmoses@google.com>
15021         [BZ #15846]
15022         * misc/getauxval.c: Include errno.h.
15023         (__getauxval): Set errno to ENOENT if the requested type is not
15024         found.
15025         * misc/sys/auxv.h (getauxval): Document that it may set errno;
15026         don't declare with __attribute_const__.
15027         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15028         * manual/startup.texi: Document that getauxval sets errno.
15030 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15032         * math/auto-libm-test-in: Add tests of jn and yn.
15033         * math/auto-libm-test-out: Regenerated.
15034         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15035         (yn_test_data): Likewise.
15036         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15037         mpfr_if_f.
15038         (func_calc_desc): Add mpfr_if_f union field.
15039         (FUNC_mpfr_if_f): New macro.
15040         (test_functions): Add jn and yn.
15041         (calc_generic_results): Assert type of second input for
15042         mpfr_ff_f.  Handle mpfr_if_f.
15043         (output_for_one_input_case): Disable all checking for arguments
15044         fitting floating-point types in case of an integer argument.
15045         * sysdeps/i386/fpu/libm-test-ulps: Update.
15046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15049         Don't expect fegetround reference in libm.so.
15051 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15053         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15054         $(config-cflags-nofma).
15056 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15058         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15059         * math/auto-libm-test-out: Regenerated.
15061         [BZ #16338]
15062         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15063         to determine exponent and adjust argument to have exponent of -1.
15064         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15065         log2.
15066         * math/auto-libm-test-out: Regenerated.
15067         * sysdeps/i386/fpu/libm-test-ulps: Update.
15068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15070 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
15072         * manual/probes.texi: Remove cases when per-thread arenas are
15073         disabled.
15075 2013-12-18  Andreas Schwab  <schwab@suse.de>
15077         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15078         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15079         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15080         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15081         * sysdeps/i386/i686/multiarch/Makefile: Update.
15082         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15084 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15086         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15087         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15089 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
15091         [BZ #15968]
15092         Support TZ transition times < 00:00:00.
15093         This is needed for version-3 tz-format files; it supports time
15094         stamps past 2037 for America/Godthab (the only entry in the tz
15095         database for which this change is relevant).
15096         * manual/time.texi (TZ Variable): Document transition times
15097         from -167:59:59 through -00:00:01.
15098         * time/tzset.c (tz_rule): Time of day is now signed.
15099         (__tzset_parse_tz): Parse negative time of day.
15101         Document TZ transition times >= 25:00:00.
15102         * manual/time.texi (TZ Variable): Document transition times from
15103         25:00:00 through 167:59:59.  These are already supported, and this
15104         support will help with version-3 tz-format files.
15106         * manual/time.texi (TZ Variable): Modernize North America example
15107         to reflect current (i.e., 2007-and-later) daylight saving rules.
15109         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15111 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15113         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15114         * sysdeps/unix/bsd/bits/stat.h: Likewise.
15115         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15116         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15117         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15118         * sysdeps/unix/bsd/bsdstat.h: Likewise.
15119         * sysdeps/unix/bsd/clock.c: Likewise.
15120         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15121         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15122         * sysdeps/unix/bsd/init-posix.c: Likewise.
15123         * sysdeps/unix/bsd/poll.c: Likewise.
15124         * sysdeps/unix/bsd/ptsname.c: Likewise.
15125         * sysdeps/unix/bsd/seekdir.c: Likewise.
15126         * sysdeps/unix/bsd/setegid.c: Likewise.
15127         * sysdeps/unix/bsd/seteuid.c: Likewise.
15128         * sysdeps/unix/bsd/setgid.c: Likewise.
15129         * sysdeps/unix/bsd/setrgid.c: Likewise.
15130         * sysdeps/unix/bsd/setruid.c: Likewise.
15131         * sysdeps/unix/bsd/setsid.c: Likewise.
15132         * sysdeps/unix/bsd/setuid.c: Likewise.
15133         * sysdeps/unix/bsd/sigaction.c: Likewise.
15134         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15135         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15136         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15137         * sysdeps/unix/bsd/telldir.c: Likewise.
15138         * sysdeps/unix/bsd/times.c: Likewise.
15139         * sysdeps/unix/bsd/usleep.c: Likewise.
15141         * misc/Makefile (install-lib): Remove libbsd-compat.a.
15142         ($(objpfx)libbsd-compat.a): Remove rule.
15144         * include/features.h (__FAVOR_BSD): Do not define.
15145         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15146         features conflicting with POSIX.
15147         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15148         (_BSD_SOURCE): Remove description of not being a subset of other
15149         feature test macros.
15150         * manual/job.texi (getpgrp): Do not document BSD version.
15151         (getpgid): Do not document by reference to BSD getpgrp.
15152         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15153         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15154         * signal/signal.h [__FAVOR_BSD]: Likewise.
15155         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15156         instead of making contents conditional on [__FAVOR_BSD].
15157         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15159 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15163 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15165         [BZ #16314]
15166         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15167         values below 2**-450, not 2**-500.
15168         * math/auto-libm-test-in: Don't allow spurious underflow from
15169         hypot.
15170         * math/auto-libm-test-out: Regenerated.
15172         [BZ #16316]
15173         [BZ #16330]
15174         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15175         values of ha and hb and sort them after adjusting subnormal
15176         arguments.
15177         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15178         Likewise.
15179         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15180         values of ea and eb and sort them after adjusting subnormal
15181         arguments.
15182         * math/auto-libm-test-in: Do not expect some hypot tests of
15183         subnormals to fail.  Add more hypot tests.
15184         * math/auto-libm-test-out: Regenerated.
15186 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15188         [BZ #13304]
15189         * sysdeps/sh/s_fma.c: New file.
15190         * sysdeps/sh/s_fmaf.c: New file.
15191         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
15192         version.
15193         * sysdeps/sh/Implies: Add sh/soft-fp.
15195 2013-12-16  Roland McGrath  <roland@hack.frob.com>
15197         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
15198         level of indirection to members `objname', `errstring', `malloced'.
15199         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15200         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
15201         it as the __longjmp argument (just pass 1 instead).
15202         (_dl_catch_error): Initialize C with argument pointers and address of
15203         volatile local ERRCODE rather than copying values out of C at return.
15205 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
15207         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15208         * math/auto-libm-test-out: Regenerated.
15209         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15210         (hypot_test_data): Likewise.
15211         (pow_test_data): Likewise.
15212         (pow_tonearest_test_data): Likewise.
15213         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15214         mpfr_ff_f.
15215         (func_calc_desc): Add mpfr_ff_f union field.
15216         (FUNC_mpfr_ff_f): New macro.
15217         (test_functions): Add atan2, hypot and pow.
15218         (special_fill_min): New function.
15219         (special_fill_minus_min): Likewise.
15220         (special_fill_min_subnorm): Likewise.
15221         (special_fill_minus_min_subnorm): Likewise.
15222         (special_real_inputs): Add min, -min, min_subnorm and
15223         -min_subnorm.
15224         (calc_generic_results): Handle mpfr_ff_f.
15225         * sysdeps/i386/fpu/libm-test-ulps: Update.
15226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15228 2013-12-16  Will Newton  <will.newton@linaro.org>
15230         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15231         (Aligned Memory Blocks): Add documentation for aligned_alloc
15232         and suggest it as an alternative to posix_memalign.
15233         (Hooks for Malloc): Document __memalign_hook is also called
15234         for aligned_alloc.  (Summary of Malloc): Add summary for
15235         aligned alloc.  Document __memalign_hook is also called
15236         for aligned_alloc.
15238 2013-12-16  Will Newton  <will.newton@linaro.org>
15240         * manual/memory.texi (Malloc Examples): Clarify default
15241         alignment documentation.  Suggest posix_memalign rather
15242         than memalign or valloc.
15243         (Aligned Memory Blocks): Remove suggestion to use memalign
15244         or valloc.  Remove obsolete comment about BSD.
15245         Document memalign errno values and mark the function obsolete.
15246         Document posix_memalign returned error codes.  Mark valloc
15247         as obsolete.  (Hooks for Malloc): __memalign_hook is also
15248         called for posix_memalign and valloc.
15249         (Summary of Malloc): Add posix_memalign to function summary.
15250         __memalign_hook is also called for posix_memalign and valloc.
15252 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15254         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15255         TAYLOR_SIN.
15256         (__sin): Adjust.
15257         (__cos): Likewise.
15258         (sloww): Use mynumber union.  Expand ternary operator into
15259         if-else statements.
15260         (cslow): use mynumber union.
15262 2013-12-16  Allan McRae  <allan@archlinux.org>
15264         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15265         * configure: Regenerated.
15267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15269         [BZ #14120]
15270         * configure.ac: Added --enable-maintainer-mode. Check for
15271         autoconf when enabled.
15272         * configure: Regenerated.
15274         * nscd/nscd.service: New file.
15275         * nscd/nscd.tmpfiles: New file.
15277 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
15279         [BZ #12100]
15280         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15281         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15282         * sysdeps/x86_64/multiarch/strstr.c: ... here.
15283         (strstr): Add __strstr_sse2_unaligned ifunc.
15284         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15285         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15286         (strcasestr): Remove __strcasestr_sse42 ifunc.
15287         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15291 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15293         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15294         * sysdeps/sh/bits/fenv.h: ... here.
15295         * sysdeps/sh/sh4/fpu/bits: Remove directory.
15297 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15299         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15302         hypotf multiarch implementations.
15303         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15304         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15305         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15306         multiarch hypot for PPC64.
15307         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15308         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15309         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15310         multiarch hypotf for PPC64.
15312         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15313         modff multiarch implementations.
15314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15317         multiarch modf for PPC64.
15318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15321         multiarch modff for PPC64.
15323         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15324         and logl multiarch implementations.
15325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15328         multiarch logb for PPC64.
15329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15332         multiarch logb for PPC64.
15333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15336         multiarch logb for PPC64.
15338         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15339         isinff multiarch implementation.
15340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15341         file.
15342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15344         multiarch isinf for PPC64.
15345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15346         file.
15347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15348         multiarch isinff for PPC64.
15350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15351         finitef multiarch implementation.
15352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15353         file.
15354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15356         multiarch finite for PPC64.
15357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15358         file.
15359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15360         multiarch finitef for PPC64.
15362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15363         lrint multiarch implementation.
15364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15365         file.
15366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15368         multiarch llrint for PPC64.
15369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15370         multiarch lrint for PPC64.
15372         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15373         copysignf multiarch implementation.
15374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15375         file.
15376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15377         file.
15378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15379         multiarch copysign for PPC64.
15380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15381         multiarch copysignf for PPC64.
15383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15384         multiarch implementation.
15385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15386         file.
15387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15388         file.
15389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15390         file.
15391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15392         file.
15393         multiarch llround for PPC64.
15394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15395         multiarch trunc for PPC64.
15396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15397         multiarch truncf for PPC64.
15399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15400         multiarch implementation.
15401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15402         file.
15403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15404         file.
15405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15406         file.
15407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15408         file.
15409         multiarch llround for PPC64.
15410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15411         multiarch round for PPC64.
15412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15413         multiarch roundf for PPC64.
15415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15416         multiarch implementation.
15417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15418         file.
15419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15420         file.
15421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15422         file.
15423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15424         file.
15425         multiarch llround for PPC64.
15426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15427         multiarch floor for PPC64.
15428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15429         multiarch floorf for PPC64.
15431         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15432         multiarch implementation.
15433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15434         file.
15435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15436         file.
15437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15438         file.
15439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15440         file.
15441         multiarch llround for PPC64.
15442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15443         multiarch ceil for PPC64.
15444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15445         multiarch ceilf for PPC64.
15447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15448         multiarch implementation.
15449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15450         file.
15451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15452         file.
15453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15454         file.
15455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15456         multiarch llround for PPC64.
15457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15458         multiarch lround for PPC64.
15460         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15461         multiarch implementation.
15462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15465         file.
15466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15469         multiarch isnan for PPC64.
15470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15471         multiarch isnanf for PPC64.
15473         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15474         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15475         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15476         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15477         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15480         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15481         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15482         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15483         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15486         multiarch implementations.
15487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15488         (__libc_ifunc_impl_list): Likewise.
15489         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15490         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15491         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15492         multiarch stpcpy for PPC64.
15494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15495         multiarch implementations.
15496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15497         (__libc_ifunc_impl_list): Likewise.
15498         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15499         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15500         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15501         multiarch strcpy for PPC64.
15503         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15504         redefine function name.
15505         (_wordcopy_fwd_dest_aligned): Likewise.
15506         (_wordcopy_bwd_aligned): Likewise.
15507         (_wordcopy_bwd_dest_aligned): Likewise.
15508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15509         multiarch implementations.
15510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15511         (__libc_ifunc_impl_list): Likewise.
15512         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15513         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15514         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15515         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15516         multiarch wcscpy for PPC64.
15518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15519         multiarch implementations.
15520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15521         (__libc_ifunc_impl_list): Likewise.
15522         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15523         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15524         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15525         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15526         multiarch wcscpy for PPC64.
15528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15529         multiarch implementations.
15530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15531         (__libc_ifunc_impl_list): Likewise.
15532         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15533         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15534         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15535         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15536         multiarch wcsrchr for PPC64.
15538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15539         multiarch implementations.
15540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15541         (__libc_ifunc_impl_list): Likewise.
15542         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15543         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15544         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15545         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15546         multiarch wcschr for PPC64.
15548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15549         multiarch implementations.
15550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15551         (__libc_ifunc_impl_list): Likewise.
15552         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15553         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15554         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15555         multiarch strchrnul for PPC64.
15557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15558         implementations.
15559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15560         (__libc_ifunc_impl_list): Likewise.
15561         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15562         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15563         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15564         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15565         strchr for PPC64.
15567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15568         implementations.
15569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15570         (__libc_ifunc_impl_list): Likewise.
15571         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15572         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15573         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15574         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15575         strncmp for PPC64.
15577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15578         multiarch implementations.
15579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15580         (__libc_ifunc_impl_list): Likewise.
15581         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15582         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15583         strncasecmp for PPC64.
15584         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15585         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15586         multiarch strncasecmp_l for PPC64.
15588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15589         multiarch implementations.
15590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15591         (__libc_ifunc_impl_list): Likewise.
15592         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15593         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15594         multiarch strcasecmp for PPC64.
15595         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15596         file.
15597         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15598         multiarch strcasecmp_l for PPC64.
15600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15601         implementations.
15602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15603         (__libc_ifunc_impl_list): Likewise.
15604         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15605         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15606         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15607         strnlen for PPC64.
15609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15610         implementations.
15611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15612         (__libc_ifunc_impl_list): Likewise.
15613         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15614         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15615         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15616         strlen for PPC64.
15618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15619         implementations.
15620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15621         (__libc_ifunc_impl_list): Likewise.
15622         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15623         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15624         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15625         rawmemrchr for PPC64.
15627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15628         implementation.
15629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15630         (__libc_ifunc_impl_list): Likewise.
15631         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15632         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15633         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15634         memrchr for PPC64.
15636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15637         implementation.
15638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15639         (__libc_ifunc_impl_list): Likewise.
15640         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15641         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15642         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15643         memchr for PPC64.
15645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15646         implementation.
15647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15648         (__libc_ifunc_impl_list): Likewise.
15649         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15650         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15651         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15652         mempcpy for PPC64.
15654         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15655         avoid cretion of __bzero symbol.
15656         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15657         Likewise.
15658         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15659         Likewise.
15660         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15661         Likewise.
15662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15663         multiarch implementations.
15664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15665         (__libc_ifunc_impl_list): Likewise.
15666         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15667         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15668         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15669         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15670         bzero for PPC32.
15671         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15672         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15673         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15674         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15675         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15676         memset for PPC64.
15677         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15679         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15681         implementations.
15682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15683         (__libc_ifunc_impl_list): Likewise.
15684         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15685         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15686         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15687         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15688         memcmp for PPC64.
15690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15691         multiarch for POWER/PPC64.
15692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15693         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15694         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15695         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15696         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15697         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15698         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15699         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15700         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15701         memcpy for PPC64.
15703         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15704         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15705         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15706         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15707         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15708         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15709         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15710         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15711         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15712         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15713         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15714         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15715         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15716         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15717         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15726 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15728         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15730 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15732         * benchtests/Makefile (bench): Add exp2 and log2.
15733         (LDLIBS-bench-exp2): Add -lm.
15734         (LDLIBS-bench-log2): Likewise.
15735         * benchtests/exp2-inputs: New inputs file.
15736         * benchtests/log2-inputs: New inputs file.
15737         * benchtests/log-inputs: Add new inputs.
15738         * benchtests/tan-inputs: Likewise.
15740 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15742         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15743         definition...
15744         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15745         (csloww2): ... from here.
15747         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15748         instead of structures.
15749         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15750         (POLYNOMIAL): Likewise.
15751         (TAYLOR_SLOW): Likewise.
15752         (__sin): Likewise.
15753         (__cos): Likewise.
15754         (slow1): Likewise.
15755         (slow2): Likewise.
15756         (sloww): Likewise.
15757         (sloww1); Likewise.
15758         (sloww2): Likewise.
15759         (bsloww1): Likewise.
15760         (bsloww2): Likewise.
15761         (cslow2): Likewise.
15762         (csloww): Likewise.
15763         (csloww1): Likewise.
15764         (csloww2): Likewise.
15766 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15768         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15769         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15770         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15771         * malloc/hooks.c (realloc_check): Likewise.
15773         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15774         * malloc/arena.c: Remove PER_THREAD conditional.
15775         [!PER_THREAD]: Remove code.
15776         (ptmalloc_unlock_all2): Likewise.
15777         (ptmalloc_init): Likewise.
15778         (_int_new_arena): Likewise.
15779         (arena_get2): Likewise.
15780         * malloc/hooks.c (__malloc_get_state): Likewise.
15781         (__malloc_set_state): Likewise.
15782         * malloc/malloc.c: Likewise.
15783         (struct malloc_state): Likewise.
15784         (struct malloc_par): Likewise.
15785         (__libc_realloc): Likewise.
15786         (__libc_mallopt): Likewise.
15788 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15790         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15792 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15794         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15795         macro to a function.  Check for zero perturb_byte.
15796         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15798         * malloc/malloc.c: (force_reg): Remove.
15799         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15800         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15801         force_reg by atomic_forced_read.
15802         * malloc/arena.c (ptmalloc_init): Likewise.
15803         * malloc/hooks.c (top_check): Likewise.
15805 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15809 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15813 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15815         * math/auto-libm-test-in: Add tests of lgamma.
15816         * math/auto-libm-test-out: Regenerated.
15817         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15818         (M_LOG_2_SQRT_PIl): Likewise.
15819         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15820         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15821         mpfr_f_f1.
15822         (func_calc_desc): Add mpfr_f_f1 union field.
15823         (ARGS1): New macro.
15824         (ARGS2): Likewise.
15825         (ARGS3): Likewise.
15826         (ARGS4): Likewise.
15827         (RET1): Likewise.
15828         (RET2): Likewise.
15829         (CALC): Likewise.
15830         (FUNC): Likewise.
15831         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15832         (test_functions): Add lgamma.
15833         (calc_generic_results): Handle mpfr_f_f1.
15834         * sysdeps/i386/fpu/libm-test-ulps: Update.
15835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15837 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15839         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15840         __mpn_add_n for PowerPC64/POWER7.
15841         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15842         __mpn_sub_n for PowerPC64/POWER7.
15844         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15845         __mpn_addmul_1 for PowerPC64.
15846         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15847         __mpn_submul_1 for PowerPC64.
15848         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15849         for PowerPC64.
15850         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15851         for PowerPC64.
15853 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15855         [BZ #15089]
15856         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15858 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15860         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15862         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15863         add multiarch folders.
15864         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15865         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15866         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15867         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15868         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15869         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15870         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15871         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15872         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15873         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15874         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15883         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15885         New file.
15886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15887         New file.
15888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15889         multiarch __ieee754_hypot for PowerPC32.
15890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15891         New file.
15892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15893         New file.
15894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15895         multiarch __ieee754_hypotf for PowerPC32.
15897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15898         long_double_symbol only if __logbl is defined.
15899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15900         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15901         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15902         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15903         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15904         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15905         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15906         path for implementation.
15907         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15908         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15910         logb, and logbl multiarch implementations for PowerPC32.
15911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15912         file.
15913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15914         file.
15915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15916         multiarch logb for PowerPC32.
15917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15918         file.
15919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15920         file.
15921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15922         multiarch logbf for PowerPC32.
15923         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15925         file.
15926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15927         multiarch logbl implementation for PowerPC32.
15929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15930         and modff multiarch implementations.
15931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15932         New file.
15933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15934         New file.
15935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15936         multiarch modf for PowerPC32.
15937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15938         New file.
15939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15940         New file.
15941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15942         multiarch modff for PowerPC32.
15944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15945         and lrintf multiarch implementations.
15946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15947         New file.
15948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15949         New file.
15950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15951         multiarch lrint for PowerPC32.
15952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15953         file: multiarch lrintf for PowerPC32.
15955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15956         and lroundf multiarch implementations.
15957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15958         New file.
15959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15960         New file.
15961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15962         New file.
15963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15964         multiarch lround for PowerPC32.
15965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15966         file: multiarch lroundf for PowerPC32.
15968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15969         copysign and copysignf multiarch implementations.
15970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15971         New file.
15972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15973         New file.
15974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15975         file: multiarch copysign for PowerPC32.
15976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15977         file: multiarch copysignf for PowerPC32.
15979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15980         and truncf multiarch implementations.
15981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15982         New file.
15983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15984         file.
15985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15986         multiarch trunc for PowerPC32.
15987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15988         New file.
15989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15990         New file.
15991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15992         multiarch truncf for PowerPC32.
15994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15995         and roundf multiarch implementations.
15996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15997         New file.
15998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15999         file.
16000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16001         multiarch round for PowerPC32.
16002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16003         New file.
16004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16005         New file.
16006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16007         multiarch roundf for PowerPC32.
16009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16010         and floorf multiarch implementations.
16011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16012         New file.
16013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16014         file.
16015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16016         multiarch floor for PowerPC32.
16017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16018         New file.
16019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16020         New file.
16021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16022         multiarch floorf for PowerPC32.
16024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16025         and ceilf multiarch implementations.
16026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16027         New file.
16028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16029         file.
16030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16031         multiarch ceil for PowerPC32.
16032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16033         New file.
16034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16035         file.
16036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16037         multiarch ceilf for PowerPC32.
16039         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16040         is defined.
16041         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16042         FINITEF is defined.
16043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16044         and finitef multiarch implementations.
16045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16046         New file.
16047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16048         file.
16049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16050         multiarch finite for PowerPC32.
16051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16052         New file.
16053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16054         file: multiarch finitef for PowerPC32.
16056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16057         and isinff multiarch implementations.
16058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16059         file.
16060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16061         file.
16062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16063         multiarch isinf for PowerPC32.
16064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16065         New file.
16066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16067         multiarch isinff for PowerPC32.
16069         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16070         alias when __isnan is defined.
16071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16072         and isnanf multiarch implementations.
16073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16074         file.
16075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16076         file.
16077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16078         file.
16079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16080         file.
16081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16082         multiarch isnan for PowerPC32.
16083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16084         New file.
16085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16086         New file.
16087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16088         multiarch isnanf for PowerPC32.
16090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16091         and sqrtf multiarch implementations.
16092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16093         file.
16094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16095         file.
16096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16097         multiarch sqrt for PowerPC32.
16098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16099         file.
16100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16101         file.
16102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16103         multiarch sqrtf for PowerPC32.
16105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16106         and llroundf multiarch implementations.
16107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16108         New file.
16109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16110         New file.
16111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16112         New file.
16113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16114         file: multiarch llround for PowerPC32.
16115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16116         file: multiarch llroundf for PowerPC32.
16118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16119         multiarch PowerPC32 fpu implementations.
16120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16121         New file.
16122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16123         New file.
16124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16125         multiarch llrint for PowerPC32.
16126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16127         New file.
16128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16129         New file.
16130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16131         file.
16133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16135         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16136         file.
16137         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16138         file.
16139         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16140         file.
16141         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16142         multiarch wordcopy for PPC32.
16143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16144         wordcopy objects.
16145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16146         (__libc_ifunc_impl_list): Likewise.
16147         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16148         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16149         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16150         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16151         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16152         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16154         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16156         file.
16157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16158         file.
16159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16160         file.
16161         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16162         multiarch wcscpy for PPC32.
16163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16164         multiarch objects.
16165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16166         (__libc_ifunc_impl_list): Likewise.
16167         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16168         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16169         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16170         sysdeps/powerpc/power6/wcscpy.c.
16172         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16174         file.
16175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16176         file.
16177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16178         file.
16179         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16180         multiarch wcsrchr for PPC32.
16181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16182         multiarch objects.
16183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16184         (__libc_ifunc_impl_list): Likewise.
16185         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16186         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16187         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16188         sysdeps/powerpc/power6/wcsrchr.c.
16190         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16191         file.
16192         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16193         file.
16194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16195         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16196         multiarch wcschr for PPc32.
16197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16198         multiarch objects.
16199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16200         (__libc_ifunc_impl_list): Likewise.
16201         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16202         * sysdeps/powerpc/power6/wcschr.c: ... to here.
16203         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16204         sysdeps/powerpc/power6/wcschr.c.
16206         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16207         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16208         file.
16209         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16210         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16211         file: multiarch strchr for PPC32.
16212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16213         multiarch objects.
16214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16215         (__libc_ifunc_impl_list): Likewise.
16217         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16218         name.
16219         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16220         file.
16221         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16222         file.
16223         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16224         multiarch strchrnul for PPC32.
16225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16226         multiarch objects.
16227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16228         (__libc_ifunc_impl_list): Likewise.
16230         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16231         file.
16232         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16233         multiarch strncasecmp for PPC32.
16234         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16235         file.
16236         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16237         multiarch strncasecmp_l for PPC32.
16238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16239         strncasecmp multiarch objects.
16240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16241         (__libc_ifunc_impl_list): Likewise.
16243         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16244         file.
16245         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16246         multiarch strncasecmp for PPC32.
16247         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16248         New file.
16249         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16250         multiarch strcasecmp_l for PPC32.
16251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16252         multiarch objects.
16253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16254         (__libc_ifunc_impl_list): Likewise.
16256         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16257         file.
16258         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16259         file.
16260         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16261         multiarch strncmp for PPC32.
16262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16263         multiarch objects.
16264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16265         (__libc_ifunc_impl_list): Likewise.
16267         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16268         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16269         file.
16270         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16271         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16273         multiarch objects.
16274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16275         (__libc_ifunc_impl_list): Likewise.
16277         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16278         file.
16279         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16280         file.
16281         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16283         multiarch objects.
16284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16285         (__libc_ifunc_impl_list): Likewise.
16287         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16288         file.
16289         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16290         file.
16291         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16292         multiarch rawmemchr for PPC32.
16293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16294         multiarch objects.
16295         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16296         (__libc_ifunc_impl_list): Likewise.
16298         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16299         file.
16300         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16301         file.
16302         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16303         file: memrchr multiarch for PPC32.
16304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16305         multiarch objects.
16306         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16307         (__libc_ifunc_impl_list): Likewise.
16309         * string/memchr.c (__memchr): Using macro to redefine symbol name.
16310         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16311         file.
16312         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16313         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16314         multiarch memchr for PPC32.
16315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16316         multiarch objects.
16317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16318         (__libc_ifunc_impl_list): Likewise.
16320         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16321         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16322         file.
16323         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16324         file.
16325         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16326         file: multiarch mempcpy for PPC32.
16327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16328         multiarch objects.
16329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16330         (__libc_ifunc_impl_list): Likewise.
16332         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16333         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16334         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16335         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16336         multiarch bzero for PPC32.
16337         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16338         file.
16339         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16340         file.
16341         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16342         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16343         file: multiarch memset for PPC32.
16344         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16346         memset multiarch objects.
16347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16348         (__libc_ifunc_impl_list): Likewise.
16350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16351         file.
16352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16353         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16354         memcmp for PPC32.
16355         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16357         multiarch objects.
16358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16359         (__libc_ifunc_impl_list): Likewise.
16361         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16362         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16363         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16364         file.
16365         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16366         file.
16367         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16368         file.
16369         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16370         multiarch memcpy for PPC32.
16371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16372         multiarch objects.
16373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16374         (__libc_ifunc_impl_list): Likewise.
16376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16377         support multiarch for POWER/PPC32.
16378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16379         Likewise.
16380         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16382         Implies file to make multiarch folder appers before the fpu and
16383         default folder for power4 configuration.
16385 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16387         * scripts/bench.pl: Append volatile keyword to type.
16389 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16391         * sysdeps/sh/sotruss-lib.c: New file.
16392         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16394 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16398 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
16400         [BZ #6810]
16401         * math/w_tgamma.c: Include <errno.h>.
16402         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
16403         * math/w_tgammaf.c: Include <errno.h>.
16404         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
16405         * math/w_tgammal.c: Include <errno.h>.
16406         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
16407         * math/auto-libm-test-in: Do not allow missing errno on tgamma
16408         underflow.  Add more tgamma tests.
16409         * math/auto-libm-test-out: Regenerated.
16410         * sysdeps/i386/fpu/libm-test-ulps: Update.
16411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16413         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16414         sin, sinh, tan, tanh, tgamma, y0 and y1.
16415         * math/auto-libm-test-out: Regenerated.
16416         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16417         (TEST_COND_x86): Likewise.
16418         (M_E2l): Remove macro.
16419         (M_E3l): Likewise.
16420         (M_2_SQRT_PIl): Likewise.
16421         (M_SQRT_PIl): Likewise.
16422         (M_1_DIV_El): Likewise.
16423         (log_test_data): Use AUTO_TESTS_f_f.
16424         (log10_test_data): Likewise.
16425         (log1p_test_data): Likewise.
16426         (log2_test_data): Likewise.
16427         (sin_test_data): Likewise.
16428         (sin_tonearest_test_data): Likewise.
16429         (sin_towardzero_test_data): Likewise.
16430         (sin_downward_test_data): Likewise.
16431         (sin_upward_test_data): Likewise.
16432         (sinh_test_data): Likewise.
16433         (sinh_tonearest_test_data): Likewise.
16434         (sinh_towardzero_test_data): Likewise.
16435         (sinh_downward_test_data): Likewise.
16436         (sinh_upward_test_data): Likewise.
16437         (tan_test_data): Likewise.
16438         (tan_tonearest_test_data): Likewise.
16439         (tan_towardzero_test_data): Likewise.
16440         (tan_downward_test_data): Likewise.
16441         (tan_upward_test_data): Likewise.
16442         (tanh_test_data): Likewise.
16443         (tgamma_test_data): Likewise.
16444         (y0_test_data): Likewise.
16445         (y1_test_data): Likewise.
16446         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16447         (special_real_inputs): Add pi/4.
16448         * sysdeps/i386/fpu/libm-test-ulps: Update.
16449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16451 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16453         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16454         "longjmp_target" static probes.
16455         (__longjmp): Rename to __longjmp_symbol.
16456         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16457         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16458         on which longjmp to generate.
16459         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16460         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16461         probe.
16462         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16463         (__sigjmp_save): Rename to __sigjmp_save_symbol.
16464         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16465         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16466         and __sigjmp_save_symbol based on which sigsetjmp to generated.
16467         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16469         __longjmp_symbol based on which __longjmp to generate.
16470         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16471         probe.
16472         (setjmp): Rename to setjmp_symbol.
16473         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16474         (_setjmp): Rename to _setjmp_symbol.
16475         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16476         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16477         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16478         which setjmp to generate.
16479         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16480         "longjmp_target" static probes.
16482 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16484         * benchtests/README: Add note about output arguments.
16485         * benchtests/bench-sincos.c: Remove file.
16486         * benchtests/sincos-inputs: New file.
16487         * scripts/bench.pl: Identify output arguments and define
16488         static variables for them.
16490         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16492         [BZ #15941]
16493         * Makefile (INSTALL): Add install-plain.texi as the primary
16494         dependency.
16495         * manual/install-plain.texi: New file.
16496         * manual/install.texi: Include node directive only for
16497         non-plaintext output.
16499 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
16501         * stdlib/longlong.h: Update from GCC.
16503         [BZ #6807]
16504         [BZ #15901]
16505         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16506         * math/w_j0f.c (y0f): Likewise.
16507         * math/w_j0l.c (__y0l): Likewise.
16508         * math/w_j1.c (y1): Likewise.
16509         * math/w_j1f.c (y1f): Likewise.
16510         * math/w_j1l.c (__y1l): Likewise
16511         * math/w_jn.c (yn): Likewise.
16512         * math/w_jnf.c (ynf): Likewise.
16513         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16514         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
16515         value for Bessel function domain errors outside _SVID_ mode.
16516         Adjust sign of return value for yn (negative integer, 0).
16517         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16518         by zero in return for negative x and set sign appropriately for
16519         negative n.
16520         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16521         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16522         * math/libm-test.inc (y0_test_data): Add more tests and adjust
16523         expectations in error cases.
16524         (y1_test_data): Likewise.
16525         (yn_test_data): Likewise.
16526         * sysdeps/i386/fpu/libm-test-ulps: Update.
16527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16529 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16531         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16532         "64" to "64-v1".  Add "64-v2".
16533         (abi-64-options): Rename to ...
16534         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
16535         (abi-64-condition): Rename to ...
16536         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
16537         (abi-64-ld-soname): Rename to ...
16538         (abi-64-v1-ld-soname): ... this.
16539         (abi-64-v2-options): Define.
16540         (abi-64-v2-condition): Likewise.
16541         (abi-64-v2-ld-soname): Likewise.
16542         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16543         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16548 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16549             Alan Modra  <amodra@gmail.com>
16551         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16552         New versions for use with the ELFv2 ABI.
16553         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16554         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16555         declaration.
16556         (struct La_ppc64v2_retval): Likewise.
16557         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16558         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16559         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16560         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16561         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16562         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16563         Do not save or restore CR.
16564         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16565         (_dl_profile_resolve): Do no save or restore CR.  Support extended
16566         return values for ELFv2 ABI.  Fix location of FPR return registers.
16567         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16568         updated values for _CALL_ELF == 2.
16569         (La_regs, La_retval, int_retval): Likewise.
16571 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16573         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16574         (FRAME_MIN_SIZE_PARM): Likewise.
16575         (FRAME_BACKCHAIN): Likewise.
16576         (FRAME_CR_SAVE): Likewise.
16577         (FRAME_LR_SAVE): Likewise.
16578         (FRAME_TOC_SAVE): Likewise.
16579         (FRAME_PARM_SAVE): Likewise.
16580         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16581         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16582         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16583         (call_mcount_parm_offset): New macro.
16584         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16585         (PROF): Use symbolic stack frame offsets.
16586         (TAIL_CALL_SYSCALL_ERROR): Likewise.
16587         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16588         Redefine in terms of FRAME_MIN_SIZE.
16589         (_dl_runtime_resolve): Use symbolic stack frame offsets.
16590         (_dl_profile_resolve): Likewise.  Update comment.
16591         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16592         symbols stack frame offsets.
16593         (__sigsetjmp): Likewise.
16594         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16595         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16596         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16597         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16600         (FRAME_BACKCHAIN): Remove.
16601         (FRAME_CR_SAVE): Likewise.
16602         (FRAME_LR_SAVE): Likewise.
16603         (FRAME_COMPILER_DW): Likewise.
16604         (FRAME_LINKER_DW): Likewise.
16605         (FRAME_TOC_SAVE): Likewise.
16606         (FRAME_PARM_SAVE): Likewise.
16607         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16608         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16609         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16611         (CHECK_SP): Use symbolic stack frame offsets.
16612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16613         zone" instead of caller's parameter save area for temp storage.
16614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16615         Likewise.  Also, use symbolic stack frame offsets.
16616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16617         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16618         our own stack frame instead of the caller's.
16619         (__socket): Use symbolic stack frame offsets.
16621 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16622             Alan Modra  <amodra@gmail.com>
16624         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16625         Define.
16626         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16627         (PPC64_LOCAL_ENTRY_OFFSET): Define.
16628         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16629         New function.
16630         (elf_machine_fixup_plt): Call it.
16631         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
16632         reloc arguments.
16633         (elf_machine_rela): Update call to elf_machine_plt_conflict.
16634         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16635         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16636         r2 before calling target.
16638 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16639             Alan Modra  <amodra@gmail.com>
16641         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16642         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16643         versions of macros to support ELFv2 ABI.
16644         (LOCALENTRY): New macro.
16645         (ENTRY, EALIGN): Use it.
16646         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16647         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16648         fall through into ENTRY entry point.
16649         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16650         Only define if _CALL_ELF != 2.
16652         (elf_machine_matches_host): Verify ABI version matches.
16653         (RTLD_START): Use LOCALENTRY.
16654         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16655         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16656         (PLT_ENTRY_WORDS): New macro.
16657         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16658         (elf_machine_runtime_setup): Support ELFv2 ABI.
16659         (elf_machine_fixup_plt): Likewise.
16660         (elf_machine_plt_conflict): Likewise.
16661         (resolve_ifunc): Likewise.
16662         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16663         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16664         Likewise.
16665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16666         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16668         (makecontext): Support ELFv2 ABI.
16669         * elf/elf.h (EF_PPC64_ABI): Define.
16671 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16673         * sysdeps/powerpc/powerpc64/sysdep.h
16674         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16675         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16676         (ENTRY) [ASSEMBLER]: ... but instead here ...
16677         (EALIGN) [ASSEMBLER]: ... and here.
16678         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16679         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16680         (ENTRY_2) [!ASSEMBLER]: Use it.
16681         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16682         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
16683         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16684         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16685         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16687         Use PPC64_LOAD_FUNCPTR.
16689         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16691 2013-12-04  Alan Modra  <amodra@gmail.com>
16693         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16694         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16695         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16696         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16698         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16699         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16700         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16701         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16702         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16703         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16705 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16708         (__makecontext): Fix incorrect CFI when backtracing out of
16709         context created via makecontext.
16710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16711         (__setcontext): Fix incorrect CFI during switch to new context.
16712         (__novec_setcontext): Likewise.
16714 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16716         [BZ #4772]
16717         * time/strptime_l.c (__strptime_internal): Allow modifiers
16718         in strptime.
16719         * time/tst-strptime.c (day_tests): Add testcase.
16721 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16723         * scripts/bench.pl: Skip over blank lines.
16725 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16727         [BZ #926]
16728         * manual/time.texi (Calendar Time): Clarify what timezone functions
16729         use.
16731 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16735 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16737         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16738         implementation.
16739         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16740         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16741         * debug/memset_chk.c (__memset_chk): Likewise.
16742         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16743         * debug/strncpy_chk.c: Likewise.
16745 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16747         [BZ #15268]
16748         [BZ #15425]
16749         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16750         (__ieee754_exp): For possibly underflowing results, check size of
16751         result and force underflow exception if required.
16752         * math/auto-libm-test-in: Add more tests of exp.
16753         * math/auto-libm-test-out: Regenerated.
16754         * sysdeps/i386/fpu/libm-test-ulps: Update.
16755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16757         [BZ #16283]
16758         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16759         * math/w_exp2f.c (__exp2f): Likewise.
16760         * math/w_exp2l.c (__exp2l): Likewise.
16761         * math/auto-libm-test-in: Do not allow missing errno on exp2
16762         underflow.
16763         * math/auto-libm-test-out: Regenerated.
16765 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16767         [BZ #16274]
16768         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16769         handle filename validation.
16770         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16771         (do_open): Delete.
16773 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16775         [BZ #6786]
16776         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16777         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16778         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16779         <float.h>.
16780         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16781         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16782         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16784         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16785         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16786         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16787         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16788         Add more erfc tests.
16789         * math/auto-libm-test-out: Regenerated.
16790         * sysdeps/i386/fpu/libm-test-ulps: Update.
16791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16793         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16794         exp2, expm1, j0 and j1.
16795         * math/auto-libm-test-out: Regenerated.
16796         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16797         (erfc_test_data): Likewise.
16798         (exp_test_data): Likewise.
16799         (exp_tonearest_test_data): Likewise.
16800         (exp_towardzero_test_data): Likewise.
16801         (exp_downward_test_data): Likewise.
16802         (exp_upward_test_data): Likewise.
16803         (exp10_test_data): Likewise.
16804         (exp2_test_data): Likewise.
16805         (expm1_test_data): Likewise.
16806         (j0_test_data): Likewise.
16807         (j1_test_data): Likewise.
16808         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16809         (input_flag_type): Add flag_xfail_rounding.
16810         (input_flags): Add xfail-rounding.
16811         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16812         (output_for_one_input_case): Handle flag_xfail_rounding.
16813         * sysdeps/i386/fpu/libm-test-ulps: Update.
16814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16816 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16818         [BZ #16289]
16819         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16820         division by 0.
16822 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16824         [BZ #16195]
16825         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16826         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16827         (STAP_PROBE0): New macro.
16828         (STAP_PROBE1): Likewise.
16829         (STAP_PROBE2): Likewise.
16830         (STAP_PROBE3): Likewise.
16831         (STAP_PROBE4): Likewise.
16833 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16835         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16837 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16839         * benchtests/Makefile (bench): Add sqrt.
16840         (LDLIBS-bench-sqrt): New.
16841         * benchtests/sqrt-input: New.
16843 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16845         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16846         (GAIH_EAI): Likewise.
16847         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16848         (gaih_inet): Likewise.
16849         (getaddrinfo): Don't use GAIH_EAI.
16851         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16852         (struct gaih): Remove definition.
16854 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16856         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16857         Use HERRNOP directly.
16859 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16863 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16865         * math/gen-auto-libm-tests.c (test_functions): Add more
16866         single-argument functions.
16867         (special_fill_pi_2): New function.
16868         (special_fill_minus_pi_2): Likewise.
16869         (special_fill_pi_6): Likewise.
16870         (special_fill_minus_pi_6): Likewise.
16871         (special_fill_pi_3): Likewise.
16872         (special_fill_2pi_3): Likewise.
16873         (special_fill_e): Likewise.
16874         (special_fill_1_e): Likewise.
16875         (special_fill_e_minus_1): Likewise.
16876         (special_real_inputs): Add more special inputs.
16877         (output_for_one_input_case): Do not require ERANGE on underflow to
16878         zero if round-to-nearest result does not underflow to zero, unless
16879         exact results required.
16880         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16881         atan, atanh, cbrt, cos and cosh.
16882         * math/auto-libm-test-out: Regenerated.
16883         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16884         (acos_tonearest_test_data): Likewise.
16885         (acos_towardzero_test_data): Likewise.
16886         (acos_downward_test_data): Likewise.
16887         (acos_upward_test_data): Likewise.
16888         (acosh_test_data): Likewise.
16889         (asin_test_data): Likewise.
16890         (asin_tonearest_test_data): Likewise.
16891         (asin_towardzero_test_data): Likewise.
16892         (asin_upward_test_data): Likewise.
16893         (asinh_test_data): Likewise.
16894         (atan_test_data): Likewise.
16895         (atanh_test_data): Likewise.
16896         (cbrt_test_data): Likewise.
16897         (cos_test_data): Likewise.
16898         (cos_tonearest_test_data): Likewise.
16899         (cos_towardzero_test_data): Likewise.
16900         (cos_downward_test_data): Likewise.
16901         (cos_upward_test_data): Likewise.
16902         (cosh_test_data): Likewise.
16903         (cosh_tonearest_test_data): Likewise.
16904         (cosh_towardzero_test_data): Likewise.
16905         (cosh_downward_test_data): Likewise.
16906         (cosh_upward_test_data): Likewise.
16907         * sysdeps/i386/fpu/libm-test-ulps: Update.
16908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16910 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16912         [BZ #6787]
16913         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16914         * math/w_exp10f.c (__exp10f): Likewise.
16915         * math/w_exp10l.c (__exp10l): Likewise.
16916         * math/libm-test.inc (exp10_test_data): Add more tests and expect
16917         errno settings in existing tests.
16919         [BZ #14032]
16920         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16921         precision control set to double precision.
16922         * sysdeps/i386/fpu/w_sqrt.c: New file.
16923         * math/auto-libm-test-in: Add more tests.
16924         * math/auto-libm-test-out: Update.
16926         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16927         (sqrt_test_tonearest): New function.
16928         (sqrt_towardzero_test_data): New variable.
16929         (sqrt_test_towardzero): New function.
16930         (sqrt_downward_test_data): New variable.
16931         (sqrt_test_downward): New function.
16932         (sqrt_upward_test_data): New variable.
16933         (sqrt_test_upward): New function.
16934         (main): Call the new functions.
16936         * math/gen-auto-libm-tests.c: New file.
16937         * math/auto-libm-test-in: Likewise.
16938         * math/auto-libm-test-out: New generated file.
16939         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16940         variables.
16941         (%beautify): Add generated representations of zero.
16942         (top level): Set $auto_input and call parse_auto_input.
16943         (beautify): Remove trailing "f" from hex float constants.
16944         (parse_args): Handle XFAIL_TEST.
16945         (convert_condition): New function.
16946         (or_value): Likewise.
16947         (or_cond_value): Likewise.
16948         (generate_testfile): Handle AUTO_TESTS_* lines.
16949         (parse_auto_input): New function.
16950         * math/libm-test.inc (XFAIL_TEST): New macro.
16951         (ERRNO_UNCHANGED): Update value.
16952         (ERRNO_EDOM): Likewise.
16953         (ERRNO_ERANGE): Likewise.
16954         (IGNORE_RESULT): Likewise.
16955         (TEST_COND_flt_32): New macro.
16956         (TEST_COND_dbl_64): Likewise.
16957         (TEST_COND_ldbl_96_intel): Likewise.
16958         (TEST_COND_ldbl_96_m68k): Likewise.
16959         (TEST_COND_ldbl_128): Likewise.
16960         (TEST_COND_ldbl_128ibm): Likewise.
16961         (TEST_COND_long32): Likewise.
16962         (TEST_COND_long64): Likewise.
16963         (TEST_COND_before_rounding): Likewise.
16964         (TEST_COND_after_rounding): Likewise.
16965         (enable_test): Handle XFAIL_TEST flag.
16966         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16967         with finite results.
16968         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16969         auto-libm-test-out.
16971 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16972             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16974         [BZ #16214]
16975         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16976         __tls_get_addr_internal instead of __tls_get_offset in order to
16977         avoid GOT pointer dependency.  Make rtld export
16978         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16979         __tls_get_addr since we are a __tls_get_offset platform.
16980         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16981         GOT pointer being set up before.
16982         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16984 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
16986         * manual/math.texi (Errors in Math Functions): Document accuracy
16987         goals.
16989         [BZ #15004]
16990         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16991         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16992         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16993         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16994         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16995         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16996         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16997         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16998         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16999         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17000         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17001         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17002         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17003         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17004         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17005         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17007         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17008         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17009         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17010         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17011         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17012         Likewise.
17013         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17014         Likewise.
17015         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17016         Likewise.
17017         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17018         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17019         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17020         atomic-feupdateenv and flt-rounds.
17021         * sysdeps/powerpc/nofpu/Versions (libc): Add
17022         __atomic_feholdexcept, __atomic_feclearexcept,
17023         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17024         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17025         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17026         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17027         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17028         here.
17029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17030         Update.
17032         * manual/arith.texi (FP Exceptions): Document that exceptions may
17033         not be raised when matherr is used.
17034         (Math Error Reporting): Document overflow in directed rounding
17035         modes.  Document that errno may not be set when finite values are
17036         returned on overflow.  Document intent to set errno on underflow
17037         only for underflow to zero.
17039         [BZ #16271]
17040         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17041         round-to-nearest then adjust result for other rounding modes.
17042         * include/fenv.h (fegetround): Use libm_hidden_proto.
17043         * math/fegetround.c (fegetround): Use libm_hidden_def.
17044         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17045         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17046         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17047         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17048         Likewise.
17049         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17050         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17051         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17052         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17054 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17056         [BZ #16077]
17057         * nss/Versions (libnss_files): Add
17058         _nss_files_gethostbyname3_r.
17059         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17060         New function.
17061         (HOST_DB_LOOKUP): Remove macro.
17062         (_nss_files_gethostbyname_r): Implement function without the
17063         HOST_DB_LOOKUP macro.
17064         (_nss_files_gethostbyname2_r): Likewise.
17066 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
17068         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17070 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
17072         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17073         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17074         warning.
17076 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17078         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17079         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17080         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17081         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17082         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17083         __fe_nomask_env_priv and attribute_hidden.
17084         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17085         (libc_feupdateenv_test_ppc): Likewise.
17086         (libc_feresetround_ppc): Likewise.
17087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17088         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17089         compat_symbol macro.
17090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17091         (__fe_nomask_env): Likewise.
17092         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17094 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17096         * string/Makefile: Remove ifunc tests.
17097         * string/test-string.h: Define TEST_IFUNC.
17098         * string/test-bcopy-ifunc.c: Remove.
17099         * string/test-bzero-ifunc.c: Likewise.
17100         * string/test-memccpy-ifunc.c: Likewise.
17101         * string/test-memchr-ifunc.c: Likewise.
17102         * string/test-memcmp-ifunc.c: Likewise.
17103         * string/test-memcpy-ifunc.c: Likewise.
17104         * string/test-memmem-ifunc.c: Likewise.
17105         * string/test-memmove-ifunc.c: Likewise.
17106         * string/test-mempcpy-ifunc.c: Likewise.
17107         * string/test-memrchr-ifunc.c: Likewise.
17108         * string/test-memset-ifunc.c: Likewise.
17109         * string/test-rawmemchr-ifunc.c: Likewise.
17110         * string/test-stpcpy-ifunc.c: Likewise.
17111         * string/test-stpncpy-ifunc.c: Likewise.
17112         * string/test-strcasecmp-ifunc.c: Likewise.
17113         * string/test-strcasestr-ifunc.c: Likewise.
17114         * string/test-strcat-ifunc.c: Likewise.
17115         * string/test-strchr-ifunc.c: Likewise.
17116         * string/test-strchrnul-ifunc.c: Likewise.
17117         * string/test-strcmp-ifunc.c: Likewise.
17118         * string/test-strcpy-ifunc.c: Likewise.
17119         * string/test-strcspn-ifunc.c: Likewise.
17120         * string/test-strlen-ifunc.c: Likewise.
17121         * string/test-strncasecmp-ifunc.c: Likewise.
17122         * string/test-strncat-ifunc.c: Likewise.
17123         * string/test-strncmp-ifunc.c: Likewise.
17124         * string/test-strncpy-ifunc.c: Likewise.
17125         * string/test-strnlen-ifunc.c: Likewise.
17126         * string/test-strpbrk-ifunc.c: Likewise.
17127         * string/test-strrchr-ifunc.c: Likewise.
17128         * string/test-strspn-ifunc.c: Likewise.
17129         * string/test-strstr-ifunc.c: Likewise.
17131 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17133         * benchtests/Makefile: Remove ifunc tests.
17134         * benchtests/bench-string.h: Define TEST_IFUNC.
17135         * benchtests/bench-bcopy-ifunc.c: Remove.
17136         * benchtests/bench-bzero-ifunc.c: Likewise.
17137         * benchtests/bench-memccpy-ifunc.c: Likewise.
17138         * benchtests/bench-memchr-ifunc.c: Likewise.
17139         * benchtests/bench-memcmp-ifunc.c: Likewise.
17140         * benchtests/bench-memcpy-ifunc.c: Likewise.
17141         * benchtests/bench-memmem-ifunc.c: Likewise.
17142         * benchtests/bench-memmove-ifunc.c: Likewise.
17143         * benchtests/bench-mempcpy-ifunc.c: Likewise.
17144         * benchtests/bench-memrchr-ifunc.c: Likewise.
17145         * benchtests/bench-memset-ifunc.c: Likewise.
17146         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17147         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17148         * benchtests/bench-stpcpy-ifunc.c: Likewise.
17149         * benchtests/bench-stpncpy-ifunc.c: Likewise.
17150         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17151         * benchtests/bench-strcasestr-ifunc.c: Likewise.
17152         * benchtests/bench-strcat-ifunc.c: Likewise.
17153         * benchtests/bench-strchr-ifunc.c: Likewise.
17154         * benchtests/bench-strchrnul-ifunc.c: Likewise.
17155         * benchtests/bench-strcmp-ifunc.c: Likewise.
17156         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17157         * benchtests/bench-strcpy-ifunc.c: Likewise.
17158         * benchtests/bench-strcspn-ifunc.c: Likewise.
17159         * benchtests/bench-strlen-ifunc.c: Likewise.
17160         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17161         * benchtests/bench-strncat-ifunc.c: Likewise.
17162         * benchtests/bench-strncmp-ifunc.c: Likewise.
17163         * benchtests/bench-strncpy-ifunc.c: Likewise.
17164         * benchtests/bench-strnlen-ifunc.c: Likewise.
17165         * benchtests/bench-strpbrk-ifunc.c: Likewise.
17166         * benchtests/bench-strrchr-ifunc.c: Likewise.
17167         * benchtests/bench-strsep-ifunc.c: Likewise.
17168         * benchtests/bench-strspn-ifunc.c: Likewise.
17169         * benchtests/bench-strstr-ifunc.c: Likewise.
17171 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17173         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17175 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17177         * resolv/netdb.h: Use __glibc_reserved instead __unused.
17178         * rt/aio.h: Likewise.
17179         * sysdeps/gnu/bits/utmp.h: Likewise.
17180         * sysdeps/gnu/bits/utmpx.h: Likewise.
17181         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17182         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17183         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17184         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17185         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17186         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17187         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17188         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17189         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17190         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17191         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17192         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17193         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17195         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17196         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17197         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17198         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17199         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17200         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17201         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17202         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17203         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17204         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17205         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17206         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17207         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17208         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17209         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17210         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17211         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17212         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17213         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17214         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17215         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17216         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17217         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17218         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17219         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17220         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17221         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17222         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17224 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
17226         [BZ #16245]
17227         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17228         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17230 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
17232         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17233         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17234         Likewise.
17236 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17238         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17239         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17240         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17241         (__fesetround): Remove define.
17242         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17243         rounding and exceptions handling.
17244         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17245         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17246         (__fe_nomask_env): Likewise.
17247         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17248         __fegetround instead of fegetround.
17249         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17250         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17252 2013-11-21  Roland McGrath  <roland@hack.frob.com>
17254         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17255         it's there.
17257         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17259 2013-11-21  Meador Inge  <meadori@codesourcery.com>
17261         [BZ #11157]
17262         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17263         (encrypt_r): Likewise.
17264         * malloc/obstack.h (obstack_free): Likewise.
17265         * posix/unistd.h (encrypt): Likewise.
17267 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
17269         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17270         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17271         DL_CALL_DT_FINI() that call the functions directly.
17272         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17273         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17274         * elf/dl-fini.c: Likewise.
17276 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
17278         * malloc/hooks.c (memalign_check): Add alignment rounding.
17279         * malloc/malloc.c (_mid_memalign): New function.
17280         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17281         Implement by calling _mid_memalign.
17282         * manual/probes.texi (Memory Allocation Probes): Remove
17283         memory_valloc_retry and memory_pvalloc_retry.
17285 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17287         * locale/programs/locarchive.c (open_archive): Add const
17288         qualifier to ARCHIVEFNAME and copy default fname to
17289         DEFAULT_FNAME.
17291         [BZ #15601]
17292         * libio/tst-widetext.input: Rename Oriya to Odia.
17293         * locale/iso-639.def: Likewise.
17295         * manual/probes.texi (Mathematical Function Probes): Add
17296         documentation for sin, cos, asin and acos probes.
17297         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17298         (__sin32): Add slowasin probe.
17299         (__cos32): Add slowacos probe.
17300         (__mpsin): Add slowsin probe.
17301         (__mpcos): Add slowcos probe.
17303 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
17305         [BZ #15483]
17306         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17307         thread-local __sim_exceptions_thread and global
17308         __sim_exceptions_global.
17309         (__sim_disabled_exceptions): Change to thread-local
17310         __sim_disabled_exceptions_thread and global
17311         __sim_disabled_exceptions_global.
17312         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17313         and global __sim_round_mode_global.
17314         (__simulate_exceptions): Use thread-local floating-point state and
17315         set global state from it as needed.
17316         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17317         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17318         __sim_round_mode_thread.
17319         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17320         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17321         and global __sim_exceptions_global.
17322         (__sim_disabled_exceptions): Change to thread-local
17323         __sim_disabled_exceptions_thread and global
17324         __sim_disabled_exceptions_global.
17325         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17326         and global __sim_round_mode_global.
17327         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17328         (SIM_SET_GLOBAL): Likewise.
17329         * sysdeps/powerpc/soft-fp/sfp-machine.h
17330         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17331         __sim_round_mode_thread.
17332         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17333         __sim_disabled_exceptions_thread.
17334         (__sim_exceptions): Change to __sim_exceptions_thread.
17335         (__sim_disabled_exceptions): Change to
17336         __sim_disabled_exceptions_thread.
17337         (__sim_round_mode): Change to __sim_round_mode_thread.
17338         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17339         thread-local floating-point state and set global state from it as
17340         needed.
17341         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17342         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17343         (__sim_disabled_exceptions): Remove extern declaration.
17344         (feenableexcept): Use thread-local floating-point state and set
17345         global state from it as needed.
17346         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17347         extern declaration.
17348         (__sim_disabled_exceptions): Likewise.
17349         (__sim_round_mode): Likewise.
17350         (__fegetenv): Use thread-local floating-point state.
17351         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17352         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17353         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17354         floating-point state and set global state from it as needed.
17355         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17356         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17357         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17358         Likewise.
17359         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17360         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17361         Likewise.
17362         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17363         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17364         Use __sim_round_mode_thread.
17365         * math/test-fenv-tls.c: New file.
17366         * math/Makefile (tests): Add test-fenv-tls.
17367         ($(objpfx)test-fenv-tls): Depend on
17368         $(common-objpfx)nptl/libpthread.so.
17370 2013-11-19  Andreas Schwab  <schwab@suse.de>
17372         * locale/programs/locale.c (show_info): Decode wordarray elements.
17373         * locale/categories.def (LC_MONETARY): Add element for
17374         _NL_MONETARY_CRNCYSTR.
17375         * locale/C-monetary.c (conversion_rate): New variable.
17376         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17377         element.
17379 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
17381         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17382         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17384 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17386         * elf/Makefile (tst-auxv): New test.
17387         * elf/tst-auxv.c: New
17388         * elf/rtld.c (dl_main): Adjust AT_EXECFN
17390 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
17392         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17393         (hidden_proto): Caller changed.
17394         (hidden_tls_proto): New macro.
17395         (libc_hidden_tls_proto): Likewise.
17396         (rtld_hidden_tls_proto): Likewise.
17397         (libm_hidden_tls_proto): Likewise.
17398         (libresolv_hidden_tls_proto): Likewise.
17399         (librt_hidden_tls_proto): Likewise.
17400         (libdl_hidden_tls_proto): Likewise.
17401         (libnss_files_hidden_tls_proto): Likewise.
17402         (libnsl_hidden_tls_proto): Likewise.
17403         (libnss_nisplus_hidden_tls_proto): Likewise.
17404         (libutil_hidden_tls_proto): Likewise.
17406 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
17408         [BZ #10253]
17409         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17410         (decompose_rpath): Defer expansion to fillin_rpath.
17411         (_dl_init_paths): Pass linkmap to fillin_rpath.
17413 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17415         * benchtests/Makefile: Add strsep.
17416         * benchtests/bench-strsep.c: New file: strsep benchtest.
17417         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17419 2013-11-18  Andreas Schwab  <schwab@suse.de>
17421         * locale/programs/locale.c (show_info) [case byte]: Check for
17422         '\377' instead of '\177'.
17423         * locale/C-monetary.c (not_available): Always use "\377".
17424         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17425         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
17426         detect unavailable sign_posn locale elements.
17427         * locale/localeconv.c (__localeconv): For grouping and
17428         mon_grouping handle "\177" and "\377" like no grouping.
17429         (INT_ELEM): New macro.  Use it to set all numeric members.
17430         * locale/programs/ld-monetary.c (monetary_read)
17431         <tok_mon_grouping>: Normalize single -1 to the empty string.
17432         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17433         Likewise.
17435 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17437         [BZ #16055]
17438         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17439         when we match (nil).
17440         * stdio-common/tst-sscanf.c (struct test): Add testcase.
17442 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
17444         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17445         (NO_TEST_INLINE): Update value.
17446         (ERRNO_UNCHANGED): Likewise.
17447         (ERRNO_EDOM): Likewise.
17448         (ERRNO_ERANGE): Likewise.
17449         (IGNORE_RESULT): Likewise.
17450         (check_float_internal): Check signs of NaN results if
17451         TEST_NAN_SIGN used.
17452         (check_complex): Pass TEST_NAN_SIGN flag through to second
17453         check_float_internal call.
17454         (copysign_test_data): Add tests with quiet NaNs as second
17455         argument.  Use TEST_NAN_SIGN.
17456         (fabs_test_data): Add test of negative quiet NaN argument.  Use
17457         TEST_NAN_SIGN.
17458         (signbit_test_data): Add tests of quiet NaN argument.
17459         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17461         * math/gen-libm-test.pl (show_exceptions): Take extra argument
17462         $ignore_result.
17463         (parse_args): Handle function results specified as IGNORE.
17464         * math/libm-test.inc (IGNORE_RESULT): New macro.
17465         (check_float_internal): Do not check numerical result if flag
17466         IGNORE_RESULT set.
17467         (check_complex): Pass through IGNORE_RESULT to second
17468         check_float_internal call.
17469         (check_int): Do not check numerical result if flag IGNORE_RESULT
17470         set.
17471         (check_long): Likewise.
17472         (check_bool): Likewise.
17473         (check_longlong): Likewise.
17474         (lrint_test_data): Add tests of infinite and NaN arguments.
17475         (lrint_tonearest_test_data): Likewise.
17476         (lrint_towardzero_test_data): Likewise.
17477         (lrint_downward_test_data): Likewise.
17478         (lrint_upward_test_data): Likewise.
17479         (llrint_test_data): Likewise.
17480         (llrint_tonearest_test_data): Likewise.
17481         (llrint_towardzero_test_data): Likewise.
17482         (llrint_downward_test_data): Likewise.
17483         (llrint_upward_test_data): Likewise.
17484         (lround_test_data): Likewise.
17485         (llround_test_data): Likewise.
17487         * math/libm-test.inc (NO_TEST_INLINE): New macro.
17488         (ERRNO_UNCHANGED): Update value.
17489         (ERRNO_EDOM): Likewise.
17490         (ERRNO_ERANGE): Likewise.
17491         (NO_TEST_INLINE_FLOAT): New macro.
17492         (NO_TEST_INLINE_DOUBLE): Likewise.
17493         (enable_test): New function.
17494         (RUN_TEST_f_f): Check enable_test before running test.
17495         (RUN_TEST_2_f): Likewise.
17496         (RUN_TEST_fff_f): Likewise.
17497         (RUN_TEST_c_f): Likewise.
17498         (RUN_TEST_f_f1): Likewise.
17499         (RUN_TEST_fF_f1): Likewise.
17500         (RUN_TEST_fI_f1): Likewise.
17501         (RUN_TEST_ffI_f1): Likewise.
17502         (RUN_TEST_c_c): Likewise.
17503         (RUN_TEST_cc_c): Likewise.
17504         (RUN_TEST_f_i): Likewise.
17505         (RUN_TEST_f_i_tg): Likewise.
17506         (RUN_TEST_ff_i_tg): Likewise.
17507         (RUN_TEST_f_b): Likewise.
17508         (RUN_TEST_f_b_tg): Likewise.
17509         (RUN_TEST_f_l): Likewise.
17510         (RUN_TEST_f_L): Likewise.
17511         (RUN_TEST_fFF_11): Likewise.
17512         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17513         conditionals.
17514         (cosh_test_data): Likewise.
17515         (exp_test_data): Likewise.
17516         (expm1_test_data): Likewise.
17517         (hypot_test_data): Likewise.
17518         (pow_test_data): Likewise.
17519         (sinh_test_data): Likewise.
17520         (tanh_test_data): Likewise.
17521         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17522         flags argument.
17524         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17525         tests with quiet NaN input and output.
17526         (acosh_test_data): Likewise.
17527         (asin_test_data): Likewise.
17528         (asinh_test_data): Likewise.
17529         (atan_test_data): Likewise.
17530         (atanh_test_data): Likewise.
17531         (atan2_test_data): Likewise.
17532         (cbrt_test_data): Likewise.
17533         (cos_test_data): Likewise.
17534         (cosh_test_data): Likewise.
17535         (erf_test_data): Likewise.
17536         (erfc_test_data): Likewise.
17537         (exp_test_data): Likewise.
17538         (exp10_test_data): Likewise.
17539         (exp2_test_data): Likewise.
17540         (expm1_test_data): Likewise.
17541         (hypot_test_data): Likewise.
17542         (j0_test_data): Likewise.
17543         (j1_test_data): Likewise.
17544         (jn_test_data): Likewise.
17545         (lgamma_test_data): Likewise.
17546         (log_test_data): Likewise.
17547         (log10_test_data): Likewise.
17548         (log1p_test_data): Likewise.
17549         (log2_test_data): Likewise.
17550         (pow_test_data): Likewise.
17551         (scalb_test_data): Likewise.
17552         (sin_test_data): Likewise.
17553         (sincos_test_data): Likewise.
17554         (sinh_test_data): Likewise.
17555         (tan_test_data): Likewise.
17556         (tanh_test_data): Likewise.
17557         (tgamma_test_data): Likewise.
17558         (y0_test_data): Likewise.
17559         (y1_test_data): Likewise.
17560         (yn_test_data): Likewise.
17562         [BZ #16167]
17563         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17564         argument being NaN and avoid computations with second argument in
17565         that case.
17566         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17567         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17568         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17570 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
17572         * locale/iso-639.def: Add Chitwani Tharu (the).
17574 2013-11-14  Andreas Schwab  <schwab@suse.de>
17576         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17577         word instead of empty string.
17579 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17582         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17584         (__fe_nomask_env): Likewise.
17586 2013-11-13  Steve Ellcey  <sellcey@mips.com>
17588         * benchtests/bench-timing.h: Include time.h.
17590 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
17592         [BZ #15997]
17593         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17594         to 3.4.0 for x32.
17595         * sysdeps/unix/sysv/linux/configure: Regenerated.
17597 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
17599         [BZ #16151]
17600         * stdlib/strtod_l.c (round_and_return): Do not consider
17601         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17602         exponent one less than half the least subnormal exponent.
17603         * stdlib/test-strtod-round-data: Add more tests.
17604         * stdlib/tst-strtod-round.c (tests): Regenerated.
17606 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17608         [BZ #14143]
17609         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17610         (__fe_mask_env): Likewise.
17611         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17612         libm_hidden_proto and add function prototype.
17613         (__fe_mask_env): Add function prototype.
17614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17615         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17617         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17619         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17621 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17623         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17624         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17626 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17628         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17629         of htab_find_slot().
17631 2013-11-11  David S. Miller  <davem@davemloft.net>
17633         [BZ #16150]
17634         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17635         symbol in the non-vis3 case in static builds.
17636         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17637         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17638         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17639         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17641 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
17643         [BZ #387]
17644         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17645         it is empty.
17647 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17649         * benchtests/Makefile: Add bench-strtod.
17650         * benchtests/bench-strtod.c: New file: strtod benchtest
17652 2013-11-11  Andreas Schwab  <schwab@suse.de>
17654         [BZ #16153]
17655         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17656         terminating NUL in key length.
17658 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17660         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17661         Add artificial ODP entry for vDSO symbol for PPC64.
17662         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17663         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17665 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17667         [BZ #15374]
17668         * nss/getent.c (services_keys): Recognize services starting with digit.
17670 2013-11-06  David S. Miller  <davem@davemloft.net>
17672         [BZ #15985]
17673         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17674         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17676 2013-11-06  Will Newton  <will.newton@linaro.org>
17678         * manual/memory.texi (Malloc Examples): Remove register
17679         keyword from examples.
17681 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
17683         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17685 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
17687         [BZ #6981]
17688         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17689         depending on [__GCC_IEC_559 > 0].
17690         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17691         depending on [__GCC_IEC_559_COMPLEX > 0].
17693 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
17695         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17696         to iso-639.def.
17698 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
17700         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17702 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
17704         [BZ #16112]
17705         * malloc/malloc (malloc_info): Do not handle first bin as
17706         special case.
17708 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
17710         * locale/iso-639.def: Add Central Nahuatl (nhn).
17712 2013-11-01  Bruno Haible  <bruno@clisp.org>
17714         [BZ #7003]
17715         * manual/math.texi (BSD Random): Specify range upper bound as
17716         in POSIX.
17718 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17720         * locale/iso-639.def: Add Meadow Mari (mhr).
17722 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17724         [BZ #14752], [BZ #15763]
17725         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17726         Validate name.
17727         * rt/tst_shm.c: Add test for escaping directory.
17729 2013-10-31  Andreas Schwab  <schwab@suse.de>
17731         [BZ #15917]
17732         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17733         followed by 'x' as part of digit sequence.
17734         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17736 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17738         [BZ #16037]
17739         * configure.ac: allow GNU Make 4.0 and greater.
17740         * configure: Regenerated.
17742 2013-10-30  Will Newton  <will.newton@linaro.org>
17744         [BZ #16038]
17745         * malloc/hooks.c (memalign_check): Limit alignment to the
17746         maximum representable power of two.
17747         * malloc/malloc.c (__libc_memalign): Likewise.
17748         * malloc/tst-memalign.c (do_test): Add test for very
17749         large alignment values.
17750         * malloc/tst-posix_memalign.c (do_test): Likewise.
17752 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17754         [BZ #11087]
17755         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17756         (munmap_chunk): Likewise.
17757         (mremap_chunk): Likewise.
17759 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17761         [BZ #15799]
17762         * stdlib/div.c (div): Remove obsolete code.
17763         * stdlib/ldiv.c (ldiv): Likewise.
17764         * stdlib/lldiv.c (lldiv): Likewise.
17766 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17768         [BZ #16071]
17769         * nss/nss_files/files-XXX.c (get_contents_ret): New
17770         enumerator.
17771         (get_contents): New function.
17772         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17774 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17776         * configure.in: Moved to ...
17777         * configure.ac: ... here. Change reference to configure.in
17778         to configure.ac.
17779         * sysdeps/arm/preconfigure.ac: ... here.
17780         configure.in to configure.ac.
17781         * sysdeps/gnu/configure.in: Moved to ...
17782         * sysdeps/gnu/configure.ac: ... here.
17783         * sysdeps/i386/configure.in: Moved to ...
17784         * sysdeps/i386/configure.ac: ... here.
17785         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17786         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17787         * sysdeps/mach/configure.in: Moved to ...
17788         * sysdeps/mach/configure.ac: ... here.
17789         * sysdeps/mach/hurd/configure.in: Moved to ...
17790         * sysdeps/mach/hurd/configure.ac: ... here.
17791         * sysdeps/powerpc/configure.in: Moved to ...
17792         * sysdeps/powerpc/configure.ac: ... here.
17793         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17794         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17795         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17796         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17797         * sysdeps/s390/s390-32/configure.in: Moved to ...
17798         * sysdeps/s390/s390-32/configure.ac: ... here.
17799         * sysdeps/s390/s390-64/configure.in: Moved to ...
17800         * sysdeps/s390/s390-64/configure.ac: ... here.
17801         * sysdeps/sh/configure.in: Moved to ...
17802         * sysdeps/sh/configure.ac: ... here.
17803         * sysdeps/sparc/configure.in: Moved to ...
17804         * sysdeps/sparc/configure.ac: ... here.
17805         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17806         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17807         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17808         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17809         * sysdeps/x86_64/configure.in: Moved to ...
17810         * sysdeps/x86_64/configure.ac: ... here.
17811         * sysdeps/x86_64/preconfigure.in: Moved to ...
17812         * sysdeps/x86_64/preconfigure.ac: ... here.
17813         * aclocal.m4: Change reference to configure.in to configure.ac.
17814         * config.h.in: Likewise.
17815         * manual/install.texi: Likewise.
17816         * manual/maint.texi: Likewise.
17817         * Makefile: Likewise.
17818         * malloc/Makefile: Likewise.
17819         * nscd/Makefile: Likewise.
17820         * Makeconfig: Change reference to configure.in and
17821         preconfigure.in to configure.ac and preconfigure.ac
17822         respectively.
17823         * INSTALL: Regenerated.
17824         * configure: Likewise.
17825         * sysdeps/gnu/configure: Likewise.
17826         * sysdeps/i386/configure: Likewise.
17827         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17828         * sysdeps/mach/configure: Likewise.
17829         * sysdeps/mach/hurd/configure: Likewise.
17830         * sysdeps/powerpc/configure: Likewise.
17831         * sysdeps/powerpc/powerpc32/configure: Likewise.
17832         * sysdeps/powerpc/powerpc64/configure: Likewise.
17833         * sysdeps/s390/s390-32/configure: Likewise.
17834         * sysdeps/s390/s390-64/configure: Likewise.
17835         * sysdeps/sh/configure: Likewise.
17836         * sysdeps/sparc/configure: Likewise.
17837         * sysdeps/unix/sysv/linux/configure: Likewise.
17838         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17839         * sysdeps/x86_64/configure: Likewise.
17840         * sysdeps/x86_64/preconfigure: Likewise.
17842 2013-10-29  Andreas Schwab  <schwab@suse.de>
17844         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17846 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17848         * benchtests/pow-inputs: Add new inputs.
17850         * benchtests/exp-inputs: Add new inputs.
17852         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17853         conditional check for return value.
17854         (__cos32): Likewise.
17856 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17858         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17859         to provide a boost for large inputs with word alignment.
17860         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17861         implementation based on optimized PPC64 strcpy.
17862         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17863         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17864         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17865         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17867 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17869         [BZ #2801]
17870         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17872 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17874         [BZ #14876]
17875         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17876         * time/tst-strptime.c (day_tests): Add testcase.
17878 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17880         [BZ #14029]
17881         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17883 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17885         [BZ #16074]
17886         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17887         MAP_FAILED on error.
17889 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17891         [BZ #16072]
17892         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17893         heap for large requests.
17895 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17897         [BZ #9954]
17898         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17899         result if the result has no associated interface.
17900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17901         interface for all 127.X.Y.Z addresses.
17903 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17905         * locale/iso-639.def: Add Ligurian (lij)
17907 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17909         [BZ #15825]
17910         * sunrpc/rpc_main.c: Document rpcgen -5.
17912 2013-10-19  Michael Stahl  <mstahl@redhat.com>
17914         * elf/rtld.c (do_preload): Print the reason why preloading failed.
17916 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17918         [BZ #10278]
17919         * posix/glob.c: Match only directories when trailing slash is present.
17920         * posix/tst-gnuglob.c (my_opendir): Do not open files.
17921         (main): Add testcase.
17923 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17925         [BZ #15670]
17926         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17928 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
17930         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17931         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17932         AUTH_DES and cindex for FIPS 140-2.
17933         (DES Encryption): Add cindex FIPS 46-3.
17935         * locale/locarchive.h (struct locarhandle): Add fname.
17936         * locale/programs/localedef.c (main): Pass ARGV[remaining]
17937         if an optional argument was specified to --list-archive,
17938         otherwise NULL.
17939         * locale/programs/locarchive.c (show_archive_content): Take new
17940         argument fname and pass it via ah.fname to open_archive.
17941         * locale/programs/localedef.h: Update decl.
17942         (open_archive): If AH->fname is non-null, open that file
17943         rather than the default file name, and don't ignore ENOENT.
17944         (create_archive): Set AH.fname to NULL.
17945         (delete_locales_from_archive): Likewise.
17946         (add_locales_to_archive): Likewise.
17947         * locale/programs/locfile.c (write_all_categories): Likewise.
17949 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
17950             Aldy Hernandez  <aldyh@redhat.com>
17952         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17953         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17954         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17955         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17956         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17957         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17958         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17959         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17960         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17961         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17962         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17963         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17964         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17965         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17966         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17967         Likewise.
17968         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17969         Likewise.
17970         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17971         Likewise.
17972         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17973         Likewise.
17974         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17975         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17976         Likewise.
17977         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17978         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17979         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17980         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17981         Likewise.
17982         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17983         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17984         * sysdeps/powerpc/preconfigure: Likewise.
17985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17986         Likewise.
17987         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17988         Replace contents of file by #include of <fenv_libc.h>.
17989         * sysdeps/powerpc/soft-fp/sfp-machine.h
17990         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17991         and <sys/prctl.h>.
17992         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17993         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17994         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17995         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17996         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17997         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17998         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17999         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18000         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18001         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18002         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18003         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18005         Allow copysignl PLT reference to be missing.
18007 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
18008             Joseph Myers  <joseph@codesourcery.com
18010         [BZ #15948]
18011         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18012         single character.
18013         (add_to_tablewc): Assert sequence of wide characters is nonempty.
18015 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18017         * elf/tst-tls-dlinfo.c: Don't include tls.h.
18018         * elf/tst-tls1.c: Likewise.
18019         * elf/tst-tls10.h: Likewise.
18020         * elf/tst-tls14.c: Likewise.
18021         * elf/tst-tls2.c: Likewise.
18022         * elf/tst-tls3.c: Likewise.
18023         * elf/tst-tls4.c: Likewise.
18024         * elf/tst-tls5.c: Likewise.
18025         * elf/tst-tls6.c: Likewise.
18026         * elf/tst-tls7.c: Likewise.
18027         * elf/tst-tls8.c: Likewise.
18028         * elf/tst-tls9.c: Likewise.
18029         * elf/tst-tlsmod1.c: Likewise.
18030         * elf/tst-tlsmod13.c: Likewise.
18031         * elf/tst-tlsmod13a.c: Likewise.
18032         * elf/tst-tlsmod14a.c: Likewise.
18033         * elf/tst-tlsmod16a.c: Likewise.
18034         * elf/tst-tlsmod16b.c: Likewise.
18035         * elf/tst-tlsmod2.c: Likewise.
18036         * elf/tst-tlsmod3.c: Likewise.
18037         * elf/tst-tlsmod4.c: Likewise.
18038         * elf/tst-tlsmod5.c: Likewise.
18039         * elf/tst-tlsmod6.c: Likewise.
18041 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
18043         [BZ #12486]
18044         * malloc/malloc.c: remove checks for statistics.
18046 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18048         [BZ #15277]
18049         * inet/inet_net.c (inet_network): Detect additional invalid strings.
18050         * inet/tst-network.c: Add testcase.
18052 2013-10-17  Andreas Schwab  <schwab@suse.de>
18054         [BZ #15218]
18055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18056         to determine canonical name.
18058 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18060         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18061         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18062         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18063         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18064         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18065         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18066         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18067         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18068         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18069         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18070         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18071         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18072         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18073         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18074         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18075         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18076         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18077         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18078         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18079         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18080         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18081         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18082         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18083         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18084         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18085         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18086         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18087         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18088         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18089         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18090         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18091         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18092         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18093         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18094         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18095         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18096         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18097         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18098         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18099         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18100         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18101         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18102         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18103         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18104         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18105         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18106         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18107         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18108         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18109         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18110         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18111         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18112         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18113         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18114         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18115         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18116         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18117         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18119 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
18121         [BZ #16041]
18122         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18123         make result into a quiet NaN.
18125 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
18127         * soft-fp/adddf3.c: Fix horizontal whitespace.
18128         * soft-fp/addsf3.c: Likewise.
18129         * soft-fp/addtf3.c: Likewise.
18130         * soft-fp/divdf3.c: Likewise.
18131         * soft-fp/divsf3.c: Likewise.
18132         * soft-fp/divtf3.c: Likewise.
18133         * soft-fp/double.h: Likewise.
18134         * soft-fp/eqdf2.c: Likewise.
18135         * soft-fp/eqsf2.c: Likewise.
18136         * soft-fp/eqtf2.c: Likewise.
18137         * soft-fp/extenddftf2.c: Likewise.
18138         * soft-fp/extended.h: Likewise.
18139         * soft-fp/extendsfdf2.c: Likewise.
18140         * soft-fp/extendsftf2.c: Likewise.
18141         * soft-fp/extendxftf2.c: Likewise.
18142         * soft-fp/fixdfdi.c: Likewise.
18143         * soft-fp/fixdfsi.c: Likewise.
18144         * soft-fp/fixdfti.c: Likewise.
18145         * soft-fp/fixsfdi.c: Likewise.
18146         * soft-fp/fixsfsi.c: Likewise.
18147         * soft-fp/fixsfti.c: Likewise.
18148         * soft-fp/fixtfdi.c: Likewise.
18149         * soft-fp/fixtfsi.c: Likewise.
18150         * soft-fp/fixtfti.c: Likewise.
18151         * soft-fp/fixunsdfdi.c: Likewise.
18152         * soft-fp/fixunsdfsi.c: Likewise.
18153         * soft-fp/fixunsdfti.c: Likewise.
18154         * soft-fp/fixunssfdi.c: Likewise.
18155         * soft-fp/fixunssfsi.c: Likewise.
18156         * soft-fp/fixunssfti.c: Likewise.
18157         * soft-fp/fixunstfdi.c: Likewise.
18158         * soft-fp/fixunstfsi.c: Likewise.
18159         * soft-fp/fixunstfti.c: Likewise.
18160         * soft-fp/floatdidf.c: Likewise.
18161         * soft-fp/floatdisf.c: Likewise.
18162         * soft-fp/floatditf.c: Likewise.
18163         * soft-fp/floatsidf.c: Likewise.
18164         * soft-fp/floatsisf.c: Likewise.
18165         * soft-fp/floatsitf.c: Likewise.
18166         * soft-fp/floattidf.c: Likewise.
18167         * soft-fp/floattisf.c: Likewise.
18168         * soft-fp/floattitf.c: Likewise.
18169         * soft-fp/floatundidf.c: Likewise.
18170         * soft-fp/floatundisf.c: Likewise.
18171         * soft-fp/floatunditf.c: Likewise.
18172         * soft-fp/floatunsidf.c: Likewise.
18173         * soft-fp/floatunsisf.c: Likewise.
18174         * soft-fp/floatunsitf.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.
18215 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
18217         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18218         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18220 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
18222         * elf/dl-libc.c: Clear initfini list after freeing.
18224 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
18226         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18227         * soft-fp/addsf3.c: Likewise.
18228         * soft-fp/addtf3.c: Likewise.
18229         * soft-fp/divdf3.c: Likewise.
18230         * soft-fp/divsf3.c: Likewise.
18231         * soft-fp/divtf3.c: Likewise.
18232         * soft-fp/double.h: Likewise.
18233         * soft-fp/eqdf2.c: Likewise.
18234         * soft-fp/eqsf2.c: Likewise.
18235         * soft-fp/eqtf2.c: Likewise.
18236         * soft-fp/extenddftf2.c: Likewise.
18237         * soft-fp/extended.h: Likewise.
18238         * soft-fp/extendsfdf2.c: Likewise.
18239         * soft-fp/extendsftf2.c: Likewise.
18240         * soft-fp/extendxftf2.c: Likewise.
18241         * soft-fp/fixdfdi.c: Likewise.
18242         * soft-fp/fixdfsi.c: Likewise.
18243         * soft-fp/fixdfti.c: Likewise.
18244         * soft-fp/fixsfdi.c: Likewise.
18245         * soft-fp/fixsfsi.c: Likewise.
18246         * soft-fp/fixsfti.c: Likewise.
18247         * soft-fp/fixtfdi.c: Likewise.
18248         * soft-fp/fixtfsi.c: Likewise.
18249         * soft-fp/fixtfti.c: Likewise.
18250         * soft-fp/fixunsdfdi.c: Likewise.
18251         * soft-fp/fixunsdfsi.c: Likewise.
18252         * soft-fp/fixunsdfti.c: Likewise.
18253         * soft-fp/fixunssfdi.c: Likewise.
18254         * soft-fp/fixunssfsi.c: Likewise.
18255         * soft-fp/fixunssfti.c: Likewise.
18256         * soft-fp/fixunstfdi.c: Likewise.
18257         * soft-fp/fixunstfsi.c: Likewise.
18258         * soft-fp/fixunstfti.c: Likewise.
18259         * soft-fp/floatdidf.c: Likewise.
18260         * soft-fp/floatdisf.c: Likewise.
18261         * soft-fp/floatditf.c: Likewise.
18262         * soft-fp/floatsidf.c: Likewise.
18263         * soft-fp/floatsisf.c: Likewise.
18264         * soft-fp/floatsitf.c: Likewise.
18265         * soft-fp/floattidf.c: Likewise.
18266         * soft-fp/floattisf.c: Likewise.
18267         * soft-fp/floattitf.c: Likewise.
18268         * soft-fp/floatundidf.c: Likewise.
18269         * soft-fp/floatundisf.c: Likewise.
18270         * soft-fp/floatunsidf.c: Likewise.
18271         * soft-fp/floatunsisf.c: Likewise.
18272         * soft-fp/floatuntidf.c: Likewise.
18273         * soft-fp/floatuntisf.c: Likewise.
18274         * soft-fp/floatuntitf.c: Likewise.
18275         * soft-fp/fmadf4.c: Likewise.
18276         * soft-fp/fmasf4.c: Likewise.
18277         * soft-fp/fmatf4.c: Likewise.
18278         * soft-fp/gedf2.c: Likewise.
18279         * soft-fp/gesf2.c: Likewise.
18280         * soft-fp/getf2.c: Likewise.
18281         * soft-fp/ledf2.c: Likewise.
18282         * soft-fp/lesf2.c: Likewise.
18283         * soft-fp/letf2.c: Likewise.
18284         * soft-fp/muldf3.c: Likewise.
18285         * soft-fp/mulsf3.c: Likewise.
18286         * soft-fp/multf3.c: Likewise.
18287         * soft-fp/negdf2.c: Likewise.
18288         * soft-fp/negsf2.c: Likewise.
18289         * soft-fp/negtf2.c: Likewise.
18290         * soft-fp/op-1.h: Likewise.
18291         * soft-fp/op-2.h: Likewise.
18292         * soft-fp/op-4.h: Likewise.
18293         * soft-fp/op-8.h: Likewise.
18294         * soft-fp/op-common.h: Likewise.
18295         * soft-fp/quad.h: Likewise.
18296         * soft-fp/single.h: Likewise.
18297         * soft-fp/soft-fp.h: Likewise.
18298         * soft-fp/sqrtdf2.c: Likewise.
18299         * soft-fp/sqrtsf2.c: Likewise.
18300         * soft-fp/sqrttf2.c: Likewise.
18301         * soft-fp/subdf3.c: Likewise.
18302         * soft-fp/subsf3.c: Likewise.
18303         * soft-fp/subtf3.c: Likewise.
18304         * soft-fp/truncdfsf2.c: Likewise.
18305         * soft-fp/trunctfdf2.c: Likewise.
18306         * soft-fp/trunctfsf2.c: Likewise.
18307         * soft-fp/trunctfxf2.c: Likewise.
18308         * soft-fp/unorddf2.c: Likewise.
18309         * soft-fp/unordsf2.c: Likewise.
18310         * soft-fp/unordtf2.c: Likewise.
18312 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
18314         [BZ #15672]
18315         * misc/error.c (error_tail): Fix possible buffer overflow.
18317 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
18319         [BZ #13028]
18320         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18321         address.
18323 2013-10-14  P. J. McDermott  <pj@pehjota.net>
18325         [BZ #832]
18326         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
18327         testing pipefail option.
18329 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18331         * soft-fp/double.h: Indent preprocessor directives inside #if.
18332         * soft-fp/extended.h: Likewise.
18333         * soft-fp/op-2.h: Likewise.
18334         * soft-fp/op-4.h: Likewise.
18335         * soft-fp/op-common.h: Likewise.
18336         * soft-fp/quad.h: Likewise.
18337         * soft-fp/single.h: Likewise.
18338         * soft-fp/soft-fp.h: Likewise.
18340 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
18342         * iconv/iconv_prog.c: Fix typos.
18343         * stdio-common/psiginfo-data.h: Likewise.
18345 2013-10-12   Reuben Thomas <rrt@sc3d.org>
18347         [BZ #15764]
18348         * locale/setlocale.c: Fix typo.
18350 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18352         [BZ #16036]
18353         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18354         signaling NaN arguments.
18355         * soft-fp/unordsf2.c (__unordsf2): Likewise.
18356         * soft-fp/unordtf2.c (__unordtf2): Likewise.
18358         [BZ #14910]
18359         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18360         unordered operands.
18361         * soft-fp/gesf2.c (__gesf2): Likewise.
18362         * soft-fp/getf2.c (__getf2): Likewise.
18363         * soft-fp/ledf2.c (__ledf2): Likewise.
18364         * soft-fp/lesf2.c (__lesf2): Likewise.
18365         * soft-fp/letf2.c (__letf2): Likewise.
18367         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18368         * soft-fp/eqsf2.c (__eqsf2): Likewise.
18369         * soft-fp/eqtf2.c (__eqtf2): Likewise.
18370         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18371         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18372         * soft-fp/fixdfti.c (__fixdfti): Likewise.
18373         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18374         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18375         * soft-fp/fixsfti.c (__fixsfti): Likewise.
18376         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18377         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18378         * soft-fp/fixtfti.c (__fixtfti): Likewise.
18379         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18380         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18381         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18382         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18383         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18384         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18385         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18386         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18387         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18388         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18389         * soft-fp/floatdisf.c (__floatdisf): Likewise.
18390         * soft-fp/floatsisf.c (__floatsisf): Likewise.
18391         * soft-fp/floattidf.c (__floattidf): Likewise.
18392         * soft-fp/floattisf.c (__floattisf): Likewise.
18393         * soft-fp/floattitf.c (__floattitf): Likewise.
18394         * soft-fp/floatundidf.c (__floatundidf): Likewise.
18395         * soft-fp/floatundisf.c (__floatundisf): Likewise.
18396         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18397         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18398         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18399         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18400         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18401         * soft-fp/gesf2.c (__gesf2): Likewise.
18402         * soft-fp/getf2.c (__getf2): Likewise.
18403         * soft-fp/ledf2.c (__ledf2): Likewise.
18404         * soft-fp/lesf2.c (__lesf2): Likewise.
18405         * soft-fp/letf2.c (__letf2): Likewise.
18407         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18408         Undefine and redefine.
18409         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18410         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18411         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18412         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18413         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18414         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18415         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18416         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18417         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18418         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18419         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18420         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18421         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18422         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18423         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18425         [BZ #16032]
18426         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18427         without decrementing exponent if mantissa >= that for the
18428         denominator, not >.
18429         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18430         denominator, not >.  Decrement exponent in < case instead of
18431         incrementing in >= case.
18432         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18433         without decrementing exponent if mantissa >= that for the
18434         denominator, not >.
18436         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18437         computing saturated result for unsigned overflow.
18439 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18440             Jeff Law  <law@redhat.com>
18442         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18443         (atan2Mp): Add systemtap probe marker.
18444         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18445         (__ieee754_log): Add systemtap probe marker.
18446         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18447         (atanMp): Add systemtap probe marker.
18448         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18449         (tanMp): Add systemtap probe marker.
18450         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18451         (__slowexp): Add systemtap probe marker.
18452         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18453         (__slowpow): Add systemtap probe marker.
18454         * manual/probes.texi: Document probes.
18456 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
18458         [BZ #15362]
18459         * libio/fileops.c (_IO_new_file_write): Return count of bytes
18460         written.
18461         (_IO_new_file_xsputn): Don't return EOF if nothing has been
18462         written.
18463         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18464         written to buffer but not flushed.
18465         * libio/iofwrite_u.c:  Likewise.
18466         * libio/iopadn.c:  Return bytes returned even if EOF was
18467         encountered.
18468         * libio/iowpadn.c:  Likewise.
18469         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18470         if _IO_padn does not write the whole buffer.
18471         [!COMPILE_WPRINTF] (PAD): Likewise.
18473 2013-10-10  David S. Miller  <davem@davemloft.net>
18475         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18476         directory block.
18478 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18480         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
18481         instead of FSF address.
18482         * soft-fp/fixdfti.c: Likewise.
18483         * soft-fp/fixsfti.c: Likewise.
18484         * soft-fp/fixtfti.c: Likewise.
18485         * soft-fp/fixunsdfti.c: Likewise.
18486         * soft-fp/fixunssfti.c: Likewise.
18487         * soft-fp/fixunstfti.c: Likewise.
18488         * soft-fp/floattidf.c: Likewise.
18489         * soft-fp/floattisf.c: Likewise.
18490         * soft-fp/floattitf.c: Likewise.
18491         * soft-fp/floatuntidf.c: Likewise.
18492         * soft-fp/floatuntisf.c: Likewise.
18493         * soft-fp/floatuntitf.c: Likewise.
18494         * soft-fp/trunctfxf2.c: Likewise.
18496         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
18497         * soft-fp/fixdfti.c: Likewise.
18498         * soft-fp/fixsfti.c: Likewise.
18499         * soft-fp/fixtfti.c: Likewise.
18500         * soft-fp/fixunsdfti.c: Likewise.
18501         * soft-fp/fixunssfti.c: Likewise.
18502         * soft-fp/fixunstfti.c: Likewise.
18503         * soft-fp/floattidf.c: Likewise.
18504         * soft-fp/floattisf.c: Likewise.
18505         * soft-fp/floattitf.c: Likewise.
18506         * soft-fp/floatuntidf.c: Likewise.
18507         * soft-fp/floatuntisf.c: Likewise.
18508         * soft-fp/floatuntitf.c: Likewise.
18509         * soft-fp/trunctfxf2.c: Likewise.
18511 2013-10-10  David S. Miller  <davem@davemloft.net>
18513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18515 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
18517         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18518         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18519         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18520         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18521         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18522         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18523         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18525         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18526         for NaNs before doing comparisons on argument.
18527         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18528         Likewise.
18530 2013-10-10  Will Newton  <will.newton@linaro.org>
18532         * malloc/hooks.c (memalign_check): Ensure the value of bytes
18533         passed to _int_memalign does not overflow.
18535 2013-10-10  Torvald Riegel  <triegel@redhat.com>
18537         * scripts/bench.pl: Add include-sources directive.
18538         * benchtests/README: Update documentation.
18540 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18542         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18543         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18544         instead of FP_INIT_ROUNDMODE.
18545         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18546         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18548         [BZ #16034]
18549         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
18550         copy class of input value.
18551         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
18552         not handle exceptions.
18553         * soft-fp/negsf2.c (__negsf2): Likewise.
18554         * soft-fp/negtf2.c (__negtf2): Likewise.
18555         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18557 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
18559         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18560         semicolon.  From Linux kernel.
18562 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
18564         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18566 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
18568         [BZ #156]
18569         * manual/socket.texi: Added statement about buffer
18570         for gethostbyname2_r.
18572 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
18574         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18575         Use .p2align directive instead, throughout.
18576         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18577         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18578         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18579         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18580         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18581         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18582         * sysdeps/x86_64/strchr.S: Likewise.
18583         * sysdeps/x86_64/strrchr.S: Likewise.
18585 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18587         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18589         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18591         * sysdeps/generic/math_private.h (__mpsin1): Remove
18592         declaration.
18593         (__mpcos1): Likewise.
18594         (__mpsin): New argument __range_reduce.
18595         (__mpcos): Likewise.
18596         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18597         (slow): Use __mpsin and __mpcos.
18598         (slow1): Likewise.
18599         (slow2): Likewise.
18600         (sloww): Likewise.
18601         (sloww1): Likewise.
18602         (sloww2): Likewise.
18603         (bsloww): Likewise.
18604         (bsloww1): Likewise.
18605         (bsloww2): Likewise.
18606         (cslow2): Likewise.
18607         (csloww): Likewise.
18608         (csloww1): Likewise.
18609         (csloww2): Likewise.
18610         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18611         range_reduce.  Merge in __mpsin1.
18612         (__mpcos): Likewise.
18613         (__mpsin1): Remove.
18614         (__mpcos1): Likewise.
18616 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
18618         * locale/loadlocale.c (_nl_intern_locale_data): Use
18619         LOCFILE_ALIGNED_P.
18620         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18621         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18622         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18623         obstack data is appropriately aligned.
18624         (obstack_int32_grow_fast): Likewise.
18625         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18626         * locale/programs/locfile.c (add_locale_uint32): Likewise.
18627         (add_locale_uint32_array): Likewise.
18629 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18631         * benchtests/Makefile: Remove ARGLIST and RET variables.
18632         ($(objpfx)bench-%.c): Pass only function name to the script.
18633         * benchtests/README: Update documentation.
18634         * benchtests/acos-inputs: Add new directives.
18635         * benchtests/acosh-inputs: Likewise.
18636         * benchtests/asin-inputs: Likewise.
18637         * benchtests/asinh-inputs: Likewise.
18638         * benchtests/atan-inputs: Likewise.
18639         * benchtests/atanh-inputs: Likewise.
18640         * benchtests/cos-inputs: Likewise.
18641         * benchtests/cosh-inputs: Likewise.
18642         * benchtests/exp-inputs: Likewise.
18643         * benchtests/log-inputs: Likewise.
18644         * benchtests/pow-inputs: Likewise.
18645         * benchtests/rint-inputs: Likewise.
18646         * benchtests/sin-inputs: Likewise.
18647         * benchtests/sinh-inputs: Likewise.
18648         * benchtests/tan-inputs: Likewise.
18649         * benchtests/tanh-inputs: Likewise.
18650         * scripts/bench.pl: Add support for new directives.
18652 2013-10-07  Alan Modra  <amodra@gmail.com>
18654         * README: Fix careless merge.
18656 2013-10-05  Alan Modra  <amodra@gmail.com>
18658         * NEWS: Mention powerpc64le support and bugs fixed.
18659         * README: Both big-endian and little-endian powerpc64 supported.
18661 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18663         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18664         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18665         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18666         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18668 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
18670         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18671         match prototype.
18673 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
18675         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18676         Move -mhard-float appending from
18677         ports/sysdeps/powerpc/powerpc32/Makefile.
18678         [$(with-fp) = yes] (ASFLAGS): Likewise.
18679         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18680         * sysdeps/powerpc/nofpu: Move directory from
18681         ports/sysdeps/powerpc/nofpu.
18682         * sysdeps/powerpc/soft-fp: Move directory from
18683         ports/sysdeps/powerpc/soft-fp.
18684         * sysdeps/powerpc/powerpc32/405: Move directory from
18685         ports/sysdeps/powerpc/powerpc32/405.
18686         * sysdeps/powerpc/powerpc32/440: Move directory from
18687         ports/sysdeps/powerpc/powerpc32/440.
18688         * sysdeps/powerpc/powerpc32/464: Move directory from
18689         ports/sysdeps/powerpc/powerpc32/464.
18690         * sysdeps/powerpc/powerpc32/476: Move directory from
18691         ports/sysdeps/powerpc/powerpc32/476.
18692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18693         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18695         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18697         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18699         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18701         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18702         * README: Update for powerpc-*-linux-gnu software floating point
18703         support in libc.
18705         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18706         case to powerpc/powerpc32*.
18707         * sysdeps/unix/sysv/linux/configure: Regenerated.
18709         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18710         (_FPU_MASK_OM): Define as 0x04.
18711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18713         0x00c10080.
18714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18715         0x0000003c.
18716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18719         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18720         getcontext_e500.
18721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18722         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18723         setcontext_e500.
18724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18725         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18726         and setcontext_e500.
18728 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18730         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18732 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18734         * manual/threads.texi (Default Thread Attributes): Fix typo.
18736 2013-10-04  Will Newton  <will.newton@linaro.org>
18738         * malloc/Makefile: Add tst-memalign.
18739         * malloc/tst-memalign.c: New file.
18741         * malloc/tst-posix_memalign.c: Add comments.
18742         (do_test): Add comments and call free on all potentially
18743         allocated pointers. Add space after cast.
18745         * malloc/tst-pvalloc.c: Add comments.
18746         (do_test): Add comments and call free on all potentially
18747         allocated pointers. Remove duplicate check for NULL pointer.
18748         Add space after cast.
18750         * malloc/tst-valloc.c: Add comments.
18751         (do_test): Add comments and call free on all potentially
18752         allocated pointers. Remove duplicate check for NULL pointer.
18753         Add space after cast.
18755 2013-10-04  Alan Modra  <amodra@gmail.com>
18757         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18758         Use stdint types in rather than __attribute__((mode())).
18759         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18761 2013-10-04  Alan Modra  <amodra@gmail.com>
18763         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18764         Correct handling of unaligned relocs for little-endian.
18765         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18767 2013-10-04  Alan Modra  <amodra@gmail.com>
18769         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18770         * configure: Regenerate.
18771         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18772         * shlib-versions: Likewise.
18774 2013-10-04  Alan Modra  <amodra@gmail.com>
18776         * string/tester.c (test_memrchr): Increment reported test cycle.
18778 2013-10-04  Alan Modra  <amodra@gmail.com>
18780         * string/test-memcpy.c (do_one_test): When reporting errors, print
18781         string address and don't overrun end of string.
18783 2013-10-04  Alan Modra  <amodra@gmail.com>
18785         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18786         insrdi.  Make better use of reg selection to speed exit slightly.
18787         Schedule entry path a little better.  Remove useless "are we done"
18788         checks on entry to main loop.  Handle wrapping around zero address.
18789         Correct main loop count.  Handle single left-over word from main
18790         loop inline rather than by using loop_small.  Remove extra word
18791         case in loop_small caused by wrong loop count.  Add little-endian
18792         support.
18793         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18794         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18795         cache hint.
18796         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18797         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18798         support.  Avoid rlwimi.
18799         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18801 2013-10-04  Alan Modra  <amodra@gmail.com>
18803         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18804         insrdi.  Formatting.
18805         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18806         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18807         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18808         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18809         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18810         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18812 2013-10-04  Alan Modra  <amodra@gmail.com>
18814         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18815         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18816         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18817         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18818         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18819         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18820         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18821         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18822         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18823         use of regs.  Use power7 mtocrf.  Tidy function tails.
18825 2013-10-04  Alan Modra  <amodra@gmail.com>
18827         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18828         Formatting.  Consistently use rXXX register defines or rN defines.
18829         Use early exit labels that avoid restoring unused non-volatile regs.
18830         Make cr field use more consistent with rWORDn compares.  Rename
18831         regs used as shift registers for unaligned loop, using rN defines
18832         for short lifetime/multiple use regs.
18833         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18834         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18835         addi 1,1,64 to pop stack frame.  Simplify return value code.
18836         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18838 2013-10-04  Alan Modra  <amodra@gmail.com>
18840         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18841         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18842         rather than rlwimi.
18843         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18844         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18845         little-endian support.  Correct typos.
18846         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18847         rather than rlwimi.
18848         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18849         in loop and entry code to keep "and." results.
18850         (strchr): Add little-endian support.  Comment.  Move cntlzd
18851         earlier in tail.
18852         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18854 2013-10-04  Alan Modra  <amodra@gmail.com>
18856         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18857         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18858         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18859         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18861 2013-10-04  Alan Modra  <amodra@gmail.com>
18863         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18864         (rTMP): Define as r11.
18865         (strcmp): Add little-endian support.  Optimise tail.
18866         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18867         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18868         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18869         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18870         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18871         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18872         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18874 2013-10-04  Alan Modra  <amodra@gmail.com>
18876         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18877         little-endian support.  Remove unnecessary "are we done" tests.
18878         Handle "s" wrapping around zero and extremely large "size".
18879         Correct main loop count.  Handle single left-over word from main
18880         loop inline rather than by using small_loop.  Correct comments.
18881         Delete "zero" tail, use "end_max" instead.
18882         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18884 2013-10-04  Alan Modra  <amodra@gmail.com>
18886         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18887         support.  Don't branch over align.
18888         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18889         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18890         support.  Rearrange tmp reg use to suit.  Comment.
18891         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18893 2013-10-04  Alan Modra  <amodra@gmail.com>
18895         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18897 2013-10-04  Alan Modra  <amodra@gmail.com>
18899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18900         conditional form of branch and link when obtaining pc.
18901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18903 2013-10-04  Alan Modra  <amodra@gmail.com>
18905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18906         HIWORD/LOWORD.
18907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18910 2013-10-04  Alan Modra  <amodra@gmail.com>
18912         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18913         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18914         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18915         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18916         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18917         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18918         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18919         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18920         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18921         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18923 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18924             Alistair Popple <alistair@ozlabs.au.ibm.com>
18925             Alan Modra <amodra@gmail.com>
18927         [BZ #15723]
18928         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18929         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18930         _dl_hwcap access for little-endian.
18931         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
18932         destroy vmx regs when saving unaligned.
18933         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18934         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
18935         destroy vmx regs when saving unaligned.
18937 2013-10-04  Alan Modra  <amodra@gmail.com>
18939         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18940         Don't use a union to pack hi/low value.
18942 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18944         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18945         for little-endian.
18946         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18947         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18948         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18949         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18950         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18952 2013-10-04  Alan Modra  <amodra@gmail.com>
18954         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18955         constants to usual value for .cst8 section, and remove redundant
18956         high address load.
18957         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18958         constant for 0x1p52.  Load little-endian words of double from
18959         correct stack offsets.
18961 2013-10-04  Alan Modra  <amodra@gmail.com>
18963         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18964         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18965         words of double from correct stack offsets.
18966         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18967         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18968         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18969         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18970         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18971         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18972         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18973         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18974         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18975         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18976         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18977         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18978         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18979         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18980         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18981         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18982         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18984 2013-10-04  Alan Modra  <amodra@gmail.com>
18986         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18987         64-bit int/double union.
18988         (_FPU_SETCW): Likewise.
18989         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18990         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18992 2013-10-04  Alan Modra  <amodra@gmail.com>
18994         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18995         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18997 2013-10-04  Alan Modra  <amodra@gmail.com>
18999         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19000         use vector int constants.
19001         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19003 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19005         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19006         array with long long.
19007         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19008         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19009         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19010         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19011         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19012         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19013         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19014         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19015         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19016         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19017         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19018         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19019         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19021 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19023         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19024         (__signbit): Likewise.  Correct for little-endian.
19025         (__signbitl): Call __signbit.
19026         (lrint): Correct for little-endian.
19027         (lrintf): Call lrint.
19029 2013-10-04  Alan Modra  <amodra@gmail.com>
19031         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19032         union 32-bit int array member with 64-bit int array.
19033         (t515, tm256): Double rather than long double.
19034         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19036 2013-10-04  Alan Modra  <amodra@gmail.com>
19038         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19039         Delete.
19040         (IEEE854_LONG_DOUBLE_BIAS): Delete.
19041         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19042         version of math_ldbl.h.
19044 2013-10-04  Alan Modra  <amodra@gmail.com>
19046         [BZ #15734], [BZ #15735]
19047         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19048         all uses of ieee875 long double macros and unions.  Simplify test
19049         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
19050         ldbl_extract_mantissa value for ix,iy exponents.  Properly
19051         normalize after ldbl_extract_mantissa, and don't add hidden bit
19052         already handled.  Don't treat low word of ieee854 mantissa like
19053         low word of IBM long double and mask off bit when testing for
19054         zero.
19055         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19056         all uses of ieee875 long double macros and unions.  Simplify tests
19057         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
19058         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
19059         two1022, instead use their values.  Recognise that tests for large
19060         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
19061         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19062         Rewrite all uses of ieee875 long double macros and unions.  Simplify
19063         test for 0.0L and nan.  Correct negation.
19064         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19065         ieee875 long double macros and unions.  Correct output for large
19066         magnitude x.  Correct absolute value calculation.
19067         (__erfcl): Likewise.
19068         * math/libm-test.inc: Add tests for errors discovered in IBM long
19069         double versions of fmodl, remainderl, erfl and erfcl.
19071 2013-10-04  Alan Modra  <amodra@gmail.com>
19073         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19074         all uses of ieee854 long double macros and unions.  Simplify tests
19075         for long doubles that are fully specified by the high double.
19076         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19077         Likewise.
19078         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19079         Remove dead code too.
19080         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19081         (__ieee754_ynl): Likewise.
19082         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19083         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19084         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19085         Remove dead code too.
19086         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19087         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19088         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19089         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19090         Simplify.
19091         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19092         Simplify.
19093         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19094         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19095         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19096         Comment on variable precision.
19097         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19098         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19099         Likewise.
19100         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19101         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19102         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19103         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19104         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19106 2013-10-04  Alan Modra  <amodra@gmail.com>
19108         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19109         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19110         all uses of ieee854 long double macros and unions.
19111         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19112         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19113         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19114         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19115         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19116         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19117         Likewise.
19118         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19119         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19120         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19121         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19122         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19123         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19124         Simplify sign and nan test too.
19125         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19126         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19127         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19128         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19129         Likewise.
19130         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19131         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19132         Likewise.
19133         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19134         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19135         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19136         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19137         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19138         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19140 2013-10-04  Alan Modra  <amodra@gmail.com>
19142         * stdio-common/printf_size.c (__printf_size): Don't use
19143         union ieee854_long_double in fpnum union.
19144         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
19145         signbit macro to retrieve sign from long double.
19146         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19147         retrieve sign from long double.
19148         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19149         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19150         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19151         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19152         * math/test-misc.c (main): Don't use union ieee854_long_double.
19154 2013-10-04  Alan Modra  <amodra@gmail.com>
19156         [BZ #15680]
19157         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19158         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19159         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19160         calculation.  Remove unnecessary test for denormal exponent.
19161         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19162         Correct handling of denormals.  Avoid undefined shift behaviour.
19163         Correct normalisation of low mantissa when low double is denormal.
19164         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19165         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
19166         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19167         Correct normalisation of low mantissa.  Test for overflow of high
19168         mantissa and normalise.
19169         (ldbl_nearbyint): Use more readable constant for two52.
19170         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19171         (__mpn_construct_long_double): Fix test for overflow of high
19172         mantissa and correct normalisation.  Avoid undefined shift.
19174 2013-10-04  Alan Modra  <amodra@gmail.com>
19176         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19177         (union ibm_extended_long_double): Define as an array of ieee754_double.
19178         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19179         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19180         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19181         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19182         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19183         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19184         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19185         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19186         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19187         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19188         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19190 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
19192         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19193         page size instead of calling getpagesize.
19195         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19196         (LOCFILE_ALIGN_MASK): Likewise.
19197         (LOCFILE_ALIGN_UP): Likewise.
19198         (LOCFILE_ALIGNED_P): Likewise.
19199         * locale/programs/ld-collate.c (collate_output): Use the new
19200         macros instead of __alignof__ (int32_t).
19201         * locale/weight.h (findidx): Likewise.
19203 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
19205         [BZ #431]
19206         * manual/string.texi: Fix strncat and wcsncat.
19208 2013-10-03  Brooks Moses  <bmoses@google.com>
19210         [BZ #15915]
19211         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19212         * Makerules: ...here, and adjust associated comments.
19214 2013-10-02  Will Newton  <will.newton@linaro.org>
19216         * malloc/Makefile: Add tst-pvalloc.
19217         * malloc/tst-pvalloc.c: New file.
19219 2013-10-02  Will Newton  <will.newton@linaro.org>
19221         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19222         improve test coverage.
19224 2013-10-02  Will Newton  <will.newton@linaro.org>
19226         * malloc/Makefile: Add tst-posix_memalign.
19227         * malloc/tst-posix_memalign.c: New file.
19229 2013-10-01  Eric Blake  <eblake@redhat.com>
19231         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19232         Use __THROWNL rather than __THROW on static functions.
19234 2013-09-30  Petr Machata  <pmachata@redhat.com>
19236         * elf/elf.h (R_AARCH64_ABS16): New macro.
19237         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19238         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19239         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19240         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19241         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19242         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19243         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19244         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19245         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19246         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19247         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19248         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19249         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19250         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19251         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19252         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19253         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19254         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19255         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19256         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19257         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19258         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19259         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19260         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19261         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19262         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19263         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19264         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19265         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19266         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19267         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19268         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19269         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19270         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19271         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19272         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19273         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19274         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19275         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19276         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19277         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19278         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19279         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19280         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19281         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19282         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19283         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19284         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19285         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19286         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19287         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19288         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19289         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19290         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19291         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19292         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19293         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19294         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19295         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19296         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19297         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19298         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19299         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19300         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19301         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19302         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19303         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19304         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19305         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19306         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19307         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19308         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19309         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19310         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19311         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19312         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19313         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19314         (R_AARCH64_TLSDESC_LDR): Likewise.
19315         (R_AARCH64_TLSDESC_ADD): Likewise.
19316         (R_AARCH64_TLSDESC_CALL): Likewise.
19318 2013-09-30  Andreas Schwab  <schwab@suse.de>
19320         [BZ #15048]
19321         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19322         the nss database lookup.
19323         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19326 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
19328         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19330 2013-09-28  P. J. McDermott  <pj@pehjota.net>
19332         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19333         ${Bash-specific parameter/pattern/string} parameter expansion.
19334         * sysdeps/unix/make-syscalls.sh: Likewise.
19336 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19338         * sysdeps/sh/stackguard-macros.h: New file.
19340 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
19342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19343         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19344         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19345         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19346         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19347         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19349 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19351         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19352         Fix thread ID register.
19354 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
19356         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19357         [POSIX || UNIX98]: Require rather than permitting all symbols from
19358         <time.h>.
19359         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19360         element of struct sched_param.
19361         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19362         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19363         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19364         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19365         constant.
19367 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
19369         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19370         argument calculation.
19372 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19374         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19375         Expect macro.
19376         [POSIX] (pthread_attr_t): Do not require type.
19377         [POSIX] (pthread_cond_t): Likewise.
19378         [POSIX] (pthread_condattr_t): Likewise.
19379         [POSIX] (pthread_key_t): Likewise.
19380         [POSIX] (pthread_mutex_t): Likewise.
19381         [POSIX] (pthread_mutexattr_t): Likewise.
19382         [POSIX] (pthread_once_t): Likewise.
19383         [POSIX] (pthread_t): Likewise.
19384         [POSIX-based standards] (pthread_atfork): Expect function.
19386 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19387             Richard Sandiford  <richard@codesourcery.com>
19389         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19390         (swap_endianness_p): New extern variable.
19391         (set_big_endian): New inline function.
19392         (maybe_swap_uint32): Likewise.
19393         (maybe_swap_uint32_array): Likewise.
19394         (maybe_swap_uint32_obstack): Likewise.
19395         * locale/programs/locfile.c: Include <stdbool.h>.
19396         (swap_endianness_p): New variable.
19397         (add_locale_uint32): Call maybe_swap_uint32.
19398         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19399         (write_locale_data): Call maybe_swap_uint32_array.
19400         * locale/programs/ld-collate.c (obstack_int32_grow): Call
19401         maybe_swap_uint32.
19402         (obstack_int32_grow_fast): Likewise.
19403         (output_weightwc): Call maybe_swap_uint32_obstack.
19404         (collate_output): Likewise.
19405         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19406         (OPT_LITTLE_ENDIAN): Likewise.
19407         (options): Add --little-endian and --big-endian options.
19408         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19409         * locale/programs/locarchive.c: Include "locfile.h".
19410         (GET): New macro.
19411         (SET): Likewise.
19412         (INC): Likewise.
19413         (create_archive): Use the new macros to access fields of
19414         structures directly mapped from or written to locale archives.
19415         (oldlocrecentcmp): Likewise.
19416         (enlarge_archive): Likewise.
19417         (insert_name): Likewise.
19418         (add_alias): Likewise.
19419         (add_locale): Likewise.
19420         (delete_locales_from_archive): Likewise.
19421         (show_archive_content): Likewise.
19422         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
19423         locale data.
19425 2013-09-24  Roland McGrath  <roland@hack.frob.com>
19427         * manual/freemanuals.texi: Updated from (newly) canonical copy at
19428         http://www.gnu.org/doc/freemanuals.texi.
19429         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19431 2013-09-24  Will Newton  <will.newton@linaro.org>
19433         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19434         macro.
19436 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
19438         * locale/hashval.h (compute_hashval): Interpret bytes of key as
19439         unsigned char.
19441 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
19443         * manual/threads.texi (POSIX Threads): Fix a typo.
19445 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19447         [BZ #14547]
19448         * string/tst-strcoll-overflow.c: New test case.
19449         * string/Makefile (xtests): Add tst-strcoll-overflow.
19450         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19451         cache if string sizes may cause integer overflow.
19453         [BZ #14547]
19454         * string/strcoll_l.c (coll_seq): New members rule, idx,
19455         save_idx and back_us.
19456         (get_next_seq_nocache): New function.
19457         (do_compare_nocache): New function.
19458         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19459         when malloc fails.
19461 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
19463         [BZ #15754]
19464         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19465         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19466         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19468         [BZ #15754]
19469         * elf/Makefile (tests): Add tst-ptrguard1.
19470         (tests-static): Add tst-ptrguard1-static.
19471         (tst-ptrguard1-ARGS): Define.
19472         (tst-ptrguard1-static-ARGS): Define.
19473         * elf/tst-ptrguard1.c: New file.
19474         * elf/tst-ptrguard1-static.c: New file.
19475         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19476         * sysdeps/i386/stackguard-macros.h: Likewise.
19477         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19478         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19479         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19480         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19481         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19482         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19484 2013-09-23  Hector Marco  <hecmargi@upv.es>
19485             Ismael Ripoll  <iripoll@disca.upv.es>
19486             Carlos O'Donell  <carlos@redhat.com>
19488         [BZ #15754]
19489         * sysdeps/generic/stackguard-macros.h: Define
19490         __pointer_chk_guard_local and POINTER_CHK_GUARD.
19491         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19492         Define __pointer_chk_guard_local.
19493         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19494         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19496 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
19498         [BZ #15859]
19499         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19501 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
19503         * include/string.h (__ffs): Declare as hidden.
19504         * string/ffs.c (__ffs): Define as hidden.
19505         * sysdeps/i386/ffs.c (__ffs): Likewise.
19506         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19507         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19508         * sysdeps/s390/ffs.c (__ffs): Likewise.
19509         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19511 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
19513         * NEWS: Mention malloc probes.
19515         * malloc/arena.c (new_heap): New memory_heap_new probe.
19516         (grow_heap): New memory_heap_more probe.
19517         (shrink_heap): New memory_heap_less probe.
19518         (heap_trim): New memory_heap_free probe.
19519         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19520         (systrim): New memory_sbrk_less probe.
19521         * manual/probes.texi: Document them.
19523         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19524         * manual/probes.texi: Document it.
19526         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19527         (__libc_realloc): Add memory_realloc_retry probe.
19528         (__libc_memalign): Add memory_memalign_retry probe.
19529         (__libc_valloc): Add memory_valloc_retry probe.
19530         (__libc_pvalloc): Add memory_pvalloc_retry probe.
19531         (__libc_calloc): Add memory_calloc_retry probe.
19532         * manual/probes.texi: Document them.
19534         * malloc/arena.c (get_free_list): Add probe
19535         memory_arena_reuse_free_list.
19536         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19537         and memory_arena_reuse.
19538         (arena_get2) [!PER_THREAD]: Likewise.
19539         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19540         memory_arena_reuse_realloc.
19541         * manual/probes.texi: Document them.
19543         * malloc/malloc.c (__libc_free): Add
19544         memory_mallopt_free_dyn_thresholds probe.
19545         (__libc_mallopt): Add multiple memory_mallopt probes.
19546         * manual/probes.texi: Document them.
19548         * malloc/malloc.c: Include stap-probe.h.
19549         (__libc_mallopt): Add memory_mallopt probe.
19550         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19551         * manual/probes.texi: New.
19552         * manual/Makefile (chapters): Add probes.
19553         * manual/threads.texi: Set next node.
19555 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
19557         [BZ #15963, #13985]
19558         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19559         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19560         Add `Chinese' to `nan' entry name.
19562 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19564         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19565         (POLYNOMIAL): Likewise.
19566         (TAYLOR_SINCOS): Likewise.
19567         (TAYLOR_SLOW): Likewise.
19568         (__sin): Use TAYLOR_SINCOS.
19569         (__cos): Likewise.
19570         (slow): Use TAYLOR_SLOW.
19571         (sloww): Likewise.
19572         (bsloww): Likewise.
19573         (csloww): Likewise.
19575 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19577         * stdlib/strtod_l.c: Fix buffer overrun.
19579 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19581         * benchtests/Makefile (bench): Add sincos.
19582         * benchtests/bench-sincos.c: New file.
19584         * math/libm-test.inc (cos_test_data): New test inputs.
19585         (sin_test_data): Likewise.
19587         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19588         macro.
19589         (__sin): Use it.
19590         (__cos): Likewise.
19591         (slow1): Likewise.
19592         (slow2): Likewise.
19593         (sloww1): Likewise.
19594         (sloww2): Likewise.
19595         (bsloww1): Likewise.
19596         (bsloww2): Likewise.
19597         (cslow2): Likewise.
19598         (csloww1): Likewise.
19599         (csloww2): Likewise.
19601         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19602         function.
19603         (__sin): Use it.
19604         (__cos): Likewise.
19606         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19607         gotos.
19608         (__cos): Likewise.
19610 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
19612         * config.h.in (HAVE_MIPS_NAN2008): New macro.
19613         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19614         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19615         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19616         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19617         * elf/cache.c (print_entry): Handle the new cache flags.
19619 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19620             Aldy Hernandez  <aldyh@redhat.com>
19622         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19623         Change condition to [_SOFT_FLOAT].
19624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19630         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19633         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19635         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19636         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19637         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19639         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19640         declaration.
19642 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19644         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19645         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19646         (__longjmp): Use LOAD_GP to load saved GPRs.
19647         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19648         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19649         (__sigsetjmp): Use SAVE_GP to save GPRs.
19651         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19652         Do not append -msoft-float.
19653         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19655 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19657         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19659 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
19661         [BZ #15966]
19662         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19663         (_FPU_GETCW): Use initial "__" on variable and field names but not
19664         on macro parameter name.
19665         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
19666         parentheses around reference to macro parameter.
19668 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
19670         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19671         prototype.
19672         (ctype_startup): Use uint32_t in cast and sizeof for
19673         ctype->charnames.
19675 2013-09-11  Jia Liu  <proljc@gmail.com>
19677         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19678         __daddr_t_defined.
19679         [__FreeBSD__]: Likewise.
19681 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
19683         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19684         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19685         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19686         (strchr): Remove __strchr_sse42 ifunc selection.
19687         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19688         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19690 2013-09-11  Will Newton  <will.newton@linaro.org>
19692         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19693         parameter to RES. Remove hardcoded 1000 value.
19694         * benchtests/bench-skeleton.c (main): Pass RES parameter
19695         to TIMING_INIT and multiply result by 1000.
19697 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19701 2013-09-11  Andreas Schwab  <schwab@suse.de>
19703         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19704         if not defined.
19705         (O_TMPFILE) [__USE_GNU]: Define.
19706         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19707         Define.
19709 2013-09-11  Will Newton  <will.newton@linaro.org>
19711         [BZ #15857]
19712         * malloc/malloc.c (__libc_memalign): Check the value of bytes
19713         does not overflow.
19715 2013-09-11  Will Newton  <will.newton@linaro.org>
19717         [BZ #15856]
19718         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19719         does not overflow.
19721 2013-09-11  Will Newton  <will.newton@linaro.org>
19723         [BZ #15855]
19724         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19725         does not overflow.
19727 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19729         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19730         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19731         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19732         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19733         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19735 2013-09-10  Allan McRae  <allan@archlinux.org>
19737         [BZ #15748]
19738         * manual/arith.texi (Parsing of Floats): Clarify
19739         cross-reference.
19741         [BZ #15849]
19742         * manual/install.texi (Running make install): Mention
19743         --enable-pt-chown.
19744         * INSTALL: Regenerated.
19746 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19748         * csu/init-first.c (_init): Remove the !SHARED condition around
19749         FPU control word initialization.
19750         * elf/dl-support.c (_dl_fpu_control): New variable.
19751         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19752         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19753         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19754         * math/test-fpucw-static.c: New file.
19755         * math/test-fpucw-ieee.c: New file.
19756         * math/test-fpucw-ieee-static.c: New file.
19757         * math/Makefile (tests): Add `test-fpucw-ieee' and
19758         `$(tests-static)'.
19759         (tests-static): New variable.
19760         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19761         dependency to...
19762         [($(build-shared),yes)]
19763         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19764         ... this.
19765         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19766         New dependency.
19768 2013-09-09  Allan McRae  <allan@archlinux.org>
19770         [BZ #15939]
19771         * manual/string.texi (Collation Functions): Fix typo in
19772         strcoll example.
19773         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19775         [BZ #15893]
19776         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19778         [BZ #15892]
19779         * libio/memstream.c (open_memstream): Fix memory leak.
19780         * libio/wmemstream.c (open_wmemstream): Likewise.
19782         [BZ #15895]
19783         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19785 2013-09-09  Will Newton  <will.newton@linaro.org>
19787         * malloc/Makefile: Add tst-realloc to tests.
19788         * malloc/tst-realloc.c: New file.
19790 2013-09-09  Allan McRae  <allan@archlinux.org>
19792         [BZ #15844]
19793         * COPYING: Update from GNU website to fix FSF address.
19794         * COPYING.LIB: Likewise.
19796 2013-09-06  David S. Miller  <davem@davemloft.net>
19798         * po/zh_TW.po: Update Chinese (traditional) translation from
19799         translation project.
19801 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19802             Joseph Myers  <joseph@codesourcery.com>
19804         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19805         "localeinfo.h".
19806         (obstack_chunk_alloc): New macro.
19807         (obstack_chunk_free): Likewise.
19808         (record_offset): New function.
19809         (init_locale_data): Likewise.
19810         (align_locale_data): Likewise.
19811         (add_locale_empty): Likewise.
19812         (add_locale_raw_data): Likewise.
19813         (add_locale_raw_obstack): Likewise.
19814         (add_locale_string): Likewise.
19815         (add_locale_wstring): Likewise.
19816         (add_locale_uint32): Likewise.
19817         (add_locale_uint32_array): Likewise.
19818         (add_locale_char): Likewise.
19819         (start_locale_structure): Likewise.
19820         (end_locale_structure): Likewise.
19821         (start_locale_prelude): Likewise.
19822         (end_locale_prelude): Likewise.
19823         (write_locale_data): Take locale_file structure rather than an
19824         iovec.
19825         * locale/programs/locfile.h: Include "obstack.h".
19826         (struct locale_file): Change to store locale file contents instead
19827         of header.
19828         (init_locale_data): New prototype.
19829         (align_locale_data): Likewise.
19830         (add_locale_empty): Likewise.
19831         (add_locale_raw_data): Likewise.
19832         (add_locale_raw_obstack): Likewise.
19833         (add_locale_string): Likewise.
19834         (add_locale_wstring): Likewise.
19835         (add_locale_uint32): Likewise.
19836         (add_locale_uint32_array): Likewise.
19837         (add_locale_char): Likewise.
19838         (start_locale_structure): Likewise.
19839         (end_locale_structure): Likewise.
19840         (start_locale_prelude): Likewise.
19841         (end_locale_prelude): Likewise.
19842         (write_locale_data): Update prototype.
19843         * locale/programs/3level.h (struct TABLE): Remove result field.
19844         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19845         Use new locale_file interface.
19846         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19847         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19848         * locale/programs/ld-address.c (address_output): Use new
19849         locale_file interface.
19850         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19851         NO_ADD_LOCALE.
19852         (collate_finish): Don't call collseq_table_finalize.
19853         (collate_output): Use new locale_file interface.
19854         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19855         in file.
19856         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19857         (TABLE): Move defines earlier in file.
19858         (ELEMENT): Likewise.
19859         (DEFAULT): Likewise.
19860         (wctrans_table_add): Move macro and inline function earlier in
19861         file.
19862         (struct wctype_table): Move type earlier in file.
19863         (add_locale_wctype_table): New static prototype.
19864         (struct locale_ctype_t): Use logical types instead of struct iovec
19865         pointers for members.
19866         (ctype_output): Use new locale_file interface.
19867         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19868         new locale_file interface.
19869         (allocate_arrays): Update for use of new locale_file interface.
19870         * locale/programs/ld-identification.c (identification_output): Use
19871         new locale_file interface.
19872         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19873         * locale/programs/ld-messages.c (messages_output): Likewise.
19874         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19875         * locale/programs/ld-name.c (name_output): Likewise.
19876         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19877         * locale/programs/ld-paper.c (paper_output): Likewise.
19878         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19879         * locale/programs/ld-time.c (time_output): Likewise.
19881 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19883         * benchtests/Makefile: Add memrchr benchmark.
19884         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19885         benchmark as memrchr.
19886         * benchtests/bench-memrchr-ifunc.c: New file.
19887         * benchtests/bench-memrchr.c: New file.
19889 2013-09-06   Will Newton  <will.newton@linaro.org>
19891         * benchtests/Makefile (string-bench): Add memcpy.
19893 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19894             Cong Wang  <amwang@redhat.com>
19896         [BZ #15850]
19897         * sysdeps/unix/sysv/linux/bits/in.h
19898         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19899         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19900         before __USE_KERNEL_IPV6_DEFS uses.
19901         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19902         IPPROTO_BEETPH.
19903         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19904         sockaddr_in6, or ipv6_mreq.
19906 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19908         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19909         memory access for final bytes in some large inputs.
19910         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19912 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19914         * string/test-memrchr.c: New file.
19915         * string/test-memrchr-ifunc.c: New file.
19916         * string/Makefile: Add new memrchr testcase.
19918 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
19920         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19921         fanotify_init returns EPERM.
19923 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19925         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19926         errors.
19927         (top level): Treat second token from macro or constant entries for
19928         allowed headers as allowed.
19929         * include/complex.h: Condition internal declarations on
19930         [!_ISOMAC].
19931         * include/fenv.h: Condition include of <stdbool.h> and internal
19932         declarations on [!_ISOMAC].
19934 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
19936         [BZ #15923]
19937         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19939 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19941         * configure.in (--enable-versioning): Remove configure option.
19942         (libc_cv_asm_symver_directive): Remove configure test.
19943         (libc_cv_ld_version_script_option): Likewise.
19944         (VERSIONING): Remove variable and AC_SUBST.
19945         (DO_VERSIONING): Remove AC_DEFINE.
19946         * configure: Regenerated.
19947         * config.h.in (DO_VERSIONING): Remove macro.
19948         * Makerules [$(versioning) = yes]: Change conditionals to
19949         [$(build-shared) = yes].
19950         * config.make.in (versioning): Remove variable.
19951         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19952         [$(build-shared) = yes].
19953         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19954         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19955         * elf/Makefile [$(versioning) = yes]: Change conditionals to
19956         [$(build-shared) = yes].
19957         * extra-lib.mk [$(versioning) = yes]: Likewise.
19958         * hurd/Makefile [$(versioning) = yes]: Likewise.
19959         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19960         [SHARED].
19961         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19962         [SHARED].
19963         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19964         [SHARED && !NO_HIDDEN].
19965         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19966         [SHARED].
19967         [SHARED && DO_VERSIONING]: Likewise..
19968         * libio/Makefile [$(versioning) = yes]: Change conditionals to
19969         [$(build-shared) = yes].
19970         * manual/install.texi (--disable-versioning): Remove
19971         documentation.
19972         * INSTALL: Regenerated.
19973         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19974         to [SHARED].
19975         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19976         [$(build-shared) = yes].
19977         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19978         * sysdeps/i386/i686/multiarch/strstr-c.c
19979         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19980         [SHARED && !NO_HIDDEN].
19981         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19982         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19983         * sysdeps/powerpc/powerpc32/dl-machine.c
19984         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19985         * sysdeps/powerpc/powerpc32/sysdep.h
19986         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19987         to [SHARED && PIC && !NO_HIDDEN].
19988         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19989         conditional to [SHARED].
19991 2013-09-04   Will Newton  <will.newton@linaro.org>
19993         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19994         * benchtests/bench-string.h: Include bench-timing.h instead
19995         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19996         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19997         call to HP_TIMING_DIFF_INIT.
19998         * benchtests/bench-memccpy.c: Use bench-timing.h macros
19999         instead of hp-timing.h macros.
20000         * benchtests/bench-memchr.c: Likewise.
20001         * benchtests/bench-memcmp.c: Likewise.
20002         * benchtests/bench-memcpy.c: Likewise.
20003         * benchtests/bench-memmem.c: Likewise.
20004         * benchtests/bench-memmove.c: Likewise.
20005         * benchtests/bench-memset.c: Likewise.
20006         * benchtests/bench-rawmemchr.c: Likewise.
20007         * benchtests/bench-strcasecmp.c: Likewise.
20008         * benchtests/bench-strcasestr.c: Likewise.
20009         * benchtests/bench-strcat.c: Likewise.
20010         * benchtests/bench-strchr.c: Likewise.
20011         * benchtests/bench-strcmp.c: Likewise.
20012         * benchtests/bench-strcpy.c: Likewise.
20013         * benchtests/bench-strcpy_chk.c: Likewise.
20014         * benchtests/bench-strlen.c: Likewise.
20015         * benchtests/bench-strncasecmp.c: Likewise.
20016         * benchtests/bench-strncat.c: Likewise.
20017         * benchtests/bench-strncmp.c: Likewise.
20018         * benchtests/bench-strncpy.c: Likewise.
20019         * benchtests/bench-strnlen.c: Likewise.
20020         * benchtests/bench-strpbrk.c: Likewise.
20021         * benchtests/bench-strrchr.c: Likewise.
20022         * benchtests/bench-strspn.c: Likewise.
20023         * benchtests/bench-strstr.c: Likewise.
20025 2013-09-04  Will Newton  <will.newton@linaro.org>
20027         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20029 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
20031         [BZ #15427]
20032         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20033         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20034         * math/libm-test.inc (lgamma_test_data): Add more tests.
20035         * sysdeps/i386/fpu/libm-test-ulps: Update.
20036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20038 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
20040         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20042         Add ifunc.
20043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20044         Add strcmp-sse2-unaligned
20045         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20047 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20049         * Versions.def (libc): Add GLIBC_2.19.
20051 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20053         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20054         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20056 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
20058         [BZ #14155]
20059         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20060         intermediate calculations in recurrence.
20061         (__ieee754_ynf): Likewise.
20062         * math/libm-test.inc (jn_test_data): Do not allow spurious
20063         underflow exception.  Add more tests.
20064         (yn_test_data): Add more tests.
20065         * sysdeps/i386/fpu/libm-test-ulps: Update.
20066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20068 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
20070         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20072 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20074         * csu/init-first.c: Fix then/than typos.
20075         * locale/programs/ld-collate.c: Likewise.
20076         * locale/programs/linereader.h: Likewise.
20077         * manual/charset.texi: Likewise.
20078         * manual/filesys.texi: Likewise.
20079         * manual/stdio.texi: Likewise.
20080         * manual/string.texi: Likewise.
20081         * stdlib/fmtmsg.c: Likewise.
20082         * sysdeps/i386/stpncpy.S: Likewise.
20083         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20084         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20085         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20086         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20088 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20090         * elf/dl-open.c: Fix typos.
20091         * iconvdata/gbbig5.c: Likewise.
20092         * iconvdata/iso-2022-jp.c: Likewise.
20093         * iconv/gconv_int.h: Likewise.
20094         * iconv/loop.c: Likewise.
20095         * nis/rpcsvc/nis.h: Likewise.
20096         * resolv/ns_name.c: Likewise.
20097         * stdio-common/vfscanf.c: Likewise.
20098         * streams/stropts.h: Likewise.
20099         * sunrpc/rpc_thread.c: Likewise.
20100         * sysdeps/i386/strpbrk.S: Likewise.
20101         * sysdeps/ieee754/k_standard.c: Likewise.
20102         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20103         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20104         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20105         * sysdeps/mach/hurd/profil.c: Likewise.
20106         * sysdeps/s390/dl-procinfo.h: Likewise.
20107         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20108         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20109         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20110         * sysdeps/x86_64/dl-trampoline.S: Likewise.
20111         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20113 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
20115         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20118 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
20120         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20121         aix specific files.
20122         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20123         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20124         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20125         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20126         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20127         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20128         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20129         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20131 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20132             Roland McGrath  <roland@hack.frob.com>
20134         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20135         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20137 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20139         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20140         __executable_start symbol instead of _start.
20142 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20144         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20145         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20146         Move macros to...
20147         * sysdeps/gnu/ldsodefs.h: ... this new file.
20149         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20150         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20151         instead of ELFOSABI_LINUX.
20153         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20154         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20155         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20156         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20157         Likewise.
20158         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20159         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20160         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20161         Likewise.
20162         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20163         (ibm_extended_long_double): Add ieee_nan member.
20164         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20165         (do_test): New function.
20167         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20168         TEST_TRUNC.
20169         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20170         functions, renamed from truncdfsf_test, trunctfsf_test,
20171         trunctfdf_test.
20172         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20173         functions.
20174         (do_test): Run all these.
20176 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
20178         * argp/argp-help.c: Fix typos.
20179         * argp/argp-parse.c: Likewise.
20180         * debug/backtracesyms.c: Likewise.
20181         * elf/elf.h: Likewise.
20182         * malloc/malloc.c: Likewise.
20183         * nis/nis_print.c: Likewise.
20184         * resolv/res_comp.c: Likewise.
20185         * stdlib/stdlib.h: Likewise.
20186         * sunrpc/clnt_tcp.c: Likewise.
20187         * sunrpc/clnt_udp.c: Likewise.
20188         * sunrpc/clnt_unix.c: Likewise.
20189         * sysdeps/unix/bsd/ptsname.c: Likewise.
20190         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20191         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20193         Likewise.
20194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20195         Likewise.
20196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20197         Likewise.
20198         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20200 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20202         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20205 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
20207         [BZ #15897]
20208         * dlfcn/Makefile (tests): Add bug-dl-leaf.
20209         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20210         ($(objpfx)bug-dl-leaf): New rule.
20211         ($(objpfx)bug-dl-leaf.so): Likewise.
20212         ($(objpfx)bug-dl-leaf.out): Likewise.
20213         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20214         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20215         * dlfcn/bug-dl-leaf.c: New test.
20216         * dlfcn/bug-dl-leaf-lib.c: Likewise.
20217         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20218         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20219         (dlclose): Likewise.
20220         (dlmopen): Likewise.
20222 2013-08-27  Roland McGrath  <roland@hack.frob.com>
20224         * include/netdb.h [!_ISOMAC]:
20225         Don't include <tls.h>.
20226         (h_errno, __libc_h_errno): Move declaration and macros out of
20227         [_LIBC_REENTRANT].
20229         * include/resolv.h [_RESOLV_H_]:
20230         Don't include <tls.h>.
20231         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20232         * resolv/res_libc.c: Don't include <tls.h>.
20233         (_res): Use __attribute__ ((nocommon)) in place of
20234         __attribute__ ((section (".bss"))).
20236         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20237         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20239         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20241         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20242         only under [SIOCGIFCONF && SIOCGIFNETMASK].
20244         * resolv/res_mkquery.c: Include <sys/time.h>.
20246         * inet/ifreq.c: Moved to ...
20247         * sysdeps/unix/ifreq.c: ... here.
20248         * inet/ifreq.c: New file, true stub version.
20250         * socket/sa_len.c: New file.
20251         * socket/Makefile (aux): Add it.
20252         * sysdeps/unix/sysv/linux/Makefile
20253         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20254         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20255         and #include <socket/sa_len.c>.
20256         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20257         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20259         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20260         * bits/socket.h: ... here.
20262         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20263         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20264         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20266 2013-08-27  Andreas Schwab  <schwab@suse.de>
20268         [BZ #15736]
20269         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20270         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20271         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20272         * string/test-strcasecmp.c (test_main): Run tests in several
20273         locales.
20274         * string/test-strncasecmp.c (test_main): Likewise.
20276         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20277         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20278         to __strcasecmp_nonascii and __strncasecmp_nonascii.
20279         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20280         (__strncasecmp_ssse3) [PIC]: Likewise.
20282 2013-08-26  Roland McGrath  <roland@hack.frob.com>
20284         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20286         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20287         instead of explicitly declaring xdecrypt.
20288         * nis/nss_nis/nis-publickey.c: Likewise.
20290 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20292         [BZ #15890]
20293         * nscd/aicache.c: Include res_hconf.h.
20294         (addhstaiX): Initialize res_hconf.
20296 2013-08-26  Andreas Schwab  <schwab@suse.de>
20298         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20299         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20301 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20303         * nscd/aicache.c (addhstaiX): Fix indentation.
20305 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
20307         * configure.ac: Quote $build_pt_chown test.
20308         * configure: Regenerated.
20310 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
20312         [BZ #15532]
20313         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20314         * math/s_cexpf.c (__cexpf): Likewise.
20315         * math/s_cexpl.c (__cexpl): Likewise.
20316         * math/libm-test.inc (cexp_test_data): Correct expected return
20317         value for NaN + i0.  Add another test.
20319 2013-08-22  David S. Miller  <davem@davemloft.net>
20321         * po/ca.po: Update Catalan translation from translation project.
20322         * po/uk.po: Add Ukrainian translations from translation project.
20324 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
20326         [BZ #15797]
20327         * math/s_fdim.c (__fdim): Check for infinite arguments if result
20328         is infinite, not alongside NaN test.
20329         * math/s_fdimf.c (__fdimf): Likewise.
20330         * math/s_fdiml.c (__fdiml): Likewise.
20331         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
20332         errno is unchanged.
20334 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
20336         * argp/argp-help.c: Fix typos.
20337         * crypt/speeds.c: Likewise.
20338         * csu/check_fds.c: Likewise.
20339         * elf/dl-load.c: Likewise.
20340         * elf/dl-open.c: Likewise.
20341         * elf/reldep3.c: Likewise.
20342         * elf/reldep.c: Likewise.
20343         * elf/sprof.c: Likewise.
20344         * iconv/iconv_charmap.c: Likewise.
20345         * iconv/skeleton.c: Likewise.
20346         * iconv/strtab.c: Likewise.
20347         * io/lockf64.c: Likewise.
20348         * libio/libioP.h: Likewise.
20349         * resolv/gai_notify.c: Likewise.
20350         * resolv/ns_name.c: Likewise.
20351         * resolv/ns_samedomain.c: Likewise.
20352         * resolv/res_send.c: Likewise.
20353         * stdlib/random.c: Likewise.
20354         * sunrpc/rpc/xdr.h: Likewise.
20355         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20356         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20357         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20358         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20359         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20360         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20362         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20363         * sysdeps/mach/hurd/check_fds.c: Likewise.
20364         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20365         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20366         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20367         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20368         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20369         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20370         * sysdeps/pthread/aio_notify.c: Likewise.
20371         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20372         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20373         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20374         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20375         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20377 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20379         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20380         version if bit_Slow_SSE4_2 is set.
20381         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20382         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20384 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20386         [BZ #15867]
20387         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20388         trampoline stack frame information.
20389         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20390         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20391         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20392         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20393         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20394         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20395         (_libc_vdso_platform_setup): Initialize the signal trampolines.
20396         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20397         sa_flags value.
20398         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20399         interrupting a syscall and set with option SA_SIGINFO.
20401 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20403         [BZ #15531]
20404         * math/s_cproj.c (__cproj): Only return an infinity if one part of
20405         argument is infinite.
20406         * math/s_cprojf.c (__cprojf): Likewise.
20407         * math/s_cprojl.c (__cprojl): Likewise.
20408         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20409         * math/libm-test.inc (cproj_test_data): Add more tests.
20411         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20413         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20414         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20415         size.  Use __ffs to determine corresponding shift.
20417 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20418             Roland McGrath  <roland@hack.frob.com>
20420         * Makefile (INSTALL): Remove trailing blank lines from output of
20421         makeinfo.
20423 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20425         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20426         Align 32 bit compat elf_greg to 8 bytes.
20428 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
20430         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20432 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20434         * string/strcoll_l.c (coll_seq): New structure.
20435         (get_next_seq_cached): New function.
20436         (get_next_seq): New function.
20437         (do_compare): New function.
20438         (STRCOLL): Use GNU style definition.  Simplify implementation
20439         by using get_next_seq, get_next_seq_cached and do_compare.
20441 2013-08-16  Florian Weimer  <fweimer@redhat.com>
20443         [BZ #14699]
20444         CVE-2013-4237
20445         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20446         member.
20447         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20448         member.
20449         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20450         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20451         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
20452         conditional.
20453         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20454         GETDENTS_64BIT_ALIGNED.
20455         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20456         * manual/filesys.texi (Reading/Closing Directory): Document
20457         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
20458         strongly.
20459         * manual/conf.texi (Limits for Files): Add portability note to
20460         NAME_MAX, PATH_MAX.
20461         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20463 2013-08-13  Andreas Schwab  <schwab@suse.de>
20465         [BZ #15749]
20466         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20467         of fabs.
20468         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20469         LDBL_MAX_EXP >= 16384]: Add tests for it.
20471 2013-08-12  David S. Miller  <davem@davemloft.net>
20473         * version.h (RELEASE): Set to "development".
20474         (VERSION): Set to "2.18.90".
20475         * NEWS: Add 2.19 section.
20477 2013-08-03  David S. Miller  <davem@davemloft.net>
20479         * po/ko.po: Update Korean translation from translation project.
20481 2013-08-01  David S. Miller  <davem@davemloft.net>
20483         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
20484         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20485         Bilka.
20487 2013-07-30  David S. Miller  <davem@davemloft.net>
20489         * po/fr.po: Update French translation from translation project.
20491 2013-07-28  David S. Miller  <davem@davemloft.net>
20493         * po/cs.po: Update Czech translation from translation project.
20495         * po/sv.po: Update Swedish translation from translation project.
20497 2013-07-27  David S. Miller  <davem@davemloft.net>
20499         * po/eo.po: Update Esperanto translation from translation project.
20501         * po/vi.po: Update Vietnamese translation from translation project.
20503         * po/de.po: Update German translation from translation project.
20505 2013-07-26  David S. Miller  <davem@davemloft.net>
20507         * po/bg.po: Update Bulgarian translation from translation project.
20509         * po/nl.po: Update Dutch translation from translation project.
20510         * po/pl.po: Update Polish translation from translation project.
20511         * po/ru.po: Update Russian translation from translation project.
20513 2013-07-24  David S. Miller  <davem@davemloft.net>
20515         * po/libc.pot: Update.
20517 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20519         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20520         variable page size.
20521         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20522         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20523         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20525 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20527         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20529 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20530             Andreas Schwab  <schwab@suse.de>
20531             Roland McGrath  <roland@hack.frob.com>
20532             Joseph Myers  <joseph@codesourcery.com>
20533             Carlos O'Donell  <carlos@redhat.com>
20535         [BZ #15755]
20536         * config.h.in: Define HAVE_PT_CHOWN.
20537         * config.make.in (build-pt-chown): New variable.
20538         * configure.in (--enable-pt_chown): New configure option.
20539         * configure: Regenerate.
20540         * login/Makefile: Include Makeconfig.  Build pt_chown only if
20541         build-pt-chown is enabled.
20542         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20543         pt_chown to fix pty ownership.
20544         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20545         CLOSE_ALL_FDS.
20546         * manual/install.texi (Configuring and compiling): Mention
20547         --enable-pt_chown. Add @findex for grantpt.
20548         * INSTALL: Regenerate.
20550 2013-07-20  David S. Miller  <davem@davemloft.net>
20552         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20553         difference between 32-bit and 64-bit.
20555 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
20557         [BZ #15711]
20558         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20559         Avoid system header dependency with -ffreestanding.
20560         ($(objpfx)bits/syscall%d): Likewise.
20562 2013-07-13  David S. Miller  <davem@davemloft.net>
20564         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20565         underflows from atanl/atan2l due to bug 15319.
20566         (casinh_test_data): Likewise.
20568 2013-07-07  David S. Miller  <davem@davemloft.net>
20570         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20572 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
20574         * sysdeps/i386/fpu/libm-test-ulps: Update.
20575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20577 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20579         * configure.in (--enable-lock-elision): Fix message text.
20580         * INSTALL: Regenerate.
20581         * configure: Regenerate.
20583 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20587 2013-07-03  Andreas Jaeger  <aj@suse.de>
20589         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20590         define.
20591         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20592         (ptrace_peeksiginfo_args): Add.
20593         (__ptrace_peeksiginfo_flags): Add.
20594         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20595         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20596         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20598 2013-07-03  Allan McRae  <allan@archlinux.org>
20600         * sysdeps/i386/fpu/libm-test-ulps: Update.
20602 2013-07-02  David S. Miller  <davem@davemloft.net>
20604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20606 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
20608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20610 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20612         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20615 2013-07-02  Andi Kleen <ak@linux.intel.com>
20617         * config.h.in (ENABLE_LOCK_ELISION): Add.
20618         * configure.in (--enable-lock-elision): Add option.
20619         * manual/install.texi: Document --enable lock elision.
20620         * configure: Regenerate
20621         * INSTALL: Regenerate.
20623 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
20625         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20626         SSE4.2 strcasecmp for libc.a.
20627         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20629 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20631         [BZ #13304]
20632         * soft-fp/op-common.h (_FP_FMA): New macro.
20633         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20634         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
20635         (_FP_MUL_MEAT_1_imm): ... here.
20636         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
20637         (_FP_MUL_MEAT_1_wide): ... here.
20638         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
20639         (_FP_MUL_MEAT_1_hard): ... here.
20640         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20641         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
20642         (_FP_MUL_MEAT_2_wide): ... here.
20643         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
20644         (_FP_MUL_MEAT_2_wide_3mul): ... here.
20645         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
20646         (_FP_MUL_MEAT_2_gmp): ... here.
20647         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20648         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
20649         (_FP_MUL_MEAT_4_wide): ... here.
20650         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
20651         (_FP_MUL_MEAT_4_gmp): ... here.
20652         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20653         (_FP_WFRACBITS_DW_S): Likewise.
20654         (_FP_WFRACXBITS_DW_S): Likewise.
20655         (_FP_HIGHBIT_DW_S): Likewise.
20656         (FP_FMA_S): Likewise.
20657         (_FP_FRAC_HIGH_DW_S): Likewise.
20658         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20659         (_FP_WFRACBITS_DW_D): Likewise.
20660         (_FP_WFRACXBITS_DW_D): Likewise.
20661         (_FP_HIGHBIT_DW_D): Likewise.
20662         (FP_FMA_D): Likewise.
20663         (_FP_FRAC_HIGH_DW_D): Likewise.
20664         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20665         (_FP_WFRACBITS_DW_E): Likewise.
20666         (_FP_WFRACXBITS_DW_E): Likewise.
20667         (_FP_HIGHBIT_DW_E): Likewise.
20668         (FP_FMA_E): Likewise.
20669         (_FP_FRAC_HIGH_DW_E): Likewise.
20670         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20671         (_FP_WFRACBITS_DW_Q): Likewise.
20672         (_FP_WFRACXBITS_DW_Q): Likewise.
20673         (_FP_HIGHBIT_DW_Q): Likewise.
20674         (FP_FMA_Q): Likewise.
20675         (_FP_FRAC_HIGH_DW_Q): Likewise.
20676         * soft-fp/fmasf4.c: New file.
20677         * soft-fp/fmadf4.c: Likewise.
20678         * soft-fp/fmatf4.c: Likewise.
20680 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20682         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20683         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20684         Silvermont.
20685         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20686         macro.
20687         (index_Slow_SSE4_2): Likewise.
20688         (index_Prefer_PMINUB_for_stringop): Likewise.
20689         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20690         bit_Slow_SSE4_2 is set.
20691         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20692         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20694 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20696         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20697         rtld_global._dl_hwcap2.
20698         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20699         POWER8.
20700         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20701         POWER8 feature descriptions defined in _dl_hwcap2.
20702         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20703         string handling for POWER8 feature bits.
20704         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20705         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20706         _dl_powerpc_cap_flags.
20707         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20708         * sysdeps/powerpc/rtld-global-offsets.sym
20709         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20710         _dl_hwcap2 in the rtld_global_ro structure.
20712 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20714         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20715         hardware capabilities in support of AT_HWCAP2.
20716         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20717         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20718         GLRO(dl_hwcap2).
20719         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20720         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20721         explicitly the unknown a_type display mechanism is used.
20722         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20723         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20724         struct member.
20725         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20726         to macro prototype for AT_HWCAP2 support.
20727         * sysdeps/i386/dl-procinfo.h: Likewise.
20728         * sysdeps/s390/dl-procinfo.h: Likewise.
20729         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20730         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20731         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20732         return -1 for unknown a_type display fallback.
20733         * sysdeps/sparc/dl-procinfo.h: Likewise.
20734         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20735         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20737 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20739         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20740         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20742 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20744         [BZ #12492]
20745         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20746         mprotect making __stack_prot writable.
20748 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20749             Joseph Myers  <joseph@codesourcery.com>
20751         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20752         as being properly aligned.
20754 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20756         * dlfcn/modstatic5.c: New file.
20757         * dlfcn/tststatic5.c: New file.
20758         * dlfcn/Makefile (tests): Add tststatic5.
20759         (tests-static): Likewise.
20760         (modules-names): Add modstatic5.
20761         (tststatic5-ENV): New variable.
20762         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20764         [BZ #15022]
20765         * elf/dl-support.c (_dl_main_map): New variable.
20766         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20767         (_dl_nns, _dl_load_adds): Set to 1.
20768         (_dl_initial_searchlist): Refer to _dl_main_map.
20769         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20770         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20771         call to _dl_get_origin.
20772         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20773         around call_map.
20774         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20775         * dlfcn/modstatic3.c: New file.
20776         * dlfcn/tststatic3.c: New file.
20777         * dlfcn/tststatic4.c: New file.
20778         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20779         (tests-static): Likewise.
20780         (modules-names): Add modstatic3.
20781         (tststatic3-ENV, tststatic4-ENV): New variables.
20782         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20783         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20785 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20787         * configure.in (CC): Require GCC version 4.4 or later.
20788         * configure: Regenerated.
20789         * manual/install.texi (Tools for Compilation): Update GCC version
20790         requirement.
20791         * INSTALL: Regenerated.
20793 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20795         [BZ #15674]
20796         * string/test-memcmp.c (check2): New.
20797         (main): Call check2.
20799         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20801 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20803         [BZ #15022]
20804         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20805         over to...
20806         (dl_open_worker) [!SHARED]: ... here.
20808 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20810         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20812 2013-06-25  Richard Henderson  <rth@redhat.com>
20814         * locale/programs/locarchive.c: Include <libc-internal.h>
20816 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20818         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20819         trailing whitespace removed.
20821 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20823         [BZ #10283]
20824         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20825         * locale/programs/locarchive.c: Include libc-mmap.h.
20826         (prepare_address_space): Take two new outputs (the mmap base and len).
20827         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20828         values.
20829         (create_archive): Declare new mmap base and len values for
20830         prepare_address_space, and store the result in ah.
20831         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20832         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20833         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20834         Declare new mmap base and len values for
20835         prepare_address_space, and store the result in new_ah.
20836         (open_archive): Declare new mmap base and len values for
20837         prepare_address_space, and store the result in ah.
20838         (close_archive): If ah->mmap_base is not NULL, use that and
20839         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20840         * sysdeps/generic/libc-mmap.h: New file.
20842 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20844         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20845         (ALIGN_UP): Likewise.
20846         (PTR_ALIGN_DOWN): Likewise.
20847         (PTR_ALIGN_UP): Likewise.
20849 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20851         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20852         entry mapped to PPC_PLATFORM_POWER8.
20853         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20854         POWER8.
20855         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20856         (_dl_string_platform): Add case for exporting platform position for
20857         POWER8.
20858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20859         search path to sysdeps/powerpc/powerpc32/power8 directory.
20860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20861         search path to sysdeps/powerpc/powerpc64/power8 directory.
20862         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20863         power7 directories.
20864         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20865         power7 directories.
20867 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20869         * INSTALL: Regenerate.
20871         * nscd/connections.c (nscd_init): Fix comment.
20873 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20875         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20877         [BZ #15667]
20878         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20879         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20881 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20883         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20884         DL_DST_REQ_STATIC.
20885         (DL_DST_REQ_STATIC): Remove macro.
20887 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20889         [BZ #7006]
20890         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20891         with a shift of 0 bits.
20893 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20895         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20896         $(tststatic-ENV).
20898 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20900         [BZ #15655]
20901         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20903 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20905         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20906         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20907         accepts -fno-tree-loop-distribute-patterns.
20908         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20909         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20910         recursive call.
20911         * string/memset.c (memset): Likewise.
20912         * string/test-memmove.c (simple_memmove): Disable loop transformation
20913         to library calls.
20914         * string/test-memset.c (simple_memset): Likewise.
20915         * benchtests/bench-memmove.c (simple_memmove): Likewise.
20916         * benchtests/bench-memset.c (simple_memset): Likewise.
20917         * configure: Regenerated.
20919 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
20921         * math/test-misc.c (main): Ignore fesetround failure when failures
20922         of subsequent rounding tests would be ignored.
20924         [BZ #15654]
20925         * math/fedisblxcpt.c (fedisableexcept): Return 0.
20926         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20927         * math/fegetenv.c (__fegetenv): Return 0.
20928         * math/fegetexcept.c (fegetexcept): Return 0.
20929         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20930         FE_TONEAREST.
20931         * math/feholdexcpt.c (feholdexcept): Return 0.
20932         * math/fesetenv.c (__fesetenv): Return 0.
20933         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20934         argument FE_TONEAREST.
20935         * math/feupdateenv.c (__feupdateenv): Return 0.
20936         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20938 2013-06-18  Roland McGrath  <roland@hack.frob.com>
20940         * elf/rtld-Rules (rtld-compile-command.S): New variable.
20941         (rtld-compile-command.s, rtld-compile-command.c): New variables.
20942         ($(objpfx)rtld-%.os rules): Use them.
20944 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20946         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20947         fields.
20949 2013-06-17  Roland McGrath  <roland@hack.frob.com>
20951         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20952         length of target pattern, then descending length of dependency pattern.
20953         * configure.in (AWK): Require gawk 3.1.2 or newer.
20954         * manual/install.texi (Tools for Compilation): Say that we do.
20955         * configure: Regenerated.
20957         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20958         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20959         * scripts/sysd-rules.awk: ... this new script.
20960         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20961         than a glob-style pattern.
20963 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
20965         * math/test-misc.c (main): Do not treat incorrectly rounded
20966         conversions as failure unless ROUNDING_TESTS passes.
20968 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
20970         [BZ #15631]
20971         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20972         restore exception state around main square root computation, then
20973         check for inexactness explicitly.
20975         * math/libm-test.inc (fma_test_data): Add another test.
20977 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20979         * manual/threads.texi (Non-POSIX Extensions): New document
20980         node.  Document pthread_getattr_default_np and
20981         pthread_setattr_default_np.
20983         * Versions.def (libpthread): Add GLIBC_2.18.
20984         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20986         Likewise.
20987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20988         Likewise.
20989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20990         Likewise.
20991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20992         Likewise.
20993         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20994         Likewise.
20995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20996         Likewise.
20997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20998         Likewise.
20999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21000         Likewise.
21001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21002         Likewise.
21004 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21007         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21009 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21010             H.J. Lu  <hjl.tools@gmail.com>
21012         [BZ #15627]
21013         * sysdeps/x86_64/rtld-memset.c: Remove file.
21014         * sysdeps/x86_64/rtld-memset.S: New file.
21016 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
21018         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21019         (test_in_one_mode): Take arguments for whether the rounding mode
21020         is supported for each floating-point type.
21021         (do_test): Pass new arguments to test_in_one_mode using
21022         ROUNDING_TESTS.
21024 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21026         * posix/tst-waitid.c (do_test): Distinguish different instances of
21027         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
21028         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21029         before entering the kernel for waitpid.
21031 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21033         * NEWS: Fix note on clock function precision.  Text by Roland
21034         McGrath.
21036 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21038         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21039         it into place only when and if the sanity check passes.
21041 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
21043         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21044         output for whether conversion result is exact.  Take argument
21045         indicating whether type is IBM long double.
21046         (round_for_all): Change need_exact field to ibm_ld.
21047         * stdlib/tst-strtod-round.c (struct exactness): New type.
21048         (struct test): Change bool ld_ok field to struct exactness exact.
21049         (TEST): Update all definitions for change to field.
21050         (tests): Regenerate array contents.
21051         (test_in_one_mode): Take pointer to new field instead of old ld_ok
21052         field value.  Check for IBM long double here.
21053         (do_test): Update calls to test_in_one_mode.
21055 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21057         [BZ #12515]
21058         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21059         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21061 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21063         [BZ #15605]
21064         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21065         generated by the compiler on loop optimizations.
21066         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21067         general definitions.
21069 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
21071         * math/bug-nextafter.c: Include <math-tests.h>.
21072         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21073         the relevant type.
21074         * math/bug-nexttoward.c: Include <math-tests.h>.
21075         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21076         the relevant type.
21077         * math/test-misc.c: Include <math-tests.h>.
21078         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21079         the relevant type.
21081 2013-06-12  Andreas Jaeger  <aj@suse.de>
21083         * po/ia.po: Update Interlingua translation from translation
21084         project.
21086 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21088         * include/fenv.h: Include stdbool.h.
21089         (struct rm_ctx): New structure.
21090         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21091         Define macro.
21092         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21093         (SET_RESTORE_ROUNDF): Likewise.
21094         (SET_RESTORE_ROUNDL): Likewise.
21095         (SET_RESTORE_ROUND_NOEX): Likewise.
21096         (SET_RESTORE_ROUND_NOEXF): Likewise.
21097         (SET_RESTORE_ROUND_NOEXL): Likewise.
21098         (SET_RESTORE_ROUND_53BIT): Likewise.
21099         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21100         (libc_feresetround_noexf_ctx): Likewise.
21101         (libc_feresetround_noexl_ctx): Likewise.
21102         (libc_feholdsetround_53bit_ctx): Likewise.
21103         (libc_feresetround_53bit_ctx): Likewise.
21104         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21105         (libc_feholdexcept_setround_sse_ctx): New function.
21106         (libc_fesetenv_sse_ctx): Likewise.
21107         (libc_feupdateenv_sse_ctx): Likewise.
21108         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21109         (libc_feholdexcept_setround_387_ctx): Likewise.
21110         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21111         (libc_feholdsetround_387_prec_ctx): Likewise.
21112         (libc_feholdsetround_387_ctx): Likewise.
21113         (libc_feholdsetround_387_53bit_ctx): Likewise.
21114         (libc_feholdsetround_sse_ctx): Likewise.
21115         (libc_feresetround_sse_ctx): Likewise.
21116         (libc_feresetround_387_ctx): Likewise.
21117         (libc_feupdateenv_387_ctx): Likewise.
21118         (libc_feholdexcept_setroundf_ctx): Define macro.
21119         (libc_fesetenvf_ctx): Likewise.
21120         (libc_feupdateenvf_ctx): Likewise.
21121         (libc_feholdsetroundf_ctx): Likewise.
21122         (libc_feresetroundf_ctx): Likewise.
21123         (libc_feholdexcept_setround_ctx): Likewise.
21124         (libc_fesetenv_ctx): Likewise.
21125         (libc_feupdateenv_ctx): Likewise.
21126         (libc_feholdsetround_ctx): Likewise.
21127         (libc_feresetround_ctx): Likewise.
21128         (libc_feholdexcept_setroundl_ctx): Likewise.
21129         (libc_feupdateenvl_ctx): Likewise.
21130         (libc_feholdsetroundl_ctx): Likewise.
21131         (libc_feresetroundl_ctx): Likewise.
21132         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21133         (libc_feresetround_53bit_ctx): Likewise.
21135 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21137         * locale/iso-639.def: Convert to UTF-8.
21139 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
21141         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21142         (EXCEPTION_TESTS_double): Likewise.
21143         (EXCEPTION_TESTS_long_double): Likewise.
21144         (EXCEPTION_TESTS): Likewise.
21145         * math/libm-test.inc (test_exceptions): Only test exceptions if
21146         EXCEPTION_TESTS (FLOAT).
21148 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21150         * benchtests/Makefile (string-bench): Add strcpy_chk and
21151         stpcpy_chk.
21152         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21153         * benchtests/bench-stpcpy_chk.c: New file.
21154         * benchtests/bench-strcpy_chk-ifunc.c: New file.
21155         * benchtests/bench-strcpy_chk.c: New file.
21156         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21157         code.
21158         (do_test): Likewise.
21160 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21162         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21163         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21164         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21165         with tabs where appropriate.
21166         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21167         dl-procinfo.h.
21168         [PPC_PLATFORM_PPC440]: Likewise.
21169         [PPC_PLATFORM_PPC464]: Likewise.
21170         [PPC_PLATFORM_PPC476]: Likewise.
21171         (_dl_string_platform): Add support for detecting ppc405, ppc440,
21172         ppc464, and ppc476 platform strings merging from ports/
21173         dl-procinfo.h.
21175 2013-06-11  Andreas Schwab  <schwab@suse.de>
21177         [BZ #14991]
21178         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21179         (from_ucs4_idx): Regenerate.
21180         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21181         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21182         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21183         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21184         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21185         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21186         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21187         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21188         from FROM_LOOP and TO_LOOP specific macros.
21189         (BODY): Handle combining characters.
21190         * iconvdata/BIG5HKSCS.irreversible: Update.
21191         * iconvdata/BIG5HKSCS.precomposed: New file.
21192         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21193         characters.
21194         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21196 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21198         * include/sys/time.h: Fix indentation and add copyright header.
21200         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21201         (do_test): Likewise.
21202         * string/test-memchr.c (do_one_test): Likewise.
21203         (do_test): Likewise.
21204         * string/test-memcmp.c (do_one_test): Likewise.
21205         (do_test): Likewise.
21206         * string/test-memcpy.c (do_one_test): Likewise.
21207         (do_test): Likewise.
21208         * string/test-memmem.c (do_one_test): Likewise.
21209         (do_test): Likewise.
21210         (do_random_tests): Likewise.
21211         * string/test-memmove.c (do_one_test): Likewise.
21212         (do_test): Likewise.
21213         * string/test-memset.c (do_one_test): Likewise.
21214         (do_test): Likewise.
21215         * string/test-rawmemchr.c (do_one_test): Likewise.
21216         (do_test): Likewise.
21217         * string/test-strcasecmp.c (do_one_test): Likewise.
21218         (do_test): Likewise.
21219         * string/test-strcasestr.c (do_one_test): Likewise.
21220         (do_test): Likewise.
21221         * string/test-strcat.c (do_one_test): Likewise.
21222         (do_test): Likewise.
21223         * string/test-strchr.c (do_one_test): Likewise.
21224         (do_test): Likewise.
21225         * string/test-strcmp.c (do_one_test): Likewise.
21226         (do_test): Likewise.
21227         * string/test-strcpy.c (do_one_test): Likewise.
21228         (do_test): Likewise.
21229         * string/test-string.h: Likewise.
21230         (test_init): Likewise.
21231         * string/test-strlen.c (do_one_test): Likewise.
21232         (do_test): Likewise.
21233         * string/test-strncasecmp.c (do_one_test): Likewise.
21234         (do_test): Likewise.
21235         * string/test-strncat.c (do_one_test): Likewise.
21236         (do_test): Likewise.
21237         * string/test-strncmp.c (do_one_test): Likewise.
21238         (do_test_limit): Likewise.
21239         (do_test): Likewise.
21240         * string/test-strncpy.c (do_one_test): Likewise.
21241         (do_test): Likewise.
21242         * string/test-strnlen.c (do_one_test): Likewise.
21243         (do_test): Likewise.
21244         * string/test-strpbrk.c (do_one_test): Likewise.
21245         (do_test): Likewise.
21246         * string/test-strrchr.c (do_one_test): Likewise.
21247         (do_test): Likewise.
21248         * string/test-strspn.c (do_one_test): Likewise.
21249         (do_test): Likewise.
21250         * string/test-strstr.c (do_one_test): Likewise.
21251         (do_test): Likewise.
21253         * benchtests/Makefile (string-bench): Add string benchmarks.
21254         * benchtests/bench-bcopy-ifunc.c: New file.
21255         * benchtests/bench-bcopy.c: New file.
21256         * benchtests/bench-bzero-ifunc.c: New file.
21257         * benchtests/bench-bzero.c: New file.
21258         * benchtests/bench-memccpy-ifunc.c: New file.
21259         * benchtests/bench-memccpy.c: New file.
21260         * benchtests/bench-memchr-ifunc.c: New file.
21261         * benchtests/bench-memchr.c: New file.
21262         * benchtests/bench-memcmp-ifunc.c: New file.
21263         * benchtests/bench-memcmp.c: New file.
21264         * benchtests/bench-memmem-ifunc.c: New file.
21265         * benchtests/bench-memmem.c: New file.
21266         * benchtests/bench-memmove-ifunc.c: New file.
21267         * benchtests/bench-memmove.c: New file.
21268         * benchtests/bench-mempcpy-ifunc.c: New file.
21269         * benchtests/bench-mempcpy.c: New file.
21270         * benchtests/bench-memset-ifunc.c: New file.
21271         * benchtests/bench-memset.c: New file.
21272         * benchtests/bench-rawmemchr-ifunc.c: New file.
21273         * benchtests/bench-rawmemchr.c: New file.
21274         * benchtests/bench-stpcpy-ifunc.c: New file.
21275         * benchtests/bench-stpcpy.c: New file.
21276         * benchtests/bench-stpncpy-ifunc.c: New file.
21277         * benchtests/bench-stpncpy.c: New file.
21278         * benchtests/bench-strcasecmp-ifunc.c: New file.
21279         * benchtests/bench-strcasecmp.c: New file.
21280         * benchtests/bench-strcasestr-ifunc.c: New file.
21281         * benchtests/bench-strcasestr.c: New file.
21282         * benchtests/bench-strcat-ifunc.c: New file.
21283         * benchtests/bench-strcat.c: New file.
21284         * benchtests/bench-strchr-ifunc.c: New file.
21285         * benchtests/bench-strchr.c: New file.
21286         * benchtests/bench-strchrnul-ifunc.c: New file.
21287         * benchtests/bench-strchrnul.c: New file.
21288         * benchtests/bench-strcmp-ifunc.c: New file.
21289         * benchtests/bench-strcmp.c: New file.
21290         * benchtests/bench-strcpy-ifunc.c: New file.
21291         * benchtests/bench-strcpy.c: New file.
21292         * benchtests/bench-strcspn-ifunc.c: New file.
21293         * benchtests/bench-strcspn.c: New file.
21294         * benchtests/bench-strlen-ifunc.c: New file.
21295         * benchtests/bench-strlen.c: New file.
21296         * benchtests/bench-strncasecmp-ifunc.c: New file.
21297         * benchtests/bench-strncasecmp.c: New file.
21298         * benchtests/bench-strncat-ifunc.c: New file.
21299         * benchtests/bench-strncat.c: New file.
21300         * benchtests/bench-strncmp-ifunc.c: New file.
21301         * benchtests/bench-strncmp.c: New file.
21302         * benchtests/bench-strncpy-ifunc.c: New file.
21303         * benchtests/bench-strncpy.c: New file.
21304         * benchtests/bench-strnlen-ifunc.c: New file.
21305         * benchtests/bench-strnlen.c: New file.
21306         * benchtests/bench-strpbrk-ifunc.c: New file.
21307         * benchtests/bench-strpbrk.c: New file.
21308         * benchtests/bench-strrchr-ifunc.c: New file.
21309         * benchtests/bench-strrchr.c: New file.
21310         * benchtests/bench-strspn-ifunc.c: New file.
21311         * benchtests/bench-strspn.c: New file.
21312         * benchtests/bench-strstr-ifunc.c: New file.
21313         * benchtests/bench-strstr.c: New file.
21315         * benchtests/Makefile: Disable parallel execution of targets.
21316         (string-bench): Add memcpy.
21317         (benchset): New variable to store a list of benchmark sets.
21318         (bench-func): Renamed from bench.
21319         (bench-set): New target.
21320         (bench): Depend on bench-func and bench-set.
21321         * benchtests/README: Add section on benchmark sets.
21322         * benchtests/bench-memcpy-ifunc.c: New file.
21323         * benchtests/bench-memcpy.c: New file.
21324         * benchtests/bench-string.h: New file.
21326 2013-06-11  Andreas Schwab  <schwab@suse.de>
21328         [BZ #15577]
21329         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21330         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21331         values in the triple.
21332         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21333         terminator in the group key.
21335 2013-06-11  Andreas Jaeger  <aj@suse.de>
21337         * po/zh_TW.po: Update Chinese (traditional) translation from
21338         translation project.
21340 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21342         * include/time.h (__clock_gettime): Add libc_hidden_proto.
21343         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21344         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
21345         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21346         (clock_getcpuclockid): Likewise.
21347         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21348         Add weak_alias and libc_hidden_def.
21349         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21350         * rt/clock_gettime.c (clock_gettime): Rename to
21351         __clock_gettime.  Add weak_alias and libc_hidden_def.
21352         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21353         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21354         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
21355         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21356         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21357         Likewise.
21358         * rt/clock_settime.c (clock_settime): Rename to
21359         __clock_settime.  Add weak_alias and libc_hidden_def.
21360         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21362 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
21364         * mach/err_boot.sub: Remove trailing whitespace.
21365         * mach/err_ipc.sub: Likewise.
21366         * mach/err_mach.sub: Likewise.
21368         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21369         (ROUNDING_TESTS_double): Likewise.
21370         (ROUNDING_TESTS_long_double): Likewise.
21371         (ROUNDING_TESTS): Likewise.
21372         * math/libm-test.inc: Include <math-tests.h>.
21373         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21374         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21375         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21376         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21378 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21380         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21381         of assigning.
21383 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
21385         * sysdeps/gnu/errlist.awk: Do not generate space at end of
21386         otherwise empty TRANS lines.
21387         * sysdeps/gnu/errlist.c: Regenerated.
21389         * catgets/gencat.c (error_print): Use (void) in function
21390         definition.
21391         * crypt/crypt_util.c (__init_des): Likewise.
21392         * crypt/speeds.c (Stop): Likewise.
21393         (main): Likewise.
21394         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21395         * inet/ruserpass.c (token): Likewise.
21396         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21397         * intl/localealias.c (extend_alias_table): Likewise.
21398         * intl/plural-exp.c (init_germanic_plural): Likewise.
21399         * libio/fcloseall.c (__fcloseall): Likewise.
21400         * libio/genops.c (_IO_flush_all): Likewise.
21401         (_IO_flush_all_linebuffered): Likewise.
21402         (_IO_cleanup): Likewise.
21403         (_IO_iter_begin): Likewise.
21404         (_IO_iter_end): Likewise.
21405         (_IO_list_lock): Likewise.
21406         (_IO_list_unlock): Likewise.
21407         (_IO_list_resetlock): Likewise.
21408         * libio/getchar.c (getchar): Likewise.
21409         * libio/getchar_u.c (getchar_unlocked): Likewise.
21410         * libio/getwchar.c (getwchar): Likewise.
21411         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21412         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21413         * login/getpt.c (__getpt): Likewise.
21414         * login/tst-utmp.c (main): Likewise.
21415         * malloc/hooks.c (__malloc_check_init): Likewise.
21416         * malloc/malloc.c (__malloc_stats): Likewise.
21417         * malloc/mtrace.c (tr_break): Likewise.
21418         (mtrace): Likewise.
21419         (muntrace): Likewise.
21420         * misc/fstab.c (endfsent): Likewise.
21421         * misc/getclktck.c (__getclktck): Likewise.
21422         * misc/getdtsz.c (__getdtablesize): Likewise.
21423         * misc/gethostid.c (gethostid): Likewise.
21424         * misc/getpagesize.c (__getpagesize): Likewise.
21425         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21426         (__get_nprocs): Likewise.
21427         (__get_phys_pages): Likewise.
21428         (__get_avphys_pages): Likewise.
21429         * misc/getttyent.c (getttyent): Likewise.
21430         (setttyent): Likewise.
21431         (endttyent): Likewise.
21432         * misc/getusershell.c (getusershell): Likewise.
21433         (endusershell): Likewise.
21434         (setusershell): Likewise.
21435         (initshells): Likewise.
21436         * misc/hsearch.c (__hdestroy): Likewise.
21437         * misc/sync.c (sync): Likewise.
21438         * misc/syslog.c (closelog_internal): Likewise.
21439         (closelog): Likewise.
21440         * misc/ttyslot.c (ttyslot): Likewise.
21441         * misc/vhangup.c (vhangup): Likewise.
21442         * posix/fork.c (__fork): Likewise.
21443         * posix/getegid.c (__getegid): Likewise.
21444         * posix/geteuid.c (__geteuid): Likewise.
21445         * posix/getgid.c (__getgid): Likewise.
21446         * posix/getpid.c (__getpid): Likewise.
21447         * posix/getppid.c (__getppid): Likewise.
21448         * posix/getuid.c (__getuid): Likewise.
21449         * posix/pause.c (pause): Likewise.
21450         * posix/setpgrp.c (setpgrp): Likewise.
21451         * posix/setsid.c (__setsid): Likewise.
21452         * posix/test-vfork.c (noop): Likewise.
21453         * resolv/gethnamaddr.c (_endhtent): Likewise.
21454         (_gethtent): Likewise.
21455         (ht_endhostent): Likewise.
21456         (gethostent): Likewise.
21457         (dns_service): Likewise.
21458         * stdlib/drand48.c (drand48): Likewise.
21459         * stdlib/lrand48.c (lrand48): Likewise.
21460         * stdlib/mrand48.c (mrand48): Likewise.
21461         * stdlib/rand.c (rand): Likewise.
21462         * stdlib/random.c (__random): Likewise.
21463         * stdlib/setenv.c (clearenv): Likewise.
21464         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21465         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21466         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21467         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21468         (__get_nprocs): Likewise.
21469         (__get_phys_pages): Likewise.
21470         (__get_avphys_pages): Likewise.
21471         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21472         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21473         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21474         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21475         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21476         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21477         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21478         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21479         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21480         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21481         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21482         * sysdeps/mach/hurd/sync.c (sync): Likewise.
21483         * sysdeps/posix/clock.c (clock): Likewise.
21484         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21485         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21486         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21487         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21488         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21489         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21490         (__get_nprocs_conf): Likewise.
21491         (__get_phys_pages): Likewise.
21492         (__get_avphys_pages): Likewise.
21493         * time/clock.c (clock): Likewise.
21494         * time/tzset.c (__tzname_max): Likewise.
21496 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
21498         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21499         (__bswap_32): Do not use "register".
21500         * crypt/crypt.c (_ufc_doit_r): Likewise.
21501         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21502         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21503         * gmon/gmon.c (__monstartup): Likewise.
21504         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21505         * hurd/hurdmalloc.c (more_memory): Likewise.
21506         (malloc): Likewise.
21507         (free): Likewise.
21508         (realloc): Likewise.
21509         (malloc_fork_prepare): Likewise.
21510         (malloc_fork_parent): Likewise.
21511         (malloc_fork_child): Likewise.
21512         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21513         (_svcauth_des): Likewise.
21514         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21515         * inet/inet_net.c (inet_network): Likewise.
21516         * inet/inet_netof.c (inet_netof): Likewise.
21517         * inet/rcmd.c (__validuser2_sa): Likewise.
21518         * io/fts.c (fts_open): Likewise.
21519         (fts_load): Likewise.
21520         (fts_close): Likewise.
21521         (fts_read): Likewise.
21522         (fts_children): Likewise.
21523         (fts_build): Likewise.
21524         (fts_stat): Likewise.
21525         (fts_sort): Likewise.
21526         (fts_alloc): Likewise.
21527         (fts_lfree): Likewise.
21528         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21529         (_IO_file_xsgetn): Likewise.
21530         (_IO_file_xsgetn_mmap): Likewise.
21531         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21532         (_IO_cookie_write): Likewise.
21533         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21534         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21535         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21536         * malloc/obstack.c (_obstack_begin): Likewise.
21537         (_obstack_begin_1): Likewise.
21538         (_obstack_newchunk): Likewise.
21539         (_obstack_allocated_p): Likewise.
21540         (obstack_free): Likewise.
21541         (_obstack_memory_used): Likewise.
21542         * misc/getttyent.c (getttynam): Likewise.
21543         (getttyent): Likewise.
21544         (skip): Likewise.
21545         (value): Likewise.
21546         * misc/getusershell.c (initshells): Likewise.
21547         * misc/syslog.c (__vsyslog_chk): Likewise.
21548         * misc/ttyslot.c (ttyslot): Likewise.
21549         * nis/nis_hash.c (__nis_hash): Likewise.
21550         * posix/fnmatch_loop.c (FCT): Likewise.
21551         * posix/getconf.c (print_all): Likewise.
21552         (main): Likewise.
21553         * posix/getopt.c (exchange): Likewise.
21554         * posix/glob.c (globfree): Likewise.
21555         (prefix_array): Likewise.
21556         (__glob_pattern_type): Likewise.
21557         * resolv/arpa/nameser.h (NS_GET16): Likewise.
21558         (NS_GET32): Likewise.
21559         (NS_PUT16): Likewise.
21560         (NS_PUT32): Likewise.
21561         * resolv/gethnamaddr.c (getanswer): Likewise.
21562         (gethostbyname2): Likewise.
21563         (gethostbyaddr): Likewise.
21564         (_gethtent): Likewise.
21565         (_gethtbyname2): Likewise.
21566         (_gethtbyaddr): Likewise.
21567         * resolv/ns_print.c (dst_s_get_int16): Likewise.
21568         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21569         * resolv/res_init.c (__res_vinit): Likewise.
21570         (net_mask): Likewise.
21571         * resolv/res_mkquery.c (outchar): Likewise.
21572         (PRINT): Likewise.
21573         * stdio-common/printf_fp.c (outchar): Likewise.
21574         (PRINT): Likewise.
21575         * stdio-common/printf_fphex.c (outchar): Likewise.
21576         (PRINT): Likewise.
21577         * stdio-common/printf_size.c (outchar): Likewise.
21578         (PRINT): Likewise.
21579         * stdio-common/test_rdwr.c (main): Likewise.
21580         * stdio-common/tfformat.c (matches): Likewise.
21581         * stdio-common/vfprintf.c (outchar): Likewise.
21582         (printf_unknown): Likewise.
21583         (buffered_vfprintf): Likewise.
21584         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21585         * stdio-common/xbug.c (AppendToBuffer): Likewise.
21586         (ReadFile): Likewise.
21587         * stdlib/qsort.c (SWAP): Likewise.
21588         (_quicksort): Likewise.
21589         * stdlib/setenv.c (__add_to_environ): Likewise.
21590         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21591         * stdlib/strtol_l.c (__strtol_l): Likewise.
21592         * stdlib/tst-strtod.c (main): Likewise.
21593         * stdlib/tst-strtol.c (main): Likewise.
21594         * stdlib/tst-strtoll.c (main): Likewise.
21595         * string/bits/string2.h (__strcmp_cc): Likewise.
21596         (__strcmp_cg): Likewise.
21597         (__strcspn_c1): Likewise.
21598         (__strcspn_c2): Likewise.
21599         (__strcspn_c3): Likewise.
21600         (__strspn_c1): Likewise.
21601         (__strspn_c2): Likewise.
21602         (__strspn_c3): Likewise.
21603         (__strsep_1c): Likewise.
21604         (__strsep_2c): Likewise.
21605         (__strsep_3c): Likewise.
21606         * string/memccpy.c (__memccpy): Likewise.
21607         * string/stpcpy.c (__stpcpy): Likewise.
21608         * string/strcmp.c (strcmp): Likewise.
21609         * string/strrchr.c (strrchr): Likewise.
21610         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21611         Likewise.
21612         * sysdeps/mach/hurd/getcwd.c
21613         (_hurd_canonicalize_directory_name_internal): Likewise.
21614         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21615         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21616         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21617         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21618         Likewise, in both definitions.
21619         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21620         definitions.
21621         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21622         64] (__bswap_64): Likewise.
21623         * time/test_time.c (main): Likewise.
21624         * time/tzfile.c (__tzfile_read): Likewise.
21625         (__tzfile_compute): Likewise.
21626         * time/tzset.c (__tzset_parse_tz): Likewise.
21627         (tzset_internal): Likewise.
21628         (compute_change): Likewise.
21629         * wcsmbs/wcscat.c (__wcscat): Likewise.
21630         * wcsmbs/wcschr.c (wcschr): Likewise.
21631         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21632         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21633         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21634         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21635         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21636         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21637         * wcsmbs/wmemchr.c (wmemchr): Likewise.
21638         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21639         * wcsmbs/wmemset.c (wmemset): Likewise.
21641 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
21643         * scripts/config.guess: Update to version 2013-05-16.
21644         * scripts/config.sub: Update to version 2013-04-24.
21645         * scripts/install-sh: Update to version 2011-11-20.07.
21646         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21647         * scripts/move-if-change: Update to version 2012-01-06 07:23.
21649 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
21651         * debug/fgetws_u_chk.c: Fix leading whitespaces.
21652         * elf/sln.c: Likewise.
21653         * hurd/hurd/ioctl.h: Likewise.
21654         * hurd/hurdmalloc.c: Likewise.
21655         * hurd/xattr.c: Likewise.
21656         * include/shlib-compat.h: Likewise.
21657         * inet/ruserpass.c: Likewise.
21658         * libio/iofgets_u.c: Likewise.
21659         * libio/iofgetws_u.c: Likewise.
21660         * locale/programs/ld-identification.c: Likewise.
21661         * locale/programs/ld-time.c: Likewise.
21662         * mach/msg-destroy.c: Likewise.
21663         * nss/nss_files/files-netgrp.c: Likewise.
21664         * resolv/res_data.c: Likewise.
21665         * soft-fp/op-1.h: Likewise.
21666         * soft-fp/op-2.h: Likewise.
21667         * soft-fp/op-4.h: Likewise.
21668         * soft-fp/op-common.h: Likewise.
21669         * stdio-common/printf_fphex.c: Likewise.
21670         * stdlib/strtod_l.c: Likewise.
21671         * sunrpc/rpc/clnt.h: Likewise.
21672         * sysdeps/generic/framestate.c: Likewise.
21673         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21674         * sysdeps/i386/bsd-setjmp.S: Likewise.
21675         * sysdeps/i386/__longjmp.S: Likewise.
21676         * sysdeps/i386/setjmp.S: Likewise.
21677         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21678         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21679         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21680         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21682         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21683         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21684         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21685         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21686         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21687         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21688         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21689         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21690         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21691         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21692         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21693         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21694         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21695         * sysdeps/ieee754/support.c: Likewise.
21696         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21697         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21698         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21699         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21700         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21701         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21702         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21703         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21704         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21705         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21706         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21707         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21708         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21709         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21710         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21711         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21712         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21715 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
21717         * posix/transbug.c: Remove executable mode.
21719 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21721         * crypt/speeds.c: Remove trailing whitespace.
21722         * dlfcn/default.c: Likewise.
21723         * elf/ifuncdep2.c: Likewise.
21724         * elf/ifuncmain1.c: Likewise.
21725         * elf/ifuncmain1vis.c: Likewise.
21726         * elf/testobj.h: Likewise.
21727         * elf/tst-stackguard1.c: Likewise.
21728         * gmon/sys/gmon.h: Likewise.
21729         * hurd/hurdmsg.c: Likewise.
21730         * hurd/new-fd.c: Likewise.
21731         * hurd/ports-get.c: Likewise.
21732         * iconvdata/ibm1008_420.c: Likewise.
21733         * inet/tst-getni1.c: Likewise.
21734         * inet/tst-getni2.c: Likewise.
21735         * libio/ioungetc.c: Likewise.
21736         * libio/wfiledoalloc.c: Likewise.
21737         * manual/libm-err-tab.pl: Likewise.
21738         * math/w_dremf.c: Likewise.
21739         * misc/ftruncate.c: Likewise.
21740         * posix/bug-glob2.c: Likewise.
21741         * posix/tst-pcre.c: Likewise.
21742         * posix/wait4.c: Likewise.
21743         * resolv/README: Likewise.
21744         * resolv/res_debug.h: Likewise.
21745         * resolv/tst-inet_ntop.c: Likewise.
21746         * setjmp/bug269-setjmp.c: Likewise.
21747         * soft-fp/extended.h: Likewise.
21748         * soft-fp/op-1.h: Likewise.
21749         * soft-fp/op-2.h: Likewise.
21750         * soft-fp/op-4.h: Likewise.
21751         * soft-fp/op-8.h: Likewise.
21752         * soft-fp/testit.c: Likewise.
21753         * stdio-common/bug16.c: Likewise.
21754         * stdlib/random.c: Likewise.
21755         * sunrpc/rpcsvc/rquota.x: Likewise.
21756         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21757         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21758         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21759         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21760         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21761         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21762         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21763         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21764         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21765         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21766         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21767         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21768         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21769         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21770         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21771         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21772         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21773         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21774         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21775         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21776         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21777         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21778         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21779         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21780         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21781         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21782         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21783         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21784         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21785         * sysdeps/ieee754/s_lib_version.c: Likewise.
21786         * sysdeps/mach/hurd/check_fds.c: Likewise.
21787         * sysdeps/mach/hurd/getsockname.c: Likewise.
21788         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21789         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21790         * sysdeps/powerpc/bits/link.h: Likewise.
21791         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21792         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21793         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21794         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21795         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21796         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21797         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21798         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21799         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21800         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21801         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21802         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21803         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21804         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21805         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21806         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21807         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21808         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21809         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21810         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21811         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21812         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21813         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21814         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21815         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21816         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21817         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21818         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21819         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21820         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21821         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21822         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21823         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21824         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21825         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21826         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21827         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21828         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21829         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21830         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21831         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21832         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21833         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21834         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21835         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21836         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21837         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21838         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21839         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21840         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21841         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21842         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21843         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21844         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21845         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21846         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21847         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21848         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21849         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21850         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21851         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21852         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21853         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21854         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21855         * sysdeps/powerpc/sysdep.h: Likewise.
21856         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21857         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21858         * sysdeps/sh/dl-trampoline.S: Likewise.
21859         * sysdeps/sh/memset.S: Likewise.
21860         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21861         * sysdeps/sh/strlen.S: Likewise.
21862         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21863         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21864         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21865         * sysdeps/sparc/sparc32/rem.S: Likewise.
21866         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21867         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21868         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21869         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21870         * sysdeps/sparc/sparc32/urem.S: Likewise.
21871         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21872         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21873         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21874         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21875         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21876         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21877         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21878         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21879         * sysdeps/unix/bsd/times.c: Likewise.
21880         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21881         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21885         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21886         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21887         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21888         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21889         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21890         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21891         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21892         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21893         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21894         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21895         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21896         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21897         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21898         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21899         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21900         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21901         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21902         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21903         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21904         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21905         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21906         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21907         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21908         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21909         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21910         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21911         * sysdeps/x86_64/strcspn.S: Likewise.
21913 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21915         * locale/C-translit.h: Revert #include <stdint.h> because this is a
21916         generated file.  Regenerate properly from gen-translit.pl.
21917         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
21918         locale/C-translit.h.
21920 2013-06-05  Andreas Schwab  <schwab@suse.de>
21922         [BZ #15100]
21923         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21924         week as 6 instead of -1.
21925         * time/tst-strptime.c (day_tests): Add test case.
21927 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21929         * sysdeps/generic/math_private.h
21930         (libc_feholdexcept_setround_53bit): Replace with
21931         libc_feholdsetround_53bit.
21932         (libc_feupdateenv_53bit): Replace with
21933         libc_feresetround_53bit.
21934         (SET_RESTORE_ROUND_53BIT): Adjust.
21936 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21938         * string/test-strchrnul.c: Add copyright header.
21940         * posix/tst-getaddrinfo4.c: Increase test timeout.
21942 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
21944         [BZ #15536]
21945         * math/libm-test.inc (MAX_EXP): Remove
21946         (MIN_EXP): Define.
21947         (ulp): Use MIN_EXP - MANT_DIG.
21948         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21950 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
21952         * po/be.po: Revert last change.
21953         * po/zh_CN.po: Likewise.
21954         * po/header.pot: Likewise.
21956 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
21958         * Makefile ($(common-objpfx)linkobj/libc.so): Define
21959         link-libc-deps to empty as target-specific variable.
21960         * Makerules (link-libc-args): New variable.
21961         (libc-for-link): Likewise.
21962         (link-libc-deps): Likewise.
21963         (lib%.so): Depend on $(link-libc-deps).  Link with
21964         $(link-libc-args).
21965         (build-module): Link with $(link-libc-args).
21966         (build-module-asneeded): Likewise.
21967         (build-module-helper-objlist): Filter out $(link-libc-deps) from
21968         list of objects.
21969         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21970         target-specific variable.
21971         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21972         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21973         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21974         libc.
21975         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21976         libc and ld.so.
21977         ($(objpfx)libpcprofile.so): Likewise.
21978         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21979         libc_nonshared.a.
21980         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21981         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21982         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21983         $(link-libc-deps).
21984         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21985         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21986         * login/Makefile ($(objpfx)libutil.so): Likewise.
21987         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21988         * math/Makefile ($(objpfx)libm.so): Likewise.
21989         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21990         $(objpfx)libnsl.so): Define libc-for-link as target-specific
21991         variable instead of depending directly on libc.
21992         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21993         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21994         $(link-libc-deps).
21995         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21996         libc.
21997         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21998         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21999         ($(objpfx)libanl.so): Likewise.
22000         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22001         ld.so.
22002         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22003         $(link-libc-deps).
22004         * sysdeps/i386/fpu/Makefile: Remove file.
22005         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22006         ($(objpfx)libm.so): Remove dependency on ld.so.
22008 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
22010         [BZ # 15553]
22011         * nis/yp_xdr.c (XDRMAXNAME): Define.
22012         (XDRMAXRECORD): Define.
22013         (xdr_domainname): Use XDRMAXNAME.
22014         (xdr_mapname): Likewise.
22015         (xdr_peername): Likewise.
22016         (xdr_keydat): Use XDRMAXRECORD.
22017         (xdr_valdat): Likewise.
22019 2013-05-30  Jeff Law  <law@redhat.com>
22021         [BZ #14256]
22022         * manual/errno.texi (ESTALE): Update to account for more than
22023         just NFS file systems.
22024         * sysdeps/gnu/errlist.c: Regenerated.
22026 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22028         [BZ #15465]
22029         * elf/Makefile (tests): Add tst-null-argv.
22030         (modules-names):  Add tst-null-argv-lib.
22031         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22032         (tst-null-argv-ENV): Set environment for tst-null-argv.
22033         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22034         (RTLD_PROGNAME): New macro.
22035         * elf/tst-null-argv.c: New test case.
22036         * elf/tst-null-argv-lib.c: Library for test case.
22037         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22038         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22039         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22040         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22041         * elf/dl-init.c (call_init): Likewise.
22042         (_dl_init): Likewise.
22043         * elf/dl-load.c (print_search_path): Likewise.
22044         (_dl_map_object): Likewise.
22045         * elf/dl-lookup.c (do_lookup_x): Likewise.
22046         (add_dependency): Likewise.
22047         (_dl_lookup_symbol_x): Likewise.
22048         (_dl_debug_bindings): Likewise.
22049         * elf/dl-open.c (_dl_show_scope): Likewise.
22050         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22051         * elf/dl-version.c (match_symbol): Likewise.
22052         (_dl_check_map_versions): Likewise.
22053         * elf/rtld.c (dl_main): Likewise.
22054         (print_unresolved): Use RTLD_PROGNAME.
22055         (print_missing_version): Likewise.
22056         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22057         (elf_machine_rela): Likewise.
22058         * sysdeps/powerpc/powerpc32/dl-machine.c
22059         (__process_machine_rela): Likewise.
22060         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22061         Likewise.
22062         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22063         Likewise.
22064         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22065         Likewise.
22066         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22067         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22068         Likewise.
22069         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22070         Likewise.
22071         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22073 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
22075         * po/be.po: Add descriptive title.
22076         * po/zh_CN.po: Likewise.
22077         * po/header.pot: Likewise.
22079 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
22081         * locale/programs/locarchive.c (create_archive): Inlucde fname in
22082         error message.
22083         (enlarge_archive): Likewise.
22085 2013-05-28  Ben North  <ben@redfrontdoor.org>
22087         * manual/arith.texi (frexp): It is the magnitude of the return
22088         value which lies in [0.5, 1), not the return value itself.
22090 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22094 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
22096         * stdio-common/bug26.c (main): Correct fscanf template.
22098         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22099         declare _dl_skip_args.
22101         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22102         Don't declare.
22104         * manual/platform.texi: Add missing @end deftypefun.
22106 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22108         [BZ #15529]
22109         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22110         bit of mantissa of 2^16382.
22111         * math/libm-test.inc (hypot_test_data): Add more tests.
22113         * math/libm-test.inc: Add drem and pow10 to list of tested
22114         functions.
22115         (pow10_test): New function.
22116         (drem_test): Likewise.
22117         (drem_test_tonearest): Likewise.
22118         (drem_test_towardzero): Likewise.
22119         (drem_test_downward): Likewise.
22120         (drem_test_upward): Likewise.
22121         (main): Call the new functions.
22123         * math/libm-test.inc (finite_test_data): Remove.
22124         (finite_test): Run tests from isfinite_test_data.
22125         (gamma_test_data): Remove.
22126         (gamma_test): Run tests from lgamma_test_data.
22127         * sysdeps/i386/fpu/libm-test-ulps: Update.
22128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22130 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22132         * manual/platform.texi: Add PowerPC PPR function set documentation.
22133         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22134         implementation.
22136 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
22138         * math/libm-test.inc (MAX_EXP): Define.
22139         (ULPDIFF): Define.
22140         (ulp): New function.
22141         (check_float_internal): Use ULPDIFF.
22142         (cpow_test): Disable failing test.
22143         (check_ulp): Test ulp() implemetnation.
22144         (main): Call check_ulp before starting tests.
22146 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22148         * math/gen-libm-test.pl (generate_testfile): Do not handle
22149         START_DATA and END_DATA.
22150         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22151         END_DATA.
22152         (acos_tonearest_test_data): Likewise.
22153         (acos_towardzero_test_data): Likewise.
22154         (acos_downward_test_data): Likewise.
22155         (acos_upward_test_data): Likewise.
22156         (acosh_test_data): Likewise.
22157         (asin_test_data): Likewise.
22158         (asin_tonearest_test_data): Likewise.
22159         (asin_towardzero_test_data): Likewise.
22160         (asin_downward_test_data): Likewise.
22161         (asin_upward_test_data): Likewise.
22162         (asinh_test_data): Likewise.
22163         (atan_test_data): Likewise.
22164         (atanh_test_data): Likewise.
22165         (atan2_test_data): Likewise.
22166         (cabs_test_data): Likewise.
22167         (cacos_test_data): Likewise.
22168         (cacosh_test_data): Likewise.
22169         (carg_test_data): Likewise.
22170         (casin_test_data): Likewise.
22171         (casinh_test_data): Likewise.
22172         (catan_test_data): Likewise.
22173         (catanh_test_data): Likewise.
22174         (cbrt_test_data): Likewise.
22175         (ccos_test_data): Likewise.
22176         (ccosh_test_data): Likewise.
22177         (ceil_test_data): Likewise.
22178         (cexp_test_data): Likewise.
22179         (cimag_test_data): Likewise.
22180         (clog_test_data): Likewise.
22181         (clog10_test_data): Likewise.
22182         (conj_test_data): Likewise.
22183         (copysign_test_data): Likewise.
22184         (cos_test_data): Likewise.
22185         (cos_tonearest_test_data): Likewise.
22186         (cos_towardzero_test_data): Likewise.
22187         (cos_downward_test_data): Likewise.
22188         (cos_upward_test_data): Likewise.
22189         (cosh_test_data): Likewise.
22190         (cosh_tonearest_test_data): Likewise.
22191         (cosh_towardzero_test_data): Likewise.
22192         (cosh_downward_test_data): Likewise.
22193         (cosh_upward_test_data): Likewise.
22194         (cpow_test_data): Likewise.
22195         (cproj_test_data): Likewise.
22196         (creal_test_data): Likewise.
22197         (csin_test_data): Likewise.
22198         (csinh_test_data): Likewise.
22199         (csqrt_test_data): Likewise.
22200         (ctan_test_data): Likewise.
22201         (ctan_tonearest_test_data): Likewise.
22202         (ctan_towardzero_test_data): Likewise.
22203         (ctan_downward_test_data): Likewise.
22204         (ctan_upward_test_data): Likewise.
22205         (ctanh_test_data): Likewise.
22206         (ctanh_tonearest_test_data): Likewise.
22207         (ctanh_towardzero_test_data): Likewise.
22208         (ctanh_downward_test_data): Likewise.
22209         (ctanh_upward_test_data): Likewise.
22210         (erf_test_data): Likewise.
22211         (erfc_test_data): Likewise.
22212         (exp_test_data): Likewise.
22213         (exp_tonearest_test_data): Likewise.
22214         (exp_towardzero_test_data): Likewise.
22215         (exp_downward_test_data): Likewise.
22216         (exp_upward_test_data): Likewise.
22217         (exp10_test_data): Likewise.
22218         (exp2_test_data): Likewise.
22219         (expm1_test_data): Likewise.
22220         (fabs_test_data): Likewise.
22221         (fdim_test_data): Likewise.
22222         (finite_test_data): Likewise.
22223         (floor_test_data): Likewise.
22224         (fma_test_data): Likewise.
22225         (fma_towardzero_test_data): Likewise.
22226         (fma_downward_test_data): Likewise.
22227         (fma_upward_test_data): Likewise.
22228         (fmax_test_data): Likewise.
22229         (fmin_test_data): Likewise.
22230         (fmod_test_data): Likewise.
22231         (fpclassify_test_data): Likewise.
22232         (frexp_test_data): Likewise.
22233         (gamma_test_data): Likewise.
22234         (hypot_test_data): Likewise.
22235         (ilogb_test_data): Likewise.
22236         (isfinite_test_data): Likewise.
22237         (isgreater_test_data): Likewise.
22238         (isgreaterequal_test_data): Likewise.
22239         (isinf_test_data): Likewise.
22240         (isless_test_data): Likewise.
22241         (islessequal_test_data): Likewise.
22242         (islessgreater_test_data): Likewise.
22243         (isnan_test_data): Likewise.
22244         (isnormal_test_data): Likewise.
22245         (issignaling_test_data): Likewise.
22246         (isunordered_test_data): Likewise.
22247         (j0_test_data): Likewise.
22248         (j1_test_data): Likewise.
22249         (jn_test_data): Likewise.
22250         (ldexp_test_data): Likewise.
22251         (lgamma_test_data): Likewise.
22252         (lrint_test_data): Likewise.
22253         (lrint_tonearest_test_data): Likewise.
22254         (lrint_towardzero_test_data): Likewise.
22255         (lrint_downward_test_data): Likewise.
22256         (lrint_upward_test_data): Likewise.
22257         (llrint_test_data): Likewise.
22258         (llrint_tonearest_test_data): Likewise.
22259         (llrint_towardzero_test_data): Likewise.
22260         (llrint_downward_test_data): Likewise.
22261         (llrint_upward_test_data): Likewise.
22262         (log_test_data): Likewise.
22263         (log10_test_data): Likewise.
22264         (log1p_test_data): Likewise.
22265         (log2_test_data): Likewise.
22266         (logb_test_data): Likewise.
22267         (logb_downward_test_data): Likewise.
22268         (lround_test_data): Likewise.
22269         (llround_test_data): Likewise.
22270         (modf_test_data): Likewise.
22271         (nearbyint_test_data): Likewise.
22272         (nextafter_test_data): Likewise.
22273         (nexttoward_test_data): Likewise.
22274         (pow_test_data): Likewise.
22275         (pow_tonearest_test_data): Likewise.
22276         (pow_towardzero_test_data): Likewise.
22277         (pow_downward_test_data): Likewise.
22278         (pow_upward_test_data): Likewise.
22279         (remainder_test_data): Likewise.
22280         (remainder_tonearest_test_data): Likewise.
22281         (remainder_towardzero_test_data): Likewise.
22282         (remainder_downward_test_data): Likewise.
22283         (remainder_upward_test_data): Likewise.
22284         (remquo_test_data): Likewise.
22285         (rint_test_data): Likewise.
22286         (rint_tonearest_test_data): Likewise.
22287         (rint_towardzero_test_data): Likewise.
22288         (rint_downward_test_data): Likewise.
22289         (rint_upward_test_data): Likewise.
22290         (round_test_data): Likewise.
22291         (scalb_test_data): Likewise.
22292         (scalbn_test_data): Likewise.
22293         (scalbln_test_data): Likewise.
22294         (signbit_test_data): Likewise.
22295         (sin_test_data): Likewise.
22296         (sin_tonearest_test_data): Likewise.
22297         (sin_towardzero_test_data): Likewise.
22298         (sin_downward_test_data): Likewise.
22299         (sin_upward_test_data): Likewise.
22300         (sincos_test_data): Likewise.
22301         (sinh_test_data): Likewise.
22302         (sinh_tonearest_test_data): Likewise.
22303         (sinh_towardzero_test_data): Likewise.
22304         (sinh_downward_test_data): Likewise.
22305         (sinh_upward_test_data): Likewise.
22306         (sqrt_test_data): Likewise.
22307         (tan_test_data): Likewise.
22308         (tan_tonearest_test_data): Likewise.
22309         (tan_towardzero_test_data): Likewise.
22310         (tan_downward_test_data): Likewise.
22311         (tan_upward_test_data): Likewise.
22312         (tanh_test_data): Likewise.
22313         (tgamma_test_data): Likewise.
22314         (trunc_test_data): Likewise.
22315         (y0_test_data): Likewise.
22316         (y1_test_data): Likewise.
22317         (yn_test_data): Likewise.
22318         (significand_test_data): Likewise.
22320         * math/gen-libm-test.pl (@functions): Remove variable.
22321         (generate_testfile): Don't handle START and END lines.
22322         * math/libm-test.inc (START): New macro.
22323         (END): Likewise.
22324         (END_COMPLEX): Likewise.
22325         (acos_test): Use END macro without arguments.
22326         (acos_test_tonearest): Likewise.
22327         (acos_test_towardzero): Likewise.
22328         (acos_test_downward): Likewise.
22329         (acos_test_upward): Likewise.
22330         (acosh_test): Likewise.
22331         (asin_test): Likewise.
22332         (asin_test_tonearest): Likewise.
22333         (asin_test_towardzero): Likewise.
22334         (asin_test_downward): Likewise.
22335         (asin_test_upward): Likewise.
22336         (asinh_test): Likewise.
22337         (atan_test): Likewise.
22338         (atanh_test): Likewise.
22339         (atan2_test): Likewise.
22340         (cabs_test): Likewise.
22341         (cacos_test): Use END_COMPLEX macro without arguments.
22342         (cacosh_test): Likewise.
22343         (carg_test): Use END macro without arguments.
22344         (casin_test): Use END_COMPLEX macro without arguments.
22345         (casinh_test): Likewise.
22346         (catan_test): Likewise.
22347         (catanh_test): Likewise.
22348         (cbrt_test): Use END macro without arguments.
22349         (ccos_test): Use END_COMPLEX macro without arguments.
22350         (ccosh_test): Likewise.
22351         (ceil_test): Use END macro without arguments.
22352         (cexp_test): Use END_COMPLEX macro without arguments.
22353         (cimag_test): Use END macro without arguments.
22354         (clog_test): Use END_COMPLEX macro without arguments.
22355         (clog10_test): Likewise.
22356         (conj_test): Likewise.
22357         (copysign_test): Use END macro without arguments.
22358         (cos_test): Likewise.
22359         (cos_test_tonearest): Likewise.
22360         (cos_test_towardzero): Likewise.
22361         (cos_test_downward): Likewise.
22362         (cos_test_upward): Likewise.
22363         (cosh_test): Likewise.
22364         (cosh_test_tonearest): Likewise.
22365         (cosh_test_towardzero): Likewise.
22366         (cosh_test_downward): Likewise.
22367         (cosh_test_upward): Likewise.
22368         (cpow_test): Use END_COMPLEX macro without arguments.
22369         (cproj_test): Likewise.
22370         (creal_test): Use END macro without arguments.
22371         (csin_test): Use END_COMPLEX macro without arguments.
22372         (csinh_test): Likewise.
22373         (csqrt_test): Likewise.
22374         (ctan_test): Likewise.
22375         (ctan_test_tonearest): Likewise.
22376         (ctan_test_towardzero): Likewise.
22377         (ctan_test_downward): Likewise.
22378         (ctan_test_upward): Likewise.
22379         (ctanh_test): Likewise.
22380         (ctanh_test_tonearest): Likewise.
22381         (ctanh_test_towardzero): Likewise.
22382         (ctanh_test_downward): Likewise.
22383         (ctanh_test_upward): Likewise.
22384         (erf_test): Use END macro without arguments.
22385         (erfc_test): Likewise.
22386         (exp_test): Likewise.
22387         (exp_test_tonearest): Likewise.
22388         (exp_test_towardzero): Likewise.
22389         (exp_test_downward): Likewise.
22390         (exp_test_upward): Likewise.
22391         (exp10_test): Likewise.
22392         (exp2_test): Likewise.
22393         (expm1_test): Likewise.
22394         (fabs_test): Likewise.
22395         (fdim_test): Likewise.
22396         (finite_test): Likewise.
22397         (floor_test): Likewise.
22398         (fma_test): Likewise.
22399         (fma_test_towardzero): Likewise.
22400         (fma_test_downward): Likewise.
22401         (fma_test_upward): Likewise.
22402         (fmax_test): Likewise.
22403         (fmin_test): Likewise.
22404         (fmod_test): Likewise.
22405         (fpclassify_test): Likewise.
22406         (frexp_test): Likewise.
22407         (gamma_test): Likewise.
22408         (hypot_test): Likewise.
22409         (ilogb_test): Likewise.
22410         (isfinite_test): Likewise.
22411         (isgreater_test): Likewise.
22412         (isgreaterequal_test): Likewise.
22413         (isinf_test): Likewise.
22414         (isless_test): Likewise.
22415         (islessequal_test): Likewise.
22416         (islessgreater_test): Likewise.
22417         (isnan_test): Likewise.
22418         (isnormal_test): Likewise.
22419         (issignaling_test): Likewise.
22420         (isunordered_test): Likewise.
22421         (j0_test): Likewise.
22422         (j1_test): Likewise.
22423         (jn_test): Likewise.
22424         (ldexp_test): Likewise.
22425         (lgamma_test): Likewise.
22426         (lrint_test): Likewise.
22427         (lrint_test_tonearest): Likewise.
22428         (lrint_test_towardzero): Likewise.
22429         (lrint_test_downward): Likewise.
22430         (lrint_test_upward): Likewise.
22431         (llrint_test): Likewise.
22432         (llrint_test_tonearest): Likewise.
22433         (llrint_test_towardzero): Likewise.
22434         (llrint_test_downward): Likewise.
22435         (llrint_test_upward): Likewise.
22436         (log_test): Likewise.
22437         (log10_test): Likewise.
22438         (log1p_test): Likewise.
22439         (log2_test): Likewise.
22440         (logb_test): Likewise.
22441         (logb_test_downward): Likewise.
22442         (lround_test): Likewise.
22443         (llround_test): Likewise.
22444         (modf_test): Likewise.
22445         (nearbyint_test): Likewise.
22446         (nextafter_test): Likewise.
22447         (nexttoward_test): Likewise.
22448         (pow_test): Likewise.
22449         (pow_test_tonearest): Likewise.
22450         (pow_test_towardzero): Likewise.
22451         (pow_test_downward): Likewise.
22452         (pow_test_upward): Likewise.
22453         (remainder_test): Likewise.
22454         (remainder_test_tonearest): Likewise.
22455         (remainder_test_towardzero): Likewise.
22456         (remainder_test_downward): Likewise.
22457         (remainder_test_upward): Likewise.
22458         (remquo_test): Likewise.
22459         (rint_test): Likewise.
22460         (rint_test_tonearest): Likewise.
22461         (rint_test_towardzero): Likewise.
22462         (rint_test_downward): Likewise.
22463         (rint_test_upward): Likewise.
22464         (round_test): Likewise.
22465         (scalb_test): Likewise.
22466         (scalbn_test): Likewise.
22467         (scalbln_test): Likewise.
22468         (signbit_test): Likewise.
22469         (sin_test): Likewise.
22470         (sin_test_tonearest): Likewise.
22471         (sin_test_towardzero): Likewise.
22472         (sin_test_downward): Likewise.
22473         (sin_test_upward): Likewise.
22474         (sincos_test): Likewise.
22475         (sinh_test): Likewise.
22476         (sinh_test_tonearest): Likewise.
22477         (sinh_test_towardzero): Likewise.
22478         (sinh_test_downward): Likewise.
22479         (sinh_test_upward): Likewise.
22480         (sqrt_test): Likewise.
22481         (tan_test): Likewise.
22482         (tan_test_tonearest): Likewise.
22483         (tan_test_towardzero): Likewise.
22484         (tan_test_downward): Likewise.
22485         (tan_test_upward): Likewise.
22486         (tanh_test): Likewise.
22487         (tgamma_test): Likewise.
22488         (trunc_test): Likewise.
22489         (y0_test): Likewise.
22490         (y1_test): Likewise.
22491         (yn_test): Likewise.
22492         (significand_test): Likewise.
22494 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
22496         [BZ #15381]
22497         * libio/genops.c (_IO_no_init): Initialize wide struct info.
22499 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22501         [BZ #14894]
22502         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22503         __ppc_mdoio and __ppc_mdoom.
22504         * manual/platform.texi: Document new functions __ppc_yield,
22505         __ppc_mdoio and __ppc_mdoom.
22507 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
22509         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22510         (main): Mention "tls" pseudo-hwcap is legacy.
22511         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22513 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22515         * math/gen-libm-test.pl (parse_args): Output only string of
22516         arguments as text for test name, not full call or descriptions of
22517         tests for extra outputs.
22518         (generate_testfile): Do not pass function name to parse_args.
22519         Generate this_func variable from START.
22520         * math/libm-test.inc (struct test_f_f_data): Rename test_name
22521         field to arg_str.
22522         (struct test_ff_f_data): Likewise.
22523         (test_ff_f_data_nexttoward): Likewise.
22524         (struct test_fi_f_data): Likewise.
22525         (struct test_fl_f_data): Likewise.
22526         (struct test_if_f_data): Likewise.
22527         (struct test_fff_f_data): Likewise.
22528         (struct test_c_f_data): Likewise.
22529         (struct test_f_f1_data): Likewise.  Remove field extra_name.
22530         (struct test_fF_f1_data): Likewise.
22531         (struct test_ffI_f1_data): Likewise.
22532         (struct test_c_c_data): Rename test_name field to arg_str.
22533         (struct test_cc_c_data): Likewise.
22534         (struct test_f_i_data): Likewise.
22535         (struct test_ff_i_data): Likewise.
22536         (struct test_f_l_data): Likewise.
22537         (struct test_f_L_data): Likewise.
22538         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
22539         and extra2_name.
22540         (COMMON_TEST_SETUP): New macro.
22541         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22542         (COMMON_TEST_CLEANUP): Likewise.
22543         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22544         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
22545         macros.
22546         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22547         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
22548         macros.
22549         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22550         (RUN_TEST_fff_f): Take argument string.  Call new setup and
22551         cleanup macros.
22552         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22553         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
22554         macros.
22555         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22556         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
22557         macros.
22558         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22559         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
22560         cleanup macros.
22561         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22562         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
22563         cleanup macros.
22564         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22565         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
22566         cleanup macros.
22567         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22568         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
22569         macros.
22570         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22571         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
22572         macros.
22573         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22574         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
22575         macros.
22576         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22577         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
22578         cleanup macros.
22579         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22580         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
22581         cleanup macros.
22582         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22583         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
22584         macros.
22585         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22586         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
22587         cleanup macros.
22588         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22589         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
22590         macros.
22591         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22592         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
22593         macros.
22594         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22595         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
22596         cleanup macros.
22597         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22599 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
22601         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22602         to _sifields.sigfault.
22603         (si_addr_lsb): Define new macro.
22604         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22605         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22606         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22608 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
22610         [BZ #15441]
22611         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22612         returns -1.
22613         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22614         null return -1.
22615         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22616         loading the domain.
22618 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22620         * math/gen-libm-test.pl (parse_args): Do not include expected
22621         result in test name.
22622         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22623         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22624         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22625         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22626         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22629 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22631         * benchtests/Makefile: Sort function entries.
22633         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22634         tanh, asinh, acosh, atanh.
22635         * benchtests/acos-inputs: New file.
22636         * benchtests/acosh-inputs: New file.
22637         * benchtests/asin-inputs: New file.
22638         * benchtests/asinh-inputs: New file.
22639         * benchtests/atanh-inputs: New file.
22640         * benchtests/cosh-inputs: New file.
22641         * benchtests/log-inputs: New file.
22642         * benchtests/sinh-inputs: New file.
22643         * benchtests/tanh-inputs: New file.
22645 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
22647         [BZ #15339]
22648         * posix/tst-getaddrinfo4.c: New test.
22649         * posix/Makefile (tests): Add it.
22651 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22653         [BZ #15339]
22654         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22655         when no services were used.
22656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22657         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22659 2013-05-21  Andreas Schwab  <schwab@suse.de>
22661         [BZ #15014]
22662         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22663         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22664         successful.
22665         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22666         redundant variable declarations and reallocation of buffer when
22667         parsing as IPv6 address.  Always set NSS status when called from
22668         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
22669         buffer too small.  Correct computation of needed size.
22670         * nss/Makefile (tests): Add test-digits-dots.
22671         * nss/test-digits-dots.c: New test.
22673 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22675         * benchtests/Makefile: Remove instructions for adding
22676         benchmark tests.
22677         * benchtests/README: New file to explain how to execute and
22678         enhance the benchmark tests.
22680 2013-05-21  Andreas Schwab  <schwab@suse.de>
22682         [BZ #15493]
22683         * setjmp/Makefile (tests): Add tst-sigsetjmp.
22684         * setjmp/tst-sigsetjmp.c: New test.
22686 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22688         * sysdeps/x86_64/memset.S (memset): New implementation.
22689         (__bzero): Likewise.
22690         (__memset_tail): New function.
22692 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22694         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22695         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22696         __memcpy_sse2_unaligned ifunc selection.
22697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22698         Add memcpy-sse2-unaligned.S.
22699         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22700         Add: __memcpy_sse2_unaligned.
22702 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
22704         [BZ #15490]
22705         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22706         math_force_eval before restoring floating-point envrionment.
22707         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22708         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22709         Likewise.
22710         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22711         <math_private.h>.
22712         (__nearbyintl): Use math_force_eval before restoring
22713         floating-point environment.
22714         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22716         * math/gen-libm-test.pl (special_functions): Remove.
22717         (parse_args): Don't handle TEST_extra.  Handle functions with no
22718         return value.
22719         * math/libm-test.inc (struct test_sincos_data): Replace with
22720         struct test_fFF_11_data.
22721         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22722         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22723         (sincos_test_data): Change element type to struct
22724         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22725         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22726         RUN_TEST_LOOP_sincos.
22727         * math/README.libm-test: Don't mention special handling of
22728         individual functions.
22729         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22730         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22731         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22732         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22733         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22736         * math/gen-libm-test.pl (get_variable): Remove function.
22737         (parse_args): Don't show pointer parameters to call in test
22738         names.  Use "extra output N" in test names for extra outputs
22739         rather than naming variables.
22741 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22743         [BZ #15488]
22744         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22745         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22746         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22747         double tests.
22748         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22749         disable.
22750         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22751         check_long_double.
22753         * math/gen-libm-test.pl (@tests): Remove variable.
22754         ($count): Likewise.
22755         (new_test): Remove function.
22756         (show_exceptions): New function.
22757         (special_functions): Use show_exceptions instead of new_test.
22758         (parse_args): Likewise.
22759         (generate_testfile): Pass only function name in generated call to
22760         print_max_error or print_complex_max_error.
22761         (get_ulps): Do not handle complex tests specially.
22762         (output_test): Rename to ...
22763         (get_all_ulps_for_test): ... this.  Return a string rather than
22764         printing to a file.  Require ulps to be present.
22765         (output_ulps): Generate arrays rather than #defines.
22766         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22767         (struct ulp_data): New type.
22768         (BUILD_COMPLEX_ULP): Remove macro.
22769         (compare_ulp_data): New function.
22770         (find_ulps): Likewise.
22771         (find_test_ulps): Likewise.
22772         (find_function_ulps): Likewise.
22773         (find_complex_function_ulps): Likewise.
22774         (print_max_error): Determine allowed ulps using
22775         find_function_ulps.
22776         (print_complex_max_error): Determine allowed ulps using
22777         find_complex_function_ulps.
22778         (check_float_internal): Determine max ulps using find_test_ulps.
22779         (check_float): Do not take max_ulp parameter.  Update call to
22780         check_float_internal.
22781         (check_complex): Likewise.
22782         (check_int): Do not take max_ulp parameter.
22783         (check_long): Likewise.
22784         (check_bool): Likewise.
22785         (check_longlong): Likewise.
22786         (struct test_f_f_data): Remove max_ulp field.
22787         (struct test_ff_f_data): Likewise.
22788         (struct test_ff_f_data_nexttoward): Likewise.
22789         (struct test_fi_f_data): Likewise.
22790         (struct test_fl_f_data): Likewise.
22791         (struct test_if_f_data): Likewise.
22792         (struct test_fff_f_data): Likewise.
22793         (struct test_c_f_data): Likewise.
22794         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22795         (struct test_fF_f1_data): Likewise.
22796         (struct test_ffI_f1_data): Likewise.
22797         (struct test_c_c_data): Remove max_ulp field.
22798         (struct test_cc_c_data): Likewise.
22799         (struct test_f_i_data): Likewise.
22800         (struct test_ff_i_data): Likewise.
22801         (struct test_f_l_data): Likewise.
22802         (struct test_f_L_data): Likewise.
22803         (struct test_sincos_data): Likewise.
22804         (RUN_TEST_f_f): Do not handle ulps.
22805         (RUN_TEST_LOOP_f_f): Likewise.
22806         (RUN_TEST_2_f): Likewise.
22807         (RUN_TEST_LOOP_2_f): Likewise.
22808         (RUN_TEST_fff_f): Likewise.
22809         (RUN_TEST_LOOP_fff_f): Likewise.
22810         (RUN_TEST_c_f): Likewise.
22811         (RUN_TEST_LOOP_c_f): Likewise.
22812         (RUN_TEST_f_f1): Likewise.
22813         (RUN_TEST_LOOP_f_f1): Likewise.
22814         (RUN_TEST_fF_f1): Likewise.
22815         (RUN_TEST_LOOP_fF_f1): Likewise.
22816         (RUN_TEST_fI_f1): Likewise.
22817         (RUN_TEST_LOOP_fI_f1): Likewise.
22818         (RUN_TEST_ffI_f1): Likewise.
22819         (RUN_TEST_LOOP_ffI_f1): Likewise.
22820         (RUN_TEST_c_c): Likewise.
22821         (RUN_TEST_LOOP_c_c): Likewise.
22822         (RUN_TEST_cc_c): Likewise.
22823         (RUN_TEST_LOOP_cc_c): Likewise.
22824         (RUN_TEST_f_i): Likewise.
22825         (RUN_TEST_LOOP_f_i): Likewise.
22826         (RUN_TEST_f_i_tg): Likewise.
22827         (RUN_TEST_LOOP_f_i_tg): Likewise.
22828         (RUN_TEST_ff_i_tg): Likewise.
22829         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22830         (RUN_TEST_f_b): Likewise.
22831         (RUN_TEST_LOOP_f_b): Likewise.
22832         (RUN_TEST_f_b_tg): Likewise.
22833         (RUN_TEST_LOOP_f_b_tg): Likewise.
22834         (RUN_TEST_f_l): Likewise.
22835         (RUN_TEST_LOOP_f_l): Likewise.
22836         (RUN_TEST_f_L): Likewise.
22837         (RUN_TEST_LOOP_f_L): Likewise.
22838         (RUN_TEST_sincos): Likewise.
22839         (RUN_TEST_LOOP_sincos): Likewise.
22841 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22843         [BZ #15480]
22844         [BZ #15485]
22845         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22846         main case of finite arguments, set rounding mode to FE_TONEAREST
22847         and discard exceptions.
22848         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22849         exceptions.
22850         (remainder_tonearest_test_data): New variable.
22851         (remainder_test_tonearest): New function.
22852         (remainder_towardzero_test_data): New variable.
22853         (remainder_test_towardzero): New function.
22854         (remainder_downward_test_data): New variable.
22855         (remainder_test_downward): New function.
22856         (remainder_upward_test_data): New variable.
22857         (remainder_test_upward): New function.
22858         (main): Call the new test functions.
22860         * math/libm-test.inc (struct test_f_f1_data): Remove field
22861         extra_init.
22862         (struct test_fF_f1_data): Likewise.
22863         (struct test_ffI_f1_data): Likewise.
22864         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22865         based on value of EXTRA_EXPECTED.
22866         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22867         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22868         EXTRA_VAR based on value of EXTRA_EXPECTED.
22869         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22870         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22871         EXTRA_VAR based on value of EXTRA_EXPECTED.
22872         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22873         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22874         EXTRA_VAR based on value of EXTRA_EXPECTED.
22875         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22876         * math/gen-libm-test.pl (parse_args): Don't output initializers
22877         for extra output values.
22879         * math/libm-test.inc (check_int): Expect result to be exactly
22880         equal to expected value and do not handle ulps.
22881         (check_long): Likewise.
22882         (check_longlong): Likewise.
22884         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22885         exceptions.
22886         (cimag_test_data): Likewise.
22887         (conj_test_data): Likewise.
22888         (copysign_test_data): Likewise.
22889         (cproj_test_data): Likewise.
22890         (creal_test_data): Likewise.
22891         (fabs_test_data): Likewise.
22892         (fdim_test_data): Likewise.
22893         (finite_test_data): Likewise.
22894         (floor_test_data): Likewise.
22895         (fmax_test_data): Likewise.
22896         (fmin_test_data): Likewise.
22897         (fmod_test_data): Likewise.
22898         (fpclassify_test_data): Likewise.
22899         (frexp_test_data): Likewise.
22900         (ilogb_test_data): Likewise.
22901         (isfinite_test_data): Likewise.
22902         (isgreater_test_data): Likewise.
22903         (isgreaterequal_test_data): Likewise.
22904         (isinf_test_data): Likewise.
22905         (isless_test_data): Likewise.
22906         (islessequal_test_data): Likewise.
22907         (islessgreater_test_data): Likewise.
22908         (isnan_test_data): Likewise.
22909         (isnormal_test_data): Likewise.
22910         (issignaling_test_data): Likewise.
22911         (isunordered_test_data): Likewise.
22912         (ldexp_test_data): Likewise.
22913         (lrint_test_data): Likewise.
22914         (lrint_test_data) [TEST_FLOAT]: Disable one test.
22915         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22916         (lrint_tonearest_test_data): Test for "inexact" exceptions.
22917         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22918         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22919         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22920         test input.
22921         (lrint_towardzero_test_data): Test for "inexact" exceptions.
22922         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22923         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22924         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22925         that test input.
22926         (lrint_downward_test_data): Test for "inexact" exceptions.
22927         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22928         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22929         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22930         test input.
22931         (lrint_upward_test_data): Test for "inexact" exceptions.
22932         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22933         test input.
22934         (llrint_test_data): Test for "inexact" exceptions.
22935         (llrint_test_data) [TEST_FLOAT]: Disable one test.
22936         (llrint_tonearest_test_data): Test for "inexact" exceptions.
22937         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22938         (llrint_towardzero_test_data): Test for "inexact" exceptions.
22939         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22940         (llrint_downward_test_data): Test for "inexact" exceptions.
22941         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22942         (llrint_upward_test_data): Test for "inexact" exceptions.
22943         (logb_test_data): Likewise.
22944         (logb_downward_test_data): Likewise.
22945         (nextafter_test_data): Likewise.
22946         (nexttoward_test_data): Likewise.
22947         (remainder_test_data): Likewise.
22948         (remquo_test_data): Likewise.
22949         (scalbn_test_data): Likewise.
22950         (scalbln_test_data): Likewise.
22951         (signbit_test_data): Likewise.
22952         (sqrt_test_data): Likewise.
22953         (significand_test_data): Likewise.
22955 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22957         [BZ #15424]
22958         * benchtests/bench-modf.c (struct args): Mark arg0 as
22959         volatile.
22960         * scripts/bench.pl: Mark members of struct args as volatile.
22962 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22964         [BZ # 15497]
22965         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22966         negative infinity on POWER6 or lower.
22967         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22969 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22971         [BZ #15442]
22972         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22973         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22974         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22975         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22976         (_FP_SETQNAN): New macro.
22977         (_FP_SETQNAN_SEMIRAW): Likewise.
22978         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22979         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22980         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22981         (FP_EXTEND): Use _FP_FRAC_SNANP.
22982         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22983         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22984         into account.
22985         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22986         New macro.
22987         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22988         Likewise.
22990 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22992         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22993         with DIVIDE_BY_ZERO_EXCEPTION.
22994         (gamma_test_data): Likewise.
22995         (lgamma_test_data): Likewise.
22996         (log_test_data): Likewise.
22997         (log10_test_data): Likewise.
22998         (log2_test_data): Likewise.
22999         (tgamma_test_data): Likewise.
23001         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23002         (acos_test_tonearest): Likewise.
23003         (acos_test_towardzero): Likewise.
23004         (acos_test_downward): Likewise.
23005         (acos_test_upward): Likewise.
23006         (acosh_test): Likewise.
23007         (asin_test): Likewise.
23008         (asin_test_tonearest): Likewise.
23009         (asin_test_towardzero): Likewise.
23010         (asin_test_downward): Likewise.
23011         (asin_test_upward): Likewise.
23012         (asinh_test): Likewise.
23013         (atan_test): Likewise.
23014         (atanh_test): Likewise.
23015         (atan2_test): Likewise.
23016         (cabs_test): Likewise.
23017         (cacos_test): Likewise.
23018         (cacosh_test): Likewise.
23019         (casin_test): Likewise.
23020         (casinh_test): Likewise.
23021         (catan_test): Likewise.
23022         (catanh_test): Likewise.
23023         (cbrt_test): Likewise.
23024         (ccos_test): Likewise.
23025         (ccosh_test): Likewise.
23026         (cexp_test): Likewise.
23027         (clog_test): Likewise.
23028         (clog10_test): Likewise.
23029         (cos_test): Likewise.
23030         (cos_test_tonearest): Likewise.
23031         (cos_test_towardzero): Likewise.
23032         (cos_test_downward): Likewise.
23033         (cos_test_upward): Likewise.
23034         (cosh_test): Likewise.
23035         (cosh_test_tonearest): Likewise.
23036         (cosh_test_towardzero): Likewise.
23037         (cosh_test_downward): Likewise.
23038         (cosh_test_upward): Likewise.
23039         (cpow_test): Likewise.
23040         (csin_test): Likewise.
23041         (csinh_test): Likewise.
23042         (csqrt_test): Likewise.
23043         (ctan_test): Likewise.
23044         (ctan_test_tonearest): Likewise.
23045         (ctan_test_towardzero): Likewise.
23046         (ctan_test_downward): Likewise.
23047         (ctan_test_upward): Likewise.
23048         (ctanh_test): Likewise.
23049         (ctanh_test_tonearest): Likewise.
23050         (ctanh_test_towardzero): Likewise.
23051         (ctanh_test_downward): Likewise.
23052         (ctanh_test_upward): Likewise.
23053         (erf_test): Likewise.
23054         (erfc_test): Likewise.
23055         (exp_test): Likewise.
23056         (exp_test_tonearest): Likewise.
23057         (exp_test_towardzero): Likewise.
23058         (exp_test_downward): Likewise.
23059         (exp_test_upward): Likewise.
23060         (exp10_test): Likewise.
23061         (exp2_test): Likewise.
23062         (expm1_test): Likewise.
23063         (fmod_test): Likewise.
23064         (gamma_test): Likewise.
23065         (hypot_test): Likewise.
23066         (j0_test): Likewise.
23067         (j1_test): Likewise.
23068         (jn_test): Likewise.
23069         (lgamma_test): Likewise.
23070         (log_test): Likewise.
23071         (log10_test): Likewise.
23072         (log1p_test): Likewise.
23073         (log2_test): Likewise.
23074         (logb_test_downward): Likewise.
23075         (pow_test): Likewise.
23076         (pow_test_tonearest): Likewise.
23077         (pow_test_towardzero): Likewise.
23078         (pow_test_downward): Likewise.
23079         (pow_test_upward): Likewise.
23080         (remainder_test): Likewise.
23081         (remquo_test): Likewise.
23082         (sin_test): Likewise.
23083         (sin_test_tonearest): Likewise.
23084         (sin_test_towardzero): Likewise.
23085         (sin_test_downward): Likewise.
23086         (sin_test_upward): Likewise.
23087         (sincos_test): Likewise.
23088         (sinh_test): Likewise.
23089         (sinh_test_tonearest): Likewise.
23090         (sinh_test_towardzero): Likewise.
23091         (sinh_test_downward): Likewise.
23092         (sinh_test_upward): Likewise.
23093         (sqrt_test): Likewise.
23094         (tan_test): Likewise.
23095         (tan_test_tonearest): Likewise.
23096         (tan_test_towardzero): Likewise.
23097         (tan_test_downward): Likewise.
23098         (tan_test_upward): Likewise.
23099         (tanh_test): Likewise.
23100         (tgamma_test): Likewise.
23101         (y0_test): Likewise.
23102         (y1_test): Likewise.
23103         (yn_test): Likewise.
23105         * math/gen-libm-test.pl (adjust_arg): Remove function.
23106         (special_function): Remove argument $in_func.  Only handle
23107         generating output for tables of tests, not inside functions.
23108         (parse_args): Likewise.
23109         (generate_testfile): Remove variable $in_func.  Update call to
23110         parse_args.
23111         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23112         (MINUS_ZERO_INIT): Rename macro to minus_zero.
23113         (PLUS_INFTY_INIT): Rename macro to plus_infty.
23114         (MINUS_INFTY_INIT): Rename macro to minus_infty.
23115         (QNAN_VALUE_INIT): Rename macro to qnan_value.
23116         (MAX_VALUE_INIT): Rename macro to max_value.
23117         (MIN_VALUE_INIT): Rename macro to min_value.
23118         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23119         (plus_zero): Remove variable.
23120         (minus_zero): Likewise.
23121         (plus_infty): Likewise.
23122         (minus_infty): Likewise.
23123         (qnan_value): Likewise.
23124         (max_value): Likewise.
23125         (min_value): Likewise.
23126         (min_subnorm_value): Likewise.
23128 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23130         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23131         uint64_t or uint32_t usage.
23132         * crypt/sha256-block.c: Likewise.
23133         * crypt/sha256-crypt.c: Likewise.
23134         * crypt/sha256.c: Likewise.
23135         * crypt/sha512-block.c: Likewise.
23136         * crypt/sha512-crypt.c: Likewise.
23137         * crypt/sha512.c: Likewise.
23138         * debug/backtrace-tst.c: Likewise.
23139         * debug/pcprofiledump.c: Likewise.
23140         * elf/cache.c: Likewise.
23141         * elf/dl-cache.c: Likewise.
23142         * elf/dl-misc.c: Likewise.
23143         * elf/dl-profile.c: Likewise.
23144         * elf/dl-support.c: Likewise.
23145         * elf/ldconfig.c: Likewise.
23146         * elf/sprof.c: Likewise.
23147         * iconv/dummy-repertoire.c: Likewise.
23148         * iconv/iconv_charmap.c: Likewise.
23149         * iconv/skeleton.c: Likewise.
23150         * iconvdata/8bit-generic.c: Likewise.
23151         * iconvdata/cp737.h: Likewise.
23152         * iconvdata/cp775.h: Likewise.
23153         * iconvdata/ibm1008.h: Likewise.
23154         * iconvdata/ibm1025.h: Likewise.
23155         * iconvdata/ibm1046.h: Likewise.
23156         * iconvdata/ibm1097.h: Likewise.
23157         * iconvdata/ibm1112.h: Likewise.
23158         * iconvdata/ibm1122.h: Likewise.
23159         * iconvdata/ibm1123.h: Likewise.
23160         * iconvdata/ibm1124.h: Likewise.
23161         * iconvdata/ibm1129.h: Likewise.
23162         * iconvdata/ibm1130.h: Likewise.
23163         * iconvdata/ibm1132.h: Likewise.
23164         * iconvdata/ibm1133.h: Likewise.
23165         * iconvdata/ibm1137.h: Likewise.
23166         * iconvdata/ibm1140.h: Likewise.
23167         * iconvdata/ibm1141.h: Likewise.
23168         * iconvdata/ibm1142.h: Likewise.
23169         * iconvdata/ibm1143.h: Likewise.
23170         * iconvdata/ibm1144.h: Likewise.
23171         * iconvdata/ibm1145.h: Likewise.
23172         * iconvdata/ibm1146.h: Likewise.
23173         * iconvdata/ibm1147.h: Likewise.
23174         * iconvdata/ibm1148.h: Likewise.
23175         * iconvdata/ibm1149.h: Likewise.
23176         * iconvdata/ibm1153.h: Likewise.
23177         * iconvdata/ibm1154.h: Likewise.
23178         * iconvdata/ibm1155.h: Likewise.
23179         * iconvdata/ibm1156.h: Likewise.
23180         * iconvdata/ibm1157.h: Likewise.
23181         * iconvdata/ibm1158.h: Likewise.
23182         * iconvdata/ibm1160.h: Likewise.
23183         * iconvdata/ibm1161.h: Likewise.
23184         * iconvdata/ibm1162.h: Likewise.
23185         * iconvdata/ibm1163.h: Likewise.
23186         * iconvdata/ibm1164.h: Likewise.
23187         * iconvdata/ibm1166.h: Likewise.
23188         * iconvdata/ibm1167.h: Likewise.
23189         * iconvdata/ibm12712.h: Likewise.
23190         * iconvdata/ibm1390.h: Likewise.
23191         * iconvdata/ibm1399.h: Likewise.
23192         * iconvdata/ibm16804.h: Likewise.
23193         * iconvdata/ibm4517.h: Likewise.
23194         * iconvdata/ibm4899.h: Likewise.
23195         * iconvdata/ibm4909.h: Likewise.
23196         * iconvdata/ibm4971.h: Likewise.
23197         * iconvdata/ibm5347.h: Likewise.
23198         * iconvdata/ibm803.h: Likewise.
23199         * iconvdata/ibm856.h: Likewise.
23200         * iconvdata/ibm901.h: Likewise.
23201         * iconvdata/ibm902.h: Likewise.
23202         * iconvdata/ibm9030.h: Likewise.
23203         * iconvdata/ibm9066.h: Likewise.
23204         * iconvdata/ibm921.h: Likewise.
23205         * iconvdata/ibm922.h: Likewise.
23206         * iconvdata/ibm9448.h: Likewise.
23207         * iconvdata/isiri-3342.h: Likewise.
23208         * iconvdata/jis0201.h: Likewise.
23209         * include/link.h: Likewise.
23210         * include/netdb.h: Likewise.
23211         * inet/check_native.c: Likewise.
23212         * inet/check_pf.c: Likewise.
23213         * inet/getipv4sourcefilter.c: Likewise.
23214         * inet/getnameinfo.c: Likewise.
23215         * inet/getsourcefilter.c: Likewise.
23216         * inet/htonl.c: Likewise.
23217         * inet/setipv4sourcefilter.c: Likewise.
23218         * inet/setsourcefilter.c: Likewise.
23219         * inet/test-inet6_opt.c: Likewise.
23220         * inet/tst-network.c: Likewise.
23221         * locale/C-collate.c: Likewise.
23222         * locale/C-ctype.c: Likewise.
23223         * locale/C-time.c: Likewise.
23224         * locale/C-translit.h: Likewise.
23225         * locale/loadarchive.c: Likewise.
23226         * locale/programs/3level.h: Likewise.
23227         * locale/programs/charmap.c: Likewise.
23228         * locale/programs/charmap.h: Likewise.
23229         * locale/programs/ld-address.c: Likewise.
23230         * locale/programs/ld-collate.c: Likewise.
23231         * locale/programs/ld-ctype.c: Likewise.
23232         * locale/programs/ld-identification.c: Likewise.
23233         * locale/programs/ld-measurement.c: Likewise.
23234         * locale/programs/ld-messages.c: Likewise.
23235         * locale/programs/ld-monetary.c: Likewise.
23236         * locale/programs/ld-name.c: Likewise.
23237         * locale/programs/ld-numeric.c: Likewise.
23238         * locale/programs/ld-paper.c: Likewise.
23239         * locale/programs/ld-telephone.c: Likewise.
23240         * locale/programs/ld-time.c: Likewise.
23241         * locale/programs/linereader.c: Likewise.
23242         * locale/programs/locale.c: Likewise.
23243         * locale/programs/locarchive.c: Likewise.
23244         * locale/programs/locfile.h: Likewise.
23245         * locale/programs/repertoire.c: Likewise.
23246         * locale/programs/simple-hash.c: Likewise.
23247         * locale/programs/simple-hash.h: Likewise.
23248         * malloc/memusage.c: Likewise.
23249         * malloc/memusagestat.c: Likewise.
23250         * nis/nis_defaults.c: Likewise.
23251         * nis/nis_hash.c: Likewise.
23252         * nis/nis_print.c: Likewise.
23253         * nis/nis_xdr.c: Likewise.
23254         * nscd/connections.c: Likewise.
23255         * nscd/hstcache.c: Likewise.
23256         * nscd/nscd_gethst_r.c: Likewise.
23257         * nscd/nscd_getserv_r.c: Likewise.
23258         * nscd/nscd_helper.c: Likewise.
23259         * nscd/servicescache.c: Likewise.
23260         * nss/makedb.c: Likewise.
23261         * nss/nss_db/db-XXX.c: Likewise.
23262         * nss/nss_db/db-initgroups.c: Likewise.
23263         * nss/nss_db/db-netgrp.c: Likewise.
23264         * nss/nss_files/files-network.c: Likewise.
23265         * nss/nss_files/files-parse.c: Likewise.
23266         * posix/bug-regex5.c: Likewise.
23267         * posix/fnmatch_loop.c: Likewise.
23268         * posix/regcomp.c: Likewise.
23269         * posix/regexec.c: Likewise.
23270         * posix/tst-rfc3484-2.c: Likewise.
23271         * posix/tst-rfc3484-3.c: Likewise.
23272         * posix/tst-rfc3484.c: Likewise.
23273         * resolv/nss_dns/dns-canon.c: Likewise.
23274         * resolv/nss_dns/dns-network.c: Likewise.
23275         * resolv/res_init.c: Likewise.
23276         * resolv/res_mkquery.c: Likewise.
23277         * resolv/tst-aton.c: Likewise.
23278         * stdlib/cxa_atexit.c: Likewise.
23279         * stdlib/cxa_finalize.c: Likewise.
23280         * stdlib/gen-fpioconst.c: Likewise.
23281         * stdlib/strtol_l.c: Likewise.
23282         * string/tst-endian.c: Likewise.
23283         * sunrpc/auth_des.c: Likewise.
23284         * sunrpc/clnt_udp.c: Likewise.
23285         * sunrpc/rtime.c: Likewise.
23286         * sunrpc/svcauth_des.c: Likewise.
23287         * sunrpc/xdr.c: Likewise.
23288         * sunrpc/xdr_intXX_t.c: Likewise.
23289         * sunrpc/xdr_rec.c: Likewise.
23290         * sysdeps/generic/ldconfig.h: Likewise.
23291         * sysdeps/generic/ldsodefs.h: Likewise.
23292         * sysdeps/generic/memusage.h: Likewise.
23293         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23294         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23295         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23296         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23297         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23298         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23299         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23300         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23301         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23302         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23303         * sysdeps/posix/getaddrinfo.c: Likewise.
23304         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23305         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23306         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23307         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23308         * sysdeps/powerpc/test-gettimebase.c: Likewise.
23309         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23310         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23311         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23312         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23313         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23314         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23315         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23316         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23317         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23318         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23319         * sysdeps/x86_64/dl-tls.h: Likewise.
23320         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23321         * time/alt_digit.c: Likewise.
23322         * time/era.c: Likewise.
23323         * wcsmbs/tst-c16c32-1.c: Likewise.
23325 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23327         * math/libm-test.inc (struct test_sincos_data): New type.
23328         (RUN_TEST_LOOP_sincos): New macro.
23329         (sincos_test_data): New variable.
23330         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23332 2013-05-16  Richard Henderson  <rth@redhat.com>
23334         * math/atest-exp2.c (LIMB64): New macro.
23335         (CONSTSZ): New macro.
23336         (mp_exp1, mp_exp_m1, mp_log2): New variables.
23337         (hexdig): Move ...
23338         (print_mpn_fp): ... to function scope.
23339         (read_mpn_hex): Remove.
23340         (get_log2): Remove.
23341         (exp2_mpn): Use mp_log2.
23342         (main): Use mp_exp1.
23344 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23346         * math/libm-test.inc: Remove comment about not testing "inexact"
23347         exceptions.
23348         (INEXACT_EXCEPTION): New macro.
23349         (NO_INEXACT_EXCEPTION): Likewise.
23350         (INVALID_EXCEPTION_OK): Update value.
23351         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23352         (OVERFLOW_EXCEPTION_OK): Likewise.
23353         (UNDERFLOW_EXCEPTION_OK): Likewise.
23354         (IGNORE_ZERO_INF_SIGN): Likewise.
23355         (ERRNO_UNCHANGED): Likewise.
23356         (ERRNO_EDOM): Likewise.
23357         (ERRNO_ERANGE): Likewise.
23358         (test_exceptions): Handle testing "inexact" exceptions.
23359         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23360         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23361         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23362         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23363         INEXACT_EXCEPTION.
23364         (rint_towardzero_test_data): Likewise.
23365         (rint_downward_test_data): Likewise.
23366         (rint_upward_test_data): Likewise.
23368         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23369         with OVERFLOW_EXCEPTION.
23370         (exp10_test_data): Likewise.
23371         (exp2_test_data): Likewise.
23372         (expm1_test_data): Likewise.
23373         (lgamma_test_data): Likewise.
23374         (pow_test_data): Likewise.
23375         (tgamma_test_data): Likewise.
23376         (yn_test_data): Remove duplicate test of overflow.
23378         * math/libm-test.inc (struct test_cc_c_data): New type.
23379         (RUN_TEST_LOOP_cc_c): New macro.
23380         (cpow_test_data): New variable.
23381         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23383         * math/libm-test.inc (struct test_f_L_data): New type.
23384         (RUN_TEST_LOOP_f_L): New macro.
23385         (llrint_test_data): New variable.
23386         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23387         (llrint_tonearest_test_data): New variable.
23388         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23389         (llrint_towardzero_test_data): New variable.
23390         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23391         (llrint_downward_test_data): New variable.
23392         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23393         (llrint_upward_test_data): New variable.
23394         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23395         (llround_test_data): New variable.
23396         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23398 2013-05-13  Peter Collingbourne  <pcc@google.com>
23400         * math/atest-exp2.c (get_log2): Remove const attribute.
23402 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23404         * math/libm-test.inc (struct test_f_l_data): New type.
23405         (RUN_TEST_LOOP_f_l): New macro.
23406         (lrint_test_data): New variable.
23407         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23408         (lrint_tonearest_test_data): New variable.
23409         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23410         (lrint_towardzero_test_data): New variable.
23411         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23412         (lrint_downward_test_data): New variable.
23413         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23414         (lrint_upward_test_data): New variable.
23415         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23416         (lround_test_data): New variable.
23417         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23419 2013-05-15  Peter Collingbourne  <pcc@google.com>
23421         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23422         (EXTRACT_WORDS64) Use where appropriate.
23423         (INSERT_WORDS64) Likewise.
23425         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23426         constraints with x constraints.
23427         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23429         * malloc/obstack.c (_obstack_compat): Add initializer.
23431 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23433         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23434         si_trapno and add si_addr_lsb to _sifields.sigfault.
23435         (si_trapno): Remove macro.
23436         (si_addr_lsb): Define new macro.
23437         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23439 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23441         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23442         instead of TEST_f_l.
23443         (llrint_test_tonearest): Likewise.
23444         (llrint_test_towardzero): Likewise.
23445         (llrint_test_downward): Likewise.
23446         (llrint_test_upward): Likewise.
23447         (llround_test): Likewise.
23449         * math/libm-test.inc (struct test_f_i_data): Add comment.
23450         (RUN_TEST_LOOP_f_b): New macro.
23451         (RUN_TEST_LOOP_f_b_tg): Likewise.
23452         (finite_test_data): New variable.
23453         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23454         (isfinite_test_data): New variable.
23455         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23456         (isinf_test_data): New variable.
23457         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23458         (isnan_test_data): New variable.
23459         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23460         (isnormal_test_data): New variable.
23461         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23462         (issignaling_test_data): New variable.
23463         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23464         (signbit_test_data): New variable.
23465         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23467         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23468         with INVALID_EXCEPTION.
23469         (acosh_test_data): Likewise.
23470         (asin_test_data): Likewise.
23471         (atanh_test_data): Likewise.
23472         (fmod_test_data): Likewise.
23473         (log_test_data): Likewise.
23474         (log10_test_data): Likewise.
23475         (log2_test_data): Likewise.
23476         (pow_test_data): Likewise.
23477         (sqrt_test_data): Likewise.
23478         (y0_test_data): Likewise.
23479         (y1_test_data): Likewise.
23480         (yn_test_data): Likewise.
23482         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23483         function contents.
23485         * math/libm-test.inc (struct test_ff_i_data): New type.
23486         (RUN_TEST_LOOP_ff_i_tg): New macro.
23487         (isgreater_test_data): New variable.
23488         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23489         (isgreaterequal_test_data): New variable.
23490         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23491         (isless_test_data): New variable.
23492         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23493         (islessequal_test_data): New variable.
23494         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23495         (islessgreater_test_data): New variable.
23496         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23497         (isunordered_test_data): New variable.
23498         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23500 2013-05-14  David S. Miller  <davem@davemloft.net>
23502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23504 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
23506         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23508         * math/libm-test.inc (struct test_fF_f1_data): Change type of
23509         extra_test to int.
23510         (struct test_f_i_data): Change type of max_ulp to int.
23512         * math/libm-test.inc (test_ffI_f1_data): New type.
23513         (RUN_TEST_LOOP_ffI_f1): New macro.
23514         (remquo_test_data): New variable.
23515         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23517         * setjmp/tst-setjmp-fp.c: New file.
23518         * setjmp/Makefile (tests): Add tst-setjmp-fp.
23519         (link-libm): New variable.
23520         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23522         * math/libm-test.inc (struct test_f_i_data): New type.
23523         (RUN_TEST_LOOP_f_i): New macro.
23524         (RUN_TEST_LOOP_f_i_tg): Likewise.
23525         (fpclassify_test_data): New variable.
23526         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23527         (ilogb_test_data): New variable.
23528         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23530         * math/libm-test.inc (scalbln_test): Correct function name in END
23531         call.
23533         * math/libm-test.inc (struct test_f_f1_data): Add comment.
23534         (RUN_TEST_LOOP_fI_f1): New macro.
23535         (frexp_test_data): New variable.
23536         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23538         * math/libm-test.inc (struct test_fF_f1_data): New type.
23539         (RUN_TEST_LOOP_fF_f1): New macro.
23540         (modf_test_data): New variable.
23541         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23543         * math/libm-test.inc (struct test_f_f1_data): New type.
23544         (RUN_TEST_LOOP_f_f1): New macro.
23545         (gamma_test_data): New variable.
23546         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23547         (lgamma_test_data): New variable.
23548         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23550 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
23552         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23553         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23554         (main): Comment "tls" pseudo-hwcap.
23556 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
23558         * math/libm-test.inc (struct test_fl_f_data): New type.
23559         (RUN_TEST_LOOP_fl_f): New variable.
23560         (scalbln_test_data): New variable.
23561         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23563         * math/libm-test.inc (struct test_fi_f_data): New type.
23564         (RUN_TEST_LOOP_fi_f): New macro.
23565         (ldexp_test_data): New variable.
23566         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23567         (scalbn_test_data): New variable.
23568         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23570         * math/libm-test.inc (struct test_c_f_data): New type.
23571         (RUN_TEST_LOOP_c_f): New macro.
23572         (cabs_test_data): New variable.
23573         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23574         (carg_test_data): New variable.
23575         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23576         (cimag_test_data): New variable.
23577         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23578         (creal_test_data): New variable.
23579         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23581         * math/libm-test.inc (struct test_if_f_data): New type.
23582         (RUN_TEST_LOOP_if_f): New macro.
23583         (jn_test_data): New variable.
23584         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23585         (yn_test_data): New variable.
23586         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23588         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23590 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23592         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23593         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23595 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23597         * benchtests/Makefile (CPPFLAGS-nonlib): Add
23598         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23599         (bench-deps): Add bench-timing.h.
23600         * benchtests-bench-skeleton.c: Include bench-timing.h.
23601         (main): Use TIMING_* macros instead of clock_gettime.
23602         * benchtests/bench-timing.h: New file.
23604         [BZ #14582]
23605         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23606         Renamed from _LIB_VERSION.
23607         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23609 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
23611         * math/libm-test.inc (struct test_fff_f_data): New type.
23612         (RUN_TEST_LOOP_fff_f): New macro.
23613         (fma_test_data): New variable.
23614         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23615         (fma_towardzero_test_data): New variable.
23616         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23617         (fma_downward_test_data): New variable.
23618         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23619         (fma_upward_test_data): New variable.
23620         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23622         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23623         (struct test_c_c_data): New type.
23624         (RUN_TEST_LOOP_c_c): New macro.
23625         (cacos_test_data): New variable.
23626         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23627         (cacosh_test_data): New variable.
23628         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23629         (casin_test_data): New variable.
23630         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23631         (casinh_test_data): New variable.
23632         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23633         (catan_test_data): New variable.
23634         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23635         (catanh_test_data): New variable.
23636         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23637         (ccos_test_data): New variable.
23638         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23639         (ccosh_test_data): New variable.
23640         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23641         (cexp_test_data): New variable.
23642         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23643         (clog_test_data): New variable.
23644         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23645         (clog10_test_data): New variable.
23646         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23647         (conj_test_data): New variable.
23648         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23649         (cproj_test_data): New variable.
23650         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23651         (csin_test_data): New variable.
23652         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23653         (csinh_test_data): New variable.
23654         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23655         (csqrt_test_data): New variable.
23656         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23657         (ctan_test_data): New variable.
23658         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23659         (ctan_tonearest_test_data): New variable.
23660         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23661         (ctan_towardzero_test_data): New variable.
23662         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23663         (ctan_downward_test_data): New variable.
23664         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23665         (ctan_upward_test_data): New variable.
23666         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23667         (ctanh_test_data): New variable.
23668         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23669         (ctanh_tonearest_test_data): New variable.
23670         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23671         (ctanh_towardzero_test_data): New variable.
23672         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23673         (ctanh_downward_test_data): New variable.
23674         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23675         (ctanh_upward_test_data): New variable.
23676         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23677         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23678         of BUILD_COMPLEX.
23680         * math/libm-test.inc (struct test_ff_f_data): New type.
23681         (struct test_ff_f_data_nexttoward): Likewise.
23682         (RUN_TEST_LOOP_2_f): New macro.
23683         (RUN_TEST_LOOP_ff_f): Likewise.
23684         (atan2_test_data): New variable.
23685         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23686         (copysign_test_data): New variable.
23687         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23688         (fdim_test_data): New variable.
23689         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23690         (fmax_test_data): New variable.
23691         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23692         (fmin_test_data): New variable.
23693         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23694         (fmod_test_data): New variable.
23695         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23696         (hypot_test_data): New variable.
23697         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23698         (nextafter_test_data): New variable.
23699         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23700         (nexttoward_test_data): New variable.
23701         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23702         (pow_test_data): New variable.
23703         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23704         (pow_tonearest_test_data): New variable.
23705         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23706         (pow_towardzero_test_data): New variable.
23707         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23708         (pow_downward_test_data): New variable.
23709         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23710         (pow_upward_test_data): New variable.
23711         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23712         (remainder_test_data): New variable.
23713         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23714         (scalb_test_data): New variable.
23715         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23716         * sysdeps/i386/fpu/libm-test-ulps: Update.
23718 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23720         * math/libm-test.inc (fma_test): Use max_value instead of local
23721         variable fltmax.
23722         (nextafter_test): Likewise.
23724         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23725         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23726         (acos_downward_test_data): New variable.
23727         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23728         (acos_upward_test_data): New variable.
23729         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23730         (acosh_test_data): New variable.
23731         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23732         (asin_test_data): New variable.
23733         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23734         (asin_tonearest_test_data): New variable.
23735         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23736         (asin_towardzero_test_data): New variable.
23737         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23738         (asin_downward_test_data): New variable.
23739         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23740         (asin_upward_test_data): New variable.
23741         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23742         (asinh_test_data): New variable.
23743         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23744         (atan_test_data): New variable.
23745         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23746         (atanh_test_data): New variable.
23747         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23748         (cbrt_test_data): New variable.
23749         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23750         (ceil_test_data): New variable.
23751         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23752         (cos_test_data): New variable.
23753         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23754         (cos_tonearest_test_data): New variable.
23755         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23756         (cos_towardzero_test_data): New variable.
23757         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23758         (cos_downward_test_data): New variable.
23759         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23760         (cos_upward_test_data): New variable.
23761         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23762         (cosh_test_data): New variable.
23763         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23764         (cosh_tonearest_test_data): New variable.
23765         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23766         (cosh_towardzero_test_data): New variable.
23767         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23768         (cosh_downward_test_data): New variable.
23769         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23770         (cosh_upward_test_data): New variable.
23771         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23772         (erf_test_data): New variable.
23773         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23774         (erfc_test_data): New variable.
23775         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23776         (exp_test_data): New variable.
23777         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23778         (exp_tonearest_test_data): New variable.
23779         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23780         (exp_towardzero_test_data): New variable.
23781         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23782         (exp_downward_test_data): New variable.
23783         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23784         (exp_upward_test_data): New variable.
23785         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23786         (exp10_test_data): New variable.
23787         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23788         (exp2_test_data): New variable.
23789         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23790         (expm1_test_data): New variable.
23791         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23792         (fabs_test_data): New variable.
23793         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23794         (floor_test_data): New variable.
23795         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23796         (j0_test_data): New variable.
23797         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23798         (j1_test_data): New variable.
23799         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23800         (log_test_data): New variable.
23801         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23802         (log10_test_data): New variable.
23803         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23804         (log1p_test_data): New variable.
23805         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23806         (log2_test_data): New variable.
23807         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23808         (logb_test_data): New variable.
23809         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23810         (logb_downward_test_data): New variable.
23811         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23812         (nearbyint_test_data): New variable.
23813         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23814         (rint_test_data): New variable.
23815         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23816         (rint_tonearest_test_data): New variable.
23817         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23818         (rint_towardzero_test_data): New variable.
23819         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23820         (rint_downward_test_data): New variable.
23821         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23822         (rint_upward_test_data): New variable.
23823         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23824         (round_test_data): New variable.
23825         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23826         (sin_test_data): New variable.
23827         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23828         (sin_tonearest_test_data): New variable.
23829         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23830         (sin_towardzero_test_data): New variable.
23831         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23832         (sin_downward_test_data): New variable.
23833         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23834         (sin_upward_test_data): New variable.
23835         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23836         (sinh_test_data): New variable.
23837         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23838         (sinh_tonearest_test_data): New variable.
23839         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23840         (sinh_towardzero_test_data): New variable.
23841         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23842         (sinh_downward_test_data): New variable.
23843         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23844         (sinh_upward_test_data): New variable.
23845         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23846         (sqrt_test_data): New variable.
23847         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23848         (tan_test_data): New variable.
23849         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23850         (tan_tonearest_test_data): New variable.
23851         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23852         (tan_towardzero_test_data): New variable.
23853         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23854         (tan_downward_test_data): New variable.
23855         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23856         (tan_upward_test_data): New variable.
23857         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23858         (tanh_test_data): New variable.
23859         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23860         (tgamma_test_data): New variable.
23861         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23862         (trunc_test_data): New variable.
23863         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23864         (y0_test_data): New variable.
23865         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23866         (y1_test_data): New variable.
23867         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23868         (significand_test_data): New variable.
23869         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23871 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23873         [BZ #12387]
23874         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23876 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23878         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23880 2013-05-10  Andreas Jaeger  <aj@suse.de>
23882         [BZ #15448]
23883         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23884         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23886 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23888         * math/gen-libm-test.pl (adjust_arg): New function.
23889         (special_functions): Handle generating output in both functions
23890         and arrays.
23891         (parse_args): Likewise.
23892         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23893         $in_func argument to parse_args.
23894         * math/libm-test.inc (struct test_f_f_data): New type.
23895         (IF_ROUND_INIT_): New macro.
23896         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23897         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23898         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23899         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23900         (ROUND_RESTORE_): Likewise.
23901         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23902         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23903         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23904         (ROUND_RESTORE_FE_UPWARD): Likewise.
23905         (RUN_TEST_LOOP_f_f): New macro.
23906         (acos_test_data): New variable.
23907         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23908         (acos_tonearest_test_data): New variable.
23909         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23911 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23913         * benchtests/bench-skeleton.c (startup): Fix coding style.
23915 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23917         [BZ #6809]
23918         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23919         negative infinity argument.
23920         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23921         negative infinity argument.
23922         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23923         negative infinity argument.
23924         * math/libm-test.inc (tgamma_test): Expect errno to be set for
23925         domain errors.
23927 2013-05-10  Florian Weimer  <fweimer@redhat.com>
23929         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23930         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23931         * iconv/iconv_prog.c (main): Likewise.
23932         * locale/programs/charmap-dir.c (charmap_readdir)
23933         (fopen_uncompressed): Likewise.
23934         * locale/programs/locfile.c (siblings_uncached)
23935         (write_locale_data): Use lstat64 instead of lstat.
23936         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23937         stat.
23939 2013-05-10  Andreas Jaeger  <aj@suse.de>
23941         [BZ #15395]
23942         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23943         localization.
23944         Include <locale.h>.
23946 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
23948         * elf/dl-close.c (_dl_close_worker): Add comments.
23950 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
23952         [BZ #15359]
23953         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23954         high part of pi/2.
23955         (__ieee754_rem_pio2l): Update comments.
23957         [BZ #15429]
23958         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23959         high part of pi/2.
23960         (__ieee754_rem_pio2l): Update comments.
23962         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23963         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23965         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23966         M_PI_4l.
23968         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23969         (M_PI_34_LOG10El): Likewise.
23970         (M_PI2_LOG10El): Likewise.
23971         (M_PI4_LOG10El): Likewise.
23972         (M_PI_LOG10El): Likewise.
23974 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23978 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
23980         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23981         (MINUS_ZERO_INIT): Likewise.
23982         (PLUS_INFTY_INIT): Likewise.
23983         (MINUS_INFTY_INIT): Likewise.
23984         (QNAN_VALUE_INIT): Likewise.
23985         (MAX_VALUE_INIT): Likewise.
23986         (MIN_VALUE_INIT): Likewise.
23987         (MIN_SUBNORM_VALUE_INIT): Likewise.
23988         (plus_zero): Initialize with PLUS_ZERO_INIT.
23989         (minus_zero): Initialize with MINUS_ZERO_INIT.
23990         (plus_infty): Initialize with PLUS_INFTY_INIT.
23991         (minus_infty): Initialize with MINUS_INFTY_INIT.
23992         (qnan_value): Initialize with QNAN_VALUE_INIT.
23993         (max_value): Initialize with MAX_VALUE_INIT.
23994         (min_value): Initialize with MIN_VALUE_INIT.
23995         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23997         * math/libm-test.inc (RUN_TEST_if_f): New macro.
23998         (jn_test): Use TEST_if_f instead of TEST_ff_f.
23999         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24000         (yn_test): Use TEST_if_f instead of TEST_ff_f.
24002         * math/libm-test.inc (RUN_TEST_f_f): New macro.
24003         (RUN_TEST_2_f): Likewise.
24004         (RUN_TEST_ff_f): Likewise.
24005         (RUN_TEST_fi_f): Likewise.
24006         (RUN_TEST_fl_f): Likewise.
24007         (RUN_TEST_fff_f): Likewise.
24008         (RUN_TEST_c_f): Likewise.
24009         (RUN_TEST_f_f1): Likewise.
24010         (RUN_TEST_fF_f1): Likewise.
24011         (RUN_TEST_fI_f1): Likewise.
24012         (RUN_TEST_ffI_f1): Likewise.
24013         (RUN_TEST_c_c): Likewise.
24014         (RUN_TEST_cc_c): Likewise.
24015         (RUN_TEST_f_i): Likewise.
24016         (RUN_TEST_f_i_tg): Likewise.
24017         (RUN_TEST_ff_i_tg): Likewise.
24018         (RUN_TEST_f_b): Likewise.
24019         (RUN_TEST_f_b_tg): Likewise.
24020         (RUN_TEST_f_l): Likewise.
24021         (RUN_TEST_f_L): Likewise.
24022         (RUN_TEST_sincos): Likewise.
24023         * math/gen-libm-test.pl (new_test): Take new argument to indicate
24024         whether to show exceptions.  Do not include ");\n" in return
24025         value.
24026         (special_functions): Output call to RUN_TEST_sincos instead of
24027         check_float calls.  Update calls to new_test.
24028         (parse_args): Output call to single RUN_TEST_* macro instead of
24029         check_* calls and other assignments.  Update calls to new_test.
24031         [BZ #2546]
24032         [BZ #2560]
24033         [BZ #5159]
24034         [BZ #15426]
24035         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24036         input to result for tgamma overflow.
24037         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24038         (gamma_coeff): New variable.
24039         (NCOEFF): New macro.
24040         (gamma_positive): New function.
24041         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24042         underflow here.  Use gamma_positive instead of exp (lgamma) for
24043         other arguments.
24044         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24045         (gamma_coeff): New variable.
24046         (NCOEFF): New macro.
24047         (gammaf_positive): New function.
24048         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24049         underflow here.  Use gamma_positive instead of exp (lgamma) for
24050         other arguments.
24051         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24052         (gamma_coeff): New variable.
24053         (NCOEFF): New macro.
24054         (gammal_positive): New function.
24055         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24056         underflow here.  Use gamma_positive instead of exp (lgamma) for
24057         other arguments.
24058         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24059         (gamma_coeff): New variable.
24060         (NCOEFF): New macro.
24061         (gammal_positive): New function.
24062         (__ieee754_gammal_r): Handle positive infinity, overflow and
24063         underflow here.  Handle NaN the same as positive infinity.  Remove
24064         check x < 0xffffffff for negative integers.  Use gamma_positive
24065         instead of exp (lgamma) for other arguments.
24066         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24067         (gamma_coeff): New variable.
24068         (NCOEFF): New macro.
24069         (gammal_positive): New function.
24070         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24071         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24072         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24073         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24074         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24075         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24076         * sysdeps/generic/math_private.h (__gamma_productf): New
24077         prototype.
24078         (__gamma_product): Likewise.
24079         (__gamma_productl): Likewise.
24080         * math/Makefile (libm-calls): Add gamma_product.
24081         * math/libm-test.inc (tgamma_test): Add more tests.
24082         * sysdeps/i386/fpu/libm-test-ulps: Update.
24083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24085 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
24087         * benchtests/bench-skeleton.c (main): Preheat CPU.
24089 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
24091         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24093 2013-05-07  Roland McGrath  <roland@hack.frob.com>
24095         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24096         and _dl_skip_args_internal.
24098 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
24100         * manual/message.texi (Message Translation): Talk about users.
24101         Message to key mapping impacts design.
24103 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24105         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24107         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24109         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24110         * sysdeps/wordsize-64/glob64.c: ... here.
24112         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24113         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24114         New macros.
24116         * debug/getlogin_r_chk.c: Moved to ...
24117         * login/getlogin_r_chk.c: ... here.
24118         * debug/Makefile (routines): Move getlogin_r_chk to ...
24119         * login/Makefile (routines): ... here.
24120         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24121         * login/Versions (libc: GLIBC_2.4): ... here.
24123         * io/poll.c (__poll): Renamed from poll.
24124         Add libc_hidden_def.
24125         (poll): Define as weak alias.
24127         * debug/ptsname_r_chk.c: Moved to ...
24128         * login/ptsname_r_chk.c: ... here.
24129         * debug/Makefile (routines): Move ptsname_r_chk to ...
24130         * login/Makefile (routines): ... here.
24131         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24132         * login/Versions (libc: GLIBC_2.4): ... here.
24134         * posix/getlogin.c: Moved to ...
24135         * login/getlogin.c: ... here.
24136         * posix/getlogin_r.c: Moved to ...
24137         * login/getlogin_r.c: ... here.
24138         * posix/getlogin_r.c: Moved to ...
24139         * login/getlogin_r.c: ... here.
24140         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24141         * login/Makefile (routines): ... here.
24142         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24143         * login/Versions (libc: GLIBC_2.0): ... here.
24145         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24146         (setrlimit): Define as weak alias.
24148         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24149         Call __ names for open, ftruncate, and close.
24150         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24151         (truncate): Define as weak alias.
24153 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
24155         * math/gen-libm-test.pl (parse_args): Initialize x before each
24156         test of frexp, modf and remquo.
24158         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24159         test signgam value.
24161 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24163         [BZ #15418]
24164         [BZ #15419]
24165         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24166         internal tests.
24167         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24169 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24171         * elf/dl-writev.h: New file.
24172         * elf/dl-misc.c: Include it.
24173         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24174         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24176 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
24178         * math/libm-test.inc (noXFails): Remove variable.
24179         (noXPasses): Likewise.
24180         (BUILD_COMPLEX_INT): Remove macro.
24181         (print_screen): Remove xfail argument.
24182         (print_screen_max_error): Likewise.
24183         (update_stats): Likewise.
24184         (print_max_error): Likewise.  Update calls to other affected
24185         functions.
24186         (print_complex_max_error): Likewise.
24187         (test_single_exception): Update calls to print_screen.
24188         (test_single_errno): Likewise.
24189         (check_float_internal): Remove xfail argument.  Update calls to
24190         other affected functions.
24191         (check_float): Likewise.
24192         (check_complex): Likewise.
24193         (check_int): Likewise.
24194         (check_long): Likewise.
24195         (check_bool): Likewise.
24196         (check_longlong): Likewise.
24197         (main): Don't print noXFails and noXPasses.
24198         * math/gen-libm-test.pl (top level): Don't mention expected
24199         failure handling in comment.
24200         (new_test): Don't handle expected failures.
24201         (parse_args): Don't mention expected failure handling in comment.
24202         (generate_testfile): Don't handle expected failures.
24203         (parse_ulps): Likewise.
24204         (print_ulps_file): Likewise.
24205         (get_failure): Remove function.
24206         (output_test): Don't handle expected failures.
24207         * make/README.libm-test: Don't mention expected failure handling.
24209         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
24210         (minus_zero): Likewise.
24211         (plus_infty): Likewise.
24212         (minus_infty): Likewise.
24213         (qnan_value): Likewise.
24214         (max_value): Likewise.
24215         (min_value): Likewise.
24216         (min_subnorm_value): Likewise.
24217         (initialize): Do not initialize those variables dynamically.
24219 2013-05-03  Roland McGrath  <roland@hack.frob.com>
24221         * io/open.c (__open_2): Moved to ...
24222         * io/open_2.c: ... this new file.
24223         * io/open64.c (__open64_2): Moved to ...
24224         * io/open64_2.c: ... this new file.
24225         * io/openat.c (__openat_2): Moved to ...
24226         * io/openat_2.c: ... this new file.
24227         * io/openat64.c (__openat64_2): Moved to ...
24228         * io/openat64_2.c: ... this new file.
24229         * io/Makefile (routines): Add them.
24230         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24231         * sysdeps/unix/sysv/linux/open_2.c: File removed.
24232         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24233         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24234         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24235         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24236         (__openat64): Add hidden_ver.
24237         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24238         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24240         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24241         Separately conditionalize setting of GLRO(dl_sysinfo) so
24242         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24243         as well, but the actual setting is only under [NEED_DL_SYSINFO].
24245 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24247         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24248         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24249         definition.
24250         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24251         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24252         (_libc_vdso_platform_setup): Add __vdso_time initialization.
24253         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24254         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24256 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
24258         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24259         test signgam value.
24261         * math/libm-test.inc (hypot_test): Do not use
24262         IGNORE_ZERO_INF_SIGN.
24264 2013-05-03  Andreas Jaeger  <aj@suse.de>
24266         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24267         Linux 3.9.
24268         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24269         (PF_MAX): Adjust for VSOCK change.
24271 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24275 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
24277         [BZ #15264]
24278         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24279         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24280         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24282 2013-05-02  David S. Miller  <davem@davemloft.net>
24284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24286 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
24288         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24290 2013-05-01  Roland McGrath  <roland@hack.frob.com>
24292         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24294 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
24296         [BZ #14952]
24297         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24298         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24299         Use __attribute__ ((__gnu_inline__)).
24300         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24301         Don't use __attribute__ ((__gnu_inline__)).
24303 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
24305         [BZ #15423]
24306         * math/s_catan.c (__catan): Handle small real or imaginary part of
24307         input specially to avoid spurious underflow.
24308         * math/s_catanf.c (__catanf): Likewise.
24309         * math/s_catanh.c (__catanh): Likewise.
24310         * math/s_catanhf.c (__catanhf): Likewise.
24311         * math/s_catanhl.c (__catanhl): Likewise.
24312         * math/s_catanl.c (__catanl): Likewise.
24313         * math/libm-test.inc (catan_test): Add more tests.
24314         (catanh_test): Likewise.
24315         * sysdeps/i386/fpu/libm-test-ulps: Update.
24316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24318 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24322 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
24324         [BZ #15416]
24325         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24326         accurately for denominator in atan2.
24327         * math/s_catanf.c (__catanf): Likewise.
24328         * math/s_catanh.c (__catanh): Likewise.
24329         * math/s_catanhf.c (__catanhf): Likewise.
24330         * math/s_catanhl.c (__catanhl): Likewise.
24331         * math/s_catanl.c (__catanl): Likewise.
24332         * math/libm-test.inc (catan_test): Add more tests.
24333         (catanh_test): Likewise.
24334         * sysdeps/i386/fpu/libm-test-ulps: Update.
24335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24337 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24339         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24341         * benchtests/Makefile (bench): Remove slow benchmarks.
24342         * benchtests/atan-inputs: Add slow benchmark inputs.
24343         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24344         (BENCH_FUNC): Accept variant offset.
24345         (VARIANT): Define.
24346         * benchtests/bench-skeleton.c (main): Run benchmark for each
24347         variant.
24348         * benchtests/cos-inputs: Add slow benchmark inputs.
24349         * benchtests/exp-inputs: Likewise.
24350         * benchtests/pow-inputs: Likewise.
24351         * benchtests/sin-inputs: Likewise.
24352         * benchtests/slowatan-inputs: Remove.
24353         * benchtests/slowatan.c: Remove.
24354         * benchtests/slowcos-inputs: Remove.
24355         * benchtests/slowcos.c: Remove.
24356         * benchtests/slowexp-inputs: Remove.
24357         * benchtests/slowexp.c: Remove.
24358         * benchtests/slowpow-inputs: Remove.
24359         * benchtests/slowpow.c: Remove.
24360         * benchtests/slowsin-inputs: Remove.
24361         * benchtests/slowsin.c: Remove.
24362         * benchtests/slowtan-inputs: Remove.
24363         * benchtests/slowtan.c: Remove.
24364         * benchtests/tan-inputs: Add slow benchmark inputs.
24365         * scripts/bench.pl: Parse comments and directives.
24367         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
24368         in CPPFLAGS.
24369         ($(objpfx)bench-%.c): Remove *-ITER.
24370         * benchtests/bench-modf.c: Remove definition of ITER.
24371         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24372         (main): Loop for DURATION seconds instead of fixed number of
24373         iterations.
24374         * scripts/bench.pl: Don't expect iterations in parameters.
24376 2013-04-29  Roland McGrath  <roland@hack.frob.com>
24378         * io/fchdir.c (__fchdir): Renamed from fchdir.
24379         (fchdir): Define as weak alias.
24381 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24383         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24384         (ERRNO_EDOM): Likewise.
24385         (ERRNO_ERANGE): Likewise.
24386         (noErrnoTests): New variable.
24387         (init_max_error): Set errno to 0.
24388         (test_single_errno): New function.
24389         (test_errno): Likewise.
24390         (check_float_internal): Call test_errno.  Set errno to 0.
24391         (check_complex): Refer to errno tests in comment.
24392         (check_int): Call test_errno.  Set errno to 0.
24393         (check_long): Likewise.
24394         (check_bool): Likewise.
24395         (check_longlong): Likewise.
24396         (cos_test): Use ERRNO_* flags for errno tests instead of
24397         check_int.
24398         (expm1_test): Likewise.
24399         (fmod_test): Likewise.
24400         (ilogb_test): Likewise.
24401         (lgamma_test): Likewise.
24402         (pow_test): Likewise.
24403         (remainder_test): Likewise.
24404         (sin_test): Likewise.
24405         (tan_test): Likewise.
24406         (yn_test): Likewise.
24407         (initialize): Set errno to 0.
24408         (main): Print number of errno tests.
24409         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24411 2013-04-29  Andreas Jaeger  <aj@suse.de>
24413         [BZ #15084]
24414         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24415         and RES_USEVC.
24417         [BZ #15085]
24418         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24419         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24420         unimplemented.
24422         [BZ #15380]
24423         * stdlib/random.c (__initstate): Return NULL if
24424         __initstate fails.
24426         [BZ #15086]
24427         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24428         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24429         RES_SNGLKUPREOP.
24431 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24435 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24437         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24438         of individual tests.
24439         (casin_test): Likewise.
24440         (casinh_test): Likewise.
24442 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
24444         [BZ #15409]
24445         * math/s_catan.c (__catan): Handle arguments with large real or
24446         imaginary part separately without squaring.
24447         * math/s_catanf.c (__catanf): Likewise.
24448         * math/s_catanh.c (__catanh): Likewise.
24449         * math/s_catanhf.c (__catanhf): Likewise.
24450         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24451         and redefine.
24452         (__catanhl): Handle arguments with large real or imaginary part
24453         separately without squaring.
24454         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24455         and redefine.
24456         (__catanl): Handle arguments with large real or imaginary part
24457         separately without squaring.
24458         * math/libm-test.inc (catan_test): Add more tests.
24459         (catanh_test): Likewise.
24460         * sysdeps/i386/fpu/libm-test-ulps: Update.
24461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24463 2013-04-27  Andreas Jaeger  <aj@suse.de>
24465         [BZ #15007]
24466         * stdlib/stdlib.h: Update guards for qecvt.
24467         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24468         <stdlib.h>.
24470 2013-04-27  Allan McRae  <allan@archlinux.org>
24472         * sysdeps/i386/fpu/libm-test-ulps: Update.
24474 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
24476         [BZ #15406]
24477         * math/s_catan.c: Include <float.h>.
24478         (__catan): Ensure underflow exception occurs for underflowed
24479         result.
24480         * math/s_catanf.c: Include <float.h>.
24481         (__catanf): Ensure underflow exception occurs for underflowed
24482         result.
24483         * math/s_catanh.c: Include <float.h>.
24484         (__catanh): Ensure underflow exception occurs for underflowed
24485         result.
24486         * math/s_catanhf.c: Include <float.h>.
24487         (__catanhf): Ensure underflow exception occurs for underflowed
24488         result.
24489         * math/s_catanhl.c: Include <float.h>.
24490         (__catanhl): Ensure underflow exception occurs for underflowed
24491         result.
24492         * math/s_catanl.c: Include <float.h>.
24493         (__catanl): Ensure underflow exception occurs for underflowed
24494         result.
24495         * math/libm-test.inc (catan_test): Add more tests.
24496         (catanh_test): Likewise.
24498         [BZ #15405]
24499         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24500         underflowed result.
24501         * math/s_ccoshf.c (__ccoshf): Likewise.
24502         * math/s_ccoshl.c (__ccoshl): Likewise.
24503         * math/s_csin.c (__csin): Likewise.
24504         * math/s_csinf.c (__csinf): Likewise.
24505         * math/s_csinh.c (__csinh): Likewise.
24506         * math/s_csinhf.c (__csinhf): Likewise.
24507         * math/s_csinhl.c (__csinhl): Likewise.
24508         * math/s_csinl.c (__csinl): Likewise.
24509         * math/libm-test.inc (ccos_test): Add more tests.
24510         (ccosh_test): Likewise.
24511         (csin_test): Likewise.
24512         (csinh_test): Likewise.
24514 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24516         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24517         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24518         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24519         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24520         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24521         powerpc/power5+/fpu folders.
24522         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24525 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24529 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
24531         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24532         additions to variable.
24533         [$(config-machine) = x86_64] (modules-names): Likewise.
24534         ($(objpfx)tst-audit3): Remove dependency.
24535         ($(objpfx)tst-audit3.out): Likewise.
24536         ($(objpfx)tst-audit4): Likewise.
24537         ($(objpfx)tst-audit4.out): Likewise.
24538         ($(objpfx)tst-audit5): Likewise.
24539         ($(objpfx)tst-audit5.out): Likewise.
24540         ($(objpfx)tst-audit6): Likewise.
24541         ($(objpfx)tst-audit6.out): Likewise.
24542         ($(objpfx)tst-audit7): Likewise.
24543         ($(objpfx)tst-audit7.out): Likewise.
24544         (tst-audit3-ENV): Remove variable.
24545         (tst-audit4-ENV): Likewise.
24546         (tst-audit5-ENV): Likewise.
24547         (tst-audit6-ENV): Likewise.
24548         (tst-audit7-ENV): Likewise.
24549         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24550         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24551         addition to variable.
24552         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24553         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24554         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24555         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24556         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24557         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24558         tst-audit3, tst-audit4 and tst-audit5.
24559         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24560         tst-audit6 and tst-audit7.
24561         [$(subdir) = elf] (modules-names): Add audit modules for those
24562         tests.
24563         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24564         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24565         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24566         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24567         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24568         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24569         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24570         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24571         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24572         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24573         [$(subdir) = elf] (tst-audit3-ENV): New variable.
24574         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24575         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24576         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24577         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24578         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24579         Likewise.
24580         [$(subdir) = elf && $(config-cflags-avx) = yes]
24581         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24582         [$(subdir) = elf && $(config-cflags-avx) = yes]
24583         (CFLAGS-tst-auditmod4a.c): Likewise.
24584         [$(subdir) = elf && $(config-cflags-avx) = yes]
24585         (CFLAGS-tst-auditmod4b.c): Likewise.
24586         [$(subdir) = elf && $(config-cflags-avx) = yes]
24587         (CFLAGS-tst-auditmod6b.c): Likewise.
24588         [$(subdir) = elf && $(config-cflags-avx) = yes]
24589         (CFLAGS-tst-auditmod6c.c): Likewise.
24590         [$(subdir) = elf && $(config-cflags-avx) = yes]
24591         (CFLAGS-tst-auditmod7b.c): Likewise.
24592         * elf/tst-audit3.c: Move to ...
24593         * sysdeps/x86_64/tst-audit3.c: ... here.
24594         * elf/tst-audit4.c: Move to ...
24595         * sysdeps/x86_64/tst-audit4.c: ... here.
24596         * elf/tst-audit5.c: Move to ...
24597         * sysdeps/x86_64/tst-audit5.c: ... here.
24598         * elf/tst-audit6.c: Move to ...
24599         * sysdeps/x86_64/tst-audit6.c: ... here.
24600         * elf/tst-audit7.c: Move to ...
24601         * sysdeps/x86_64/tst-audit7.c: ... here.
24602         * elf/tst-auditmod3a.c: Move to ...
24603         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24604         * elf/tst-auditmod3b.c: Move to ...
24605         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24606         * elf/tst-auditmod4a.c: Move to ...
24607         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24608         * elf/tst-auditmod4b.c: Move to ...
24609         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24610         * elf/tst-auditmod5a.c: Move to ...
24611         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24612         * elf/tst-auditmod5b.c: Move to ...
24613         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24614         * elf/tst-auditmod6a.c: Move to ...
24615         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24616         * elf/tst-auditmod6b.c: Move to ...
24617         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24618         * elf/tst-auditmod6c.c: Move to ...
24619         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24620         * elf/tst-auditmod7a.c: Move to ...
24621         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24622         * elf/tst-auditmod7b.c: Move to ...
24623         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24625 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
24627         [BZ #15366]
24628         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24629         define unconditionally.
24630         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24631         define unconditionally.
24632         (INT8_C, INT16_C, etc.): Likewise.
24634 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
24636         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24637         __ehdr_start with hidden visibility.
24639         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24641 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
24643         * math/libm-test.inc (cos_test): Use accurate hex constants.
24644         (sincost_test): Likewise.
24646 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
24648         * math/libm-test.inc (catan_test): Add more tests.
24649         (catanh_test): Likewise.
24651         * math/s_catanf.c (__catanf): Use suffixed floating-point
24652         constants.
24653         * math/s_catanhf.c (__catanhf): Likewise.
24654         * math/s_catanhl.c (__catanhl): Likewise.
24655         * math/s_catanl.c (__catanl): Likewise.
24657         [BZ #15394]
24658         * math/s_catan.c (__catan): Calculate imaginary part of result
24659         with log1p not log unless computing log of number close to 0.
24660         * math/s_catanf.c (__catanf): Likewise.
24661         * math/s_catanl.c (__catanl): Likewise.
24662         * math/s_catanh.c (__catanh): Calculate real part of result with
24663         log1p not log unless computing log of number close to 0.
24664         * math/s_catanhf.c (__catanhf): Likewise.
24665         * math/s_catanhl.c (__catanhl): Likewise.
24666         * math/libm-test.inc (catan_test): Add more tests.
24667         (catanh_test): Likewise.
24668         * sysdeps/i386/fpu/libm-test-ulps: Update.
24669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24671 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24673         * benchtests/Makefile: Mention files in which fast and slow
24674         paths of math functions are implemented.
24676 2013-04-23  Roland McGrath  <roland@hack.frob.com>
24678         * sysdeps/posix/timespec_get.c: New file.
24680 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24682         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24683         POWER.
24684         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24685         for POWER.
24686         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24687         powerpc/power5/fpu folders.
24688         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24689         * benchtests/Makefile: Add modf testcase.
24690         * benchtests/bench-modf.c: New file: Benchmark test for mo
24692 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24694         [BZ #14888]
24695         * time/Makefile (tests): Add tst-strptime-whitespace.
24696         * time/strptime_l.c (get_number): Use ISSPACE.
24697         (__strptime_internal): Likewise.
24698         * time/tst-strptime-whitespace.c: New test case.
24700 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
24702         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24703         member.
24704         (_nss_files_init): Set it here.
24706 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
24708         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24709         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24710         unsigned.
24712 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
24714         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24716 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24718         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24719         size just once.
24721 2013-04-21  David S. Miller  <davem@davemloft.net>
24723         * po/ru.po: Update Russion translation from translation project.
24725 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24727         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24728         and setfsgid.
24730 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24732         * configure.in: Remove i386 configure warning. Remove i386 case.
24733         * configure: Regenerate.
24734         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24735         Add example to error message.
24736         * sysdeps/i386/configure: Regenerate.
24738 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24740         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24741         slowtan.
24742         * benchtests/cos-inputs: New file.
24743         * benchtests/slowcos-inputs: New file.
24744         * benchtests/slowcos.c: New file.
24745         * benchtests/slowtan-inputs: New file.
24746         * benchtests/slowtan.c: New file.
24747         * benchtests/tan-inputs: New file.
24749 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24751         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24752         considered kosher.
24754 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24756         * benchtests/Makefile: Include cppflags-iterator.mk to add
24757         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24759         * Makefile.in (bench-clean): New target.
24760         * benchtests/Makefile (bench-clean): Likewise.
24762 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24764         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24766 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24768         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24770 2013-04-15  Andreas Schwab  <schwab@suse.de>
24772         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24773         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24774         * nscd/pwdcache.c (cache_addpw): Likewise.
24775         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24776         more than recsize.
24778 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24780         * benchtests/Makefile (bench): Write all output to
24781         bench-out.tmp together.
24783 2013-04-15  Andreas Schwab  <schwab@suse.de>
24785         * nscd/nscd.c (main): Don't fork again after closing files.
24787 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24789         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24791         * benchtests/Rules (bench-deps): Collect dependencies into a
24792         single variable.  Add Makefile to dependencies.
24793         ($(objpfx)bench-%.c): Depend on bench-deps.
24795 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24796             Xavier Roche  <roche+kml2@exalead.com>
24798         [BZ #15361]
24799         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24800         just that it's a file descriptor.
24801         * manual/llio.texi (Synchronizing AIO Operations): Update description
24802         for EBADF error from aio_fsync.
24804 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24806         * Rules (bench): Move target definition...
24807         * benchtests/Makefile: ... here.
24809 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24811         * math/libm-test.inc (cos_test): Fix PI/2 test.
24812         (sincos_test): Likewise.
24813         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24814         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24816 2013-04-11  Andreas Schwab  <schwab@suse.de>
24818         [BZ #13988]
24819         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24820         accept exponent character only when digits were seen.
24821         * stdio-common/Makefile (tests): Add bug26.
24822         * stdio-common/bug26.c: New file.
24824         [BZ #14293]
24825         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24826         non-freeable.
24828 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24830         * Makeconfig (rtld-prefix): Define built linker prefix.
24831         * Rules (run-bench): Use it.
24832         * math/Makefile (run-regen-ulps): Likewise.
24834         * Rules (bench): Remove eval.
24836 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24837             Roland McGrath  <roland@hack.frob.com>
24838             Ondrej Bilka  <neleai@seznam.cz>
24840         [BZ #15346]
24841         * time/getdate.c: Include ctype.h and alloca.h.
24842         (__getdate_r): Trim leading and trailing spaces of input.
24843         * time/tst-getdate.c (tests): Add tests with leading and
24844         trailing spaces.
24846 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24848         [BZ #14280]
24849         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24850         when computing value.
24852 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24854         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24855         Use testrun.sh to run libm tests.
24857         [BZ #15309]
24858         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24860 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24862         [BZ #15264]
24863         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24865 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24867         * Makefile.in (regen-ulps): New target.
24868         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24869         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24870         [ifneq (no,$(PERL)] (regen-ulps): New target.
24871         [ifeq (no,$(PERL)] (regen-ulps): New target.
24872         * math/libm-test.inc (ulps_file_name): Define.
24873         (output_dir): New variable.
24874         (options): Add "output-dir" option.
24875         (parse_opt): Handle 'o' case.
24876         (main): If output_dir is non-NULL use it as a prefix
24877         otherwise use "".
24878         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24880 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24882         [BZ #10060, #10062]
24883         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24884         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24885         fail configure if __sync_val_compare_and_swap is not inlined.
24886         * sysdeps/i386/configure: Regenerate.
24887         * configure.in: Build for i686 when configured for i386.
24888         * configure: Regenerate.
24889         * README: Remove i386 reference.
24891 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24893         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24894         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24896 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24898         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24899         (lmsnanval): New variables.
24900         (F): Add conversion tests.
24901         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24902         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24904         * stdio-common/tstdiomisc.c (F): Properly collect individual
24905         tests' results.
24907         [BZ #14686, #15336]
24908         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24909         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24910         Instead, use input NaN values or generate a qNaN by arithmetic
24911         operation.  Also fix bugs to comply with the standard.
24912         * math/libm-test.inc (remainder_test): Add more tests.
24914         [BZ #15335, #15342]
24915         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24916         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24917         input NaN values or generate a qNaN by arithmetic operation.
24919         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24920         unreachable code.
24922         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24923         definitions.
24925 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
24927         [BZ #14478]
24928         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24929         underflowed result.
24930         * math/s_cexpf.c (__cexpf): Likewise.
24931         * math/s_cexpl.c (__cexpl): Likewise.
24932         * math/libm-test.inc (cexp_test): Add more tests.
24934 2013-04-03  Andreas Schwab  <schwab@suse.de>
24936         [BZ #15330]
24937         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24938         order arrays from heap if bigger than alloca cutoff.
24940 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
24942         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24943         (SNAN_TESTS_double): Refer to GCC PR56831.
24944         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24945         GCC PR56828.
24947 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24949         * Rules (bench): Move bench.out after the run is complete.
24951         * Rules (bench): Echo currently running benchmark.
24953         * benchtests/Makefile (bench): Add atan and slowatan.
24954         * benchtests/atan-inputs: New file.
24955         * benchtests/slowatan-inputs: New file.
24956         * benchtests/slowatan.c: New file.
24958         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24959         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24960         its value.
24962         [BZ #15305]
24963         * sysdeps/unix/sysv/linux/kernel-features.h
24964         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24965         __ASSUME_XFS_RESTRICTED_CHOWN.
24966         * sysdeps/unix/sysv/linux/pathconf.c
24967         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24968         Save and restore errno.
24970 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
24972         [BZ #15327]
24973         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24974         arguments using __kernel_casinh.
24975         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24976         arguments using __kernel_casinhf.
24977         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24978         arguments using __kernel_casinhl.
24979         * math/libm-test.inc (cacosh_test): Add more tests.
24980         * sysdeps/i386/fpu/libm-test-ulps: Update.
24981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24983 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24985         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24988         * bench/Makefile (bench): Add sin and slowsin.
24989         * benchtests/sin-inputs: New file.
24990         * benchtests/slowsin-inputs: New file.
24991         * benchtests/slowsin.c: New file.
24993         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24994         (bench): Add slowexp and slowpow.
24995         (exp-ITER): Increase iterations.
24996         (pow-ITER): Likewise.
24997         * benchtests/exp-inputs: Change input.
24998         * benchtests/pow-inputs: Likewise.
24999         * benchtests/slowexp-inputs: New file.
25000         * benchtests/slowexp.c: New file.
25001         * benchtests/slowpow-inputs: New file.
25002         * benchtests/slowpow.c: New file.
25004 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25006         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25007         instructions.
25008         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25009         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25010         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25011         * benchtests/Makefile: Add rint benchtest.
25012         * benchtests/rint-inputs: Input for rint benchtest.
25014 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25016         * Versions.def (libm): Add GLIBC_2.18.
25017         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25018         hidden libm prototypes.
25019         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25020         * math/Makefile (libm-calls): Add s_issignaling.
25021         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25022         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
25023         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25024         declaration.
25025         * math/math.h [__USE_GNU] (issignaling): New macro.
25026         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25027         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25028         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25029         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25030         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25031         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25032         * manual/arith.texi (issignaling): New section.
25033         * manual/libm-err-tab.pl (@all_functions): Update comment.
25034         * math/gen-libm-test.pl (parse_args): Apply special handling for
25035         issignaling.
25036         * math/libm-test.inc (print_float, issignaling_test): New
25037         functions.
25038         (check_float_internal): Add issignaling checks.
25039         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25040         default definition.
25041         * sysdeps/powerpc/math-tests.h: New file.
25042         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25043         tests.
25044         * math/test-snan.c (TEST_FUNC): Likewise.
25046 2013-03-30  David S. Miller  <davem@davemloft.net>
25048         * po/de.po: Update from translation team.
25050 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
25052         [BZ #10357]
25053         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25054         imaginary part less than 1.0 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 (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25059         (cacos_test): Add more tests.
25060         (casin_test): Likewise.
25061         (casinh_test): Likewise.
25062         * sysdeps/i386/fpu/libm-test-ulps: Update.
25063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25065 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25067         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25068         ONE with its value.
25070         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25071         (__pow_mp): Replace ONE and MONE with their values.
25072         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25073         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25074         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25075         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25076         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25077         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25079         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25081         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25082         (__pow_mp): Replace ZERO and MZERO with their values.
25083         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25084         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25085         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25087         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25088         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25089         (__sqr): Likewise.
25091         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25093         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25095 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25097         * include/stdlib.h [!SHARED] (__call_tls_dtors):
25098         Declare with __attribute__ ((weak)).
25099         * stdlib/exit.c (__libc_atexit) [!SHARED]:
25100         Call __call_tls_dtors only if it's not NULL.
25102 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25104         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25105         didn't do it already, then set _dl_phdr and _dl_phnum based on the
25106         magic __ehdr_start linker symbol if it's defined.
25107         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25108         them up here if it was already done.
25110         * elf/dl-support.c (_dl_phdr): Make pointer to const.
25111         (_dl_aux_init): Use const in cast when setting it.
25112         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25113         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25114         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25116         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25117         Declare them here.
25118         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25119         * csu/libc-tls.c: Nor here.
25120         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25122         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25123         (__libc_message): Never call vsyslog.
25125 2013-03-28  Alan Modra  <amodra@gmail.com>
25127         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25128         Define as empty.
25129         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25130         Likewise.
25132 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25134         [BZ #15214]
25135         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25136         underflow.
25137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25139 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25141         [BZ #15304]
25142         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25143         Don't add gid passed as argument.
25145         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25147 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
25149         [BZ #15307]
25150         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25151         imaginary part between 1.0 and 1.5 and real part less than 0.5
25152         specially.
25153         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25154         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25155         * math/libm-test.inc (cacos_test): Add more tests.
25156         (casin_test): Likewise.
25157         (casinh_test): Likewise.
25158         * sysdeps/i386/fpu/libm-test-ulps: Update.
25159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25161 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25163         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25164         constants.
25165         (norm): Likewise.
25166         (denorm): Likewise.
25167         (__dbl_mp): Likewise.
25168         (add_magnitudes): Likewise.
25169         (sub_magnitudes): Likewise.
25170         (__add): Likewise.
25171         (__sub): Likewise.
25172         (__mul): Likewise.
25173         (__sqr): Likewise.
25174         (__inv): Likewise.
25175         (__dvd): Likewise.
25177         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25178         commented code.
25179         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25180         (__dubcos): Likewise.
25181         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25182         (__ieee754_acos): Likewise.
25183         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25184         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25185         (__exp1): Likewise.
25186         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25187         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25188         (log1): Likewise.
25189         (my_log2): Likewise.
25190         (checkint): Likewise.
25191         * sysdeps/ieee754/dbl-64/e_remainder.c
25192         (__ieee754_remainder): Likewise.
25193         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25194         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25195         (bsloww): Likewise.
25196         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25198         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25199         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25200         MANTISSA_STORE_T to store computations on mantissa.  Use
25201         macros for rounding and division.
25202         (denorm): Likewise.
25203         (__dbl_mp): Likewise.
25204         (add_magnitudes): Likewise.
25205         (sub_magnitudes): Likewise.
25206         (__mul): Likewise.
25207         (__sqr): Likewise.
25208         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25209         powers of two in terms of TWOPOW macro.
25210         (mp_no): Make type of mantissa as MANTISSA_T.
25211         [!RADIXI]: Define RADIXI.
25212         [!TWO52]: Define TWO52.
25213         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25215 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25217         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25218         llroundl symbol when building for PPC32.
25220 2013-03-24  Mark H Weaver  <mhw@netris.org>
25222         * manual/arith.texi (Normalization Functions): Fix prototypes for
25223         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25225 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25227         [BZ #13889]
25228         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25229         high value to check if expl overflow.
25230         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25231         to check for underflow and overflow.
25232         * math/libm-test.inc: Add exp test.
25234 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
25236         [BZ #11120]
25237         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25238         with NOT_IN_libc.
25240 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25242         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25243         symbol.
25245 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25247         * math/gen-libm-test.pl (parse_args, special_functions): Properly
25248         wrap blocks consisting of several statements.
25250         * sysdeps/generic/math-tests.h: New file.
25251         * sysdeps/i386/fpu/math-tests.h: Likewise.
25252         * math/test-snan.c: Include it.
25253         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25255 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25257         [BZ #15285]
25258         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25259         (__ieee754_j0l): Do not improve calculations using cos of twice
25260         input for inputs above LDBL_MAX / 2.0L.
25261         (__ieee754_y0l): Likewise.
25262         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25263         (__ieee754_j1l): Do not improve calculations using cos of twice
25264         input for inputs above LDBL_MAX / 2.0L.
25265         (__ieee754_y1l): Likewise.
25266         * math/libm-test.inc (j0_test): Add another test.
25267         (j1_test): Likewise.
25268         (y0_test): Likewise.
25269         (y1_test): Likewise.
25270         * sysdeps/i386/fpu/libm-test-ulps: Update.
25272 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25274         * Rules ($(objpfx)bench-%.c): Include code from a C source
25275         file.
25277 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25279         [BZ #15287]
25280         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25281         imaginary part 1.0 and real part less than 0.5 specially.
25282         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25283         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25284         * math/libm-test.inc (cacos_test): Add more tests.
25285         (casin_test): Likewise.
25286         (casinh_test): Likewise.
25287         * sysdeps/i386/fpu/libm-test-ulps: Update.
25288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25290 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25292         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25293         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25295 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
25297         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25298         * config.make.in (config-cflags-sse4): Remove variable.
25299         (config-cflags-avx): Likewise.
25300         (config-cflags-sse2avx): Likewise.
25301         (config-cflags-novzeroupper): Likewise.
25302         (config-asflags-i686): Likewise.
25303         (have-mfma4): Likewise.
25304         (have-as-vis3): Likewise.
25305         (MIG): Likewise.
25306         * configure.in (MIG): Do not AC_SUBST.
25307         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25308         (libc_cv_cc_sse4): Do not AC_SUBST.
25309         (libc_cv_cc_avx): Likewise.
25310         (libc_cv_cc_sse2avx): Likewise.
25311         (libc_cv_cc_novzeroupper): Likewise.
25312         (libc_cv_cc_fma4): Likewise.
25313         (libc_cv_as_i686): Likewise.
25314         (libc_cv_sparc_as_vis3): Likewise.
25315         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25316         LIBC_CONFIG_VAR.
25317         (config-asflags-i686): Likewise.
25318         (config-cflags-avx): Likewise.
25319         (config-cflags-sse2avx): Likewise.
25320         (have-mfma4): Likewise.
25321         (config-cflags-novzeroupper): Likewise.
25322         * sysdeps/mach/configure.in (MIG): Likewise.
25323         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25324         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25325         LIBC_CONFIG_VAR.
25326         (config-cflags-avx): Likewise.
25327         (config-cflags-sse2avx): Likewise.
25328         (have-mfma4): Likewise.
25329         (config-cflags-novzeroupper): Likewise.
25330         * configure: Regenerated.
25331         * sysdeps/i386/configure: Likewise.
25332         * sysdeps/mach/configure: Likewise.
25333         * sysdeps/sparc/configure: Likewise.
25334         * sysdeps/x86_64/configure: Likewise.
25336 2013-03-20  Roland McGrath  <roland@hack.frob.com>
25338         [BZ #14812]
25339         * locale/programs/localedef.c (options): Put N_ translation marker
25340         on argument names, not just descriptions.
25342 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25344         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25346 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
25348         [BZ #14176]
25349         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25351 2013-03-19  Roland McGrath  <roland@hack.frob.com>
25353         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25354         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25355         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25356         [!BEFORE_ABORT] (before_abort): New function.
25357         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25358         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25359         (writev_for_fatal): New function.
25360         (WRITEV_FOR_FATAL): New macro; call that.
25361         (backtrace_and_maps): New function.
25362         (BEFORE_ABORT): New macro; call that.
25363         (struct str_list): Type removed.
25364         (__libc_message, __libc_fatal): Functions removed.
25365         Include <sysdeps/posix/libc_fatal.c> instead.
25367 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
25369         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25370         constants.
25371         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25372         double constants.
25374 2013-03-19  Andreas Schwab  <schwab@suse.de>
25376         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25377         * sysdeps/gnu/configure: Regenerate.
25379         * configure.in: Substitute libc_cv_rtlddir.
25380         * configure: Regenerate.
25381         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25382         * Makeconfig (rtlddir, inst_rtlddir): New variables.
25383         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25384         * elf/Makefile (install-others, CFLAGS-interp.c)
25385         (ldso_install, common-ldd-rewrite): Likewise.
25386         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25387         $(inst_slibdir)/$(rtld-installed-name).
25388         * scripts/rellns-sh: Add -p option.
25389         * Makerules (make-shlib-link): Use rellns-sh to get relative name
25390         for source.
25392 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25394         * manual/nptl.texi: Renamed to ...
25395         * manual/threads.texi: ... this.
25396         * manual/Makefile (chapters): Update.
25398 2013-03-18  Roland McGrath  <roland@hack.frob.com>
25400         [BZ #14812]
25401         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25402         on argument names, not just descriptions.
25403         * malloc/memusagestat.c (options): Likewise.
25404         * nss/getent.c (options): Likewise.
25406 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
25408         [BZ #14812]
25409         * iconv/iconv_prog.c (options): Put N_ translation marker
25410         on argument names, not just descriptions.
25411         * iconv/iconvconfig.c (options): Likewise.
25413 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
25415         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25416         implementation which is faster on all x86_64 architectures.
25417         Tested on AMD, Intel Nehalem, SNB, IVB.
25418         * sysdeps/x86_64/strnlen.S: Likewise.
25420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25421         Remove all multiarch strlen and strnlen versions.
25422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25423         Remove strlen and strnlen related parts.
25425         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25426         Inline strlen part.
25427         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25429         * sysdeps/x86_64/multiarch/strlen.S: Remove.
25430         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25431         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25432         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25433         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25434         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25436 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
25438         * manual/memory.texi (Malloc Tunable Parameters):
25439         Sort parameters alphabetically. Add comments for missing entries.
25441 2013-03-17  David S. Miller  <davem@davemloft.net>
25443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25445 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
25447         [BZ #15283]
25448         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25449         for arguments at most half maximum finite value.
25450         * math/libm-test.inc (j0_test): Add more tests.
25451         (j1_test): Likewise.
25452         (y0_test): Likewise.
25453         (y1_test): Likewise.
25454         * sysdeps/i386/fpu/libm-test-ulps: Update.
25455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25457         [BZ #14155]
25458         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25459         1 / x and functions P and Q for arguments above 0x1p256L.
25460         (__ieee754_y0l): Likewise.
25461         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25462         (__ieee754_y1l): Likewise.
25463         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25464         (j1_test): Likewise.
25465         (y0_test): Likewise.
25466         (y1_test): Likewise.
25468 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
25470         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25471         variable.
25473 2013-03-15  Roland McGrath  <roland@hack.frob.com>
25475         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25476         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25477         zero since it's initialized to EXEC_PAGESIZE.
25479         * sysdeps/unix/sysv/linux/ldsodefs.h
25480         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25481         * sysdeps/generic/ldsodefs.h: ... here.
25483 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
25485         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25487         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25488         math/test-snan.c.
25489         * math/test-snan.c: Renamed from
25490         sysdeps/powerpc/fpu/test-powerpc-snan.c.
25491         * math/Makefile (tests): Add test-snan.
25492         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25493         test-powerpc-snan.
25495         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25496         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
25497         functions.
25498         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
25499         __builtin_nan family of functions.
25500         * math/libm-test.inc (initialize): Initialize qnan_value with
25501         __builtin_nan family of functions.
25502         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25503         Remove variables.
25504         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25505         Remove functions.
25506         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
25507         storage class.  Initialize qNaN_var and sNaN_var with
25508         __builtin_nan and __builtin_nans families of functions,
25509         respectively.
25511         * math/libm-test.inc (acosh_test): Also test with qNaN input.
25512         (sqrt_test): Remove duplicate test with qNaN input.
25513         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25514         (round_test, signbit_test, significand_test): Note missing +/-Inf
25515         as well as qNaN tests.
25517         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25518         qNaN_var.  Fix a few strings, too.
25519         * math/libm-test.inc (nan_value): Rename to qnan_value.
25520         * math/gen-libm-test.pl (%beautify): Adjust to that.
25521         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25522         * math/test-misc.c (main): Likewise.
25523         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25524         to __qnan_bytes, and __qnan_union, respectively.
25525         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25526         Likewise.
25527         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25528         and lqnanval, respectively.
25529         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25530         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25531         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25532         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25534         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25535         * math/test-misc.c (main) [__x86_64__]: Enable test for long
25536         doubles.
25538         * math/test-misc.c (main): Fix copy'n'pastos.
25539         * misc/tst-efgcvt.c (special): Likewise.
25541         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25542         Remove declarations.
25544 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25546         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25547         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25548         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25549         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25551 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25553         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25554         macro to return vdso values correctly in IFUNC implementations.
25555         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25556         Optimization by using IFUNC.
25558 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25559             Richard Henderson  <rth@redhat.com>
25560             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25562         * Makefile.in (bench): New target.
25563         * NEWS: Mention the benchmark framework.
25564         * Rules (bench): Likewise.
25565         (binaries-bench): Generate binaries for functions to
25566         benchmark.
25567         * benchtests/Makefile: New makefile for benchmark tests.
25568         * benchtests/bench-skeleton.c: New skeleton file for benchmark
25569         programs.
25570         * benchtests/exp-inputs: New input file for EXP function.
25571         * benchtests/pow-inputs: New input file for POW function.
25572         * scripts/bench.pl: New script to generate source files for
25573         benchmark programs.
25575 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25577         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25578         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25579         computations on mantissa.  Use macros for rounding and
25580         division.
25581         (denorm): Likewise.
25582         (__dbl_mp): Likewise.
25583         (add_magnitudes): Likewise.
25584         (sub_magnitudes): Likewise.
25585         (__mul): Likewise.
25586         (__sqr): Likewise.
25587         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25588         powers of two in terms of TWOPOW macro.
25589         (mp_no): Make type of mantissa as MANTISSA_T.
25590         [!RADIXI]: Define RADIXI.
25591         [!TWO52]: Define TWO52.
25592         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25594         * manual/nptl.texi (cindex): Modify threads to pthreads.
25596 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
25598         * sysdeps/x86_64/preconfigure: Regenerated.
25600 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
25602         [BZ #14155]
25603         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25604         0x1p28 and above.
25605         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25606         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25607         0x1p28 and above.
25608         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25609         * math/libm-test.inc (j0_test): Do not allow one spurious
25610         underflow exception.
25611         (y1_test): Likewise.
25613 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25615         * manual/Makefile (chapters): Add nptl.
25616         * manual/debug.texi (Debugging Support): Add link to Threads
25617         chapter.
25618         * manual/nptl.texi: New file.
25620         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25622 2013-03-14  Petr Baudis  <pasky@ucw.cz>
25624         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25625         for non-NULL pointer before the memory validity test. Pointed
25626         out by Holger Brunck <holger.brunck@keymile.com>.
25628 2013-03-13  Andreas Schwab  <schwab@suse.de>
25630         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25631         instead of .os.
25633 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
25635         * timezone/zic.c: Update from tzcode 2013b.
25637 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
25639         * manual/install.texi (Configuring and compiling):
25640         Mention i686 and i586.
25641         * INSTALL: Regenerate.
25643 2013-03-12  Roland McGrath  <roland@hack.frob.com>
25645         * sysdeps/init_array/elf-init.c: New file.
25646         * csu/elf-init.c
25647         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25648         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25650         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25651         __gmon_start__ as global, but as static with a .preinit_array pointer.
25652         * sysdeps/init_array/gmon-start.c: New file.  Use that.
25653         * sysdeps/init_array/crti.S: New file, empty except for comments.
25654         * sysdeps/init_array/crtn.S: Likewise.
25656 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
25658         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25659         definining bcopy.
25660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25661         Remove Prefer_SSE_for_memop.
25662         * sysdeps/x86_64/multiarch/init-arch.h: Remove
25663         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25664         HAS_PREFER_SSE_FOR_MEMOP.
25665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25666         memset-x86-64.
25667         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25668         Remove bzero, memset ifunc support.
25669         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25670         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25671         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25672         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25674 2013-03-11  Andreas Schwab  <schwab@suse.de>
25676         [BZ #15234]
25677         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25678         by SHLIB_COMPAT.
25679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25680         (GLIBC_2.16): Remove pthread_atfork.
25682 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25684         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25685         (ptestcases.h): Likewise.
25687 2013-03-08  Roland McGrath  <roland@hack.frob.com>
25689         * Makeconfig ($(common-objpfx)config.status): Depend on
25690         sysdeps/*/preconfigure{,.in} too.
25692 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
25694         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25695         (__free_hook): Use void * instead of __malloc_ptr_t.
25696         (__malloc_hook): Likewise.
25697         (__realloc_hook): Likewise.
25698         (__memalign_hook): Likewise.
25699         (__after_morecore_hook): Likewise.
25700         * malloc/arena.c (save_malloc_hook): Likewise.
25701         (save_free_hook): Likewise.
25702         * malloc/hooks.c (malloc_hook_ini): Likewise.
25703         (realloc_hook_ini): Likewise.
25704         (memalign_hook_ini): Likewise.
25705         * malloc/malloc.c (malloc_hook_ini): Likewise.
25706         (realloc_hook_ini): Likewise.
25707         (memalign_hook_ini): Likewise.
25708         (__free_hook): Likewise.
25709         (__malloc_hook): Likewise.
25710         (__realloc_hook): Likewise.
25711         (__memalign_hook): Likewise.
25712         (__libc_malloc): Likewise.
25713         (__libc_free): Likewise.
25714         (__libc_realloc): Likewise.
25715         (__libc_memalign): Likewise.
25716         (__libc_valloc): Likewise.
25717         (__libc_pvalloc): Likewise.
25718         (__libc_calloc): Likewise.
25719         (__posix_memalign): Likewise.
25720         * malloc/morecore.c (__sbrk): Likewise.
25721         (__default_morecore): Likewise.
25723         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25725         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25726         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25727         __malloc_ptrdiff_t.
25729         * malloc/malloc.h (__malloc_size_t): Remove macro.
25730         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25731         __malloc_size_t.
25732         (old_memalign_hook): Likewise.
25733         (old_realloc_hook): Likewise.
25734         (struct hdr): Likewise.
25735         (flood): Likewise.
25736         (mallochook): Likewise.
25737         (memalignhook): Likewise.
25738         (reallochook): Likewise.
25739         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25740         (tr_old_realloc_hook): Likewise.
25741         (tr_old_memalign_hook): Likewise.
25742         (tr_mallochook): Likewise.
25743         (tr_reallochook): Likewise.
25744         (tr_memalignhook): Likewise.
25746 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25748         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25749         default_ldbl_pack and using as default implementation.
25750         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25751         implementation.
25752         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25753         redundant definition.
25754         (ldbl_insert_mantissa): Likewise.
25755         (ldbl_canonicalize): Likewise.
25756         (ldbl_nearbyint): Likewise.
25757         (ldbl_pack): Rename to ldbl_pack_ppc.
25758         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25759         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25760         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25762 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25765         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25766         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25767         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25769         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25770         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25771         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25773 2013-03-07  Andreas Jaeger  <aj@suse.de>
25775         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25776         bits/mman-linux.h.
25778 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25780         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25781         Include mpa.h and declare __MPEXP.
25782         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25783         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25784         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25785         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25786         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25787         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25788         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25790         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25791         (__slowpow): Use long double EXPL and LOGL functions to
25792         compute POW.
25793         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25794         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25795         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25796         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25797         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25798         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25801         intermediate variable to calculate exponent.
25802         (__sqr): Likewise.
25803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25804         Likewise.
25805         (__sqr): Likewise.
25807         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25808         [!NO__SQR]: Define __sqr.
25809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25810         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25811         sysdeps/ieee754/dbl-64/mpa.c.
25812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25814         [BZ #12723]
25815         * posix/Makefile (tests): Add tst-pathconf.
25816         * posix/tst-pathconf.c: New test case.
25817         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25818         _PC_PIPE_BUF.
25819         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25821 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25823         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25825 2013-03-06  Andreas Jaeger  <aj@suse.de>
25827         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25828         definition via __MAP_ANONYMOUS.
25830         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25831         it's not part of Linux headers.
25833         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25834         (MAP_HUGE_MASK): Define.
25836         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25837         Define.
25838         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25839         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25840         Define.
25841         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25842         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25843         Define.
25844         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25845         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25846         Define.
25847         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25849         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25850         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25851         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25852         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25853         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25854         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25856         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25857         Handle f2fs.
25859         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25860         Handle f2fs and efivarfs.
25862         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25863         f2fs.
25865         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25866         (EFIVARFS_MAGIC): Add.
25867         (F2FS_LINK_MAX): Add.
25869 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25871         * stdio-common/vfprintf.c: Replace __builtin_expect with
25872         __glibc_unlikely.
25874 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25876         [BZ #13550]
25877         * sysdeps/generic/bp-sym.h: Remove file.
25878         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25879         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25880         <bp-sym.h> and <bp-asm.h>.
25881         (__longjmp): Don't use BP_SYM.
25882         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25883         and <bp-asm.h>.
25884         (memcpy): Don't use BP_SYM.
25885         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25886         <bp-sym.h> and <bp-asm.h>.
25887         (memcpy): Don't use BP_SYM.
25888         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25889         <bp-asm.h>.
25890         (memcpy): Don't use BP_SYM.
25891         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25892         <bp-asm.h>.
25893         (memset): Don't use BP_SYM.
25894         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25895         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25896         (__bzero): Don't use BP_SYM.
25897         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25898         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25899         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25900         <bp-sym.h> and <bp-asm.h>.
25901         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25902         pointers.
25903         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25904         <bp-sym.h> and <bp-asm.h>.
25905         (memcpy): Don't use BP_SYM.
25906         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25907         <bp-sym.h> and <bp-asm.h>.
25908         (memset): Don't use BP_SYM.
25909         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25910         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25911         (__bzero): Don't use BP_SYM.
25912         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25913         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25914         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25915         <bp-sym.h> and <bp-asm.h>.
25916         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25917         pointers.
25918         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25919         <bp-sym.h> and <bp-asm.h>.
25920         (memcpy): Don't use BP_SYM.
25921         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25922         <bp-sym.h> and <bp-asm.h>.
25923         (memset): Don't use BP_SYM.
25924         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25925         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25926         (__bzero): Don't use BP_SYM.
25927         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25928         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25929         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25930         <bp-sym.h> and <bp-asm.h>.
25931         (__memchr): Don't use BP_SYM.
25932         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25933         <bp-sym.h> and <bp-asm.h>.
25934         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25935         pointers.
25936         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25937         <bp-sym.h> and <bp-asm.h>.
25938         (memcpy): Don't use BP_SYM.
25939         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25940         <bp-sym.h> and <bp-asm.h>.
25941         (__mempcpy): Don't use BP_SYM.
25942         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25943         <bp-sym.h> and <bp-asm.h>.
25944         (__memrchr): Don't use BP_SYM.
25945         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25946         <bp-sym.h> and <bp-asm.h>.
25947         (memset): Don't use BP_SYM.
25948         (__bzero): Likewise.
25949         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25950         <bp-sym.h> and <bp-asm.h>.
25951         (__rawmemchr): Don't use BP_SYM.
25952         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25953         <bp-sym.h> and <bp-asm.h>.
25954         (__STRCMP): Don't use BP_SYM.
25955         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25956         <bp-sym.h> and <bp-asm.h>.
25957         (strchr): Don't use BP_SYM.
25958         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25959         <bp-sym.h> and <bp-asm.h>.
25960         (__strchrnul): Don't use BP_SYM.
25961         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25962         <bp-sym.h> and <bp-asm.h>.
25963         (strlen): Don't use BP_SYM.
25964         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25965         <bp-sym.h> and <bp-asm.h>.
25966         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25967         pointers.
25968         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25969         <bp-sym.h> and <bp-asm.h>.
25970         (__strnlen): Don't use BP_SYM.
25971         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25972         <bp-sym.h> and <bp-asm.h>.
25973         (__GI__setjmp): Don't use BP_SYM.
25974         (_setjmp): Likewise.
25975         (__sigsetjmp): Likewise.
25976         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25977         (L(start_addresses)): Don't use BP_SYM.
25978         (_start): Likewise.
25979         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25980         <bp-asm.h>.
25981         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25982         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25983         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25984         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25985         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25986         <bp-asm.h>.
25987         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25988         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
25989         about bounded pointers.
25990         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25991         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25992         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25993         <bp-asm.h>.
25994         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25995         about bounded pointers.  Remove GKM FIXME comments.
25996         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25997         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25998         <bp-asm.h>.
25999         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26000         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
26001         Remove GKM FIXME comments.
26002         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26003         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26004         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26005         <bp-asm.h>.
26006         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26007         about bounded pointers.  Remove GKM FIXME comment.
26008         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26009         and <bp-asm.h>.
26010         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26011         pointers.
26012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26013         <bp-sym.h> and <bp-asm.h>.
26014         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26016         <bp-sym.h> and <bp-asm.h>.
26017         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26018         comment.
26020 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26022         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26023         call free(NULL).
26025 2013-03-05  David S. Miller  <davem@davemloft.net>
26027         * po/es.po: Update from translation team.
26029 2013-03-05  Andreas Jaeger  <aj@suse.de>
26031         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26032         <bits/mman-linux.h>.
26033         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26034         is fine.
26035         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26036         <bits/mman-linux.h> to end of file.
26037         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26038         is fine.
26039         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26040         <bits/mman-linux.h> to end of file.
26041         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26042         is fine.
26043         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26044         <bits/mman-linux.h> to end of file.
26046         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26047         (MCL_CURRENT, MCL_FUTURE): Define here.
26049 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26051         [BZ #15232]
26052         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26053         attribute_hidden.
26054         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26056 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26058         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26059         fourth parameter needed for rt_sigprocmask syscall.
26060         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26061         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26062         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26063         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26064         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26065         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26067 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
26069         [BZ #13550]
26070         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26071         comment about bounded pointers.
26072         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26073         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26075 2013-03-04  Andreas Jaeger  <aj@suse.de>
26077         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26078         common definitions.
26080         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26081         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26082         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26083         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26084         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26085         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26087 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26089         [BZ #15055]
26090         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26091         __ieee754_sqrl instead of __sqrl.
26093 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
26095         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26096         * sysdeps/powerpc/fpu_control.h: ... here.
26097         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26098         * sysdeps/powerpc/bits/fenvinline.h: ... here.
26099         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26100         * sysdeps/powerpc/bits/mathinline.h: ... here.
26102 2013-03-01  Roland McGrath  <roland@hack.frob.com>
26104         * elf/dl-hwcaps.c (_dl_important_hwcaps):
26105         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26106         to just [NEED_DL_SYSINFO_DSO].
26107         * elf/dl-support.c: Likewise.
26108         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26109         * elf/rtld.c (dl_main): Likewise.
26110         * elf/setup-vdso.h (setup_vdso): Likewise.
26111         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26112         * sysdeps/unix/sysv/linux/dl-sysdep.c
26113         (_dl_discover_osversion): Likewise.
26115 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
26117         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26118         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26120 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26122         * NEWS: Mention libm performance improvements and non-x86 PI
26123         futex support.
26125         * csu/libc-start.c (__pthread_initialize_minimal): Change
26126         function arguments.
26127         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26129 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
26131         [BZ #13550]
26132         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26133         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26134         <bp-sym.h> and <bp-asm.h>.
26135         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26136         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26137         and <bp-asm.h>.
26138         (memcpy): Don't use BP_SYM.
26139         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26140         <bp-asm.h>.
26141         (__mpn_add_n): Don't use BP_SYM.
26142         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26143         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26144         and <bp-asm.h>.
26145         (__mpn_addmul_1): Don't use BP_SYM.
26146         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26147         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26148         <bp-sym.h>.
26149         (_setjmp): Don't use BP_SYM.
26150         (__novmx_setjmp): Likewise.
26151         (__GI__setjmp): Likewise.
26152         (__vmx_setjmp): Likewise.
26153         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26154         <bp-sym.h>.
26155         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26156         (__bzero): Don't use BP_SYM.
26157         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26158         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26159         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26160         <bp-sym.h> and <bp-asm.h>.
26161         (memcpy): Don't use BP_SYM.
26162         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26163         <bp-sym.h> and <bp-asm.h>.
26164         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26165         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26166         <bp-sym.h> and <bp-asm.h>.
26167         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26168         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26169         <bp-asm.h>.
26170         (__mpn_lshift): Don't use BP_SYM.
26171         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26172         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26173         <bp-asm.h>.
26174         (memset): Don't use BP_SYM.
26175         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26176         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26177         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26178         <bp-asm.h>.
26179         (__mpn_mul_1): Don't use BP_SYM.
26180         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26181         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26182         <bp-sym.h> and <bp-asm.h>.
26183         (memcmp): Don't use BP_SYM.
26184         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26185         <bp-sym.h> and <bp-asm.h>.
26186         (memcpy): Don't use BP_SYM.
26187         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26188         <bp-sym.h> and <bp-asm.h>.
26189         (memset): Don't use BP_SYM.
26190         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26191         <bp-sym.h> and <bp-asm.h>.
26192         (strncmp): Don't use BP_SYM.
26193         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26194         <bp-sym.h> and <bp-asm.h>.
26195         (memcpy): Don't use BP_SYM.
26196         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26197         <bp-sym.h> and <bp-asm.h>.
26198         (memset): Don't use BP_SYM.
26199         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26200         <bp-sym.h> and <bp-asm.h>.
26201         (__memchr): Don't use BP_SYM.
26202         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26203         <bp-sym.h> and <bp-asm.h>.
26204         (memcmp): Don't use BP_SYM.
26205         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26206         <bp-sym.h> and <bp-asm.h>.
26207         (memcpy): Don't use BP_SYM.
26208         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26209         <bp-sym.h> and <bp-asm.h>.
26210         (__mempcpy): Don't use BP_SYM.
26211         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26212         <bp-sym.h> and <bp-asm.h>.
26213         (__memrchr): Don't use BP_SYM.
26214         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26215         <bp-sym.h> and <bp-asm.h>.
26216         (memset): Don't use BP_SYM.
26217         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26218         <bp-sym.h> and <bp-asm.h>.
26219         (__rawmemchr): Don't use BP_SYM.
26220         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26221         <bp-sym.h> and <bp-asm.h>.
26222         (__STRCMP): Don't use BP_SYM.
26223         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26224         <bp-sym.h> and <bp-asm.h>.
26225         (strchr): Don't use BP_SYM.
26226         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26227         <bp-sym.h> and <bp-asm.h>.
26228         (__strchrnul): Don't use BP_SYM.
26229         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26230         <bp-sym.h> and <bp-asm.h>.
26231         (strlen): Don't use BP_SYM.
26232         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26233         <bp-sym.h> and <bp-asm.h>.
26234         (strncmp): Don't use BP_SYM.
26235         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26236         <bp-sym.h> and <bp-asm.h>.
26237         (__strnlen): Don't use BP_SYM.
26238         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26239         <bp-asm.h>.
26240         (__mpn_rshift): Don't use BP_SYM.
26241         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26242         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26243         <bp-sym.h> and <bp-asm.h>.
26244         (__sigsetjmp): Don't use BP_SYM.
26245         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26246         (L(start_addresses)): Don't use BP_SYM.
26247         (_start): Likewise.
26248         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26249         <bp-asm.h>.
26250         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26251         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26252         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26253         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26254         <bp-asm.h>.
26255         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26256         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26257         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26258         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26259         <bp-asm.h>.
26260         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26261         comments.
26262         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26263         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26264         <bp-asm.h>.
26265         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
26266         FIXME comments.
26267         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26268         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26269         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26270         <bp-asm.h>.
26271         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26272         comment.
26273         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26274         and <bp-asm.h>.
26275         (strncmp): Don't use BP_SYM,
26276         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26277         <bp-asm.h>.
26278         (__mpn_sub_n): Don't use BP_SYM.
26279         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26280         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26281         and <bp-asm.h>.
26282         (__mpn_submul_1): Don't use BP_SYM.
26283         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26285         <bp-sym.h> and <bp-asm.h>.
26286         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26288         <bp-sym.h> and <bp-asm.h>.
26289         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26290         comment.
26292 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26295         Use ZK to minimize writes to Z.
26296         (sub_magnitudes): Simplify code a bit.
26297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26298         Use ZK to minimize writes to Z.
26299         (sub_magnitudes): Simplify code a bit.
26301 2013-02-27  Roland McGrath  <roland@hack.frob.com>
26303         * csu/gmon-start.c: Add special exception to license text.
26305 2013-02-27  Richard Henderson  <rth@redhat.com>
26307         * scripts/config.guess: Update from config.git.
26308         * scripts/config.sub: Likewise.
26310 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26312         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26314         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26316         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26318         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26320         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26322 2013-02-26  Roland McGrath  <roland@hack.frob.com>
26324         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26325         [$(build-shared = yes].
26327 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26329         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26330         (__mul): Reduce iterations for calculating mantissa.
26332         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26333         MPTWO.
26334         (__mpranred): Likewise.
26336         [BZ #15160]
26337         * malloc/memusagestat.c (main): Draw graphs for heap and stack
26338         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26340 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
26342         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26343         Define __attribute__.
26345 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26347         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26348         unused.
26349         * posix/regex_internal.h (__attribute): Remove.
26350         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26351         (re_string_context_at): Likewise.
26352         (bitset_not): Use __attribute__ and mark function as possibly
26353         unused.
26354         (bitset_merge): Likewise.
26355         (bitset_mask): Likewise.
26356         (re_string_char_size_at): Likewise.
26357         (re_string_wchar_at): Likewise.
26358         (re_string_elem_size_at): Likewise.
26360 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26362         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26363         code.
26364         (cc32): Likewise.
26366         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26367         (__acr): Likewise.
26368         (__cpy): Likewise.
26369         (norm): Likewise.
26370         (denorm): Likewise.
26371         (__dbl_mp): Likewise.
26372         (add_magnitudes): Likewise.
26373         (sub_magnitudes): Likewise.
26374         (__mul): Likewise.
26375         (__inv): Likewise.
26377         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26378         style.
26380         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26381         style.
26383         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26384         code.
26386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26387         up changes with default code.
26388         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26389         Likewise.
26391 2013-02-24  Allan McRae  <allan@archlinux.org>
26393         * manual/socket.texi (The Internet Namespace): Order menu items
26394         to match that in the file.
26396         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26397         node listing of the info page menu.
26399 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
26401         [BZ #13550]
26402         * sysdeps/i386/bp-asm.h: Remove file.
26403         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26404         (PARMS): Do not use macros from bp-asm.h.
26405         (S1): Likewise.
26406         (S2): Likewise.
26407         (SIZE): Likewise.
26408         (__mpn_add_n): Do not use BP_SYM
26409         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26410         "bp-asm.h".
26411         (PARMS): Do not use macros from bp-asm.h.
26412         (S1): Likewise.
26413         (SIZE): Likewise.
26414         (__mpn_addmul_1): Do not use BP_SYM
26415         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26416         "bp-asm.h".
26417         (PARMS): Do not use macros from bp-asm.h.
26418         (SIGMSK): Likewise.
26419         (_setjmp): Likewise.  Do not use BP_SYM.
26420         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26421         "bp-asm.h".
26422         (PARMS): Do not use macros from bp-asm.h.
26423         (SIGMSK): Likewise.
26424         (setjmp): Likewise.  Do not use BP_SYM.
26425         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26426         "bp-asm.h".
26427         (PARMS): Do not use macros from bp-asm.h.
26428         (__frexp): Do not use BP_SYM.
26429         (frexp): Likewise.
26430         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26431         "bp-asm.h".
26432         (PARMS): Do not use macros from bp-asm.h.
26433         (__frexpf): Do not use BP_SYM.
26434         (frexpf): Likewise.
26435         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26436         "bp-asm.h".
26437         (PARMS): Do not use macros from bp-asm.h.
26438         (__frexpl): Do not use BP_SYM.
26439         (frexpl): Likewise.
26440         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26441         "bp-asm.h".
26442         (PARMS): Do not use macros from bp-asm.h.
26443         (__remquo): Do not use BP_SYM.
26444         (remquo): Likewise.
26445         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26446         "bp-asm.h".
26447         (PARMS): Do not use macros from bp-asm.h.
26448         (__remquof): Do not use BP_SYM.
26449         (remquof): Likewise.
26450         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26451         "bp-asm.h".
26452         (PARMS): Do not use macros from bp-asm.h.
26453         (__remquol): Do not use BP_SYM.
26454         (remquol): Likewise.
26455         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26456         "bp-asm.h".
26457         (PARMS): Do not use macros from bp-asm.h.
26458         (DEST): Likewise.
26459         (SRC): Likewise.
26460         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
26461         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26462         "bp-asm.h".
26463         (PARMS): Do not use macros from bp-asm.h.
26464         (strlen): Do not use BP_SYM.
26465         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26466         "bp-asm.h".
26467         (PARMS): Do not use macros from bp-asm.h.
26468         (S1): Likewise.
26469         (S2): Likewise.
26470         (SIZE): Likewise.
26471         (__mpn_add_n): Do not use BP_SYM.
26472         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26473         "bp-asm.h".
26474         (PARMS): Do not use macros from bp-asm.h.
26475         (S1): Likewise.
26476         (SIZE): Likewise.
26477         (__mpn_addmul_1): Do not use BP_SYM.
26478         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26479         weak_alias.
26480         (bzero): Likewise.
26481         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26482         "bp-asm.h".
26483         (PARMS): Do not use macros from bp-asm.h.
26484         (S): Likewise.
26485         (SIZE): Likewise.
26486         (__mpn_lshift): Do not use BP_SYM.
26487         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26488         "bp-asm.h".
26489         (PARMS): Do not use macros from bp-asm.h.
26490         (DEST): Likewise.
26491         (SRC): Likewise.
26492         (LEN): Likewise.
26493         (memcpy): Likewise.  Do not use BP_SYM.
26494         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26495         libc_hidden_def and weak_alias.
26496         (mempcpy): Do not use BP_SYM in weak_alias.
26497         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26498         "bp-asm.h".
26499         (PARMS): Do not use macros from bp-asm.h.
26500         (DEST): Likewise.
26501         (LEN): Likewise.
26502         [!BZERO_P] (CHR): Likewise.
26503         (memset): Likewise.  Do not use BP_SYM.
26504         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26505         "bp-asm.h".
26506         (PARMS): Do not use macros from bp-asm.h.
26507         (S1): Likewise.
26508         (SIZE): Likewise.
26509         (__mpn_mul_1): Do not use BP_SYM.
26510         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26511         "bp-asm.h".
26512         (PARMS): Do not use macros from bp-asm.h.
26513         (S): Likewise.
26514         (SIZE): Likewise.
26515         (__mpn_rshift): Do not use BP_SYM.
26516         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26517         "bp-asm.h".
26518         (PARMS): Do not use macros from bp-asm.h.
26519         (STR): Likewise.
26520         (CHR): Likewise.
26521         (strchr): Likewise.  Do not use BP_SYM.
26522         (index): Do not use BP_SYM in weak_alias.
26523         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26524         "bp-asm.h".
26525         (PARMS): Do not use macros from bp-asm.h.
26526         (DEST): Likewise.
26527         (SRC): Likewise.
26528         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
26529         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26530         "bp-asm.h".
26531         (PARMS): Do not use macros from bp-asm.h.
26532         (strlen): Do not use BP_SYM.
26533         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26534         "bp-asm.h".
26535         (PARMS): Do not use macros from bp-asm.h.
26536         (S1): Likewise.
26537         (S2): Likewise.
26538         (SIZE): Likewise.
26539         (__mpn_sub_n): Do not use BP_SYM.
26540         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26541         "bp-asm.h".
26542         (PARMS): Do not use macros from bp-asm.h.
26543         (S1): Likewise.
26544         (SIZE): Likewise.
26545         (__mpn_submul_1): Do not use BP_SYM.
26546         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26547         "bp-asm.h".
26548         (PARMS): Do not use macros from bp-asm.h.
26549         (S1): Likewise.
26550         (S2): Likewise.
26551         (SIZE): Likewise.
26552         (__mpn_add_n): Do not use BP_SYM.
26553         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26554         weak_alias.
26555         (bzero): Likewise.
26556         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26557         "bp-asm.h".
26558         (PARMS): Do not use macros from bp-asm.h.
26559         (BLK2): Likewise.
26560         (LEN): Likewise.
26561         (memcmp): Do not use BP_SYM.
26562         (bcmp): Do not use BP_SYM in weak_alias.
26563         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26564         "bp-asm.h".
26565         (PARMS): Do not use macros from bp-asm.h.
26566         (DEST): Likewise.
26567         (SRC): Likewise.
26568         (LEN): Likewise.
26569         (memcpy): Likewise.  Do not use BP_SYM.
26570         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26571         "bp-asm.h".
26572         (PARMS): Do not use macros from bp-asm.h.
26573         (DEST): Likewise.
26574         (SRC): Likewise.
26575         (LEN): Likewise.
26576         (memmove): Likewise.  Do not use BP_SYM.
26577         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26578         "bp-asm.h".
26579         (PARMS): Do not use macros from bp-asm.h.
26580         (DEST): Likewise.
26581         (SRC): Likewise.
26582         (LEN): Likewise.
26583         (__mempcpy): Likewise.  Do not use BP_SYM.
26584         (mempcpy): Do not use BP_SYM in weak_alias.
26585         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26586         "bp-asm.h".
26587         (PARMS): Do not use macros from bp-asm.h.
26588         (DEST): Likewise.
26589         (LEN): Likewise.
26590         [!BZERO_P] (CHR): Likewise.
26591         (memset): Likewise.  Do not use BP_SYM.
26592         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26593         "bp-asm.h".
26594         (PARMS): Do not use macros from bp-asm.h.
26595         (STR2): Likewise.
26596         (strcmp): Do not use BP_SYM.
26597         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26598         "bp-asm.h".
26599         (PARMS): Do not use macros from bp-asm.h.
26600         (STR): Likewise.
26601         (DELIM): Likewise.
26602         [USE_AS_STRTOK_R] (SAVE): Likewise.
26603         (FUNCTION): Likewise.  Do not use BP_SYM.
26604         * sysdeps/i386/i686/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/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26609         (PARMS): Do not use macros from bp-asm.h.
26610         (S): Likewise.
26611         (SIZE): Likewise.
26612         (__mpn_lshift): Do not use BP_SYM.
26613         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26614         (PARMS): Do not use macros from bp-asm.h.
26615         (STR): Likewise.
26616         (CHR): Likewise.
26617         (__memchr): Do not use BP_SYM.
26618         (memchr): Do not use BP_SYM in weak_alias.
26619         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26620         (PARMS): Do not use macros from bp-asm.h.
26621         (BLK2): Likewise.
26622         (LEN): Likewise.
26623         (memcmp): Do not use BP_SYM.
26624         (bcmp): Do not use BP_SYM in weak_alias.
26625         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26626         (PARMS): Do not use macros from bp-asm.h.
26627         (S1): Likewise.
26628         (SIZE): Likewise.
26629         (__mpn_mul_1): Do not use BP_SYM.
26630         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26631         "bp-asm.h".
26632         (PARMS): Do not use macros from bp-asm.h.
26633         (STR): Likewise.
26634         (CHR): Likewise.
26635         (__rawmemchr): Do not use BP_SYM.
26636         (rawmemchr): Do not use BP_SYM in weak_alias.
26637         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26638         (PARMS): Do not use macros from bp-asm.h.
26639         (S): Likewise.
26640         (SIZE): Likewise.
26641         (__mpn_rshift): Do not use BP_SYM.
26642         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26643         (PARMS): Do not use macros from bp-asm.h.
26644         (SIGMSK): Likewise.
26645         (__sigsetjmp): Likewise.  Do not use BP_SYM.
26646         * sysdeps/i386/start.S: Do not include "bp-sym.h".
26647         (_start): Do not use BP_SYM.
26648         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26649         (PARMS): Do not use macros from bp-asm.h.
26650         (DEST): Likewise.
26651         (SRC): Likewise.
26652         (__stpcpy): Likewise.  Do not use BP_SYM.
26653         (stpcpy): Do not use BP_SYM in weak_alias.
26654         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26655         "bp-asm.h".
26656         (PARMS): Do not use macros from bp-asm.h.
26657         (DEST): Likewise.
26658         (SRC): Likewise.
26659         (LEN): Likewise.
26660         (__stpncpy): Likewise.  Do not use BP_SYM.
26661         (stpncpy): Do not use BP_SYM in weak_alias.
26662         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26663         (PARMS): Do not use macros from bp-asm.h.
26664         (STR): Likewise.
26665         (CHR): Likewise.
26666         (strchr): Likewise.  Do not use BP_SYM.
26667         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26668         "bp-asm.h".
26669         (PARMS): Do not use macros from bp-asm.h.
26670         (STR): Likewise.
26671         (CHR): Likewise.
26672         (__strchrnul): Likewise.  Do not use BP_SYM.
26673         (strchrnul): Do not use BP_SYM in weak_alias.
26674         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26675         "bp-asm.h".
26676         (PARMS): Do not use macros from bp-asm.h.
26677         (STOP): Likewise.
26678         (strcspn): Do not use BP_SYM.
26679         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26680         "bp-asm.h".
26681         (PARMS): Do not use macros from bp-asm.h.
26682         (STR): Likewise.
26683         (STOP): Likewise.
26684         (strpbrk): Likewise.  Do not use BP_SYM.
26685         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26686         "bp-asm.h".
26687         (PARMS): Do not use macros from bp-asm.h.
26688         (STR): Likewise.
26689         (CHR): Likewise.
26690         (strrchr): Likewise.  Do not use BP_SYM.
26691         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26692         (PARMS): Do not use macros from bp-asm.h.
26693         (SKIP): Likewise.
26694         (strspn): Do not use BP_SYM.
26695         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26696         (PARMS): Do not use macros from bp-asm.h.
26697         (STR): Likewise.
26698         (DELIM): Likewise.
26699         (SAVE): Likewise.
26700         (FUNCTION): Likewise.  Do not use BP_SYM.
26701         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26702         aliases.
26703         (strtok_r): Likewise.
26704         (__GI___strtok_r): Likewise.
26705         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26706         (PARMS): Do not use macros from bp-asm.h.
26707         (S1): Likewise.
26708         (S2): Likewise.
26709         (SIZE): Likewise.
26710         (__mpn_sub_n): Do not use BP_SYM.
26711         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26712         "bp-asm.h".
26713         (PARMS): Do not use macros from bp-asm.h.
26714         (S1): Likewise.
26715         (SIZE): Likewise.
26716         (__mpn_submul_1): Do not use BP_SYM.
26717         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26718         <bp-sym.h>.
26719         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26720         and <bp-asm.h>.
26721         (PARMS): Do not use macros from bp-asm.h.
26722         (FLAGS): Likewise.
26723         (PTID): Likewise.
26724         (TLS): Likewise.
26725         (CTID): Likewise.
26726         (__clone): Do not use BP_SYM.
26727         (clone): Do not use BP_SYM in weak_alias.
26728         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26729         and <bp-asm.h>.
26730         (PARMS): Do not use macros from bp-asm.h.
26731         (LEN): Likewise.
26732         (__mmap64): Do not use BP_SYM.
26733         (mmap64): Do not use BP_SYM in weak_alias.
26734         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26735         <bp-sym.h> and <bp-asm.h>.
26736         (PARMS): Do not use macros from bp-asm.h.
26737         (__posix_fadvise64_l64): Do not use BP_SYM.
26738         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26739         (PARMS): Do not use macros from bp-asm.h.
26740         (NSOPS): Likewise.
26741         (semtimedop): Do not use BP_SYM.
26742         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26743         and <bp-asm.h>.
26745 2013-02-21  Allan McRae  <allan@archlinux.org>
26747         * manual/message.texi (Charset conversion in gettext):
26748         Move @end statement to beginning of line.
26750 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26753         static.
26754         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26755         Likewise.
26757         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26758         (denorm): Likewise.
26759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26760         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26762 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26764         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26765         tail-call to the resolved function if pltexit isn't needed.
26767 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26770         or Y being zero as being unlikely.
26771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26772         Likewise.
26774 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26776         * manual/nss.texi (System Databases and Name Service Switch):
26777         Remove frobnicate @pxref.
26779 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26781         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26782         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26784 2013-02-20  Petr Machata  <pmachata@redhat.com>
26786         * elf/elf.h (R_ARM_TARGET1): New macro.
26787         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26788         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26789         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26790         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26791         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26792         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26793         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26794         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26795         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26796         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26797         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26798         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26799         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26800         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26801         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26802         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26803         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26804         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26805         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26806         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26807         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26808         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26809         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26810         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26811         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26812         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26813         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26814         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26815         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26816         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26817         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26818         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26819         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26820         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26821         (R_ARM_THM_GOT_BREL12): Likewise.
26822         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26823         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26824         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26825         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26826         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26827         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26828         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26829         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26830         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26832 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26834         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26835         __attribute_used__ to __attribute__ ((unused)).
26837 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26839         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26840         powerpc mpa.c.
26841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26842         comment formatting.
26843         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26845 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26847         [BZ #13550]
26848         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26849         Remove macro.
26850         (ENTER): Remove both macro definitions.
26851         (LEAVE): Likewise.
26852         (CHECK_BOUNDS_LOW): Likewise.
26853         (CHECK_BOUNDS_HIGH): Likewise.
26854         (CHECK_BOUNDS_BOTH): Likewise.
26855         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26856         (RETURN_BOUNDED_POINTER): Likewise.
26857         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26858         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26859         (POP_ERRNO_LOCATION_RETURN): Likewise.
26860         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26861         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26862         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26863         macros.
26864         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26865         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26866         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26867         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26868         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26869         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26870         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26871         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26872         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26873         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26874         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26875         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26876         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26877         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26878         removed macros.
26879         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26880         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26881         macros.
26882         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26883         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26884         * sysdeps/i386/i586/memset.S (memset): Likewise.
26885         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26886         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26887         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26888         macros.
26889         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26890         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26891         Change uses of L(2) to L(out).
26892         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26893         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26894         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26895         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26896         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26897         removed macros.
26898         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26899         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26900         macros.
26901         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26902         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26903         (RETURN): Do not use macro LEAVE.
26904         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26905         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26906         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26907         * sysdeps/i386/i686/memset.S (memset): Likewise.
26908         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26909         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26910         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26911         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26912         Likewise.
26913         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26914         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
26915         L(1_2) and L(1_3) into L(1).
26916         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26917         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26918         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26919         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26920         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26921         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26922         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26923         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26924         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26925         macros.
26926         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26927         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26928         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26929         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26930         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26931         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26932         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26933         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26934         * sysdeps/i386/strcspn.S (strcspn): Likewise.
26935         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26936         * sysdeps/i386/strrchr.S (strrchr): Likewise.
26937         * sysdeps/i386/strspn.S (strspn): Likewise.
26938         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26939         conditional code.
26940         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26941         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26942         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26943         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
26944         L(1_3) into L(1_1).
26945         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26946         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26947         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26948         macros.
26949         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26951 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
26953         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26954         macro.
26956 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26958         * math/atest-exp.c (exp_mpn): Remove ROUND.
26959         * math/atest-exp2.c (exp_mpn): Likewise.
26960         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26962         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26963         * stdlib/tst-tls-atexit-lib.c: Likewise.
26964         * stdlib/tst-tls-atexit.c: Likewise.
26966 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26968         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26969         and __attribute_alloc_size__.
26971 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26973         * include/programs/xmalloc.h: Change __attribute_alloc_size to
26974         __attribute_alloc_size__.
26975         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26976         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26978 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26980         * include/programs/xmalloc.h: New file.
26981         * catgets/gencat.c: Include it.
26982         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26983         * elf/pldd.c: Likewise.
26984         * iconv/iconv_charmap.c: Likewise.
26985         * iconv/iconvconfig.c: Likewise.
26986         * iconv/strtab.c: Likewise.
26987         * locale/programs/locale.c: Likewise.
26988         * locale/programs/localedef.h: Likewise.
26989         * locale/programs/simple-hash.c: Likewise.
26990         * nscd/nscd.h: Likewise.
26991         * nss/makedb.c: Likewise.
26992         * sysdeps/generic/ldconfig.h: Likewise.
26994 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26996         * Versions.def: Add GLIBC_2.18.
26997         * include/link.h (struct link_map): New member l_tls_dtor_count.
26998         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26999         (__call_tls_dtors): Likewise.
27000         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27001         __cxa_thread_atexit_impl.
27002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27003         Likewise.
27004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27005         Likewise.
27006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27007         Likewise.
27008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27009         Likewise.
27010         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27012         Likewise.
27013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27014         Likewise.
27015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27017         Likewise.
27018         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27019         (tests): Add test case tst-tls-atexit.
27020         (modules-names): Add shared library for tst-tls-atexit.
27021         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27022         (GLIBC_PRIVATE): Add __call_tls_dtors.
27023         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27024         for libstdc++.
27025         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27026         * stdlib/tst-tls-atexit.c: New test case.
27027         * stdlib/tst-tls-atexit-lib.c: New test case.
27029         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27031         * elf/Versions (ld): Add _dl_find_dso_for_object.
27032         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27033         * elf/dl-open.c (_dl_find_dso_for_object): New function.
27034         (dl_open_worker): Use _dl_find_dso_for_object.
27035         * elf/dl-sym.c (do_sym): Likewise.
27036         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27038 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27040         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27041         Syntactic changes only.
27042         (_dl_runtime_profile): Do a tail-call to the resolved function.
27044 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
27046         [BZ #13550]
27047         * sysdeps/x86_64/bp-asm.h: Remove file.
27048         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27049         <bp-sym.h> and <bp-asm.h>.
27050         (__clone): Do not use BP_SYM.
27051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27052         <bp-sym.h> and <bp-asm.h>.
27053         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27054         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27055         "bp-asm.h".
27056         (_setjmp): Do not use BP_SYM.
27057         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27058         "bp-asm.h".
27059         (setjmp): Do not use BP_SYM.
27060         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27061         libc_hidden_def.
27062         (mempcpy): Do not use BP_SYM in weak_alias.
27063         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27064         "bp-asm.h".
27065         (strchr): Do not use BP_SYM.
27066         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27067         "bp-asm.h".
27068         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27069         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27070         (_start): Do not use BP_SYM.
27071         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27072         "bp-asm.h".
27073         (strcat): Do not use BP_SYM.
27074         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27075         "bp-asm.h".
27076         (STRCMP): Do not use BP_SYM.
27077         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27078         "bp-asm.h".
27079         (STRCPY): Do not use BP_SYM.
27080         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27081         "bp-asm.h".
27082         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27083         "bp-asm.h".
27084         (FUNCTION): Do not use BP_SYM.
27085         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27086         weak_alias.
27087         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27089 2013-02-17  Andreas Jaeger  <aj@suse.de>
27091         * time/Versions: Sort entries.
27092         * string/Versions: Likewise.
27093         * resolv/Versions: Likewise.
27094         * posix/Versions: Likewise.
27095         * iconv/Versions: Likewise.
27096         * elf/Versions: Likewise.
27097         * wcsmbs/Versions: Likewise.
27099 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27101         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27102         loop termination condition.
27104         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27105         variable to calculate EZ.
27106         (__sqr): Likewise.
27108         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27109         the lower precision input.
27111 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
27113         [BZ #13550]
27114         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27115         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27116         (run-via-rtld-prefix): Do not handle %-bp tests.
27117         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27118         (all-object-suffixes): Remove .ob.
27119         (bppfx): Remove variable.
27120         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27121         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27122         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27123         [$(build-bounded) = yes] (libtype.ob): Likewise.
27124         * Makerules (elide-routines.ob): Remove variable.
27125         (do-tests-clean): Do not handle *-bp.out.
27126         (common-mostlyclean): Do not handle *-bp and *-bp.out.
27127         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27128         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27129         (tests): Do not include $(tests-bp.out).
27130         (xtests): Do not include $(xtests-bp.out).
27131         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27132         [$(build-bounded) = yes] ($(addprefix
27133         $(objpfx),$(binaries-bounded))): Remove rule.
27134         ($(objpfx)%-bp.out): Remove rule.
27135         * config.make.in (build-bounded): Remove variable.
27136         * crypt/Makefile [$(build-bounded) = yes]
27137         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27138         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27139         append to variable.
27140         [$(build-bounded) = yes] (install-lib): Likewise.
27141         [$(build-bounded) = yes] (generated): Likewise.
27142         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27143         Remove rule.
27144         * intl/Makefile [$(build-bounded) = yes]
27145         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27146         * math/Makefile [$(build-bounded) = yes]
27147         ($(tests:%=$(objpfx)%-bp): Likewise.
27148         * misc/Makefile [$(build-bounded) = yes]
27149         ($(objpfx)tst-tsearch-bp): Likewise.
27150         * nptl/Makeconfig (bounded-thread-library): Remove variable.
27151         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27152         Remove dependency.
27153         * string/Makefile (o-objects.ob): Remove variable.
27154         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27155         (CFLAGS-.ob): Remove variable.
27156         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27157         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27158         both definitions of variable.
27159         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27160         (ASFLAGS-.ob): Remove variable.
27162 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
27164         [BZ #13550]
27165         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27166         Remove __BOUNDED_POINTERS__ from condition.
27167         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27168         * string/bits/string2.h [!__NO_STRING_INLINES &&
27169         !__BOUNDED_POINTERS__]: Likewise.
27170         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27171         Likewise.
27172         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27173         Remove conditional code.
27174         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27175         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27176         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27177         condition.
27179         [BZ #13550]
27180         * csu/libc-start.c: Do not include <bp-sym.h>.
27181         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27182         * elf/dl-open.c: Do not include <bp-sym.h>.
27183         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27184         * math/fegetenv.c: Do not include <bp-sym.h>.
27185         (fegetenv): Do not use BP_SYM in versioned symbols.
27186         * nptl/sysdeps/pthread/bits/libc-lockP.h
27187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27188         <bp-sym.h>.
27189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27190         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27192         (__pthread_mutex_destroy): Likewise.
27193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27194         (__pthread_mutex_lock): Likewise.
27195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27196         (__pthread_mutex_trylock): Likewise.
27197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27198         (__pthread_mutex_unlock): Likewise.
27199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27200         (__pthread_mutexattr_init): Likewise.
27201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27202         (__pthread_mutexattr_destroy): Likewise.
27203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27204         (__pthread_mutexattr_settype): Likewise.
27205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27206         (__pthread_rwlock_init): Likewise.
27207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27208         (__pthread_rwlock_destroy): Likewise.
27209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27210         (__pthread_rwlock_rdlock): Likewise.
27211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27212         (__pthread_rwlock_tryrdlock): Likewise.
27213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27214         (__pthread_rwlock_wrlock): Likewise.
27215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27216         (__pthread_rwlock_trywrlock): Likewise.
27217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27218         (__pthread_rwlock_unlock): Likewise.
27219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27220         (__pthread_key_create): Likewise.
27221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27222         (__pthread_setspecific): Likewise.
27223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27224         (__pthread_getspecific): Likewise.
27225         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27226         Likewise.
27227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27228         (_pthread_cleanup_push_defer): Likewise.
27229         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27230         (_pthread_cleanup_pop_restore): Likewise.
27231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27232         (pthread_setcancelstate): Likewise.
27233         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27234         <bp-sym.h>.
27235         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27236         (memchr): Do not use BP_SYM in weak_alias.
27237         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27238         (fegetenv): Do not use BP_SYM in versioned symbols.
27239         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27240         (fesetenv): Do not use BP_SYM in versioned symbols.
27241         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27242         (feupdateenv): Do not use BP_SYM in versioned symbols.
27243         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27244         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27245         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27246         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27247         (open64): Do not use BP_SYM in weak_alias.
27248         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27249         (fegetenv): Do not use BP_SYM in versioned symbols.
27250         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27251         (fesetenv): Do not use BP_SYM in versioned symbols.
27252         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27253         (feupdateenv): Do not use BP_SYM in versioned symbols.
27254         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27255         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27256         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27257         (feraiseexcept): Do not use BP_SYM in versioned symbols.
27258         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27259         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27260         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27261         <bp-sym.h>.
27262         (__libc_start_main): Do not use BP_SYM.
27264 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27267         redundant return line.
27268         (norm): Likewise.
27269         (denorm): Likewise.
27270         (dbl_mp): Likewise.
27271         (sub_magnitudes): Likewise.
27272         (__add): Likewise.
27273         (__sub): Likewise.
27274         (__mul): Likewise.
27275         (__inv): Likewise.
27276         (__dvd): Likewise.
27277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27278         (norm): Likewise.
27279         (denorm): Likewise.
27280         (dbl_mp): Likewise.
27281         (sub_magnitudes): Likewise.
27282         (__add): Likewise.
27283         (__sub): Likewise.
27284         (__mul): Likewise.
27285         (__inv): Likewise.
27286         (__dvd): Likewise.
27288         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27289         instead of __mul.
27290         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27291         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27292         (cc32): Likewise.
27294         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27295         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27297         of __mul for squares.
27298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27299         function
27300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27301         Likewise.
27302         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27303         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27305 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
27307         [BZ #13550]
27308         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27309         code.
27310         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27311         prototype or function definition.  Rename ubp_* variables and
27312         parameters.  Remove argv definitions conditional on
27313         [__BOUNDED_POINTERS__].
27314         * debug/backtrace.c (__backtrace): Do not use __unbounded.
27315         * elf/dl-runtime.c (_dl_fixup): Likewise.
27316         * include/set-hooks.h (RUN_HOOK): Likewise.
27317         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27318         definition.
27319         * string/strcpy.c (strcpy): Do not use __unbounded.
27320         * sysdeps/generic/frame.h (struct layout): Likewise.
27321         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27322         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27323         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27324         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27325         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27326         (__backtrace): Likewise.
27327         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27328         use __ptrvalue.
27329         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27330         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27331         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27332         Likewise.
27333         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27334         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27335         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27336         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27337         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27338         Do not use __unbounded.
27339         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27340         Rename __unboundedrlimits parameter to rlimits in prototype.
27341         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27342         Do not use __unbounded.
27343         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27344         not use __ptrvalue.
27345         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27346         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27347         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27348         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27349         __ptrvalue or __unbounded.
27350         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27351         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27352         use __unbounded.
27353         (__new_msgctl): Do not use __ptrvalue.
27354         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27355         __unbounded.
27356         (__libc_msgrcv): Do not use __ptrvalue.
27357         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27358         startup_info): Do not use __unbounded.
27359         (__libc_start_main): Likewise.  Rename ubp_* variables and
27360         parameters.  Remove argv definitions conditional on
27361         [__BOUNDED_POINTERS__].
27362         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27363         __ptrvalue.
27364         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27365         use __unbounded.
27366         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27367         or __ptrvalue.
27368         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27369         use __unbounded.
27370         (__new_shmctl): Do not use __ptrvalue.
27371         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27372         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27373         Likewise.
27374         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27375         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27376         (__libc_sigaction): Likewise.
27377         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27378         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27379         Likewise.
27380         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27382 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
27384         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27386         * string/mempcpy.c: Implement by calling memcpy.
27388 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27390         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27392         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27393         evaluation.
27395         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27396         values in the mantissa.
27398         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27399         minimize writes to Z.
27400         (sub_magnitudes): Simplify code a bit.
27402 2013-02-12  Roland McGrath  <roland@hack.frob.com>
27404         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27405         from the message.  The linker prefixes all warnings with that already.
27407 2013-02-12  Andreas Schwab  <schwab@suse.de>
27409         [BZ #15078]
27410         * posix/regexec.c (extend_buffers): Add parameter min_len.
27411         (check_matching): Pass minimum needed length.
27412         (clean_state_log_if_needed): Likewise.
27413         (get_subexp): Likewise.
27414         * posix/Makefile (tests): Add bug-regex34.
27415         (bug-regex34-ENV): Define.
27416         * posix/bug-regex34.c: New file.
27418         [BZ #11561]
27419         * posix/regcomp.c (parse_bracket_exp): When looking up collating
27420         elements compare against the byte sequence of it, not its name.
27421         * posix/Makefile (tests): Add bug-regex35.
27422         (bug-regex35-ENV): Define.
27423         * posix/bug-regex35.c: New file.
27425 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27427         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
27428         comment.
27429         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27430         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27431         (CHECK_EOL): Add undef.
27433 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
27435         * bits/stdlib-bsearch.h: New file.
27436         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27437         * stdlib/stdlib.h: Likewise.
27439 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27441         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27442         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27443         declaration.
27444         * manual/search.texi (Array Search Function): Add missing const in
27445         lfind prototype.
27446         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27447         declaration to use rlim_t.
27448         (Basic Scheduling Functions): Remove erroneous const from
27449         sched_getparam prototype.  Remove erroneous * from
27450         sched_get_priority_max and sched_get_priority_min prototypes.
27451         (Resource Usage): Fix summary @comment on vtimes to refer to
27452         sys/vtimes.h rather than vtimes.h.
27453         Add missing *s in vtimes prototype.
27454         (Limits on Resources): Fix ulimit prototype to return long int.
27455         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27456         prototypes to use long int rather than double.
27457         (BSD Random): Fix initstate and setstate to use char *, not void *.
27458         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27459         prototype to make second argument 'struct aiocb64 *const[]'.
27460         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27461         (Status of AIO Operations): Remove erroneous const in aio_return and
27462         aio_return64 prototypes.
27463         (Synchronizing I/O): Fix sync prototype to return void.
27464         * manual/startup.texi (Suboptions): Remove an erroneous const in
27465         getsubopt prototype.
27466         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27467         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27468         use size_t rather than int.
27469         (Scanning All Users): Likewise for getpwent_r.
27470         (Setting Groups): Add missing const to setgroups prototype.
27471         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27472         * manual/socket.texi (Host Names): Fix gethostbyaddr and
27473         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27474         'const void *' rather than 'const char *'.
27475         (Host Address Functions): Likewise for inet_ntop.
27476         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27477         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27478         ssize_t for return value.
27479         (Sending Data): Likewise for send, sendto, sendmsg.
27480         (Socket Option Functions): Add a missing const in setsockopt prototype.
27481         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27482         use wchar_t for the argument.
27483         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27484         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27485         take no arguments.
27486         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27487         double/float/long double for second argument.
27488         Fix return types of significand, significandf, significandl.
27489         * manual/filesys.texi (Setting Permissions): Use mode_t for second
27490         argument in fchmod prototype.
27491         (File Owner): Use uid_t and gid_t in fchown prototype.
27492         (File Times): Add const to utimes, futimes, and lutimes prototypes.
27493         (Making Special Files): Use mode_t and dev_t in mknod prototype.
27494         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27495         use 'const struct dirent **' as argument types to CMP function pointer
27496         argument.
27497         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27498         (File Times): Fix summary magic @comment for struct utimbuf and utime
27499         to refer to utime.h, not time.h.
27500         * manual/string.texi (Argz Functions): Add missing const in
27501         argz_extract and argz_next prototypes.
27502         (Finding Tokens in a String): Likewise for basename.
27503         (String/Array Comparison): Fix typo in wcscasecmp prototype.
27504         (Copying and Concatenation): Fix typo in wmemmove prototype.
27505         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27506         (Signal Stack): Remove erroneous const in sigstack prototype.
27507         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27508         prototype.
27509         (Simple Calendar Time): Likewise for stime.
27510         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27511         prototype.
27512         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27513         say sys/sysctl.h instead.
27514         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27515         and vsyslog prototypes.
27517 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27519         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27520         Remove.
27522 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27524         * misc/sys/mman.h: Fix typo in mremap comment.
27526 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27528         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27529         the '\0' terminator.
27531 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27533         [BZ #13550]
27534         * debug/segfault.c: Don't include <bp-checks.h>.
27535         * sysdeps/generic/bp-checks.h: Remove file.
27536         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27537         (__GETDENTS): Don't use CHECK_N.
27538         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27539         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27540         (__getgroups): Don't use CHECK_N.
27541         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27542         (setgroups): Don't use CHECK_N.
27543         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27544         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27545         (__libc_msgrcv): Don't use CHECK_N.
27546         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27547         (__libc_msgsnd): Don't use CHECK_N.
27548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27549         <bp-checks.h>.
27550         (__libc_pread): Don't use CHECK_N.
27551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27552         include <bp-checks.h>.
27553         (__libc_pread64): Don't use CHECK_N.
27554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27555         include <bp-checks.h>.
27556         (__libc_pwrite): Don't use CHECK_N.
27557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27558         include <bp-checks.h>.
27559         (__libc_pwrite64): Don't use CHECK_N.
27560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27561         <bp-checks.h>.
27562         (__libc_pread): Don't use CHECK_N.
27563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27564         include <bp-checks.h>.
27565         (__libc_pread64): Don't use CHECK_N.
27566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27567         include <bp-checks.h>.
27568         (__libc_pwrite): Don't use CHECK_N.
27569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27570         include <bp-checks.h>.
27571         (__libc_pwrite64): Don't use CHECK_N.
27572         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27573         (do_pread): Don't use CHECK_N.
27574         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27575         (do_pread64): Don't use CHECK_N.
27576         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27577         (do_pwrite): Don't use CHECK_N.
27578         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27579         (do_pwrite64): Don't use CHECK_N.
27580         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27581         (__libc_readv): Don't use CHECK_N.
27582         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27583         (semop): Don't use CHECK_N.
27584         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27585         <bp-checks.h>.
27586         (semtimedop): Don't use CHECK_N.
27587         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27588         (__libc_pread): Don't use CHECK_N.
27589         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27590         <bp-checks.h>.
27591         (__libc_pread64): Don't use CHECK_N.
27592         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27593         <bp-checks.h>.
27594         (__libc_pwrite): Don't use CHECK_N.
27595         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27596         <bp-checks.h>.
27597         (__libc_pwrite64): Don't use CHECK_N.
27598         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27599         <bp-checks.h>.
27600         (__libc_msgrcv): Don't use CHECK_N.
27601         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27602         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
27603         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27604         (__libc_writev): Don't use CHECK_N.
27606 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27608         * string/strcpy.c: Removed unused variable.
27610         * Makeconfig (+sysdep-includes): Define with := rather than =.
27611         Use an existing include/ subdir of each sysdeps dir before it.
27613 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27615         * nscd/connection.c (register_traced_file): Comment function.
27616         [HAVE_INOTIFY] (union __inev): Define.
27617         [HAVE_INOTIFY] (inotify_check_files): New function.
27618         [HAVE_INOTIFY] (clear_db_cache): Likewise.
27619         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27620         clear_db_cache.
27621         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27623 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27625         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27626         loaded if not already and that a failure is permanent.
27628 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27630         [BZ #15006]
27631         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27632         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27634 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27636         [BZ #13550]
27637         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27638         (CHECK_1_NULL_OK): Likewise.
27639         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27640         (__fxstat): Do not use CHECK_1.
27641         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27642         <bp-checks.h>.
27643         (___fxstat64): Do not use CHECK_1.
27644         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27645         <bp-checks.h>.
27646         (__fxstatat): Do not use CHECK_1.
27647         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27648         <bp-checks.h>.
27649         (__fxstatat64): Do not use CHECK_1.
27650         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27651         <bp-checks.h>.
27652         (__fxstat): Do not use CHECK_1.
27653         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27654         <bp-checks.h>.
27655         (__fxstatat): Do not use CHECK_1.
27656         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27657         <bp-checks.h>.
27658         (__getresgid): Do not use CHECK_1.
27659         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27660         <bp-checks.h>.
27661         (__getresuid): Do not use CHECK_1.
27662         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27663         <bp-checks.h>.
27664         (__lxstat): Do not use CHECK_1.
27665         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27666         <bp-checks.h>.
27667         (__old_msgctl): Do not use CHECK_1.
27668         (__new_msgctl): Likewise.
27669         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27670         <bp-checks.h>.
27671         (__new_setrlimit): Do not use CHECK_1.
27672         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27673         <bp-checks.h>.
27674         (__old_shmctl): Do not use CHECK_1.
27675         (__new_shmctl): Likewise.
27676         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27677         <bp-checks.h>.
27678         (__xstat): Do not use CHECK_1.
27679         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27680         (__lxstat): Do not use CHECK_1.
27681         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27682         <bp-checks.h>.
27683         (___lxstat64): Do not use CHECK_1.
27684         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27685         (__old_msgctl): Do not use CHECK_1.
27686         (__new_msgctl): Likewise.
27687         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27688         <bp-checks.h>.
27689         (__gettimeofday): Do not use CHECK_1.
27690         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27691         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27692         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27693         <bp-checks.h>.
27694         (__gettimeofday): Do not use CHECK_1.
27695         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27696         (__old_shmctl): Do not use CHECK_1_NULL_OK.
27697         (__new_shmctl): Do not use CHECK_1.
27698         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27699         <bp-checks.h>.
27700         (do_sigtimedwait): Do not use CHECK_1.
27701         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27702         <bp-checks.h>.
27703         (do_sigwaitinfo): Do not use CHECK_1.
27704         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27705         <bp-checks.h>.
27706         (msgctl): Do not use CHECK_1.
27707         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27708         <bp-checks.h>.
27709         (shmctl): Do not use CHECK_1.
27710         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27711         (ustat): Do not use CHECK_1.
27712         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27713         <bp-checks.h>.
27714         (__fxstat): Do not use CHECK_1.
27715         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27716         <bp-checks.h>.
27717         (__fxstatat): Do not use CHECK_1.
27718         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27719         <bp-checks.h>.
27720         (__lxstat): Do not use CHECK_1.
27721         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27722         <bp-checks.h>.
27723         (__xstat): Do not use CHECK_1.
27724         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27725         (__xstat): Do not use CHECK_1.
27726         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27727         (___xstat64): Do not use CHECK_1.
27729         [BZ #13550]
27730         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27731         definitions.
27732         (CHECK_BOUNDS_HIGH): Likewise.
27733         * string/strcpy.c: Do not include <bp-checks.h>.
27734         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27736 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27738         * nscd/nscd-client.h (__nscd_drop_map_ref):
27739         Add __attribute__ ((unused)).
27740         * nis/nss-nisplus.h (niserr2nss): Likewise.
27742         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27743         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27745         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27746         Remove inline keyword.
27747         * include/rounding-mode.h (round_away): Likewise.
27748         * libio/wfileops.c (adjust_wide_data): Likewise.
27749         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27750         (__m128i_strloadu_tolower): Likewise.
27751         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27752         (__m128i_strloadu_tolower): Likewise.
27753         * time/mktime.c (ydhms_diff): Likewise.
27754         * locale/elem-hash.h (elem_hash): Likewise.
27755         * locale/setlocale.c (setdata): Likewise.
27756         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27757         (re_string_wchar_at): Likewise.
27758         (bitset_not, bitset_merge, bitset_mask): Likewise.
27759         [!(__GNUC__ > 3)] (inline): Remove macro.
27760         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27761         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27762         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27763         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27764         * string/memcmp.c (memcmp_bytes): Likewise.
27765         * locale/programs/locarchive.c (compute_hashval): Likewise.
27766         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27767         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27768         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27769         * nss/getent.c (print_rpc, print_protocols): Likewise.
27770         (print_passwd, print_group, print_aliases): Likewise.
27771         * nis/nss-nisplus.h (niserr2nss): Likewise.
27772         * nscd/connections.c (restart_p): Likewise.
27773         Change return type to bool.
27775 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27777         * Makeconfig (all-Depend-files): Add existing
27778         $(sorted-subdirs:=/Depend) files.
27779         (all-subdirs): Remove nss.
27780         * sysdeps/unix/inet/Subdirs: Add it here instead.
27781         * hesiod/Depend: New file.
27783         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27784         instead of calling alloca.
27786         * io/lseek.c (__lseek): Rename to __libc_lseek.
27787         Define __lseek as an alias.
27789         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27791 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27793         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27794         else clause and remove check for non-standard endianness.
27796 2013-02-04  David S. Miller  <davem@davemloft.net>
27798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27800 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27802         [BZ #13550]
27803         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27804         (__ubp_memchr): Remove prototype.
27805         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27806         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27807         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27808         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27809         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27810         Remove alias.
27811         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27812         (__ubp_memchr): Likewise.
27813         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27814         (__ubp_memchr): Likewise.
27815         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27816         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27817         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27818         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27819         CHECK_STRING.
27820         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27821         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27822         (__getcwd): Do not use CHECK_STRING.
27823         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27824         <bp-checks.h>.
27825         (__real_chown): Do not use CHECK_STRING.
27826         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27827         <bp-checks.h>.
27828         (fchownat): Do not use CHECK_STRING.
27829         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27830         CHECK_STRING.
27831         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27832         <bp-checks.h>.
27833         (__lchown): Do not use CHECK_STRING.
27834         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27835         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27836         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27837         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27839         include <bp-checks.h>.
27840         (truncate64): Do not use CHECK_STRING.
27841         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27842         <bp-checks.h>.
27843         (__real_chown): Do not use CHECK_STRING.
27844         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27845         <bp-checks.h>.
27846         (__lchown): Do not use CHECK_STRING.
27847         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27848         <bp-checks.h>.
27849         (__chown): Do not use CHECK_STRING.
27850         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27851         <bp-checks.h>.
27852         (truncate64): Do not use CHECK_STRING.
27853         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27854         Likewise.
27855         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27856         (__xmknod): Do not use CHECK_STRING.
27857         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27858         <bp-checks.h>.
27859         (__xmknodat): Do not use CHECK_STRING.
27860         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27861         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27863 2013-02-04  Andreas Schwab  <schwab@suse.de>
27865         [BZ #14142]
27866         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27867         * include/netdb.h: Likewise for h_errno.
27868         * elf/tst-stackguard1.c: Include <tls.h>.
27870 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27872         * elf/link.h (struct link_map): Extend the l_addr comment.
27873         * include/link.h (struct link_map): Likewise.
27875 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27877         [BZ #13550]
27878         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27879         (BOUNDED_1): Remove macro.
27880         * debug/backtrace.c: Don't include <bp-checks.h>.
27881         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27882         (__backtrace): Likewise.
27883         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27884         <bp-checks.h>.
27885         (__backtrace): Don't use BOUNDED_1.
27886         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27887         <bp-checks.h>.
27888         (__backtrace): Don't use BOUNDED_1.
27889         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27890         (__backtrace): Don't use BOUNDED_1.
27891         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27892         (shmat): Don't use BOUNDED_N.
27894 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27896         [BZ #13550]
27897         * sysdeps/generic/bp-start.h: Remove file.
27898         * csu/libc-start.c: Don't include <bp-start.h>.
27899         (LIBC_START_MAIN): Set up __environ directly instead of using
27900         INIT_ARGV_and_ENVIRON.
27901         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27902         <bp-start.h>.
27904         [BZ #13550]
27905         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27906         definitions.
27907         (CHECK_FCNTL): Likewise.
27908         (CHECK_N_PAGES): Likewise.
27910         [BZ #13550]
27911         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27912         definitions.
27913         (CHECK_SIGSET_NULL_OK): Likewise.
27914         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27915         <bp-checks.h>.
27916         (sigpending): Don't use CHECK_SIGSET.
27917         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27918         <bp-checks.h>.
27919         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27920         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27921         <bp-checks.h>.
27922         (do_sigsuspend): Don't use CHECK_SIGSET.
27923         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27924         use CHECK_SIGSET.
27925         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27926         (do_sigwait): Don't use CHECK_SIGSET.
27927         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27928         use CHECK_SIGSET.
27929         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27930         include <bp-checks.h>.
27931         (sigpending): Don't use CHECK_SIGSET.
27932         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27933         include <bp-checks.h>.
27934         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27935         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27936         <bp-checks.h>.
27937         (sigpending): Don't use CHECK_SIGSET.
27938         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27939         <bp-checks.h>.
27940         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27942         [BZ #13550]
27943         * sysdeps/generic/bp-semctl.h: Remove file.
27944         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27945         <bp-checks.h> and <bp-semctl.h>.
27946         (__old_semctl): Don't use CHECK_SEMCTL.
27947         (__new_semctl): Likewise.
27948         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27949         and <bp-semctl.h>.
27950         (__old_semctl): Don't use CHECK_SEMCTL.
27951         (__new_semctl): Likewise.
27952         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27953         <bp-checks.h> and <bp-semctl.h>.
27954         (__old_semctl): Don't use CHECK_SEMCTL.
27955         (__new_semctl): Likewise.
27956         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27957         <bp-checks.h> and <bp-semctl.h>.
27958         (semctl): Don't use CHECK_SEMCTL.
27960         [BZ #13550]
27961         * Makerules (elide-bp-thunks): Remove variable.
27962         (elide-routines.oS): Don't use $(elide-bp-thunks).
27963         (elide-routines.os): Likewise.
27964         (elide-routines.o): Likewise.
27965         (elide-routines.op): Likewise.
27966         (elide-routines.og): Likewise.
27967         (objects): Don't use $(bp-thunks).
27968         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27969         include.
27970         (common-generated): Do not add s-proto-bp.d.
27971         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27972         (int): Likewise.
27973         (typ): Likewise.
27974         Do not generate makefile rules for bounded-pointer thunks.
27975         * sysdeps/generic/bp-thunks.h: Remove file.
27976         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27977         * sysdeps/unix/s-proto-bp.S: Likewise.
27979         [BZ #15062]
27980         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27981         parts of result separately when argument is not close to line from
27982         -i to i and one part of argument is small.
27983         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27984         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27985         * math/libm-test.inc (cacos_test): Add more tests.
27986         (casin_test): Likewise.
27987         (casinh_test): Likewise.
27988         * sysdeps/i386/fpu/libm-test-ulps: Update.
27989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27991 2013-01-31  David S. Miller  <davem@davemloft.net>
27993         * po/de.po: Update from translation team.
27995 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
27997         * time/tzfile.c: Include stdint.h for SIZE_MAX.
27999 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
28001         * configure.in (_AC_PROG_CC_C89): New definition.
28002         * configure: Regenerate.
28004         * configure.in (AC_PROG_CPP): New definition.
28005         * configure: Regenerate.
28007 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28009         * debug/tst-backtrace.h: New file.
28010         * debug/tst-backtrace2.c: Include tst-backtrace.h.
28011         (ret): Remove variable.
28012         (x): Likewise.
28013         (FAIL): Remove macro.
28014         (NO_INLINE): Likewise.
28015         (fn1): Use match function instead of strstr.
28016         * debug/tst-backtrace3.c: Include tst-backtrace.h.
28017         (ret): Remove variable.
28018         (x): Likewise.
28019         (FAIL): Remove macro.
28020         (NO_INLINE): Likewise.
28021         (fn): Use match function instead of strstr.
28022         * debug/tst-backtrace4.c: Include tst-backtrace.h.
28023         (ret): Remove variable.
28024         (x): Likewise.
28025         (FAIL): Remove macro.
28026         (NO_INLINE): Likewise.
28027         (handle_signal): Use match function instead of strstr.
28028         * debug/tst-backtrace5.c: Include tst-backtrace.h.
28029         (ret): Remove variable.
28030         (x): Likewise.
28031         (FAIL): Remove macro.
28032         (NO_INLINE): Likewise.
28033         (handle_signal): Use match function instead of strstr.
28035 2013-01-23  Roland McGrath  <roland@hack.frob.com>
28037         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28039 2013-01-23  David S. Miller  <davem@davemloft.net>
28041         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28042         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28043         argument of CAS if possible.
28044         * sysdeps/sparc/sparc64/bits/atomic.h
28045         (__arch_compare_and_exchange_val_32_acq): Likewise.
28046         (__arch_compare_and_exchange_val_64_acq): Likewise.
28048 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
28050         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28051         * sysdeps/posix/ulimit.c: ... this.
28052         Include <limits.h>.
28053         * sysdeps/unix/bsd/ulimit.c: Remove file.
28055 2013-01-23  Adam Conrad  <adconrad@0c3.net>
28057         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28058         (LDFLAGS-tst-array5): Likewise.
28060 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28062         [BZ #15036]
28063         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28064         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28065         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28066         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28068 2013-01-21  David S. Miller  <davem@davemloft.net>
28070         * sysdeps/sparc/backtrace.c: New file.
28071         * sysdeps/sparc/sparc32/backtrace.h: New file.
28072         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28073         * sysdeps/sparc/sparc64/backtrace.h: New file.
28074         * sysdeps/sparc/sparc64/backtrace.c: Delete.
28075         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28076         -funwind-tables.
28078 2013-01-21  Andreas Schwab  <schwab@suse.de>
28080         [BZ #15020]
28081         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28082         closed its stdout.
28084 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
28086         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28087         "mpa2.h".
28088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28090 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
28091             Mark Mitchell  <mark@codesourcery.com>
28092             Tom de Vries  <tom@codesourcery.com>
28093             Paul Pluzhnikov  <ppluzhnikov@google.com>
28095         * debug/tst-backtrace2.c: New file.
28096         * debug/tst-backtrace3.c: Likewise.
28097         * debug/tst-backtrace4.c: Likewise.
28098         * debug/tst-backtrace5.c: Likewise.
28099         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28100         (CFLAGS-tst-backtrace3.c): Likewise.
28101         (CFLAGS-tst-backtrace4.c): Likewise.
28102         (CFLAGS-tst-backtrace5.c): Likewise.
28103         (LDFLAGS-tst-backtrace2): Likewise.
28104         (LDFLAGS-tst-backtrace3): Likewise.
28105         (LDFLAGS-tst-backtrace4): Likewise.
28106         (LDFLAGS-tst-backtrace5): Likewise.
28107         (tests): Add new tests tst-backtrace2, tst-backtrace3,
28108         tst-backtrace4 and tst-backtrace5.
28110 2013-01-18  Anton Blanchard  <anton@samba.org>
28111             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28113         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28114         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28115         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28116         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28118         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28119         "+r" and remove output regs list as redundant.  Add explicit inline
28120         asm to specify register of return val to work around compiler codegen
28121         bug.  Remove (int) cast on return value.  Add return type parameter to
28122         use in macro so that this macro does not truncate return value for
28123         64-bit values.
28124         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28125         pass to INTERNAL_VSYSCALL_NCS.
28126         (INLINE_VSYSCALL): Add 'long int' as return type to
28127         INTERNAL_VSYSCALL_NCS macro invocation.
28128         (INTERNAL_VSYSCALL): Add 'long int' as return type to
28129         INTERNAL_VSYSCALL_NCS macro invocation.
28130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28132 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28134         [BZ #14496]
28135         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28136         Fix application of SIMD FP exception mask.
28138         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28139         mp_no from a power of two.
28140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28141         __mpexp_twomm1.  Use __pow_mp.
28143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28144         multiplication.
28146 2013-01-17  David S. Miller  <davem@davemloft.net>
28148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28150 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28152         [BZ #15023]
28153         * include/complex.h: Condition contents on [!_COMPLEX_H].
28154         (__kernel_casinhf): New prototype.
28155         (__kernel_casinh): Likewise.
28156         (__kernel_casinhl): Likewise.
28157         * math/Makefile (libm_calls): Add k_casinh.
28158         * math/k_casinh.c: New file.
28159         * math/k_casinhf.c: Likewise.
28160         * math/k_casinhl.c: Likewise.
28161         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28162         finite nonzero arguments.
28163         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28164         finite nonzero arguments.
28165         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28166         finite nonzero arguments.
28167         * math/s_casinh.c: Do not include <float.h>.
28168         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28169         * math/s_casinhf.c: Do not include <float.h>.
28170         (__casinhf): Move code for finite nonzero arguments to
28171         k_casinhf.c.
28172         * math/s_casinhl.c: Do not include <float.h>.
28173         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28174         redefine.
28175         (__casinhl): Move code for finite nonzero arguments to
28176         k_casinhl.c.
28177         * math/libm-test.inc (cacos_test): Add more tests.
28178         * sysdeps/i386/fpu/libm-test-ulps: Update.
28179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28181 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
28183         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28184         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28185         [!HAVE_MREMAP]: Remove [defined linux] case.
28186         * malloc/arena.c: Do not include <malloc-sysdep.h>.
28188 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28190         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28192 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
28194         * elf/elf.h (R_386_SIZE32): New relocation.
28195         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28196         R_386_SIZE32.
28197         (elf_machine_rela): Likewise.
28198         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28199         R_X86_64_SIZE64 and R_X86_64_SIZE32.
28201 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28203         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28204         (FP_FAST_FMA): Do not define.
28205         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28206         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28207         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28208         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28209         !_SOFT_FLOAT]: Likewise.
28210         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28211         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28212         value.
28213         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28214         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28215         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28216         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28217         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28218         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28219         file.
28221 2013-01-16  Andreas Schwab  <schwab@suse.de>
28223         [BZ #14327]
28224         * include/stdlib.h (__mktemp): Add declaration.
28225         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28226         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28228 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28230         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28231         definitions.
28232         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28233         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28234         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28235         definitions here.
28236         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28237         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28238         definitions.
28239         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28240         and ONE.
28241         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28242         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28243         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28244         definitions.
28245         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28246         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28247         definitions.
28248         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28250         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28252 2013-01-15  David S. Miller  <davem@davemloft.net>
28254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28255         trunc{,f} to libm-sysdep_routes.
28256         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28258         file.
28259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28261         file.
28262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28263         file.
28264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28266         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28267         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28268         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28269         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28270         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28271         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28274         nearbyint{,f} to libm-sysdep_routes.
28275         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28277         New file.
28278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28279         file.
28280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28281         New file.
28282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28283         file.
28284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28286         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28287         file.
28288         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28289         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28290         file.
28291         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28292         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28293         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28295         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28296         libc_feholdexcept and libc_fesetenv.
28298 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
28300         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28302 2013-01-14  David S. Miller  <davem@davemloft.net>
28304         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28305         (SPARC_ASM_VIS2_IFUNC): Likewise.
28306         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28308         use of 'siam' instruction.
28309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28310         Likewise.
28311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28312         Likewise.
28313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28314         Likewise.
28315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28317         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28318         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28320         file.
28321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28322         file.
28323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28324         file.
28325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28326         file.
28327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28329         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28332         new VIS2 routines.
28333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28336         Likewise.
28337         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28338         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28340         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28342         routines to libm-sysdep_routines.
28343         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28346         fdim/fdimf to libm-sysdep_routines.
28347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28348         file.
28349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28351         file.
28352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28355         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28356         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28357         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28358         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28360 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28362         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28363         to optimize copies.
28365         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28370         local variable MPTWO.
28371         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28372         Likewise.
28374 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28376         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28377         GLOB_NOESCAPE.
28379 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28381         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28383 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28385         * manual/pattern.texi (glob_t): Document gl_flags.
28386         (glob64_t): Likewise.
28388 2013-01-11  David S. Miller  <davem@davemloft.net>
28390         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28391         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28392         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
28393         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28394         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28395         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28396         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28397         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28398         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28399         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28400         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28401         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28402         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28404         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28405         sparc V9 rather than using V8 code.
28406         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28407         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28409         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28410         Move to...
28411         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28412         Here.
28414 2013-01-11  Roland McGrath  <roland@hack.frob.com>
28416         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28417         not in the main loop.
28418         * configure: Regenerated.
28420 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
28422         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28423         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28424         to just #else.
28425         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
28426         [!__GLIBC_HAVE_LONG_LONG] case.
28427         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28428         condition to just #else.
28429         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28430         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28431         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28432         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28433         unconditional.
28434         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28435         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28436         #elif condition to just #else.
28437         * sysdeps/unix/sysv/linux/sys/sysmacros.h
28438         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28439         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28440         #elif condition to just #else.
28442 2013-01-11  Steve Ellcey  <sellcey@mips.com>
28444         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28445         (EF_MIPS_ARCH_64): Fix value.
28446         (EF_MIPS_ARCH_32R2): New.
28447         (EF_MIPS_ARCH_64R2): New.
28449 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
28451         * Makeconfig (+link-pie-before-libc): New.
28452         (+link-pie-after-libc): Likewise.
28453         (+link-pie-tests): Likewise.
28454         (+link-pie): Rewritten.
28455         (link-before-libc): Remove $(config-LDFLAGS).
28456         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28457         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28458         (config-LDFLAGS): Renamed to ...
28459         (rtld-LDFLAGS): This.
28460         (rtld-tests-LDFLAGS): New macro.
28461         (link-libc-rpath-link): Likewise.
28462         (link-libc-tests-rpath-link): Likewise.
28463         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28464         (link-libc): Prepand $(link-libc-rpath-link).
28465         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28466         (test-program-prefix): New macro.
28467         (test-via-rtld-prefix): Likewise.
28468         (test-program-cmd): Likewise.
28469         (host-test-program-cmd): Likewise.
28470         * Makefile ($(common-objpfx)testrun.sh): Replace
28471         $(run-program-prefix) with $(test-program-prefix).
28472         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28473         $(rtld-LDFLAGS).
28474         ($(common-objpfx)shlib.lds): Likewise.
28475         (build-module-helper): Likewise.
28476         ($(common-objpfx)format.lds): Likewise.
28477         * Rules (binaries-pie-tests): New.
28478         (binaries-pie-notests): Likewise.
28479         (binaries-pie): Rewritten.
28480         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28481         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28482         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28483         (make-test-out): Replace $(host-built-program-cmd) with
28484         $(host-test-program-cmd).
28485         * config.make.in (build-hardcoded-path-in-tests): New variable.
28486         * configure.in (--enable-hardcoded-path-in-tests): New configure
28487         option.
28488         (hardcoded_path_in_tests): New AC_SUBST.
28489         * configure: Regenerated.
28490         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28491         $(built-program-cmd) with $(test-program-cmd).
28492         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28493         (test_program_cmd): This.
28494         * elf/Makefile ($(objpfx)order.out): Run test with
28495         $(test-program-prefix).
28496         ($(objpfx)order2.out): Likewise.
28497         ($(objpfx)tst-initorder.out): Likewise.
28498         ($(objpfx)tst-initorder2.out): Likewise.
28499         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28500         $(test-program-cmd).
28501         ($(objpfx)tst-array1-static.out): Likewise.
28502         ($(objpfx)tst-array2.out): Likewise.
28503         ($(objpfx)tst-array3.out): Likewise.
28504         ($(objpfx)tst-array4.out): Likewise.
28505         ($(objpfx)tst-array5.out): Likewise.
28506         ($(objpfx)tst-array5-static.out): Likewise.
28507         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28508         $(test-program-cmd).
28509         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28510         $(run-program-prefix) with $(test-program-prefix).
28511         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28512         (test_program_prefix): This.
28513         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28514         $(run-program-prefix) with $(test-program-prefix).
28515         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28516         (test_program_prefix): This.
28517         * iconvdata/tst-tables.sh: Likewise.
28518         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28519         $(run-program-prefix) with $(test-program-prefix).
28520         ($(objpfx)tst-translit.out): Likewise.
28521         ($(objpfx)tst-gettext2.out): Likewise.
28522         ($(objpfx)tst-gettext4.out): Likewise.
28523         ($(objpfx)tst-gettext6.out): Likewise.
28524         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28525         (test_program_prefix): This.
28526         * intl/tst-gettext2.sh: Likewise.
28527         * intl/tst-gettext4.sh  Likewise.
28528         * intl/tst-gettext6.sh: Likewise.
28529         * intl/tst-translit.sh: Likewise.
28530         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28531         with $(test-program-cmd).
28532         * libio/Makefile ($(objpfx)test-freopen.out): Replace
28533         $(run-program-prefix) with $(test-program-prefix).
28534         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28535         (test_program_prefix): This.
28536         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28537         $(run-program-prefix) with $(test-program-prefix).
28538         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28539         (test_program_prefix): This.
28540         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28541         * posix/Makefile ($(objpfx)globtest.out): Replace
28542         $(run-via-rtld-prefix) and $(test-wrapper) with
28543         $(test-program-prefix) and $(test-via-rtld-prefix).
28544         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28545         $(test-program-prefix).
28546         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28547         $(host-test-program-cmd).
28548         (tst-spawn-ARGS): Likewise.
28549         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28550         $(test-program-prefix).
28551         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28552         (test_via_rtld_prefix): This.
28553         (test_wrapper): Renamed to ...
28554         (test_program_prefix): This.
28555         (run_program_prefix): Replaced by test_program_prefix.
28556         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28557         (test_program_prefix): This.
28558         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28559         with $(host-test-program-cmd).
28560         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28561         $(run-program-prefix) with $(test-program-prefix).
28562         ($(objpfx)tst-printf.out): Likewise.
28563         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28564         $(test-program-cmd).
28565         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28566         (test_program_prefix): This.
28567         * stdio-common/tst-unbputc.sh: Likewise.
28568         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28569         $(run-program-prefix) with $(test-program-prefix).
28570         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28571         (test_program_prefix): This.
28572         * string/Makefile ($(objpfx)tst-svc.out):  Replace
28573         $(built-program-cmd) with $(test-program-cmd).
28575 2013-01-11  Andreas Jaeger  <aj@suse.de>
28577         [BZ #15003]
28578         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28579         value. Sync with Linux 3.7.
28581 2013-01-10  David S. Miller  <davem@davemloft.net>
28583         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28584         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28585         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28587 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28589         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28590         never set.
28591         * configure: Regenerated.
28593 2013-01-10  David S. Miller  <davem@davemloft.net>
28595         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28596         sparc V9 rather than using V8 code.
28597         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28598         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28600 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28602         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28603         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28604         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28605         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28606         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28607         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28608         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28609         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28610         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28611         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28612         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28613         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28614         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28615         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28616         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28617         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28618         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28619         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28620         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28621         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28622         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28623         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28624         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28625         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28626         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28627         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28628         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28630 2013-01-10  David S. Miller  <davem@davemloft.net>
28632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28634 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28636         * posix/Makefile (tests-static): New variable.
28637         (tests): Add $(tests-static).
28638         (tst-exec-static-ARGS): New variable.
28639         (tst-spawn-static-ARGS): Likewise.
28640         * posix/tst-exec-static.c: New file.
28641         * posix/tst-spawn-static.c: Likewise.
28642         * posix/tst-exec.c: Support run directly.
28643         * posix/tst-spawn.c: Likewise.
28645 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
28647         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28648         long.
28649         * math/bits/mathcalls.h (llrint): Likewise.
28650         (llround): Likewise.
28651         * stdlib/stdlib.h (struct drand48_data): Likewise.
28652         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28653         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28654         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28655         Likewise.
28656         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28657         Likewise.
28658         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28659         (elf_greg_t): Likewise.
28660         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28661         (__jmp_buf): Likewise.
28662         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28663         definitions.
28664         (llrint): Likewise, for all definitions.
28665         (llrintl): Likewise.
28667         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28668         Remove [__GNUC__] condition.
28669         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28670         condition to just [__USE_ISOC99].
28671         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28673 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28675         [BZ #14200]
28676         * sysdeps/unix/sysv/linux/x86/bits/environments.h
28677         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28678         defined.
28679         (_POSIX_V6_ILP32_OFF32): Likewise.
28680         (_XBS5_ILP32_OFF32): Likewise.
28681         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28682         (__ILP32_OFFBIG_LDFLAGS): Likewise.
28684 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28686         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28688         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28689         doubles __mpexp_twomm1.  Adjust usage.
28690         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28691         Remove.
28693 2013-01-10  Andreas Schwab  <schwab@suse.de>
28695         [BZ #14964]
28696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28697         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28699 2013-01-09  David S. Miller  <davem@davemloft.net>
28701         [BZ #15003]
28702         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28703         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28704         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28705         (TCP_FASTOPEN): Define.
28706         (tcp_repair_opt): New structure.
28707         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28708         enum values.
28709         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28710         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28711         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28712         (tcp_cookie_transactions): New structure.
28714 2013-01-09  Anton Blanchard  <anton@samba.org>
28716         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28717         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28718         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28719         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28721 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28723         * include/features.h (__USE_ANSI): Remove.
28725 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28727         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28729         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28731 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28733         * sysdeps/s390/fpu/libm-test-ulps: Update.
28735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28737         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28738         (__acr): Likewise.
28739         (__cpy): Likewise.
28740         (norm): Likewise.
28741         (denorm): Likewise.
28742         (__mp_dbl): Likewise.
28743         (__dbl_mp): Likewise.
28744         (add_magnitudes): Likewise.
28745         (sub_magnitudes): Likewise.
28746         (__add): Likewise.
28747         (__sub): Likewise.
28748         (__mul): Likewise.
28749         (__inv): Likewise.
28750         (__dvd): Likewise.
28751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28752         (__acr): Likewise.
28753         (__cpy): Likewise.
28754         (norm): Likewise.
28755         (denorm): Likewise.
28756         (__mp_dbl): Likewise.
28757         (__dbl_mp): Likewise.
28758         (add_magnitudes): Likewise.
28759         (sub_magnitudes): Likewise.
28760         (__add): Likewise.
28761         (__sub): Likewise.
28762         (__mul): Likewise.
28763         (__inv): Likewise.
28764         (__dvd): Likewise.
28765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28766         (__acr): Likewise.
28767         (__cpy): Likewise.
28768         (norm): Likewise.
28769         (denorm): Likewise.
28770         (__mp_dbl): Likewise.
28771         (__dbl_mp): Likewise.
28772         (add_magnitudes): Likewise.
28773         (sub_magnitudes): Likewise.
28774         (__add): Likewise.
28775         (__sub): Likewise.
28776         (__mul): Likewise.
28777         (__inv): Likewise.
28778         (__dvd): Likewise.
28780 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28782         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28783         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28784         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28785         2 && __USE_EXTERN_INLINES]: Likewise.
28787 2013-01-08  Andreas Jaeger  <aj@suse.de>
28789         [BZ# 14985]
28790         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28791         Remove.
28792         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28793         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28795 2013-01-07  Anton Blanchard  <anton@samba.org>
28797         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28798         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28799         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28800         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28801         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28802         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28803         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28804         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28806         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28807         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28808         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28809         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28810         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28811         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28812         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28813         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28814         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28815         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28816         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28817         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28818         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28819         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28820         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28821         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28822         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28823         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28824         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28825         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28826         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28827         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28829         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28830         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28831         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28832         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28833         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28834         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28835         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28836         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28837         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28838         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28839         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28841 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28843         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28844         (__MALLOC_PMT): Likewise.
28845         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28846         [__GNUC__], only on [_LIBC].
28847         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28848         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28849         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28850         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28851         forward declaration.
28852         (realloc_hook_ini): Likewise.
28853         (memalign_hook_ini): Likewise.
28854         (__libc_memalign): Do not use __MALLOC_PMT in variable
28855         declaration.
28856         (__libc_valloc): Likewise.
28857         (__libc_pvalloc): Likewise.
28858         (__libc_calloc): Likewise.
28859         (__posix_memalign): Likewise.
28861         [BZ #14996]
28862         * math/s_casinh.c: Include <float.h>.
28863         (__casinh): Do not do computation with squaring and square root
28864         for large arguments.
28865         * math/s_casinhf.c: Include <float.h>.
28866         (__casinhf): Do not do computation with squaring and square root
28867         for large arguments.
28868         * math/s_casinhl.c: Include <float.h>.
28869         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28870         (__casinhl): Do not do computation with squaring and square root
28871         for large arguments.
28872         * math/libm-test.inc (casin_test): Add more tests.
28873         (casinh_test): Likewise.
28874         * sysdeps/i386/fpu/libm-test-ulps: Update.
28875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28877 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28879         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28880         (__x86_64_raw_data_cache_size): Likewise.
28881         (__x86_64_data_cache_size_half): Likewise.
28882         (__x86_64_raw_data_cache_size_half): Likewise.
28883         (__x86_64_shared_cache_size): Likewise.
28884         (__x86_64_raw_shared_cache_size): Likewise.
28885         (__x86_64_shared_cache_size_half): Likewise.
28886         (__x86_64_raw_shared_cache_size_half): Likewise.
28887         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28888         to ...
28889         (__x86_data_cache_size): This.
28890         (__x86_64_raw_data_cache_size): Renamed to ...
28891         (__x86_raw_data_cache_size): This.
28892         (__x86_64_data_cache_size_half): Renamed to ...
28893         (__x86_data_cache_size_half): This.
28894         (__x86_64_raw_data_cache_size_half): Renamed to ...
28895         (__x86_raw_data_cache_size_half): This.
28896         (__x86_64_shared_cache_size): Renamed to ...
28897         (__x86_shared_cache_size): This.
28898         (__x86_64_raw_shared_cache_size): Renamed to ...
28899         (__x86_raw_shared_cache_size): This.
28900         (__x86_64_shared_cache_size_half): Renamed to ...
28901         (__x86_shared_cache_size_half): This.
28902         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28903         (__x86_raw_shared_cache_size_half): This.
28904         * sysdeps/x86_64/memcpy.S: Updated.
28905         * sysdeps/x86_64/memset.S: Likewise.
28906         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28907         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28908         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28910 2013-01-04  David S. Miller  <davem@davemloft.net>
28912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28914 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
28916         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28917         1 to avoid redefinition warning.
28918         (__USE_GNU): Don't define.
28919         (init_signaling_nan): Protoize.
28921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28923 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28925         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28926         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28927         (__cpymn): Likewise.
28928         (norm): Remove commented code.
28929         (denorm): Likewise.
28930         (__mp_dbl): Likewise.
28931         (__inv): Likewise.
28932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28933         (__cpymn): Likewise.
28934         (norm): Remove commented code.
28935         (denorm): Likewise.
28936         (__mp_dbl): Likewise.
28937         (__inv): Likewise.
28939         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28940         mp_no value for 1.0 and 2.0.
28941         (norm): Use RADIXI instead of radixi.d.
28942         (denorm): Likewise.
28943         (__mul): Use 0.0 instead of zero.d.
28944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28945         mp_no value for 1.0 and 2.0.
28946         (norm): Use RADIXI instead of radixi.d.
28947         (denorm): Likewise.
28948         (__mul): Use 0.0 instead of zero.d.
28950 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
28952         [BZ #14994]
28953         * math/s_casinh.c (__casinh): Reduce finite argument to first
28954         quadrant then set signs of results at the end.
28955         * math/s_casinhf.c (__casinhf): Likewise.
28956         * math/s_casinhl.c (__casinhl): Likewise.
28957         * math/libm-test.inc (casin_test): Add more tests.
28958         (casinh_test): Likewise.
28959         * sysdeps/i386/fpu/libm-test-ulps: Update.
28960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28962 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28964         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28966         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28968         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28969         declarations.
28970         (denorm): Likewise.
28971         (__mp_dbl): Likewise.
28972         (__inv): Likewise.
28974         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28975         and adjust the header comment.
28977         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28978         variable name from declaration.
28980 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
28982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28983         Initialize COMMON_CPUID_INDEX_7 element.
28984         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28985         (CPUID_RTM): Likewise.
28986         (HAS_RTM): Likewise.
28987         (COMMON_CPUID_INDEX_7): New enum.
28989 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
28991         [BZ #14981]
28992         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28993         size is zero, record memory as freed.
28995 2013-01-03  Andreas Jaeger  <aj@suse.de>
28997         * po/ia.po: Add new Interlingua translation.
28999 2012-01-03  Allan McRae  <allan@archlinux.org>
29001         * locale/programs/localedef.c: Fix description of '--posix' flag.
29003 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
29005         * NEWS: Update dates in second copyright notice.
29006         * README: Update copyright dates in example.
29007         * manual/libc.texinfo: Update copyright dates.
29008         * scripts/test-installation.pl: Update copyright date in --version
29009         output.
29011         * hurd/ctty-input.c: Fix copyright notice formatting.
29012         * hurd/ctty-output.c: Likewise.
29013         * hurd/dtable.c: Likewise.
29014         * hurd/hurd-raise.c: Likewise.
29015         * hurd/hurdprio.c: Likewise.
29016         * hurd/msgportdemux.c: Likewise.
29017         * misc/sys/file.h: Likewise.
29018         * misc/sys/ioctl.h: Likewise.
29019         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29020         * sysdeps/mach/hurd/chdir.c: Likewise.
29021         * sysdeps/mach/hurd/fchdir.c: Likewise.
29022         * sysdeps/mach/hurd/rename.c: Likewise.
29023         * sysdeps/mach/hurd/rmdir.c: Likewise.
29024         * sysdeps/mach/hurd/seekdir.c: Likewise.
29025         * sysdeps/mach/hurd/setsid.c: Likewise.
29026         * sysdeps/posix/wait3.c: Likewise.
29028         * All files with FSF copyright notices: Update copyright dates
29029         using scripts/update-copyrights.
29030         * intl/plural.c: Regenerated.
29031         * locale/programs/charmap-kw.h: Likewise.
29032         * locale/programs/locfile-kw.h: Likewise.
29034 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29036         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29037         four values.
29039         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29040         calculation loop and add branch prediction.
29042         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29043         check access beyond bounds of m1np.
29045         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29046         MPTWO.
29047         (__inv): Remove local variable MPTWO to use the global
29048         constant.
29049         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29050         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29051         variable MPTWO.
29052         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29053         MP3HALFS static const.
29055 2013-01-01  David S. Miller  <davem@davemloft.net>
29057         * po/ca.po: Update from translation team.
29059 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
29061         * scripts/update-copyrights: New file.
29062         * Makeconfig: Reformat copyright notice.
29063         * ctype/ctype.h: Likewise.
29064         * debug/swprintf_chk.c: Likewise.
29065         * elf/dl-cache.c: Likewise.
29066         * elf/dl-debug.c: Likewise.
29067         * elf/dl-object.c: Likewise.
29068         * grp/initgroups.c: Likewise.
29069         * hurd/Makefile: Likewise.
29070         * hurd/hurd/signal.h: Likewise.
29071         * hurd/hurdfault.c: Likewise.
29072         * hurd/hurdioctl.c: Likewise.
29073         * hurd/hurdlookup.c: Likewise.
29074         * hurd/intr-msg.c: Likewise.
29075         * iconv/gconv_open.c: Likewise.
29076         * libio/swprintf.c: Likewise.
29077         * locale/lc-ctype.c: Likewise.
29078         * locale/nl_langinfo.c: Likewise.
29079         * mach/Machrules: Likewise.
29080         * mach/Makefile: Likewise.
29081         * malloc/obstack.h: Likewise.
29082         * manual/Makefile: Likewise.
29083         * manual/tsort.awk: Likewise.
29084         * misc/bits/stab.def: Likewise.
29085         * nis/nis_print_group_entry.c: Likewise.
29086         * nis/nis_table.c: Likewise.
29087         * nis/nss_compat/compat-pwd.c: Likewise.
29088         * nis/nss_compat/compat-spwd.c: Likewise.
29089         * po/Makefile: Likewise.
29090         * posix/fnmatch.c: Likewise.
29091         * posix/regex.h: Likewise.
29092         * resolv/Makefile: Likewise.
29093         * resolv/nss_dns/dns-network.c: Likewise.
29094         * resolv/res_hconf.c: Likewise.
29095         * scripts/gen-sorted.awk: Likewise.
29096         * soft-fp/soft-fp.h: Likewise.
29097         * stdio-common/printf.h: Likewise.
29098         * stdlib/monetary.h: Likewise.
29099         * stdlib/random.c: Likewise.
29100         * stdlib/random_r.c: Likewise.
29101         * sysdeps/generic/Makefile: Likewise.
29102         * sysdeps/gnu/Makefile: Likewise.
29103         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29104         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29105         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29106         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29107         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29108         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29109         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29110         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29111         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29112         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29113         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29114         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29115         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29116         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29117         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29118         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29119         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29120         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29121         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29122         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29123         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29124         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29125         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29126         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29127         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29128         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29129         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29130         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29131         * sysdeps/mach/hurd/errnos.awk: Likewise.
29132         * sysdeps/mach/hurd/fork.c: Likewise.
29133         * sysdeps/mach/hurd/getcwd.c: Likewise.
29134         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29135         * sysdeps/mach/hurd/mmap.c: Likewise.
29136         * sysdeps/mach/hurd/utimes.c: Likewise.
29137         * sysdeps/mach/hurd/xmknod.c: Likewise.
29138         * sysdeps/posix/profil.c: Likewise.
29139         * sysdeps/posix/readdir_r.c: Likewise.
29140         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29141         * sysdeps/powerpc/bits/setjmp.h: Likewise.
29142         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29143         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29144         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29145         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29146         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29147         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29148         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29149         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29150         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29151         * sysdeps/pthread/lio_listio.c: Likewise.
29152         * sysdeps/sparc/dl-procinfo.h: Likewise.
29153         * sysdeps/unix/i386/sysdep.S: Likewise.
29154         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29155         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29156         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29157         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29159         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29160         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29161         * sysdeps/unix/sysv/linux/speed.c: Likewise.
29162         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29163         * sysdeps/wordsize-32/divdi3.c: Likewise.
29164         * time/sys/time.h: Likewise.
29165         * wcsmbs/Makefile: Likewise.
29167 2013-01-01  David S. Miller  <davem@davemloft.net>
29169         * po/fr.po: Update from translation team.
29171         * catgets/gencat.c: Update copyright year.
29172         * csu/version.c: Likewise.
29173         * debug/catchsegv.sh: Likewise.
29174         * debug/pcprofiledump.c: Likewise.
29175         * debug/xtrace.sh: Likewise.
29176         * elf/ldconfig.c: Likewise.
29177         * elf/ldd.bash.in: Likewise.
29178         * elf/pldd.c: Likewise.
29179         * elf/sotruss.ksh: Likewise.
29180         * elf/sprof.c: Likewise.
29181         * iconv/iconv_prog.c: Likewise.
29182         * iconv/iconvconfig.c: Likewise.
29183         * locale/programs/locale.c: Likewise.
29184         * locale/programs/localedef.c: Likewise.
29185         * login/programs/pt_chown.c: Likewise.
29186         * malloc/memusage.sh: Likewise.
29187         * malloc/memusagestat.c: Likewise.
29188         * malloc/mtrace.pl: Likewise.
29189         * nscd/nscd.c: Likewise.
29190         * nss/getent.c: Likewise.
29191         * nss/makedb.c: Likewise.
29192         * posix/getconf.c: Likewise.
29194 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29196         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29197         numbers.
29199 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
29201         * math/bits/mathcalls.h (modf): Use __nonnull.
29203 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29205         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29206         (split): Use macro CN instead of the bare value.
29207         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29208         could be used.
29209         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29210         instead of the bare value.
29211         (power1): Likewise.
29213 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29215         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29216         __ATAN_TWOM.
29217         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29219         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29220         their values.
29221         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29222         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29223         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29224         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29226 2012-12-28  Andreas Jaeger  <aj@suse.de>
29228         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
29229         values are from Linux 3.7.
29231         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29232         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
29234 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29236         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29237         TRUE case.
29239         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29240         (norm): Likewise.
29241         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29242         variables with preprocessor constants.
29243         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29244         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29245         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29247 2012-12-27  Bruno Haible  <bruno@clisp.org>
29249         [BZ #14317]
29250         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29251         only if needed.
29253 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29256         and use variable directly.
29257         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29259         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29260         MPONE.
29261         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29262         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29263         variable MPONE.
29264         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29265         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29266         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29267         include directive.  Remove local variable MPONE.
29268         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29269         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29270         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29272 2012-12-25  David S. Miller  <davem@davemloft.net>
29274         * version.h (RELEASE): Set to "development".
29275         (VERSION): Set to "2.17.90".
29276         * NEWS: Add 2.18 section.
29278 2012-12-21  David S. Miller  <davem@davemloft.net>
29280         * po/hr.po: Update from translation team.
29282 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29284         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29286 2012-12-19  Steve Ellcey  <sellcey@mips.com>
29288         * NEWS:  Mention new memcpy for MIPS.
29290 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29292         * manual/contrib.texi (Contributors): Spelling correction.
29294 2012-12-15  David S. Miller  <davem@davemloft.net>
29296         * po/ru.po: Update from translation team.
29298 2012-12-13  David S. Miller  <davem@davemloft.net>
29300         * NEWS: Mention IFUNC testsuite enhancements.
29302         * po/pl.po: Update from translation team.
29303         * po/bg.po: Likewise.
29305         * manual/contrib.texi (Contributors): Update entries for Hongjiu
29306         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
29308 2012-12-11  David S. Miller  <davem@davemloft.net>
29310         * po/sv.po: Update from translation team.
29312         * po/vi.po: Update from translation team.
29314         * po/cs.po: Update from translation team.
29316         * po/de.po: Update from translation team.
29317         * po/eo.po: Likewise.
29318         * po/nl.po: Likewise.
29320 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29322         [BZ #14246]
29323         * manual/argp.texi (Argp Helper Functions): Move node to follow
29324         Argp Parsing State.
29326         [BZ #14872]
29327         * manual/conf.texi (Limits on File System Capacity): Mention if
29328         terminating null is included in the max size.
29330 2012-12-10  Andreas Jaeger  <aj@suse.de>
29332         * po/cs.po: Update from translation team.
29334 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29336         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29337         void pointer and cast to uintptr_t.
29338         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29339         path.
29340         * sysdeps/s390/s390-64/memcpy.S: Likewise.
29341         * sysdeps/s390/s390-64/memset.S: Likewise.
29343 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
29345         [BZ #14833]
29346         * menual/message.texi (Message Translation): Fix typos.
29347         (Helper programs for gettext): Likewise.
29349 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
29351         [BZ #14898]
29352         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29353         Change to -1.
29355 2012-12-07  David S. Miller  <davem@davemloft.net>
29357         * po/libc.pot: Update.
29359 2012-12-07  Richard Henderson  <rth@redhat.com>
29361         [BZ #10114]
29362         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29363         normal/normal case to before the switch.
29364         (_FP_DIV): Likewise.
29366 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
29367             Mike Frysinger  <vapier@gentoo.org>
29369         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29370         check for __NR_fadvise64_64.
29372 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
29374         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29375         0, not just to plain "0" as a statement.
29376         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29377         with cw.
29379 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
29381         * NEWS: Use sourceware.org in Bugzilla URL.
29383 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29386         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29388         * stdio-common/tst-put-error.c (do_test): Add newline to the
29389         padded test to ensure flush.
29391 2012-12-05  Jeff Law  <law@redhat.com>
29393         * sunrpc/etc.rpc (fedfs_admin): Add entry.
29395 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
29397         * README: Don't refer to ports add-on as distributed separately.
29398         Mention AArch64 in list of systems supported in the ports add-on.
29400         * LICENSES: Add more non-FSF copyright and license notices.
29402         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29403         ((unused)).
29405         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29407         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29408         10000 as width of padded output.
29410 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29412         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29414         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29415         variable LX with __attribute__ ((unused)).
29416         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29417         Likewise.
29418         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29419         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29420         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29421         with __attribute__ ((unused)).
29423 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
29425         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29427 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29429         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29430         (CFLAGS-nldbl-acos.c): New variable.
29431         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29432         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29433         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29434         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29435         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29436         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29437         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29438         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29439         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29440         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29441         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29442         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29443         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29444         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29445         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29446         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29447         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29448         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29449         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29450         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29451         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29452         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29453         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29454         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29455         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29456         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29457         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29458         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29459         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29460         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29461         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29462         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29463         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29464         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29465         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29466         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29467         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29468         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29469         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29470         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29471         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29472         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29473         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29474         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29475         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29476         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29477         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29478         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29479         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29480         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29481         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29482         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29483         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29484         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29485         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29486         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29487         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29488         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29489         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29490         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29491         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29492         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29493         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29494         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29495         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29496         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29497         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29498         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29499         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29500         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29501         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29502         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29503         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29504         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29505         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29506         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29507         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29508         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29509         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29510         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29511         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29512         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29513         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29514         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29515         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29516         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29517         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29518         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29519         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29520         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29521         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29522         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29523         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29524         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29525         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29526         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29527         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29530         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29532         [BZ #14914]
29533         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29534         whole low double instead of just low 47 bits when splitting values
29535         into two parts.
29537 2012-12-03  Allan McRae  <allan@archlinux.org>
29539         * manual/stdio.texi (Predefined Printf Handlers): Remove
29540         @hsep and @vsep usage.
29542 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
29544         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29545         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29547 2012-12-03  Jeff Law  <law@redhat.com>
29549         * time/sys/time.h (settimeofday): Do not mark TV argument
29550         as __nonnull.
29552 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
29554         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29555         when currently writing and seek to current position when not.
29556         * libio/Makefile (tests): Remove bug-fclose1.
29557         * libio/bug-fclose1.c: Delete.
29559 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
29561         * manual/arith.texi (feenableexcept): Fix typo.
29562         (fedisableexcept): Likewise.
29564 2012-11-30  Roland McGrath  <roland@hack.frob.com>
29566         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29567         second, differently-typed declaration, rather than a cast.
29569 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29571         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29572         * include/rpc/svc.h: ... here.
29574 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
29576         [BZ #13013]
29577         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29578         depending n and resplen2 to catch cases where answer
29579         equals answerp2.
29581 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
29583         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29584         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29586 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
29588         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29590 2012-11-29  Roland McGrath  <roland@hack.frob.com>
29592         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29594 2012-11-28  Jeff Law  <law@redhat.com>
29596         [BZ #13761]
29597         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29598         dataset_temporary.  Track alloca usage into alloca_used.
29599         If dataset is large allocate and release it via malloc/free.
29601 2012-06-04  Florian Weimer  <fweimer@redhat.com>
29603         [BZ #14197]
29604         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29606 2012-11-28  David S. Miller  <davem@davemloft.net>
29608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29610 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29612         [BZ #14803]
29613         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29614         of pi/2 rounded to nearest to 64 bits.
29615         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29616         nearest to 64 bits.
29617         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29618         bits.
29620 2012-11-28  Jeff Law <law@redhat.com>
29621             Martin Osvald <mosvald@redhat.com>
29623         [BZ #14889]
29624         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29625         * sunrpc/svc.c: Include time.h.
29626         (__svc_accept_failed): New function.
29627         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29628         any reason other than EINTR, call __svc_accept_failed.
29629         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29630         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29632 2012-11-28  Andreas Schwab  <schwab@suse.de>
29634         * scripts/abilist.awk: Also handle indirect functions in .opd
29635         section.
29637 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29639         [BZ #13881]
29640         * sysdeps/x86/fpu/powl_helper.c: New file.
29641         * sysdeps/x86/fpu/Makefile: Likewise.
29642         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29643         (p3): New object.
29644         (__ieee754_powl): Use __powl_helper for finite arguments except
29645         integer exponents below 8.
29646         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29647         (p3): New object.
29648         (__ieee754_powl): Use __powl_helper for finite arguments except
29649         integer exponents below 8.
29650         * math/libm-test.inc (pow_test): Add more tests and enable some
29651         previously disabled tests.
29652         * sysdeps/i386/fpu/libm-test-ulps: Update.
29653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29655 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29656             Carlos O'Donell  <carlos_odonell@mentor.com>
29658         * nss/makedb.c (is_prime): Assert that input is odd and greater
29659         than 4.  Note that fact in a comment too.
29660         (next_prime): Add 4 to input.
29662 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29664         [BZ #11741]
29665         * libio/Makefile (tests): Add test case tst-fwrite-error.
29666         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29667         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29668         * libio/tst-fwrite-error.c: New test case.
29670 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
29672         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29673         before casting to void *.
29674         * include/libc-internal.h (__pointer_type): New macro.
29675         (__integer_if_pointer_type_sub): Likewise.
29676         (__integer_if_pointer_type): Likewise.
29677         (cast_to_integer): Likewise.
29678         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29679         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29680         before casting to atomic64_t.
29681         (atomic_exchange_acq): Likewise.
29682         (__arch_exchange_and_add_body): Likewise.
29683         (__arch_add_body): Likewise.
29684         (atomic_add_negative): Likewise.
29685         (atomic_add_zero): Likewise.
29687 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
29689         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29690         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29691         (add_fdes): Likewise.
29692         (linear_search_fdes): Likewise.
29693         (binary_search_unencoded_fdes): Likewise.
29695 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
29697         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29699 2012-11-24  Adam Conrad  <adconrad@0c3.net>
29701         * configure.in: Autodetect C++ header directories.
29702         * configure: Regenerated.
29704 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
29706         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29708 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
29710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29712 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
29714         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29715         LDBL_MANT_DIG == 106]: Disable some tests.
29716         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29717         Likewise.
29718         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29719         Likewise.
29721         [BZ #14871]
29722         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29723         input for small inputs.  Return +/- pi/2 for large inputs.
29724         * math/libm-test.inc (atan_test): Add more tests.
29726         * sysdeps/generic/unwind-dw2-fde-glibc.c
29727         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29728         __attribute__ ((unused)).
29730         [BZ #14645]
29731         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29732         x * y if x and y are nonzero and z is zero.
29734         [BZ #14811]
29735         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29736         nonzero exponents with absolute value below 0x1p-117 to +/-
29737         0x1p-117.
29739         [BZ #14869]
29740         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29741         up arguments below 2**-450, not just those below 2**-500.
29742         * math/libm-test.inc (hypot_test): Add another test.
29744         [BZ #14868]
29745         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29746         Return a+b for ratio over 2**120, not 2**60.
29747         * math/libm-test.inc (hypot_test): Add another test.
29749         * math/libm-test.inc (clog_test): Use
29750         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29751         (clog10_test): Likewise.
29753         [BZ #6778]
29754         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29756 2012-11-22  Andreas Schwab  <schwab@suse.de>
29758         * sysdeps/i386/fpu/libm-test-ulps: Update.
29760 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29762         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29763         printf output with newline.
29765 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29767         [BZ #14865]
29768         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29769         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29770         -z nodlopen, -z initfirst and -z execstack support.
29771         * configure: Regenerated.
29773         * elf/elf.h (DF_1_NODIRECT): New macro.
29774         (DF_1_IGNMULDEF): Likewise.
29775         (DF_1_NOKSYMS): Likewise.
29776         (DF_1_NOHDR): Likewise.
29777         (DF_1_EDITED): Likewise.
29778         (DF_1_NORELOC): Likewise.
29779         (DF_1_SYMINTPOSE): Likewise.
29780         (DF_1_GLOBAUDIT): Likewise.
29781         (DF_1_SINGLETON): Likewise.
29782         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29783         DT_1_SUPPORTED_MASK bits.
29784         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29786 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29788         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29790 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29792         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29793         macro.
29795         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29796         (sendmmsg): Move declarations...
29797         * socket/sys/socket.h: ... here.
29798         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29799         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29800         include it from...
29801         * socket/recvmmsg.c: ... this new file.
29802         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29803         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29804         definition of __sendmmsg hidden.
29805         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29806         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29807         Move ENOSYS stub into and include it from...
29808         * socket/sendmmsg.c: ... this new file.
29809         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29810         (sysdep_routines): Move recvmmsg and sendmmsg...
29811         * socket/Makefile (routines): ... here.
29812         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29813         (GLIBC_PRIVATE): Add __sendmmsg.
29814         * include/sys/socket.h (__sendmmsg): Add declarations.
29815         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29816         sendmmsg.
29818 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29820         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29821         variable I1 with __attribute__ ((unused)).
29822         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29824 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29826         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29827         DUMMY variables with __attribute__ ((unused)).
29829         * bits/byteswap.h: Include <bits/types.h>.
29830         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29832 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29834         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29835         string_t.  Do not manually set errno.
29836         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29837         length with __strnlen.  Make sure to both set errno and return it on
29838         failure.
29840 2012-11-19  David S. Miller  <davem@davemloft.net>
29842         With help from Joseph Myers.
29843         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29844         very large arguments properly.
29845         * math/libm-test.inc (atan_test): New tests.
29846         (atan2_test): New tests.
29847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29850 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29852         [BZ #14856]
29853         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29854         Define to 3.
29856         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29857         [POSIX] (EADDRNOTAVAIL): Likewise.
29858         [POSIX] (EAFNOSUPPORT): Likewise.
29859         [POSIX] (EALREADY): Likewise.
29860         [POSIX] (ECONNABORTED): Likewise.
29861         [POSIX] (ECONNREFUSED): Likewise.
29862         [POSIX] (ECONNRESET): Likewise.
29863         [POSIX] (EDESTADDRREQ): Likewise.
29864         [POSIX] (EDQUOT): Likewise.
29865         [POSIX] (EHOSTUNREACH): Likewise.
29866         [POSIX] (EIDRM): Likewise.
29867         [POSIX] (EISCONN): Likewise.
29868         [POSIX] (ELOOP): Likewise.
29869         [POSIX] (EMULTIHOP): Likewise.
29870         [POSIX] (ENETDOWN): Likewise.
29871         [POSIX] (ENETUNREACH): Likewise.
29872         [POSIX] (ENOBUFS): Likewise.
29873         [POSIX] (ENODATA): Likewise.
29874         [POSIX] (ENOLINK): Likewise.
29875         [POSIX] (ENOMSG): Likewise.
29876         [POSIX] (ENOPROTOOPT): Likewise.
29877         [POSIX] (ENOSR): Likewise.
29878         [POSIX] (ENOSTR): Likewise.
29879         [POSIX] (ENOTCONN): Likewise.
29880         [POSIX] (ENOTSOCK): Likewise.
29881         [POSIX] (EOPNOTSUPP): Likewise.
29882         [POSIX] (EOVERFLOW): Likewise.
29883         [POSIX] (EPROTO): Likewise.
29884         [POSIX] (EPROTONOSUPPORT): Likewise.
29885         [POSIX] (EPROTOTYPE): Likewise.
29886         [POSIX] (ESTALE): Likewise.
29887         [POSIX] (ETIME): Likewise.
29888         [POSIX] (ETXTBSY): Likewise.
29889         [POSIX] (EWOULDBLOCK): Likewise.
29890         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29891         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29892         [POSIX] (SEEK_CUR): Likewise.
29893         [POSIX] (SEEK_END): Likewise.
29894         [POSIX || UNIX98] (mode_t): Do not require.
29895         [POSIX] (off_t): Likewise.
29896         [POSIX] (pid_t): Likewise.
29897         [POSIX] (sys/stat.h): Do not allow header.
29898         [POSIX] (unistd.h): Likewise.
29899         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29900         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29901         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29902         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29903         require.
29904         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29905         sigevent): Specify elements.
29906         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29907         entry.
29908         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29909         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29911         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29912         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29913         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29914         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29915         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29916         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29917         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29918         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29919         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29920         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29921         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29922         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29923         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29924         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29925         Likewise.
29926         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29927         Likewise.
29928         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29929         Likewise.
29930         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29931         Likewise.
29932         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29933         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29934         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29935         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29936         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29937         Specify lower bound on value.
29938         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29939         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29940         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29941         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29942         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29943         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29944         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29945         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29946         value.
29947         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29948         as optional.
29949         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29950         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29951         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29952         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29953         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29954         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29955         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29956         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29957         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29958         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29959         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29960         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29961         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29962         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29963         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29964         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29965         entry.
29966         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29967         optional.
29968         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29969         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29970         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29971         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29972         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29973         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29974         Likewise.
29975         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29976         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29977         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29978         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29979         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
29980         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29981         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29982         as optional.
29983         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29984         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29985         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29986         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29987         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29988         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29989         specify as optional.
29990         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29991         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29992         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29993         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29994         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29995         [XPG3] (NL_LANGMAX): Likewise.
29996         [POSIX || XPG3] (NL_MSGMAX): Likewise.
29997         [POSIX || XPG3] (NL_NMAX): Likewise.
29998         [POSIX || XPG3] (NL_SETMAX): Likewise.
29999         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30000         [XPG3] (NZERO): Likewise.
30001         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30002         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30003         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30004         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30005         (REG_ERANGE): Expect.
30006         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30007         optional-constant.
30008         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30009         Use (void) in prototype.
30010         [POSIX] (*_t): Allow.
30011         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30012         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30013         (WRDE_BADVAL): Expect.
30015         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30016         expect.
30017         [XPG3 || XPG4] (O_RSYNC): Likewise.
30018         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30019         Likewise.
30020         [XPG3 || XPG4] (pthread_sigmask): Likewise.
30021         [XPG3 || XPG4] (sigqueue): Likewise.
30022         [XPG3 || XPG4] (sigtimedwait): Likewise.
30023         [XPG3 || XPG4] (sigwaitinfo): Likewise.
30024         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30025         [XPG3 || XPG4] (vsnprintf): Likewise.
30026         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30027         Likewise.
30028         [XPG3 || XPG4] (blksize_t): Likewise.
30029         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30030         Likewise.
30031         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30032         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30033         [XPG3 || XPG4] (struct itimerspec): Likewise.
30034         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30035         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30036         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30037         [XPG3 || XPG4] (clockid_t): Likewise.
30038         [XPG3 || XPG4] (timer_t): Likewise.
30039         [XPG3 || XPG4] (clock_getres): Likewise.
30040         [XPG3 || XPG4] (clock_gettime): Likewise.
30041         [XPG3 || XPG4] (clock_settime): Likewise.
30042         [XPG3 || XPG4] (nanosleep): Likewise.
30043         [XPG3 || XPG4] (timer_create): Likewise.
30044         [XPG3 || XPG4] (timer_delete): Likewise.
30045         [XPG3 || XPG4] (timer_gettime): Likewise.
30046         [XPG3 || XPG4] (timer_getoverrun): Likewise.
30047         [XPG3 || XPG4] (timer_settime): Likewise.
30048         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30049         [XPG3 || XPG4] (getlogin_r): Likewise.
30050         [XPG3 || XPG4] (pread): Likewise.
30051         [XPG3 || XPG4] (pthread_atfork): Likewise.
30052         [XPG3 || XPG4] (pwrite): Likewise.
30054         [BZ #14835]
30055         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30056         <bits/siginfo.h>.
30058 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30060         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30061         finalizing MALLSTREAM.
30063         * sysdeps/mach/hurd/syncfs.c: New file.
30065 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30067         [BZ #14719]
30068         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30069         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30070         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30071         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30072         (_nss_dns_gethostbyname4_r): Likewise.
30073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30074         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30076 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
30078         [BZ #13763]
30079         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30081 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
30083         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30084         * elf/cache.c (print_entry): Print ",AArch64" for
30085         FLAG_AARCH64_LIB64
30087         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30088         * elf/cache.c (print_entry): Print ",hard-float" for
30089         FLAG_ARM_LIBHF.
30091 2012-11-18  David S. Miller  <davem@davemloft.net>
30093         With help from Joseph Myers.
30094         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30095         cutoff to 2**-13.
30096         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30097         cutoff to 2**-25.
30098         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30099         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30100         small.
30101         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30102         * math/libm-test.inc (y0_test): New tests.
30103         (y1_test): New tests.
30104         * sysdeps/i386/fpu/libm-test-ulps: Update.
30105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30108 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
30110         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30111         64-bit targets.
30112         * configure: Regenerated.
30114 2012-11-17  David S. Miller  <davem@davemloft.net>
30116         [BZ #14811]
30117         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30118         nonzero exponents with absolute value below 0x1p-128 to +/-
30119         0x1p-128.
30121 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
30123         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30125         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30127         * posix/getconf-speclist.c: New file.
30128         * posix/posix-envs.def: Likewise.
30129         * posix/confstr.c (START_ENV_GROUP): New macro.
30130         (END_ENV_GROUP): Likewise.
30131         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30132         (KNOWN_PRESENT_ENV_STRING): Likewise.
30133         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30134         (UNKNOWN_ENVIRONMENT): Likewise.
30135         (confstr): Include posix-envs.def instead of handling
30136         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30137         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30138         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30139         (END_ENV_GROUP): Likewise.
30140         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30141         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30142         (UNKNOWN_ENVIRONMENT): Likewise.
30143         (__sysconf): Include posix-envs.def instead of handling associated
30144         cases directly here.
30145         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30146         preprocessing getconf-speclist.c rather than running getconf or
30147         generating empty file.
30149 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
30151         * scripts/check-local-headers.sh: Ignore 'mach' headers.
30153 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
30155         [BZ #14672]
30156         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30158 2012-11-16  David S. Miller  <davem@davemloft.net>
30160         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30161         smaller than LDBL_EPSILON/2.0L, just return xm1.
30163 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
30165         * elf/tst-array1.c (init): Set constructor priority to 1000.
30166         (fini): Set destructor priority to 1000.
30167         * elf/tst-array2dep.c: Likewise.
30169 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30171         [BZ #11741]
30172         * libio/fileops.c (_IO_new_file_write): Correctly return error.
30173         (_IO_new_file_xsputn): Also return EOF if none of the input
30174         data was written when overflow failed.
30175         * libio/iopadn.c (_IO_padn): Likewise.
30176         * libio/iowpadn.c (_IO_wpadn): Likewise.
30177         * stdio-common/tst-put-error.c: Add copyright notice.
30178         (do_test): Add case for printing padded string.
30179         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30180         _IO_padn returned error.
30181         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30182         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30183         return EOF.
30185 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30187         * libio/libioP.h: Add comment note that the references to C++
30188         bits are now obsolete.
30190 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30192         * math/libm-test.inc (check_complex): Use asprintf.
30194 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
30196         * debug/pcprofiledump.c (print_version): Update copyright year.
30197         * malloc/memusagestat.c (print_version): Likewise.
30199 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
30201         [BZ #14831]
30202         * elf/Makefile (tests): Add tst-audit8.
30203         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30204         ($(objpfx)tst-audit8.out): New target.
30205         (tst-audit8-ENV): New variable.
30206         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30207         audit if l_reloc_result is NULL.
30208         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30209         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30210         * elf/tst-audit8.c: New file.
30212 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30214         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30215         * misc/Makefile (CFLAGS-select.c): Define.
30216         * posix/Makefile (CFLAGS-pause.c): Define.
30218 2012-11-13  David S. Miller  <davem@davemloft.net>
30220         * crypt/Makefile: Move test targets after toplevel Rules
30221         inclusion.  Grab any necessary sysdep routines when linking.
30222         * crypt/md5.c (md5_process_block): Remove define, we will always
30223         name it __md5_process_block.
30224         (md5_finish_ctx): Update md5_process_block call.
30225         (md5_stream): Likewise.
30226         (md5_process_bytes): Likewise.
30227         (md5_process_block): Rename to __md5_process_block and move to ...
30228         * crypt/md5-block.c: ... here.
30229         * crypt/sha256.c (sha256_process_block): Move to ...
30230         * crypt/sha256-block.c: ... here.
30231         * crypt/sha512.c (sha512_process_block): Move to ...
30232         * crypt/sha512-block.c: ... here.
30233         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30234         path.
30235         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30236         * sysdeps/sparc/sparc64/multiarch/Makefile
30237         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30238         crypt subdir.
30239         (localedef-aux): Add md5 crypto assembler when in locale subdir.
30240         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30241         multiarch changes.
30242         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30243         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30244         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30245         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30246         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30247         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30248         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30249         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30250         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30251         file.
30252         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30253         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30254         file.
30255         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30257 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
30259         * timezone/tzselect.ksh: Update from tzcode git revision
30260         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30261         * timezone/zdump.c: Likewise.
30262         * timezone/zic.c: Likewise.
30263         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30264         in TZVERSION setting, not $(PKGVERSION).
30265         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
30266         REPORT_BUGS_TO settings.
30268         [BZ #14838]
30269         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30270         macro.
30272 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30274         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30275         detection to immediately after _FP_ROUND().
30276         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30277         bits are 0.
30279 2012-11-11  David S. Miller  <davem@davemloft.net>
30281         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30282         inttypes.h
30283         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30284         __close rather than their public counterparts.
30286 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
30288         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30289         file.
30290         [UNIX98] (sem_timedwait): Do not expect.
30291         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30292         [XPG4 || UNIX98] (sockatmark): Do not expect.
30293         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30294         (clock_getcpuclockid): Do not expect.
30295         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30296         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30297         Do not expect.
30298         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30299         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30300         [UNIX98] (vwscanf): Likewise.
30301         [UNIX98] (vswscanf): Likewise.
30303 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
30305         * timezone/version.h: Remove file.
30306         * timezone/README: Do not refer to version.h.
30307         * timezone/Makefile ($(objpfx)zic.o): New dependency on
30308         $(objpfx)version.h.
30309         ($(objpfx)zdump.o): Likewise.
30310         ($(objpfx)version.h): New target.
30312         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30313         2012i.
30314         * timezone/README: Don't mention modification to tzselect.ksh.
30315         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30316         work on unmodified tzselect.ksh.  Substitute version numbers in
30317         tzselect.ksh.
30319         * Makefile (format-me): Remove.
30320         (INSTALL): Adjust indentation.  Use commands directly instead of
30321         using $(format-me).
30323         * aclocal.m4 (ACX_PKGVERSION): New macro.
30324         (ACX_BUGURL): Likewise.
30325         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30326         (PKGVERSION): New AC_DEFINE_UNQUOTED.
30327         (REPORT_BUGS_TO): Likewise.
30328         * configure: Regenerated.
30329         * config.h.in (PKGVERSION): New macro.
30330         (REPORT_BUGS_TO): Likewise.
30331         * config.make.in (PKGVERSION): New variable.
30332         (PKGVERSION_TEXI): Likewise.
30333         (REPORT_BUGS_TO): Likewise.
30334         (REPORT_BUGS_TEXI): Likewise.
30335         * Makefile (format-me): Use -I$(common-objpfx)manual.
30336         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30337         ($(common-objpfx)manual/%): New target.
30338         (manual/%): Remove target.
30339         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30340         (print_version): Use PKGVERSION.
30341         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30342         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30343         and REPORT_BUGS_TO.
30344         ($(objpfx)xtrace): Likewise.
30345         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30346         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30347         (print_version): Use PKGVERSION.
30348         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30349         (do_version): Use PKGVERSION.
30350         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30351         REPORT_BUGS_TO.
30352         (common-ldd-rewrite): Likewise.
30353         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30354         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30355         (print_version): Use PKGVERSION.
30356         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30357         * elf/pldd.c (argp_program_bug_address): Remove variable.
30358         (more_help): New function.
30359         (argp): Use more_help.
30360         (print_version): Use PKGVERSION.
30361         * elf/sln.c (main): Use PKGVERSION.
30362         (usage): Use REPORT_BUGS_TO.
30363         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30364         (top level): Use PKGVERSION.
30365         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30366         (print_version): Use PKGVERSION.
30367         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30368         (print_version): Use PKGVERSION.
30369         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30370         (print_version): Use PKGVERSION.
30371         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30372         (print_version): Use PKGVERSION.
30373         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30374         (print_version): Use PKGVERSION.
30375         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30376         (print_version): Use PKGVERSION.
30377         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30378         and BUGURL.
30379         ($(objpfx)memusage): Likewise.
30380         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30381         (do_version): Use PKGVERSION.
30382         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30383         (print_version): Use PKGVERSION.
30384         * malloc/mtrace.pl ($PACKAGE): Remove variable.
30385         ($PKGVERSION): New variable.
30386         ($REPORT_BUGS_TO): Likewise.
30387         (usage): Use $REPORT_BUGS_TO.
30388         (top level): Use $PKGVERSION.
30389         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30390         ($(objpfx)pkgvers.texi): New rule.
30391         ($(objpfx)stamp-pkgvers): Likewise.
30392         * manual/install.texi: Include pkgvers.texi.
30393         (--with-pkgversion): Document new configure option.
30394         (--with-bugurl): Likewise.
30395         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30396         than necessarily for this particular distribution.  Use
30397         REPORT_BUGS_TO for where to report bugs.
30398         * INSTALL: Regenerated.
30399         * manual/libc.texinfo: Include pkgvers.texi.
30400         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30401         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30402         (print_version): Use PKGVERSION.
30403         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30404         (print_version): Use PKGVERSION.
30405         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30406         (print_version): Use PKGVERSION.
30407         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30408         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30409         macro.
30410         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30411         (print_version): Use PKGVERSION.
30412         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30413         (print_version): Use PKGVERSION.
30414         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30415         and PKGVERSION.
30417         * timezone/checktab.awk: Update from tzcode 2012i.
30418         * timezone/ialloc.c: Likewise.
30419         * timezone/private.h: Likewise.
30420         * timezone/scheck.c: Likewise.
30421         * timezone/tzfile.h: Likewise.
30422         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30423         (TZVERSION): Hardcode tzcode version number.
30424         * timezone/zdump.c: Update from tzcode 2012i.
30425         * timezone/zic.c: Likewise.
30426         * timezone/version.h: New file.
30427         * timezone/README: Describe version.h.  Update upstream location.
30429         [BZ #14824]
30430         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30431         (mktemp): Enable declaration.
30432         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30433         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30434         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30435         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30436         Likewise.
30437         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30438         Likewise.
30439         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30440         Likewise.
30441         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30442         Likewise.
30443         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30444         Likewise.
30445         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30446         Likewise.
30448         [BZ #14821]
30449         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30450         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
30451         for copies of such integer values.
30452         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30453         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30455 2012-11-09  Andreas Jaeger  <aj@suse.de>
30457         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30458         definitions and declarations that are provided by
30459         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30461 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30463         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30464         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30465         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30466         definition.
30468 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30470         * elf/elf.h: Update comment before AArch64 relocations.
30472 2012-11-07  David S. Miller  <davem@davemloft.net>
30474         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30475         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30476         (__start_context): Declare.
30477         (__makecontext_ret): Delete.
30478         (__makecontext): Hook up __start_context instead of
30479         __makecontext_ret.
30480         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30481         (sysdep_routines): Add __start_context when in stdlib.
30483 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30485         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30486         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30487         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
30488         hardcoded "nm".
30489         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
30490         (READELF): New variable.  Use it instead of hardcoded "readelf".
30492 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30494         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30495         * sysdeps/x86/Makefile: Here.
30496         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30497         * sysdeps/x86/tst-xmmymm.sh: This.
30499 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30501         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30502         expectations.
30503         [UNIX98] (pthread_barrier_t): Do not expect.
30504         [UNIX98] (pthread_barrierattr_t): Likewise.
30505         [UNIX98] (pthread_spinlock_t): Likewise.
30506         [UNIX98] (pthread_barrier_destroy): Likewise.
30507         [UNIX98] (pthread_barrier_init): Likewise.
30508         [UNIX98] (pthread_barrier_wait): Likewise.
30509         [UNIX98] (pthread_barrierattr_destroy): Likewise.
30510         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30511         [UNIX98] (pthread_barrierattr_init): Likewise.
30512         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30513         [UNIX98] (pthread_getcpuclockid): Likewise.
30514         [UNIX98] (pthread_mutex_timedlock): Likewise.
30515         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30516         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30517         [UNIX98] (pthread_sigmask): Likewise.
30518         [UNIX98] (pthread_spin_destroy): Likewise.
30519         [UNIX98] (pthread_spin_init): Likewise.
30520         [UNIX98] (pthread_spin_lock): Likewise.
30521         [UNIX98] (pthread_spin_trylock): Likewise.
30522         [UNIX98] (pthread_spin_unlock): Likewise.
30523         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30524         Do not expect.
30525         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30526         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30527         [XPG3 || XPG4] (pthread_cond_t): Likewise.
30528         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30529         [XPG3 || XPG4] (pthread_key_t): Likewise.
30530         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30531         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30532         [XPG3 || XPG4] (pthread_once_t): Likewise.
30533         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30534         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30535         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30536         [XPG3 || XPG4] (pthread_t): Likewise.
30538         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30539         not expect.
30540         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30542         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30543         Change function return type to int.
30545         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30546         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30547         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30548         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30549         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30550         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30551         [!POSIX] (posix_madvise): Likewise.
30552         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30553         && !UNIX98].
30554         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30555         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30556         (mode_t): Likewise.
30557         (posix_mem_offset): Likewise.
30558         (posix_typed_mem_get_info): Likewise.
30559         (posix_typed_mem_open): Likewise.
30561         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30562         Change condition to [XOPEN2K8].
30564         * conform/conformtest.pl: Preprocess allow-header data with -x c
30565         instead of from stdin.
30566         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30567         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30568         [C99-based standards] (cerfc): Likewise.
30569         [C99-based standards] (cexp2): Likewise.
30570         [C99-based standards] (cexpm1): Likewise.
30571         [C99-based standards] (clog10): Likewise.
30572         [C99-based standards] (clog1p): Likewise.
30573         [C99-based standards] (clog2): Likewise.
30574         [C99-based standards] (clgamma): Likewise.
30575         [C99-based standards] (ctgamma): Likewise.
30576         [C99-based standards] (cerff): Likewise.
30577         [C99-based standards] (cerfcf): Likewise.
30578         [C99-based standards] (cexp2f): Likewise.
30579         [C99-based standards] (cexpm1f): Likewise.
30580         [C99-based standards] (clog10f): Likewise.
30581         [C99-based standards] (clog1pf): Likewise.
30582         [C99-based standards] (clog2f): Likewise.
30583         [C99-based standards] (clgammaf): Likewise.
30584         [C99-based standards] (ctgammaf): Likewise.
30585         [C99-based standards] (cerfl): Likewise.
30586         [C99-based standards] (cerfcl): Likewise.
30587         [C99-based standards] (cexp2l): Likewise.
30588         [C99-based standards] (cexpm1l): Likewise.
30589         [C99-based standards] (clog10l): Likewise.
30590         [C99-based standards] (clog1pl): Likewise.
30591         [C99-based standards] (clog2l): Likewise.
30592         [C99-based standards] (clgammal): Likewise.
30593         [C99-based standards] (ctgammal): Likewise.
30594         * conform/data/inttypes.h-data [C99-based standards]: Include
30595         stdint.h-data.  Remove all expectations for stdint.h contents.
30596         [C99-based standards] (PRI*): Do not allow.
30597         [C99-based standards] (SCN*): Likewise.
30598         [C99-based standards] (*_t): Likewise.
30599         [C99-based-standards] (PRId8): Expect macro.
30600         [C99-based-standards] (PRIi8): Likewise.
30601         [C99-based-standards] (PRIo8): Likewise.
30602         [C99-based-standards] (PRIu8): Likewise.
30603         [C99-based-standards] (PRIx8): Likewise.
30604         [C99-based-standards] (PRIX8): Likewise.
30605         [C99-based-standards] (SCNd8): Likewise.
30606         [C99-based-standards] (SCNi8): Likewise.
30607         [C99-based-standards] (SCNo8): Likewise.
30608         [C99-based-standards] (SCNu8): Likewise.
30609         [C99-based-standards] (SCNx8): Likewise.
30610         [C99-based-standards] (PRIdLEAST8): Likewise.
30611         [C99-based-standards] (PRIiLEAST8): Likewise.
30612         [C99-based-standards] (PRIoLEAST8): Likewise.
30613         [C99-based-standards] (PRIuLEAST8): Likewise.
30614         [C99-based-standards] (PRIxLEAST8): Likewise.
30615         [C99-based-standards] (PRIXLEAST8): Likewise.
30616         [C99-based-standards] (SCNdLEAST8): Likewise.
30617         [C99-based-standards] (SCNiLEAST8): Likewise.
30618         [C99-based-standards] (SCNoLEAST8): Likewise.
30619         [C99-based-standards] (SCNuLEAST8): Likewise.
30620         [C99-based-standards] (SCNxLEAST8): Likewise.
30621         [C99-based-standards] (PRIdFAST8): Likewise.
30622         [C99-based-standards] (PRIiFAST8): Likewise.
30623         [C99-based-standards] (PRIoFAST8): Likewise.
30624         [C99-based-standards] (PRIuFAST8): Likewise.
30625         [C99-based-standards] (PRIxFAST8): Likewise.
30626         [C99-based-standards] (PRIXFAST8): Likewise.
30627         [C99-based-standards] (SCNdFAST8): Likewise.
30628         [C99-based-standards] (SCNiFAST8): Likewise.
30629         [C99-based-standards] (SCNoFAST8): Likewise.
30630         [C99-based-standards] (SCNuFAST8): Likewise.
30631         [C99-based-standards] (SCNxFAST8): Likewise.
30632         [C99-based-standards] (PRId16): Likewise.
30633         [C99-based-standards] (PRIi16): Likewise.
30634         [C99-based-standards] (PRIo16): Likewise.
30635         [C99-based-standards] (PRIu16): Likewise.
30636         [C99-based-standards] (PRIx16): Likewise.
30637         [C99-based-standards] (PRIX16): Likewise.
30638         [C99-based-standards] (SCNd16): Likewise.
30639         [C99-based-standards] (SCNi16): Likewise.
30640         [C99-based-standards] (SCNo16): Likewise.
30641         [C99-based-standards] (SCNu16): Likewise.
30642         [C99-based-standards] (SCNx16): Likewise.
30643         [C99-based-standards] (PRIdLEAST16): Likewise.
30644         [C99-based-standards] (PRIiLEAST16): Likewise.
30645         [C99-based-standards] (PRIoLEAST16): Likewise.
30646         [C99-based-standards] (PRIuLEAST16): Likewise.
30647         [C99-based-standards] (PRIxLEAST16): Likewise.
30648         [C99-based-standards] (PRIXLEAST16): Likewise.
30649         [C99-based-standards] (SCNdLEAST16): Likewise.
30650         [C99-based-standards] (SCNiLEAST16): Likewise.
30651         [C99-based-standards] (SCNoLEAST16): Likewise.
30652         [C99-based-standards] (SCNuLEAST16): Likewise.
30653         [C99-based-standards] (SCNxLEAST16): Likewise.
30654         [C99-based-standards] (PRIdFAST16): Likewise.
30655         [C99-based-standards] (PRIiFAST16): Likewise.
30656         [C99-based-standards] (PRIoFAST16): Likewise.
30657         [C99-based-standards] (PRIuFAST16): Likewise.
30658         [C99-based-standards] (PRIxFAST16): Likewise.
30659         [C99-based-standards] (PRIXFAST16): Likewise.
30660         [C99-based-standards] (SCNdFAST16): Likewise.
30661         [C99-based-standards] (SCNiFAST16): Likewise.
30662         [C99-based-standards] (SCNoFAST16): Likewise.
30663         [C99-based-standards] (SCNuFAST16): Likewise.
30664         [C99-based-standards] (SCNxFAST16): Likewise.
30665         [C99-based-standards] (PRId32): Likewise.
30666         [C99-based-standards] (PRIi32): Likewise.
30667         [C99-based-standards] (PRIo32): Likewise.
30668         [C99-based-standards] (PRIu32): Likewise.
30669         [C99-based-standards] (PRIx32): Likewise.
30670         [C99-based-standards] (PRIX32): Likewise.
30671         [C99-based-standards] (SCNd32): Likewise.
30672         [C99-based-standards] (SCNi32): Likewise.
30673         [C99-based-standards] (SCNo32): Likewise.
30674         [C99-based-standards] (SCNu32): Likewise.
30675         [C99-based-standards] (SCNx32): Likewise.
30676         [C99-based-standards] (PRIdLEAST32): Likewise.
30677         [C99-based-standards] (PRIiLEAST32): Likewise.
30678         [C99-based-standards] (PRIoLEAST32): Likewise.
30679         [C99-based-standards] (PRIuLEAST32): Likewise.
30680         [C99-based-standards] (PRIxLEAST32): Likewise.
30681         [C99-based-standards] (PRIXLEAST32): Likewise.
30682         [C99-based-standards] (SCNdLEAST32): Likewise.
30683         [C99-based-standards] (SCNiLEAST32): Likewise.
30684         [C99-based-standards] (SCNoLEAST32): Likewise.
30685         [C99-based-standards] (SCNuLEAST32): Likewise.
30686         [C99-based-standards] (SCNxLEAST32): Likewise.
30687         [C99-based-standards] (PRIdFAST32): Likewise.
30688         [C99-based-standards] (PRIiFAST32): Likewise.
30689         [C99-based-standards] (PRIoFAST32): Likewise.
30690         [C99-based-standards] (PRIuFAST32): Likewise.
30691         [C99-based-standards] (PRIxFAST32): Likewise.
30692         [C99-based-standards] (PRIXFAST32): Likewise.
30693         [C99-based-standards] (SCNdFAST32): Likewise.
30694         [C99-based-standards] (SCNiFAST32): Likewise.
30695         [C99-based-standards] (SCNoFAST32): Likewise.
30696         [C99-based-standards] (SCNuFAST32): Likewise.
30697         [C99-based-standards] (SCNxFAST32): Likewise.
30698         [C99-based-standards] (PRId64): Likewise.
30699         [C99-based-standards] (PRIi64): Likewise.
30700         [C99-based-standards] (PRIo64): Likewise.
30701         [C99-based-standards] (PRIu64): Likewise.
30702         [C99-based-standards] (PRIx64): Likewise.
30703         [C99-based-standards] (PRIX64): Likewise.
30704         [C99-based-standards] (SCNd64): Likewise.
30705         [C99-based-standards] (SCNi64): Likewise.
30706         [C99-based-standards] (SCNo64): Likewise.
30707         [C99-based-standards] (SCNu64): Likewise.
30708         [C99-based-standards] (SCNx64): Likewise.
30709         [C99-based-standards] (PRIdLEAST64): Likewise.
30710         [C99-based-standards] (PRIiLEAST64): Likewise.
30711         [C99-based-standards] (PRIoLEAST64): Likewise.
30712         [C99-based-standards] (PRIuLEAST64): Likewise.
30713         [C99-based-standards] (PRIxLEAST64): Likewise.
30714         [C99-based-standards] (PRIXLEAST64): Likewise.
30715         [C99-based-standards] (SCNdLEAST64): Likewise.
30716         [C99-based-standards] (SCNiLEAST64): Likewise.
30717         [C99-based-standards] (SCNoLEAST64): Likewise.
30718         [C99-based-standards] (SCNuLEAST64): Likewise.
30719         [C99-based-standards] (SCNxLEAST64): Likewise.
30720         [C99-based-standards] (PRIdFAST64): Likewise.
30721         [C99-based-standards] (PRIiFAST64): Likewise.
30722         [C99-based-standards] (PRIoFAST64): Likewise.
30723         [C99-based-standards] (PRIuFAST64): Likewise.
30724         [C99-based-standards] (PRIxFAST64): Likewise.
30725         [C99-based-standards] (PRIXFAST64): Likewise.
30726         [C99-based-standards] (SCNdFAST64): Likewise.
30727         [C99-based-standards] (SCNiFAST64): Likewise.
30728         [C99-based-standards] (SCNoFAST64): Likewise.
30729         [C99-based-standards] (SCNuFAST64): Likewise.
30730         [C99-based-standards] (SCNxFAST64): Likewise.
30731         [C99-based-standards] (PRIdMAX): Likewise.
30732         [C99-based-standards] (PRIiMAX): Likewise.
30733         [C99-based-standards] (PRIoMAX): Likewise.
30734         [C99-based-standards] (PRIuMAX): Likewise.
30735         [C99-based-standards] (PRIxMAX): Likewise.
30736         [C99-based-standards] (PRIXMAX): Likewise.
30737         [C99-based-standards] (SCNdMAX): Likewise.
30738         [C99-based-standards] (SCNiMAX): Likewise.
30739         [C99-based-standards] (SCNoMAX): Likewise.
30740         [C99-based-standards] (SCNuMAX): Likewise.
30741         [C99-based-standards] (SCNxMAX): Likewise.
30742         [C99-based-standards] (PRIdPTR): Likewise.
30743         [C99-based-standards] (PRIiPTR): Likewise.
30744         [C99-based-standards] (PRIoPTR): Likewise.
30745         [C99-based-standards] (PRIuPTR): Likewise.
30746         [C99-based-standards] (PRIxPTR): Likewise.
30747         [C99-based-standards] (PRIXPTR): Likewise.
30748         [C99-based-standards] (SCNdPTR): Likewise.
30749         [C99-based-standards] (SCNiPTR): Likewise.
30750         [C99-based-standards] (SCNoPTR): Likewise.
30751         [C99-based-standards] (SCNuPTR): Likewise.
30752         [C99-based-standards] (SCNxPTR): Likewise.
30753         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30754         allow.
30755         * conform/data/stdint.h-data: Update comments to clarify
30756         requirements.
30757         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30758         type.
30759         [C99-based standards] (INT8_MAX): Likewise.
30760         [C99-based standards] (INT16_MIN): Likewise.
30761         [C99-based standards] (INT16_MAX): Likewise.
30762         [C99-based standards] (INT32_MIN): Likewise.
30763         [C99-based standards] (INT32_MAX): Likewise.
30764         [C99-based standards] (INT64_MIN): Likewise.
30765         [C99-based standards] (INT64_MAX): Likewise.
30766         [C99-based standards] (UINT8_MAX): Likewise.
30767         [C99-based standards] (UINT16_MAX): Likewise.
30768         [C99-based standards] (UINT32_MAX): Likewise.
30769         [C99-based standards] (UINT64_MAX): Likewise.
30770         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30771         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30772         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30773         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30774         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30775         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30776         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30777         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30778         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30779         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30780         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30781         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30782         [C99-based standards] (INT_FAST8_MIN): Likewise.
30783         [C99-based standards] (INT_FAST8_MAX): Likewise.
30784         [C99-based standards] (INT_FAST16_MIN): Likewise.
30785         [C99-based standards] (INT_FAST16_MAX): Likewise.
30786         [C99-based standards] (INT_FAST32_MIN): Likewise.
30787         [C99-based standards] (INT_FAST32_MAX): Likewise.
30788         [C99-based standards] (INT_FAST64_MIN): Likewise.
30789         [C99-based standards] (INT_FAST64_MAX): Likewise.
30790         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30791         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30792         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30793         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30794         [C99-based standards] (INTPTR_MIN): Likewise.
30795         [C99-based standards] (INTPTR_MAX): Likewise.
30796         [C99-based standards] (UINTPTR_MAX): Likewise.
30797         [C99-based standards] (INTMAX_MIN): Likewise.
30798         [C99-based standards] (INTMAX_MAX): Likewise.
30799         [C99-based standards] (UINTMAX_MAX): Likewise.
30800         [C99-based standards] (PTRDIFF_MIN): Likewise.
30801         [C99-based standards] (PTRDIFF_MAX): Likewise.
30802         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30803         [C99-based standards] (SIZE_MAX): Likewise.
30804         [C99-based standards] (WCHAR_MAX): Likewise.
30805         [C99-based standards] (WINT_MAX): Likewise.
30806         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30807         constraint on value.
30808         [C99-based standards] (WCHAR_MIN): Likewise.
30809         [C99-based standards] (WINT_MIN): Likewise.
30810         [C99-based standards] (*_t): Allow.
30811         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30812         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30813         Include math.h-data and complex.h-data.  Remove all expectations
30814         of math.h and complex.h contents.
30815         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30816         at end of line.
30817         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30818         (struct tm): Expect tag.
30819         [C99-based-standards] (wcstof): Expect function.
30820         [C99-based-standards] (wcstold): Likewise.
30821         [C99-based-standards] (wcstoll): Likewise.
30822         [C99-based-standards] (wcstoull): Likewise.
30823         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30824         macro-int-constant.  Specify type.
30825         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30826         constraint on value.
30827         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30828         Specify type.
30829         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30830         Specify value.
30831         [ISO C standards]: Do not allow headers.
30832         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30833         wcs[abcdefghijklmnopqrstuvwxyz]*.
30834         [ISO C standards] (*_t): Do not allow.
30835         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30836         Expect function.
30837         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30838         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30839         Specify type.
30840         [ISO C standards]: Do not allow headers.
30841         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30842         is[abcdefghijklmnopqrstuvwxyz]*.
30843         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30844         to[abcdefghijklmnopqrstuvwxyz]*.
30845         [ISO C standards] (*_t): Do not allow.
30846         * conform/data/stdalign.h-data: New file.
30847         * conform/data/stdbool.h-data: Likewise.
30848         * conform/data/stdnoreturn.h-data: Likewise.
30850 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30852         [BZ #14815]
30853         * manual/filesys.texi (Directory Entries): Typo fix.
30854         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30856 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30858         * elf/elf.h (EM_AARCH64): New macro.
30859         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30860         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30861         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30862         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30863         (R_AARCH64_TLSDESC): Likewise.
30864         (NT_ARM_TLS): Likewise.
30865         (NT_ARM_HW_BREAK): Likewise.
30866         (NT_ARM_HW_WATCH): Likewise.
30868 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30870         [BZ #14811]
30871         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30872         (__ieee754_powl): Saturate nonzero exponents with absolute value
30873         below 0x1p-79 to +/- 0x1p-79.
30874         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30875         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30876         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30877         nonzero exponents with absolute value below 0x1p-32 to +/-
30878         0x1p-32.
30879         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30880         (__ieee754_powl): Saturate nonzero exponents with absolute value
30881         below 0x1p-79 to +/- 0x1p-79.
30882         * math/libm-test.inc (pow_test): Add more tests.
30884 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30886         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30887         _dl_s390_cap_flags with kernel. Increase string length.
30888         (_dl_s390_platforms): Add z196 and zEC12.
30890 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30892         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30893         Change XOPEN21K to XOPEN2K.
30895 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30897         * string/memmove.c: Use memcpy when possible.
30899 2012-11-06  Andreas Jaeger  <aj@suse.de>
30901         * po/eo.po: Update from translation team.
30903 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30905         [BZ #14793]
30906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30907         exponent and small x and y exponents, scale x or y up.  Increase
30908         by 2 the exponent used in scaling up.
30909         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30910         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30911         * math/libm-test.inc (fma_test): Add more tests.
30912         (fma_test_towardzero): Likewise.
30913         (fma_test_downward): Likewise.
30914         (fma_test_upward): Likewise.
30916 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
30918         [BZ #14805]
30919         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30920         fenv_t *.
30922         [BZ #14801]
30923         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30924         namespace for names of struct fields.
30925         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30926         fenv_t fields.
30927         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30928         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30930 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30932         [BZ #3665]
30933         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30935 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30937         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30938         PTR_DEMANGLE.
30940         [BZ #5246]
30941         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30942         PTR_DEMANGLE.
30944 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
30946         [BZ #14797]
30947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30948         definitely overflow as x * y not x * y + z.
30949         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30950         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30951         * math/libm-test.inc (fma_test): Add more tests.
30952         (fma_test_towardzero): Likewise.
30953         (fma_test_downward): Likewise.
30954         (fma_test_upward): Likewise.
30956 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30958         [BZ #157]
30960         * include/stub-tag.h: Remove file.
30961         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30962         '#include' of it.
30963         * manual/maint.texi (Porting): Don't reference it.
30964         * Makerules ($(objpfx)stubs): Likewise.
30965         * dirent/closedir.c: Don't include <stub-tag.h>.
30966         * dirent/dirfd.c: Likewise.
30967         * dirent/fdopendir.c: Likewise.
30968         * dirent/getdents.c: Likewise.
30969         * dirent/getdents64.c: Likewise.
30970         * dirent/opendir.c: Likewise.
30971         * dirent/readdir.c: Likewise.
30972         * dirent/readdir64.c: Likewise.
30973         * dirent/readdir64_r.c: Likewise.
30974         * dirent/readdir_r.c: Likewise.
30975         * dirent/rewinddir.c: Likewise.
30976         * dirent/seekdir.c: Likewise.
30977         * dirent/telldir.c: Likewise.
30978         * gmon/profil.c: Likewise.
30979         * grp/setgroups.c: Likewise.
30980         * inet/if_index.c: Likewise.
30981         * io/access.c: Likewise.
30982         * io/chdir.c: Likewise.
30983         * io/chmod.c: Likewise.
30984         * io/chown.c: Likewise.
30985         * io/close.c: Likewise.
30986         * io/dup.c: Likewise.
30987         * io/dup2.c: Likewise.
30988         * io/dup3.c: Likewise.
30989         * io/euidaccess.c: Likewise.
30990         * io/faccessat.c: Likewise.
30991         * io/fchdir.c: Likewise.
30992         * io/fchmod.c: Likewise.
30993         * io/fchmodat.c: Likewise.
30994         * io/fchown.c: Likewise.
30995         * io/fchownat.c: Likewise.
30996         * io/fcntl.c: Likewise.
30997         * io/flock.c: Likewise.
30998         * io/fstatfs.c: Likewise.
30999         * io/fstatfs64.c: Likewise.
31000         * io/fstatvfs.c: Likewise.
31001         * io/fstatvfs64.c: Likewise.
31002         * io/futimens.c: Likewise.
31003         * io/fxstat.c: Likewise.
31004         * io/fxstat64.c: Likewise.
31005         * io/fxstatat.c: Likewise.
31006         * io/fxstatat64.c: Likewise.
31007         * io/getcwd.c: Likewise.
31008         * io/isatty.c: Likewise.
31009         * io/lchmod.c: Likewise.
31010         * io/lchown.c: Likewise.
31011         * io/link.c: Likewise.
31012         * io/linkat.c: Likewise.
31013         * io/lseek.c: Likewise.
31014         * io/lseek64.c: Likewise.
31015         * io/lxstat64.c: Likewise.
31016         * io/mkdir.c: Likewise.
31017         * io/mkdirat.c: Likewise.
31018         * io/mkfifo.c: Likewise.
31019         * io/mkfifoat.c: Likewise.
31020         * io/open.c: Likewise.
31021         * io/open64.c: Likewise.
31022         * io/openat.c: Likewise.
31023         * io/openat64.c: Likewise.
31024         * io/pipe.c: Likewise.
31025         * io/pipe2.c: Likewise.
31026         * io/poll.c: Likewise.
31027         * io/posix_fadvise.c: Likewise.
31028         * io/posix_fadvise64.c: Likewise.
31029         * io/posix_fallocate.c: Likewise.
31030         * io/posix_fallocate64.c: Likewise.
31031         * io/read.c: Likewise.
31032         * io/readlink.c: Likewise.
31033         * io/readlinkat.c: Likewise.
31034         * io/rmdir.c: Likewise.
31035         * io/sendfile.c: Likewise.
31036         * io/sendfile64.c: Likewise.
31037         * io/statfs.c: Likewise.
31038         * io/statfs64.c: Likewise.
31039         * io/statvfs.c: Likewise.
31040         * io/statvfs64.c: Likewise.
31041         * io/symlink.c: Likewise.
31042         * io/symlinkat.c: Likewise.
31043         * io/ttyname.c: Likewise.
31044         * io/ttyname_r.c: Likewise.
31045         * io/umask.c: Likewise.
31046         * io/unlink.c: Likewise.
31047         * io/unlinkat.c: Likewise.
31048         * io/utime.c: Likewise.
31049         * io/utimensat.c: Likewise.
31050         * io/write.c: Likewise.
31051         * io/xmknod.c: Likewise.
31052         * io/xmknodat.c: Likewise.
31053         * io/xstat.c: Likewise.
31054         * io/xstat64.c: Likewise.
31055         * login/getpt.c: Likewise.
31056         * login/grantpt.c: Likewise.
31057         * login/unlockpt.c: Likewise.
31058         * math/e_acoshl.c: Likewise.
31059         * math/e_acosl.c: Likewise.
31060         * math/e_asinl.c: Likewise.
31061         * math/e_atan2l.c: Likewise.
31062         * math/e_atanhl.c: Likewise.
31063         * math/e_coshl.c: Likewise.
31064         * math/e_expl.c: Likewise.
31065         * math/e_fmodl.c: Likewise.
31066         * math/e_gammal_r.c: Likewise.
31067         * math/e_hypotl.c: Likewise.
31068         * math/e_j0l.c: Likewise.
31069         * math/e_j1l.c: Likewise.
31070         * math/e_jnl.c: Likewise.
31071         * math/e_lgammal_r.c: Likewise.
31072         * math/e_log10l.c: Likewise.
31073         * math/e_log2l.c: Likewise.
31074         * math/e_logl.c: Likewise.
31075         * math/e_powl.c: Likewise.
31076         * math/e_rem_pio2l.c: Likewise.
31077         * math/e_sinhl.c: Likewise.
31078         * math/e_sqrtl.c: Likewise.
31079         * math/fclrexcpt.c: Likewise.
31080         * math/fedisblxcpt.c: Likewise.
31081         * math/feenablxcpt.c: Likewise.
31082         * math/fegetenv.c: Likewise.
31083         * math/fegetexcept.c: Likewise.
31084         * math/fegetround.c: Likewise.
31085         * math/feholdexcpt.c: Likewise.
31086         * math/fesetenv.c: Likewise.
31087         * math/fesetround.c: Likewise.
31088         * math/feupdateenv.c: Likewise.
31089         * math/fgetexcptflg.c: Likewise.
31090         * math/fraiseexcpt.c: Likewise.
31091         * math/fsetexcptflg.c: Likewise.
31092         * math/ftestexcept.c: Likewise.
31093         * math/k_cosl.c: Likewise.
31094         * math/k_rem_pio2l.c: Likewise.
31095         * math/k_sinl.c: Likewise.
31096         * math/k_tanl.c: Likewise.
31097         * math/s_asinhl.c: Likewise.
31098         * math/s_atanl.c: Likewise.
31099         * math/s_cbrtl.c: Likewise.
31100         * math/s_erfl.c: Likewise.
31101         * math/s_expm1l.c: Likewise.
31102         * math/s_log1pl.c: Likewise.
31103         * math/s_tanhl.c: Likewise.
31104         * misc/acct.c: Likewise.
31105         * misc/brk.c: Likewise.
31106         * misc/chflags.c: Likewise.
31107         * misc/chroot.c: Likewise.
31108         * misc/fchflags.c: Likewise.
31109         * misc/fgetxattr.c: Likewise.
31110         * misc/flistxattr.c: Likewise.
31111         * misc/fremovexattr.c: Likewise.
31112         * misc/fsetxattr.c: Likewise.
31113         * misc/fsync.c: Likewise.
31114         * misc/ftruncate.c: Likewise.
31115         * misc/futimes.c: Likewise.
31116         * misc/futimesat.c: Likewise.
31117         * misc/getdomain.c: Likewise.
31118         * misc/getdtsz.c: Likewise.
31119         * misc/gethostid.c: Likewise.
31120         * misc/gethostname.c: Likewise.
31121         * misc/getloadavg.c: Likewise.
31122         * misc/getpagesize.c: Likewise.
31123         * misc/getsysstats.c: Likewise.
31124         * misc/getxattr.c: Likewise.
31125         * misc/gtty.c: Likewise.
31126         * misc/ioctl.c: Likewise.
31127         * misc/lgetxattr.c: Likewise.
31128         * misc/listxattr.c: Likewise.
31129         * misc/llistxattr.c: Likewise.
31130         * misc/lremovexattr.c: Likewise.
31131         * misc/lsetxattr.c: Likewise.
31132         * misc/lutimes.c: Likewise.
31133         * misc/madvise.c: Likewise.
31134         * misc/mincore.c: Likewise.
31135         * misc/mlock.c: Likewise.
31136         * misc/mlockall.c: Likewise.
31137         * misc/mmap.c: Likewise.
31138         * misc/mprotect.c: Likewise.
31139         * misc/msync.c: Likewise.
31140         * misc/munlock.c: Likewise.
31141         * misc/munlockall.c: Likewise.
31142         * misc/munmap.c: Likewise.
31143         * misc/preadv.c: Likewise.
31144         * misc/preadv64.c: Likewise.
31145         * misc/ptrace.c: Likewise.
31146         * misc/pwritev.c: Likewise.
31147         * misc/pwritev64.c: Likewise.
31148         * misc/readv.c: Likewise.
31149         * misc/reboot.c: Likewise.
31150         * misc/remap_file_pages.c: Likewise.
31151         * misc/removexattr.c: Likewise.
31152         * misc/revoke.c: Likewise.
31153         * misc/select.c: Likewise.
31154         * misc/setdomain.c: Likewise.
31155         * misc/setegid.c: Likewise.
31156         * misc/seteuid.c: Likewise.
31157         * misc/sethostid.c: Likewise.
31158         * misc/sethostname.c: Likewise.
31159         * misc/setregid.c: Likewise.
31160         * misc/setreuid.c: Likewise.
31161         * misc/setxattr.c: Likewise.
31162         * misc/sstk.c: Likewise.
31163         * misc/stty.c: Likewise.
31164         * misc/swapoff.c: Likewise.
31165         * misc/swapon.c: Likewise.
31166         * misc/sync.c: Likewise.
31167         * misc/syncfs.c: Likewise.
31168         * misc/syscall.c: Likewise.
31169         * misc/truncate.c: Likewise.
31170         * misc/ualarm.c: Likewise.
31171         * misc/usleep.c: Likewise.
31172         * misc/ustat.c: Likewise.
31173         * misc/utimes.c: Likewise.
31174         * misc/vhangup.c: Likewise.
31175         * misc/writev.c: Likewise.
31176         * posix/_exit.c: Likewise.
31177         * posix/alarm.c: Likewise.
31178         * posix/execve.c: Likewise.
31179         * posix/fexecve.c: Likewise.
31180         * posix/fork.c: Likewise.
31181         * posix/fpathconf.c: Likewise.
31182         * posix/getaddrinfo.c: Likewise.
31183         * posix/getegid.c: Likewise.
31184         * posix/geteuid.c: Likewise.
31185         * posix/getgid.c: Likewise.
31186         * posix/getgroups.c: Likewise.
31187         * posix/getlogin.c: Likewise.
31188         * posix/getlogin_r.c: Likewise.
31189         * posix/getpgid.c: Likewise.
31190         * posix/getpid.c: Likewise.
31191         * posix/getppid.c: Likewise.
31192         * posix/getresgid.c: Likewise.
31193         * posix/getresuid.c: Likewise.
31194         * posix/getsid.c: Likewise.
31195         * posix/getuid.c: Likewise.
31196         * posix/glob64.c: Likewise.
31197         * posix/nanosleep.c: Likewise.
31198         * posix/pathconf.c: Likewise.
31199         * posix/pause.c: Likewise.
31200         * posix/posix_madvise.c: Likewise.
31201         * posix/pread.c: Likewise.
31202         * posix/pread64.c: Likewise.
31203         * posix/pwrite.c: Likewise.
31204         * posix/pwrite64.c: Likewise.
31205         * posix/sched_getaffinity.c: Likewise.
31206         * posix/sched_getp.c: Likewise.
31207         * posix/sched_gets.c: Likewise.
31208         * posix/sched_primax.c: Likewise.
31209         * posix/sched_primin.c: Likewise.
31210         * posix/sched_rr_gi.c: Likewise.
31211         * posix/sched_setaffinity.c: Likewise.
31212         * posix/sched_setp.c: Likewise.
31213         * posix/sched_sets.c: Likewise.
31214         * posix/sched_yield.c: Likewise.
31215         * posix/setgid.c: Likewise.
31216         * posix/setlogin.c: Likewise.
31217         * posix/setpgid.c: Likewise.
31218         * posix/setresgid.c: Likewise.
31219         * posix/setresuid.c: Likewise.
31220         * posix/setsid.c: Likewise.
31221         * posix/setuid.c: Likewise.
31222         * posix/sleep.c: Likewise.
31223         * posix/spawni.c: Likewise.
31224         * posix/sysconf.c: Likewise.
31225         * posix/times.c: Likewise.
31226         * posix/wait.c: Likewise.
31227         * posix/wait3.c: Likewise.
31228         * posix/wait4.c: Likewise.
31229         * posix/waitpid.c: Likewise.
31230         * resolv/gai_sigqueue.c: Likewise.
31231         * resource/getpriority.c: Likewise.
31232         * resource/getrlimit.c: Likewise.
31233         * resource/getrusage.c: Likewise.
31234         * resource/nice.c: Likewise.
31235         * resource/setpriority.c: Likewise.
31236         * resource/setrlimit.c: Likewise.
31237         * resource/ulimit.c: Likewise.
31238         * rt/aio_cancel.c: Likewise.
31239         * rt/aio_fsync.c: Likewise.
31240         * rt/aio_read.c: Likewise.
31241         * rt/aio_sigqueue.c: Likewise.
31242         * rt/aio_suspend.c: Likewise.
31243         * rt/aio_write.c: Likewise.
31244         * rt/clock_getres.c: Likewise.
31245         * rt/clock_gettime.c: Likewise.
31246         * rt/clock_nanosleep.c: Likewise.
31247         * rt/clock_settime.c: Likewise.
31248         * rt/lio_listio.c: Likewise.
31249         * rt/mq_close.c: Likewise.
31250         * rt/mq_getattr.c: Likewise.
31251         * rt/mq_notify.c: Likewise.
31252         * rt/mq_open.c: Likewise.
31253         * rt/mq_receive.c: Likewise.
31254         * rt/mq_send.c: Likewise.
31255         * rt/mq_setattr.c: Likewise.
31256         * rt/mq_timedreceive.c: Likewise.
31257         * rt/mq_timedsend.c: Likewise.
31258         * rt/mq_unlink.c: Likewise.
31259         * rt/shm_open.c: Likewise.
31260         * rt/shm_unlink.c: Likewise.
31261         * rt/timer_create.c: Likewise.
31262         * rt/timer_delete.c: Likewise.
31263         * rt/timer_getoverr.c: Likewise.
31264         * rt/timer_gettime.c: Likewise.
31265         * rt/timer_settime.c: Likewise.
31266         * setjmp/__longjmp.c: Likewise.
31267         * setjmp/setjmp.c: Likewise.
31268         * signal/kill.c: Likewise.
31269         * signal/killpg.c: Likewise.
31270         * signal/raise.c: Likewise.
31271         * signal/sigaction.c: Likewise.
31272         * signal/sigaltstack.c: Likewise.
31273         * signal/sigblock.c: Likewise.
31274         * signal/sigignore.c: Likewise.
31275         * signal/sigintr.c: Likewise.
31276         * signal/signal.c: Likewise.
31277         * signal/sigpause.c: Likewise.
31278         * signal/sigpending.c: Likewise.
31279         * signal/sigqueue.c: Likewise.
31280         * signal/sigreturn.c: Likewise.
31281         * signal/sigset.c: Likewise.
31282         * signal/sigsetmask.c: Likewise.
31283         * signal/sigstack.c: Likewise.
31284         * signal/sigsuspend.c: Likewise.
31285         * signal/sigtimedwait.c: Likewise.
31286         * signal/sigvec.c: Likewise.
31287         * signal/sigwait.c: Likewise.
31288         * signal/sigwaitinfo.c: Likewise.
31289         * signal/sysv_signal.c: Likewise.
31290         * socket/accept.c: Likewise.
31291         * socket/accept4.c: Likewise.
31292         * socket/bind.c: Likewise.
31293         * socket/connect.c: Likewise.
31294         * socket/getpeername.c: Likewise.
31295         * socket/getsockname.c: Likewise.
31296         * socket/getsockopt.c: Likewise.
31297         * socket/isfdtype.c: Likewise.
31298         * socket/listen.c: Likewise.
31299         * socket/recv.c: Likewise.
31300         * socket/recvfrom.c: Likewise.
31301         * socket/recvmsg.c: Likewise.
31302         * socket/send.c: Likewise.
31303         * socket/sendmsg.c: Likewise.
31304         * socket/sendto.c: Likewise.
31305         * socket/setsockopt.c: Likewise.
31306         * socket/shutdown.c: Likewise.
31307         * socket/sockatmark.c: Likewise.
31308         * socket/socket.c: Likewise.
31309         * socket/socketpair.c: Likewise.
31310         * stdio-common/ctermid.c: Likewise.
31311         * stdio-common/cuserid.c: Likewise.
31312         * stdio-common/remove.c: Likewise.
31313         * stdio-common/rename.c: Likewise.
31314         * stdio-common/renameat.c: Likewise.
31315         * stdio-common/tempname.c: Likewise.
31316         * stdlib/getcontext.c: Likewise.
31317         * stdlib/makecontext.c: Likewise.
31318         * stdlib/setcontext.c: Likewise.
31319         * stdlib/swapcontext.c: Likewise.
31320         * stdlib/system.c: Likewise.
31321         * streams/fattach.c: Likewise.
31322         * streams/fdetach.c: Likewise.
31323         * streams/getmsg.c: Likewise.
31324         * streams/getpmsg.c: Likewise.
31325         * streams/putmsg.c: Likewise.
31326         * streams/putpmsg.c: Likewise.
31327         * sysdeps/unix/bsd/getpt.c: Likewise.
31328         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31329         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31330         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31332         Likewise.
31333         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31334         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31335         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31336         * sysvipc/msgctl.c: Likewise.
31337         * sysvipc/msgget.c: Likewise.
31338         * sysvipc/msgrcv.c: Likewise.
31339         * sysvipc/msgsnd.c: Likewise.
31340         * sysvipc/semctl.c: Likewise.
31341         * sysvipc/semget.c: Likewise.
31342         * sysvipc/semop.c: Likewise.
31343         * sysvipc/semtimedop.c: Likewise.
31344         * sysvipc/shmat.c: Likewise.
31345         * sysvipc/shmctl.c: Likewise.
31346         * sysvipc/shmdt.c: Likewise.
31347         * sysvipc/shmget.c: Likewise.
31348         * termios/tcdrain.c: Likewise.
31349         * termios/tcflow.c: Likewise.
31350         * termios/tcflush.c: Likewise.
31351         * termios/tcgetattr.c: Likewise.
31352         * termios/tcgetpgrp.c: Likewise.
31353         * termios/tcsendbrk.c: Likewise.
31354         * termios/tcsetattr.c: Likewise.
31355         * termios/tcsetpgrp.c: Likewise.
31356         * time/adjtime.c: Likewise.
31357         * time/clock.c: Likewise.
31358         * time/getitimer.c: Likewise.
31359         * time/gettimeofday.c: Likewise.
31360         * time/setitimer.c: Likewise.
31361         * time/settimeofday.c: Likewise.
31362         * time/stime.c: Likewise.
31363         * time/time.c: Likewise.
31365 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
31367         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31368         /usr/old/bin.
31370         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31371         instead of spaces.
31372         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31374 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
31376         [BZ #14796]
31377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31378         FE_TONEAREST before applying Dekker multiplication and Knuth
31379         addition.  Clear inexact exceptions and check for exact zero
31380         results afterwards.
31381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31382         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31383         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31384         * math/libm-test.inc (fma_test): Add more tests.
31385         (fma_test_towardzero): Likewise.
31386         (fma_test_downward): Likewise.
31387         (fma_test_upward): Likewise.
31388         * sysdeps/generic/math_private.h (default_libc_fesetround): New
31389         function.
31390         (libc_fesetround): New macro.
31391         (libc_fesetroundf): Likewise.
31392         (libc_fesetroundl): Likewise.
31393         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31394         function.
31395         (libc_fesetround_387): Likewise.
31396         (libc_fesetroundf): New macro.
31397         (libc_fesetround): Likewise.
31398         (libc_fesetroundl): Likewise.
31399         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31400         function.
31401         (libc_fesetroundf): New macro.
31402         (libc_fesetround): Likewise.
31403         (libc_fesetroundl): Likewise.
31404         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31405         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31406         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31407         libm_hidden_ver.
31408         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31409         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31410         libm_hidden_def.
31411         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31412         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31413         libm_hidden_ver.
31414         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31415         libm_hidden_def.
31417         [BZ #3439]
31418         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31419         integer constant usable in #if and use that to give value to enum
31420         constant.
31421         (FE_DIVBYZERO): Likewise.
31422         (FE_UNDERFLOW): Likewise.
31423         (FE_OVERFLOW): Likewise.
31424         (FE_INVALID): Likewise.
31425         (FE_INVALID_SNAN): Likewise.
31426         (FE_INVALID_ISI): Likewise.
31427         (FE_INVALID_IDI): Likewise.
31428         (FE_INVALID_ZDZ): Likewise.
31429         (FE_INVALID_IMZ): Likewise.
31430         (FE_INVALID_COMPARE): Likewise.
31431         (FE_INVALID_SOFTWARE): Likewise.
31432         (FE_INVALID_SQRT): Likewise.
31433         (FE_INVALID_INTEGER_CONVERSION): Likewise.
31434         (FE_TONEAREST): Likewise.
31435         (FE_TOWARDZERO): Likewise.
31436         (FE_UPWARD): Likewise.
31437         (FE_DOWNWARD): Likewise.
31438         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31439         (FE_DIVBYZERO): Likewise.
31440         (FE_OVERFLOW): Likewise.
31441         (FE_UNDERFLOW): Likewise.
31442         (FE_INEXACT): Likewise.
31443         (FE_TONEAREST): Likewise.
31444         (FE_DOWNWARD): Likewise.
31445         (FE_UPWARD): Likewise.
31446         (FE_TOWARDZERO): Likewise.
31447         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31448         (FE_UNDERFLOW): Likewise.
31449         (FE_OVERFLOW): Likewise.
31450         (FE_DIVBYZERO): Likewise.
31451         (FE_INVALID): Likewise.
31452         (FE_TONEAREST): Likewise.
31453         (FE_TOWARDZERO): Likewise.
31454         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31455         (FE_OVERFLOW): Likewise.
31456         (FE_UNDERFLOW): Likewise.
31457         (FE_DIVBYZERO): Likewise.
31458         (FE_INEXACT): Likewise.
31459         (FE_TONEAREST): Likewise.
31460         (FE_TOWARDZERO): Likewise.
31461         (FE_UPWARD): Likewise.
31462         (FE_DOWNWARD): Likewise.
31463         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31464         (FE_DIVBYZERO): Likewise.
31465         (FE_OVERFLOW): Likewise.
31466         (FE_UNDERFLOW): Likewise.
31467         (FE_INEXACT): Likewise.
31468         (FE_TONEAREST): Likewise.
31469         (FE_DOWNWARD): Likewise.
31470         (FE_UPWARD): Likewise.
31471         (FE_TOWARDZERO): Likewise.
31473 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
31475         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31477 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
31479         * scripts/cross-test-ssh.sh (command): Use newlines to separate
31480         commands.  Quote $PWD.
31481         (blacklist_exports): Don't use remove_newlines.  Replace "declare
31482         -x" by "export".
31483         (remove_newlines): Remove.
31485 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
31487         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31488         * stdlib/stdlib.h (atof): Moved to ...
31489         * include/bits/stdlib-float.h: Here.  New file.
31490         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31491         * stdlib/bits/stdlib-float.h: New file.
31492         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31493         -mno-sse -mno-mmx.
31494         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31495         <xmmintrin.h>.
31497 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31499         * conform/conformtest.pl (@headers): Add fenv.h.
31500         * conform/data/fenv.h-data: New file.
31501         * include/fenv.h [_ISOMAC]: Disable all contents of file except
31502         include of <math/fenv.h>.
31504         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31505         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31506         && !UNIX98].  Enables tests for XOPEN2K8.
31507         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31508         POSIX2008]: Likewise.
31510         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31511         (struct rusage): Do not expect type or its members.
31513         [BZ #3439]
31514         * math/math.h (FP_NAN): Define macro to integer constant usable in
31515         #if and use that to give value to enum constant.
31516         (FP_INFINITE): Likewise.
31517         (FP_ZERO): Likewise.
31518         (FP_SUBNORMAL): Likewise.
31519         (FP_NORMAL): Likewise.
31521 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
31523         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31524         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31525         arguments.
31527 2012-11-02  Roland McGrath  <roland@hack.frob.com>
31529         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31530         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31531         autoconf-time if not.
31532         * configure.in: Remove AC_PREREQ.
31534 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31536         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31537         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31538         of the internal implementation.
31540 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31542         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31543         except include of <misc/sys/syslog.h>.
31545 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31548         function returns with a NULL context exit with zero.
31550 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31552         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31554 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
31556         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31557         (run_program_cmd): This.
31558         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31559         (tst_langinfo): New variable.  Use it.
31561 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
31563         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31564         floating point opcodes.
31566 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31568         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31569         variable.
31571         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31573         * sysdeps/mach/hurd/powerpc: Remove directory.
31574         * sysdeps/mach/powerpc: Likewise.
31576 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31578         * scripts/check-local-headers.sh: Ignore c++ headers.
31580 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31582         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31583         __libc_cleanup_region_start argument.
31585 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
31587         [BZ #14784]
31588         [BZ #14785]
31589         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31590         x * y using scaling, not as x * y + z.
31591         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31593         * math/libm-test.inc (fma_test): Add more tests.
31594         (fma_test_towardzero): Likewise.
31595         (fma_test_downward): Likewise.
31596         (fma_test_upward): Likewise.
31598 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31600         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31602 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31604         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31605         New variable.
31607 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
31609         * rt/tst-shm.c (worker): Correct checking for mmap failure.
31611 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31614         Fix sort order.
31615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31616         Likewise.
31618 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31621         Fix the order of the list for glibc 2.17.
31622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31623         Likewise.
31625 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31629 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31631         [BZ #14610]
31632         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31633         for low part of x being zero before using __atanl (y).
31634         * math/libm-test.inc (atan2_test): Add another test.
31636         * manual/install.texi (Configuring and compiling): Document
31637         general use of test-wrapper and test-wrapper-env.
31638         * INSTALL: Regenerated.
31640         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31641         (__fma): Do not extract and scale down low bits on after-rounding
31642         systems when result rounded to normal precision would have normal
31643         exponent.
31644         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31645         (__fmal): Do not extract and scale down low bits on after-rounding
31646         systems when result rounded to normal precision would have normal
31647         exponent.
31648         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31649         (__fmal): Do not extract and scale down low bits on after-rounding
31650         systems when result rounded to normal precision would have normal
31651         exponent.
31652         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31653         macro.
31654         (fma_test): Add more tests.
31655         (fma_test_towardzero): Likewise.
31656         (fma_test_downward): Likewise.
31657         (fma_test_upward): Likewise.
31659 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
31661         * sysdeps/i386/tininess.h: Renamed to ...
31662         * sysdeps/x86/tininess.h: This.
31663         * sysdeps/x86_64/tininess.h: Removed.
31665 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31667         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31668         input.  Use $(build-program-cmd).
31669         ($(objpfx)tst-array1-static.out): Likewise.
31670         ($(objpfx)tst-array2.out): Likewise.
31671         ($(objpfx)tst-array3.out): Likewise.
31672         ($(objpfx)tst-array4.out): Likewise.
31673         ($(objpfx)tst-array5.out): Likewise.
31674         ($(objpfx)tst-array5-static.out): Likewise.
31676 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
31678         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31679         if defined.
31681         * nss/nsswitch.h (nss_interface_function): Provide new
31682         macro for use with NSS functions.
31683         * grp/initgroups.c: Use new macro.
31684         * nss/getXXbyYY.c: Likewise.
31685         * nss/getXXbyYY_r.c: Likewise.
31686         * nss/getXXent.c: Likewise.
31687         * nss/getXXent_r.c: Likewise.
31688         * sysdeps/posix/getaddrinfo.c: Likewise.
31690 2012-10-30  Andreas Jaeger  <aj@suse.de>
31692         * po/ru.po: Update Russion translation from translation project.
31694 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31696         [BZ #14152]
31697         [BZ #14783]
31698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31699         result and shift together with sticky bit instead of replicating
31700         round-to-nearest rounding.
31701         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31702         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31703         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
31704         missing underflow exceptions.
31705         (fma_test_towardzero): Add more tests.
31706         (fma_test_downward): Likewise.
31707         (fma_test_upward): Likewise.
31709         [BZ #14047]
31710         * sysdeps/generic/tininess.h: New file.
31711         * sysdeps/i386/tininess.h: Likewise.
31712         * sysdeps/sh/tininess.h: Likewise.
31713         * sysdeps/x86_64/tininess.h: Likewise.
31714         * stdlib/tst-strtod-underflow.c: Likewise.
31715         * stdlib/tst-tininess.c: Likewise.
31716         * stdlib/strtod_l.c: Include <tininess.h>.
31717         (round_and_return): Do not set errno for exact underflow cases.
31718         Force an underflow exception when setting errno for underflow.
31719         Determine underflow based on rounding to normal precision if
31720         TININESS_AFTER_ROUNDING.
31721         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31722         ERANGE for exact underflow cases.
31723         * stdlib/Makefile (tests): Add tst-tininess and
31724         tst-strtod-underflow.
31725         ($(objpfx)tst-tininess): Use $(link-libm).
31726         ($(objpfx)tst-strtod-underflow): Likewise.
31728 2012-10-30  Andreas Jaeger  <aj@suse.de>
31730         [BZ#14767]
31731         * elf/Makefile (tests): Remove conditional for have-initfini-array
31732         since this is now always required and the variable does not exist
31733         anymore.
31734         (tests-static): Likewise.
31735         (modules-names): Likewise.
31737         * po/eo.po: Add Esperanto translation from translation project.
31739         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31740         merged with constructor/destructor.
31741         (init_array): Likewise.
31742         * elf/tst-array2dep.c (fini_array): Likewise.
31743         (init_array): Likewise.
31745 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31747         * manual/message.texi: Delete @cartouche tags.
31749 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31751         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31752         EOPNOTSUPP.
31753         * sysdeps/mach/hurd/fsync.c: Likewise.
31755         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31756         [_POSIX_REALTIME_SIGNALS]: Change condition to
31757         [_POSIX_REALTIME_SIGNALS > 0].
31759 2012-10-27  Andreas Jaeger  <aj@suse.de>
31761         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31762         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31763         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31764         [__WORDSIZE != 64]: Likewise.
31766 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31768         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31769         *  iconvdata/tst-tables.sh: Likewise.
31771 2012-10-25  David S. Miller  <davem@davemloft.net>
31773         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31774         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31775         of strtoull.
31777         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31778         ifunc-impl-list.c
31779         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31780         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31781         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31782         file.
31784 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31786         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31787         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31788         __getdirentries.
31790 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31791             Jim Blandy  <jimb@codesourcery.com>
31793         * scripts/cross-test-ssh.sh: New file.
31794         * manual/install.texi (Configuring and compiling): Document use of
31795         cross-test-ssh.sh.
31796         * INSTALL: Regenerated.
31798 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31800         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31801         EOPNOTSUPP.
31803 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31805         * Makeconfig (run-program-prefix): Fix comment.
31807 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31808             Jim Blandy  <jimb@codesourcery.com>
31810         * Makeconfig (test-wrapper): New variable,
31811         (test-wrapper-env): Likewise.
31812         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31813         (run-built-tests): Define to yes.
31814         (run-program-prefix): Use $(test-wrapper).
31815         (built-program-cmd): Likewise.
31816         * Rules (make-test-out): Use $(test-wrapper-env) and
31817         $(host-built-program-cmd).
31818         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31819         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31820         tst-pathopt.sh.
31821         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31822         $(test-wrapper-env) to tst-rtld-load-self.sh.
31823         ($(objpfx)order2.out): Use $(test-wrapper).
31824         ($(objpfx)tst-initorder.out): Likewise.
31825         ($(objpfx)tst-initorder2.out): Likewise.
31826         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31827         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31828         (test_wrapper_env): New variable.  Use it to run ld.so.
31829         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31830         Use it to run ld.so.
31831         (test_wrapper_env): Likewise.
31832         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31833         $(test-wrapper) to run-iconv-test.sh.
31834         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31835         (ICONV): Use $test_wrapper.
31836         * posix/Makefile ($(objpfx)globtest.out): Pass
31837         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31838         globtest.sh, not $(run-program-prefix).
31839         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31840         (test_wrapper): Likewise.
31841         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31842         set together with run_via_rtld_prefix.
31843         (run_program_prefix): Define in terms of test_wrapper and
31844         run_via_rtld_prefix.
31846 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31848         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31849         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31850         Targets removed.
31852         [BZ #14743]
31853         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31854         Declare __clock_getres, __clock_gettime, __clock_settime,
31855         __clock_nanosleep, and __clock_getcpuclockid.
31856         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31857         Remove librt_hidden_def (clock_gettime).
31858         * sysdeps/unix/clock_gettime.c: Likewise.
31859         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31860         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31861         * rt/clock_getres.c: Define __clock_getres as an alias.
31862         * sysdeps/posix/clock_getres.c: Likewise.
31863         * rt/clock_settime.c: Define __clock_settime as an alias.
31864         * sysdeps/unix/clock_settime.c: Likewise.
31865         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31866         * sysdeps/unix/clock_nanosleep.c: Likewise.
31867         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31868         * rt/clock-compat.c: New file.
31869         * rt/Makefile (librt-routines): Add clock-compat and move
31870         $(clock-routines) to ...
31871         (routines): ... here, new variable.
31872         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31873         Don't add get_clockfreq here.
31874         * rt/Versions (libc: GLIBC_2.17): New version set.
31875         Add clock_* symbols here.
31876         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31877         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31878         (GLIBC_2.17): Add clock_* symbols.
31879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31881         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31883         Likewise.
31884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31885         Likewise.
31886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31890         * NEWS: Mention the move.
31892         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31893         Use __open, __read, __close rather than their public counterparts.
31894         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31895         (__get_clockfreq_via_cpuinfo): Likewise.
31896         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31897         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31899         * config.h.in (HAVE_IFUNC): New #undef.
31900         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31901         was successful.
31902         * configure: Regenerated.
31904 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31906         * configure.in: Move READELF check to start of file.
31907         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31908         libc_cv_asm_gnu_indirect_function in the process.
31909         * configure: Regenerated.
31911 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31913         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31914         send the output to /dev/null.
31915         (libc_cv_cc_with_libunwind): Likewise.
31916         (libc_cv_as_noexecstack): Likewise.
31917         * configure: Regenerate.
31919 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31921         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31923         * posix/globtest.sh (TMPDIR): Do not set.
31924         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31925         (testout): Likewise.
31927 2012-10-24  Andreas Jaeger  <aj@suse.de>
31929         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31930         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31931         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31932         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31933         posix_fadvise64, posix_fallocate64.
31935         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31936         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31937         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31938         Likewise.
31939         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31940         Likewise.
31941         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31943         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31944         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31945         <bits/fcntl-linux.h>.
31946         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31948         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31949         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31950         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31951         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31952         [__WORDSIZE != 64]: Likewise.
31954 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31956         * Makeconfig (run-built-tests): New variable.
31957         * Rules [$(cross-compiling) = yes]: Change condition to
31958         [$(run-built-tests) = no].
31959         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31960         to [$(run-built-tests) = yes].
31961         * elf/Makefile [$(cross-compiling) = no]: Likewise
31962         * grp/Makefile [$(cross-compiling) = no]: Likewise.
31963         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31964         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31965         * intl/Makefile [$(cross-compiling) = no]: Likewise.
31966         * io/Makefile [$(cross-compiling) = no]: Likewise.
31967         * libio/Makefile [$(cross-compiling) = no]: Likewise.
31968         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31969         * misc/Makefile [$(cross-compiling) = no]: Likewise.
31970         * posix/Makefile [$(cross-compiling) = no]: Likewise.
31971         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31972         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31973         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31974         * string/Makefile [$(cross-compiling) = no]: Likewise.
31976         * posix/Makefile ($(objpfx)globtest.out): Pass
31977         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31978         $(rtld-installed-name).
31979         * posix/globtest.sh (elf_objpfx): Remove variable.
31980         (rtld_installed_name): Likewise.
31981         (library_path): Likewise.
31982         (run_program_prefix): New variable.  Use for running globtest
31983         binary.
31985 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
31986             Joseph Myers  <joseph@codesourcery.com>
31988         * Makeconfig (host-built-program-cmd): New variable.
31989         * elf/Makefile (tst-stackguard1-ARGS): Use
31990         $(host-built-program-cmd).
31991         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31992         (tst-spawn-ARGS): Likewise.
31993         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31995 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31996             Jim Blandy  <jimb@codesourcery.com>
31998         * Makeconfig (run-via-rtld-prefix): New variable.
31999         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32000         (built-program-cmd): Likewise.
32002 2012-10-22  Andreas Jaeger  <aj@suse.de>
32004         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32005         __O_RSYNC if it exists, otherwise to O_SYNC.
32007 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
32008             Joseph Myers  <joseph@codesourcery.com>
32010         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32011         /dev/null.
32012         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32013         from /dev/null
32014         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32015         /dev/null.
32017 2012-10-22  Andreas Jaeger  <aj@suse.de>
32019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32020         Define always.
32021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32024         bits/fcntl-linux.h.
32026         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32027         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32029         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32030         to __O_LARGEFILE.
32031         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32032         to __O_LARGEFILE.
32034 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
32035             Joseph Myers  <joseph@codesourcery.com>
32037         * config.make.in (NM): New variable.
32039 2012-10-21  Andreas Jaeger  <aj@suse.de>
32041         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32042         definitions and declarations that are provided by
32043         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32045 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32047         [BZ #14683]
32048         * elf/Makefile (tests-static): Add tst-leaks1-static.
32049         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32050         ($(objpfx)tst-leaks1-static): New rule.
32051         ($(objpfx)tst-leaks1-static-mem): Likewise.
32052         (tst-leaks1-static-ENV): New macro.
32053         * elf/dl-open.c (dl_open_worker): Check the main application
32054         only if SHARED is defined.
32055         * elf/tst-leaks1-static.c: New file.
32057 2012-10-20  Andreas Jaeger  <aj@suse.de>
32059         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32060         generic values for Linux.
32061         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32062         and declarations that are provided by <bits/fcntl-linux.h> and
32063         include <bits/fcntl-linux.h>.
32064         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32065         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32067 2012-10-20  Roland McGrath  <roland@hack.frob.com>
32069         * io/fcntl.h: Move include of <bits/types.h> to the top and
32070         include it unconditionally.
32072 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32074         * wcsmbs/Makefile (tests-ifunc): New variable.
32075         (tests): Add $(tests-ifunc).
32076         * wcsmbs/test-wcschr-ifunc.c: New file.
32077         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32078         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32079         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32080         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32081         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32083         * string/Makefile (tests-ifunc): New variable.
32084         (tests): Add $(tests-ifunc).
32085         * string/test-memccpy.c (TEST_NAME): New macro.
32086         * string/test-memchr.c (TEST_NAME): Likewise.
32087         * string/test-memcmp.c (TEST_NAME): Likewise.
32088         * string/test-memcpy.c (TEST_NAME): Likewise.
32089         * string/test-memmem.c (TEST_NAME): Likewise.
32090         * string/test-memmove.c (TEST_NAME): Likewise.
32091         * string/test-memset.c (TEST_NAME): Likewise.
32092         * string/test-rawmemchr.c (TEST_NAME): Likewise.
32093         * string/test-stpcpy.c (TEST_NAME): Likewise.
32094         * string/test-stpncpy.c (TEST_NAME): Likewise.
32095         * string/test-strcasecmp.c (TEST_NAME): Likewise.
32096         * string/test-strcasestr.c (TEST_NAME): Likewise.
32097         * string/test-strcat.c (TEST_NAME): Likewise.
32098         * string/test-strchr.c (TEST_NAME): Likewise.
32099         * string/test-strcmp.c(TEST_NAME): Likewise.
32100         * string/test-strcpy.c (TEST_NAME): Likewise.
32101         * string/test-strcspn.c (TEST_NAME): Likewise.
32102         * string/test-strlen.c (TEST_NAME): Likewise.
32103         * string/test-strncasecmp.c (TEST_NAME): Likewise.
32104         * string/test-strncmp.c (TEST_NAME): Likewise.
32105         * string/test-strncpy.c (TEST_NAME): Likewise.
32106         * string/test-strnlen.c (TEST_NAME): Likewise.
32107         * string/test-strpbrk.c (TEST_NAME): Likewise.
32108         * string/test-strrchr.c (TEST_NAME): Likewise.
32109         * string/test-strspn.c (TEST_NAME): Likewise.
32110         * string/test-strstr.c (TEST_NAME): Likewise.
32111         * string/test-bcopy-ifunc.c: New file.
32112         * string/test-bzero-ifunc.c: Likewise.
32113         * string/test-memccpy-ifunc.c: Likewise.
32114         * string/test-memchr-ifunc.c: Likewise.
32115         * string/test-memcmp-ifunc.c: Likewise.
32116         * string/test-memcpy-ifunc.c: Likewise.
32117         * string/test-memmem-ifunc.c: Likewise.
32118         * string/test-memmove-ifunc.c: Likewise.
32119         * string/test-mempcpy-ifunc.c: Likewise.
32120         * string/test-memset-ifunc.c: Likewise.
32121         * string/test-rawmemchr-ifunc.c: Likewise.
32122         * string/test-stpcpy-ifunc.c: Likewise.
32123         * string/test-stpncpy-ifunc.c: Likewise.
32124         * string/test-strcasecmp-ifunc.c: Likewise.
32125         * string/test-strcasestr-ifunc.c: Likewise.
32126         * string/test-strcat-ifunc.c: Likewise.
32127         * string/test-strchr-ifunc.c: Likewise.
32128         * string/test-strchrnul-ifunc.c: Likewise.
32129         * string/test-strcmp-ifunc.c: Likewise.
32130         * string/test-strcpy-ifunc.c: Likewise.
32131         * string/test-strcspn-ifunc.c: Likewise.
32132         * string/test-strlen-ifunc.c: Likewise.
32133         * string/test-strncasecmp-ifunc.c: Likewise.
32134         * string/test-strncat-ifunc.c: Likewise.
32135         * string/test-strncmp-ifunc.c: Likewise.
32136         * string/test-strncpy-ifunc.c: Likewise.
32137         * string/test-strnlen-ifunc.c: Likewise.
32138         * string/test-strpbrk-ifunc.c: Likewise.
32139         * string/test-strrchr-ifunc.c: Likewise.
32140         * string/test-strspn-ifunc.c: Likewise.
32141         * string/test-strstr-ifunc.c: Likewise.
32143         * debug/Makefile (tests-ifunc): New variable.
32144         (tests): Add $(tests-ifunc).
32145         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32146         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32147         * debug/test-stpcpy_chk-ifunc.c: New file.
32148         * debug/test-strcpy_chk-ifunc.c: Likewise.
32150 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32152         [BZ #13601]
32153         * elf/dl-load.c (open_verify): Retry read if the entire ELF
32154         header is not read in.
32156 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
32158         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
32159         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
32160         directly.  Pass built executable to script as
32161         $(built-program-cmd).
32162         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
32163         $testprogram without using LD_LIBRARY_PATH and $ldso.
32165         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32166         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32167         $(rtld-installed-name).
32168         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32169         (rtld_installed_name): Likewise.
32170         (library_path): Likewise.
32171         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
32172         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32173         $(run-program-prefix) to tst-tables.sh.
32174         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
32175         it to run tst-table-from and tst-table-to.
32176         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32177         Pass it to tst-table.sh.
32178         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32179         $(run-program-prefix) to tst-gettext.sh.
32180         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32181         tst-translit.sh.
32182         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32183         tst-gettext2.sh.
32184         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
32185         to run tst-gettext.
32186         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
32187         to run tst-gettext2.
32188         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
32189         to run tst-translit.
32190         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32191         $(run-program-prefix) to tst-mtrace.sh.
32192         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
32193         to run tst-mtrace.
32194         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32195         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32196         $(rtld-installed-name).
32197         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32198         (rtld_installed_name): Likewise.
32199         (run_program_prefix): New variable.  Use it to run wordexp-test.
32201         * Makeconfig (ARCH): Remove all definitions.
32202         (machine): Likewise.
32203         [ARCH]: Remove conditional code.
32204         [!objdir]: Give error.
32205         [!objdir] (objpfx): Remove.
32206         [!objdir] (common-objpfx): Likewise.
32207         [!objdir] (common-objdir): Likewise.
32208         * configure.in (config_makefile): Remove.  Hardcode Makefile in
32209         AC_CONFIG_FILES call.
32210         * configure: Regenerated.
32212         [BZ #13888]
32213         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32214         or TMPDIR.
32215         (testout): Likewise.
32217         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32218         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32219         $(rtld-installed-name).
32220         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32221         (rtld_installed_name): Likwise.
32222         (runit): Remove function.
32223         (run_getconf): New variable,  Use it for running getconf binary.
32225 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
32227         [BZ #14716]
32228         * string/test-memmem.c (check_result): New function.
32229         (do_one_test): Use it.
32230         (check1): New function.
32231         (test_main): Use it.
32233 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
32235         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32237 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
32239         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32240         (_G_LSEEK64): Likewise.
32241         (_G_MMAP64): Likewise.
32242         (_G_FSTAT64): Likewise.
32243         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32244         (_G_LSEEK64): Likewise.
32245         (_G_MMAP64): Likewise.
32246         (_G_FSTAT64): Likewise.
32247         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32248         unconditional.  Call __mmap64 directly.
32249         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32250         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
32251         __lseek64 directly.
32252         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32253         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
32254         __mmap64 directly.
32255         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32256         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32257         __lseek64 directly.
32258         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32259         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32260         __lseek64 directly.
32261         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32262         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
32263         __lseek64 directly.
32264         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32265         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
32266         __fxstat64 directly.
32267         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32268         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32269         unconditional.
32270         (freopen64) [!_G_OPEN64]: Remove conditional code.
32271         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32272         unconditional.
32273         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32274         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32275         unconditional.
32276         (ftello64) [!_G_LSEEK64]: Remove conditional code.
32277         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32278         unconditional.
32279         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32280         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32281         unconditional.
32282         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32283         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32284         unconditional.
32285         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32286         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32287         unconditional.
32288         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32289         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32290         unconditional.
32291         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32293 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32295         [BZ #12140]
32296         * manual/memory.texi (Malloc Tunable Parameters): Add note
32297         about free list pointers overwriting some perturb bytes.
32298         Wording suggested by Roland McGrath.
32300 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
32302         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32303         (lgamma_test): Likewise.
32304         (tgamma_test): Likewise.
32306 2012-10-16  Florian Weimer  <fweimer@redhat.com>
32308         [BZ #14700]
32309         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32310         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32312 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
32314         * NEWS: Mention BZ #14716.
32315         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32316         when removing AVAILABLE1_USES_J macro.
32318 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
32320         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32321         (__bswap_64): __uint64_t for unsigned 64-bit int.
32323 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
32325         * include/string.h (memmem): Declare libc hidden alias.
32326         * string/memmem.c (memmem): Define libc hidden alias.
32327         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32328         __read, __close instead of open, read, close.
32330 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
32332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32333         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32334         global and hidden.
32335         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32336         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32337         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32338         Likewise.
32339         (__rawmemchr_sse2): Likewise.
32340         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32341         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32342         (__strchr_sse2): Likewise.
32343         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32344         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32345         (__strcasecmp_sse2): Likewise.
32346         (__strncasecmp_sse2): Likewise.
32347         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32348         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32349         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32350         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32351         (__strrchr_sse2): Likewise.
32352         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32353         ifunc-impl-list.c.
32354         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32355         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32356         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32357         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32358         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32359         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32360         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32361         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32362         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32363         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32364         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32365         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32366         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32367         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32368         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32369         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32370         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32371         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32372         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32373         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32374         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32375         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32376         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32377         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32378         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32379         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32380         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32381         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32382         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32383         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32385         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32386         global and hidden.
32387         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32388         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32389         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32390         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32391         Likewise.
32392         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32393         Likewise.
32394         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32395         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32396         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32397         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32398         ifunc-impl-list.c.
32399         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32400         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32401         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32402         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32403         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32404         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32405         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32406         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32407         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32408         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32409         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32410         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32411         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32412         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32413         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32414         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32415         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32416         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32417         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32418         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32419         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32420         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32421         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32422         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32423         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32424         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32425         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32426         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32427         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32428         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32429         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32430         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32431         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32432         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32433         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32434         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32435         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32436         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32437         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32438         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32439         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32441         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32442         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32443         * include/ifunc-impl-list.h: New file.
32444         * misc/ifunc-impl-list.c: Likewise.
32445         * misc/Makefile (routines): Add ifunc-impl-list.
32446         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32447         * string/test-string.h: Include <ifunc-impl-list.h>.
32448         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32449         TEST_NAME]: New variables.
32450         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32451         are defined.
32452         (test_init): Call __libc_ifunc_impl_list to initialize
32453         func_list if TEST_IFUNC and TEST_NAME are defined.
32455         * string/Makefile (strop-tests): Add bcopy and bzero.
32456         * string/test-bcopy.c: New file.
32457         * string/test-bzero.c: Likewise.
32458         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32459         defined.
32460         * string/test-memset.c: Support bzero test if TEST_BZERO is
32461         defined.
32462         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32463         __libc_memmove.
32464         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32465         __libc_memset.
32466         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32467         of memset.
32469 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
32471         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32472         * configure: Regenerated.
32474         * Makeconfig (+link-static-before-libc): Don't include
32475         $(link-static-libc).
32477         * libio/libio.h (_IO_pos_t): Remove.
32479 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32481         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
32482         McGrath.
32484 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32486         * crypt/crypt-entry.c: Include fips-private.h.
32487         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32488         * crypt/md5c-test.c (main): Tolerate disabled MD5.
32489         * sysdeps/unix/sysv/linux/fips-private.h: New file.
32490         * sysdeps/generic/fips-private.h: New file, dummy fallback.
32492 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32494         * crypt/crypt-private.h: Include stdbool.h.
32495         (_ufc_setup_salt_r): Return bool.
32496         * crypt/crypt-entry.c: Include errno.h.
32497         (__crypt_r): Return NULL with EINVAL for bad salt.
32498         * crypt/crypt_util.c (bad_for_salt): New.
32499         (_ufc_setup_salt_r): Check that salt is long enough and within
32500         the specified alphabet.
32501         * crypt/badsalttest.c: New file.
32502         * crypt/Makefile (tests): Add it.
32503         ($(objpfx)badsalttest): New.
32505 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
32507         * NEWS: Add entry for BZ #14602.
32509 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32511         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32512         type-generic.
32513         * math/libm-test.inc: Update comment listing what functions and
32514         macros are tested.
32515         (isgreater_test): New function.
32516         (isgreaterequal_test): Likewise.
32517         (isless_test): Likewise.
32518         (islessequal_test): Likewise.
32519         (islessgreater_test): Likewise.
32520         (isunordered_test): Likewise.
32521         (main): Call the new functions.
32523 2012-10-09  Roland McGrath  <roland@hack.frob.com>
32525         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32526         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32527         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32528         * sysdeps/i386/configure: Regenerated.
32529         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32530         * sysdeps/mach/configure: Regenerated.
32531         * sysdeps/mach/hurd/configure: Regenerated.
32532         * sysdeps/powerpc/configure: Regenerated.
32533         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32534         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32535         * sysdeps/s390/s390-32/configure: Regenerated.
32536         * sysdeps/s390/s390-64/configure: Regenerated.
32537         * sysdeps/sh/configure: Regenerated.
32538         * sysdeps/sparc/configure: Regenerated.
32539         * sysdeps/unix/sysv/linux/configure: Regenerated.
32540         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32541         * sysdeps/x86_64/configure: Regenerated.
32543         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32544         defined.  Don't check if MAP is NULL.
32546 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32548         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32549         (_G_stat64): Likewise.
32550         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32551         (_G_stat64): Likewise.
32552         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32553         instead of struct _G_stat64.
32554         * libio/fileops.c (mmap_remap_check): Likewise.
32555         (decide_maybe_mmap): Likewise.
32556         (_IO_new_file_seekoff): Likewise.
32557         (_IO_file_stat): Likewise.
32558         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32559         _G_off64_t.
32560         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32561         instead of struct _G_stat64.
32562         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32564 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
32566         [BZ #14602]
32567         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32568         Replace with ...
32569         (CHECK_EOL): New macro.
32570         (two_way_short_needle): Check beginning of haystack for EOL.  Use
32571         CHECK_EOL.
32572         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32573         Replace with CHECK_EOL.
32574         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32575         Replace with CHECK_EOL.
32577 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
32579         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32580         type-generic.
32581         * math/libm-test.inc: Update comment listing what functions and
32582         macros are tested.
32583         (finite_test): New function.
32584         (isinf_test): Likewise.
32585         (isnan_test): Likewise.
32586         (fpclassify_test): Test subnormal input.
32587         (isfinite_test): Likewise.
32588         (isnormal_test): Likewise.
32589         (main): Call the new functions.
32591 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
32593         [BZ #14660]
32594         * Makerules (%.dynsym): Force C locale when running
32595         $(OBJDUMP) --dynamic-syms.
32597 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
32599         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32600         <stdint.h>.
32602 2012-10-06  David S. Miller  <davem@davemloft.net>
32604         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32605         upper 32-bits of the length value in %o2 since we use branch-on-register
32606         tests which consider the entire 64-bit register.
32608 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
32610         * string/test-strstr.c (check2): Add a test for page boundary.
32612 2012-10-05  David S. Miller  <davem@davemloft.net>
32614         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32615         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32616         file.
32617         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32618         sysdep_routines.
32619         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32620         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32621         and bzero when HWCAP_SPARC_CRYPTO is present.
32623 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
32625         [BZ #14602]
32626         * string/test-strstr.c (check2): New function.
32627         (test_main): Call check2.
32629         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32630         and bug-strchr1.
32631         * string/bug-strcasestr1.c (do_test): Moved to ...
32632         * string/test-strcasestr.c (check1): Here.  New function.
32633         (do_one_test): Break out result checking code into ...
32634         (check_result): This.  New function.
32635         (do_one_test): Call check_result.
32636         (test_main): Call check1.
32637         * string/bug-strchr1.c (do_test): Moved to ...
32638         * string/test-strchr.c (check1): Here.  New function.
32639         (do_one_test): Break out result checking code into ...
32640         (check_result): This.  New function.
32641         (do_one_test): Call check_result.
32642         (test_main): Call check1.
32643         * string/bug-strstr1.c (main): Moved to ...
32644         * string/test-strstr.c (check1): Here.  New function.
32645         (do_one_test): Break out result checking code into ...
32646         (check_result): This.  New function.
32647         (do_one_test): Call check_result.
32648         (test_main): Call check1.
32649         * string/bug-strcasestr1.c: Removed.
32650         * string/bug-strchr1.c: Likewise.
32651         * string/bug-strstr1.c: Likewise.
32653         * elf/Makefile (dl-routines): Add hwcaps.
32654         * elf/dl-support.c (_dl_important_hwcaps): Removed.
32655         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32656         (_dl_important_hwcaps): Moved to ...
32657         * elf/dl-hwcaps.c: Here.  New file.
32658         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32660         [BZ #14557]
32661         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32662         if IS_IN_rtld isn't defined.
32664         * elf/dl-support.c (_dl_sysinfo_map): New.
32665         Include "get-dynamic-info.h" and "setup-vdso.h".
32666         (_dl_non_dynamic_init): Call setup_vdso.
32667         * elf/dynamic-link.h: Don't include <assert.h>.
32668         (elf_get_dynamic_info): Moved to ...
32669         * elf/get-dynamic-info.h: Here.  New file.
32670         * elf/dynamic-link.h: Include "get-dynamic-info.h".
32671         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32672         * elf/setup-vdso.h: Here.  New file.
32673         * elf/rtld.c: Include "setup-vdso.h".
32674         (dl_main): Call setup_vdso.
32676 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
32678         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32679         creal in comment listing functions tested.  List finite, isinf,
32680         isnan, isless, islessequal, isgreater, isgreaterequal,
32681         islessgreater, isunordered, lgamma_r and pow10 as functions and
32682         macros not tested.  Mention which functions not tested are aliases
32683         for other functions.  Fix typo.  Note that signs of NaNs are not
32684         tested.
32686         * scripts/config.guess: Update from config.git.
32687         * scripts/config.sub: Likewise.
32689 2012-10-04  Roland McGrath  <roland@hack.frob.com>
32691         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32692         * misc/madvise.c (madvise): Renamed to __madvise.
32693         Make madvise a weak alias.
32694         * include/sys/mman.h: Declare __madvise.
32695         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32696         * sysdeps/unix/syscalls.list
32697         (madvise): Make __madvise the strong name, and madvise a weak alias.
32698         * sysdeps/unix/sysv/linux/syscalls.list
32699         (madvise, mmap): Remove redundant entries.
32700         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32701         * malloc/malloc.c (mtrim): Likewise.
32702         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32704 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32706         * sysdeps/mach/hurd/dl-cache.c: File removed.
32707         * config.h.in (USE_LDCONFIG): New #undef.
32708         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32709         * configure: Regenerated.
32710         * elf/Makefile (dl-routines): Add dl-cache only under
32711         [$(use-ldconfig) = yes].
32712         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32713         cache on [USE_LDCONFIG].
32714         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32715         [USE_LDCONFIG].
32716         * elf/rtld.c (dl_main): Likewise.
32718 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32720         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32721         _SC_LEVEL4_CACHE_LINESIZE.
32723 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32725         * sysdeps/unix/bsd/confstr.h: File removed.
32727 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32729         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32730         sys/sdt-config.h.
32732 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32734         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32735         Make 'mapoff' field ElfW(Off) rather than off_t.
32737 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32739         * nscd/Makefile: Remove nscd-cflags and all its users.
32740         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32741         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32743         [BZ #10631]
32744         * malloc.c (malloc_printerr): Clarify error message.
32746 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32748         [BZ #14648]
32749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32750         Set bit_FMA_Usable if FMA is supported.
32751         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32752         macro.
32753         (bit_FMA4_Usable): Updated.
32754         (index_FMA_Usable): New macro.
32755         (CPUID_FMA): Likewise
32756         (HAS_FMA): Defined with bit_FMA_Usable.
32758 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32760         * bits/types.h (__swblk_t): Type removed.
32761         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32762         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32763         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32764         (__SWBLK_T_TYPE): Likewise.
32765         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32766         (__SWBLK_T_TYPE): Likewise.
32767         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32768         (__SWBLK_T_TYPE): Likewise.
32769         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32770         (__SWBLK_T_TYPE): Likewise.
32772 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32773             Honza Horak <hhorak@redhat.com>
32775         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32776         (xdr_mapname): Use YPMAXMAP as maxsize.
32777         (xdr_peername): Use YPMAXPEER as maxsize.
32778         (xdr_keydat): Use YPAXRECORD as maxsize.
32779         (xdr_valdat): Use YPMAXRECORD as maxsize.
32781 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32783         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32785         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32786         * csu/init-first.c: ... here.
32787         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32788         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32789         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32790         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32791         * sysdeps/i386/init-first.c: File removed.
32792         * sysdeps/sh/init-first.c: File removed.
32794 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32796         [BZ #14645]
32797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32798         if x * y might underflow to zero and z is zero.
32799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32801         * math/libm-test.inc (min_subnorm_value): New variable.
32802         (fma_test): Add more tests.
32803         (fma_test_towardzero): Likewise.
32804         (fma_test_downward): Likewise
32805         (fma_test_upward): Likewise.
32806         (initialize): Set min_subnorm_value.
32808 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32810         [BZ #14638]
32811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32812         0 + 0.
32813         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32814         mode for addition resulting in exact zero.
32815         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32816         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32817         exact 0 + 0.
32818         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32819         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32820         * math/libm-test.inc (fma_test): Add more tests.
32821         (fma_test_towardzero): New function.
32822         (fma_test_downward): Likewise.
32823         (fma_test_upward): Likewise.
32824         (main): Call the new functions.
32826 2012-09-28  David S. Miller  <davem@davemloft.net>
32828         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32830 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32832         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32833         instead of SIGALRM.
32835         * sysdeps/gnu/_G_config.h: Moved to ...
32836         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32837         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32838         * sysdeps/generic/_G_config.h: ... here.
32840         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32842         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32844         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32845         Conditionalize target on [libnss_test1.so-version].
32847         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32849         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32850         (elfobjdir): Move out of conditionals.
32852         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32853         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32854         (__nss_lookup_function): Conditionalize label remove_from_tree on
32855         [!DO_STATIC_NSS || SHARED], matching its only use.
32857 2012-09-28  David S. Miller  <davem@davemloft.net>
32859         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32860         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32861         file.
32862         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32863         sysdep_routines.
32864         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32865         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32866         when HWCAP_SPARC_CRYPTO is present.
32868 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32870         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32872 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32874         [BZ #6530]
32875         * stdio-common/vfprintf.c (process_string_arg): Revert
32876         2000-07-22 change.
32878 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32880         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32881         for testcase.
32882         * stdio-common/tst-sprintf.c: Include <locale.h>
32883         (main): Test sprintf's handling of incomplete multibyte
32884         characters.
32886 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32888         * elf/dl-runtime.c (VERSYMIDX): Removed.
32889         * elf/dl-version.c (VERSYMIDX): Likewise.
32890         * elf/do-rel.h (VERSYMIDX): Likewise.
32891         (VALIDX): Likewise.
32892         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32893         * elf/rtld.c (VALIDX): Likewise.
32894         (ADDRIDX): Likewise.
32895         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32896         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32897         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32898         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32899         (VALIDX): Likewise.
32900         (ADDRIDX): Likewise.
32902 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32904         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32906 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32908         [BZ #11438]
32909         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32910         to global scope.
32911         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32912         addresses are in the same scope as 192.0.2/24.
32913         * posix/gai.conf: Document new scope table defaults.
32915 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32917         [BZ #5298]
32918         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32919         for ftell.  Compute offsets from write pointers instead.
32920         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32922 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32924         [BZ #14543]
32925         * libio/Makefile (tests): New test case tst-fseek.
32926         * libio/tst-fseek.c: New test case to verify that fseek/ftell
32927         combination works in wide mode.
32928         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32929         state when the external buffer state changes.
32931 2012-09-27  David S. Miller  <davem@davemloft.net>
32933         [BZ #14376]
32934         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32935         pass reloc->r_addend in as the 'high' argument to
32936         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32940 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32942         * rt/tst-aio2.c: Include <pthread.h>.
32943         * rt/tst-aio3.c: Likewise.
32945 2012-09-27  Steve Ellcey  <sellcey@mips.com>
32947         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32949 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
32951         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32952         contents on [SHARED].
32954 2012-09-26  Marek Polacek  <polacek@redhat.com>
32956         [BZ #14530]
32957         [BZ #13741]
32958         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32959         for C++ and GCC <4.3 as well as for non GCC compilers.
32961 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32965 2012-09-25  Roland McGrath  <roland@hack.frob.com>
32967         * Makefile.in (all, install): Declare with .PHONY.
32968         Reported by Michael Hope <michael.hope@linaro.org>.
32970 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32972         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32973         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32974         system header.
32975         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32976         Likewise.
32977         (sydep_routines): Add the new and the internal functions.
32978         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32979         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32981         (GLIBC_2.17): Add the new function.
32982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32983         (GLIBC_2.17): Likewise.
32984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32985         (GLIBC_2.17): Likewise.
32986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32987         (GLIBC_2.17): Likewise.
32988         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32990 2012-09-25  Alan Modra  <amodra@gmail.com>
32992         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32993         Add release barrier before setting once_control to say
32994         initialisation is done.  Add hints on lwarx.  Use macro in
32995         place of isync.
32996         (clear_once_control): Add release barrier.
32998 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33000         [BZ #13629]
33001         * math/s_clog.c (__clog): Handle more values close to |z| = 1
33002         specially.
33003         * math/s_clog10.c (__clog10): Likewise.
33004         * math/s_clog10f.c (__clog10f): Likewise.
33005         * math/s_clog10l.c (__clog10l): Likewise.
33006         * math/s_clogf.c (__clogf): Likewise.
33007         * math/s_clogl.c (__clogl): Likewise.
33008         * math/Makefile (libm-calls): Add x2y2m1.
33009         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33010         (__x2y2m1): Likewise.
33011         (__x2y2m1l): Likewise.
33012         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33013         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33014         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33015         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33016         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33017         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33018         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33019         * sysdeps/i386/fpu/libm-test-ulps: Update.
33020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33022         [BZ #14621]
33023         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33024         int as type of variable DEPTH.
33025         (glob): Use size_t instead of int as type of variables NEWCOUNT
33026         and OLD_PATHC.
33028 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33030         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33031         Add s_sincosf-sse2.
33032         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33033         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33034         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33035         macros for using routine as __sincosf_ia32.
33036         Use macro for function declaration and weak_alias.
33037         * sysdeps/i386/fpu/libm-test-ulps: Update.
33039         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33042         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33043         subnormal argument.
33044         * math/s_cexpf.c (__cexpf): Likewise.
33045         * math/s_csinf.c (__csinf): Likewise.
33046         * math/s_csinhf.c (__csinhf): Likewise.
33047         * math/s_ctanf.c (__ctanf): Likewise.
33048         * math/s_ctanhf.c (__ctanhf): Likewise.
33049         * math/s_ccosh.c (__ccoshf): Likewise.
33050         * math/s_cexp.c (__cexpl): Likewise.
33051         * math/s_csin.c (__csin): Likewise.
33052         * math/s_csinh.c (__csinh): Likewise.
33053         * math/s_ctan.c (__ctan): Likewise.
33054         * math/s_ctanh.c (ctanh): Likewise.
33055         * math/s_ccoshl.c (__ccoshl): Likewise.
33056         * math/s_cexpl.c (__cexpl): Likewise.
33057         * math/s_csinl.c (__csinl): Likewise.
33058         * math/s_csinhl.c (__csinhl): Likewise.
33059         * math/s_ctanl.c (__ctanl): Likewise.
33060         * math/s_ctanhl.c (__ctanhl): Likewise.
33062 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33064         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33065         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33066         (_IO_off_t): Define to __off_t, not _G_off_t.
33067         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33068         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33069         (_IO_wint_t): Define to wint_t, not _G_wint_t.
33070         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33071         type of __dummy and __dummy2 fields.
33072         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33073         (_G_ssize_t): Likewise.
33074         (_G_off_t): Likewise.
33075         (_G_pid_t): Likewise.
33076         (_G_uid_t): Likewise.
33077         (_G_wchar_t): Likewise.
33078         (_G_wint_t): Likewise.
33079         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33080         (_G_ssize_t): Likewise.
33081         (_G_off_t): Likewise.
33082         (_G_pid_t): Likewise.
33083         (_G_uid_t): Likewise.
33084         (_G_wchar_t): Likewise.
33085         (_G_wint_t): Likewise.
33086         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33087         (_G_ssize_t): Likewise.
33088         (_G_off_t): Likewise.
33089         (_G_pid_t): Likewise.
33090         (_G_uid_t): Likewise.
33091         (_G_wchar_t): Likewise.
33092         (_G_wint_t): Likewise.
33094 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33096         * malloc/arena.c: Include malloc-sysdep.h.
33097         (shrink_heap): Use check_may_shrink_heap to decide if madvise
33098         is sufficient to shrink the heap or an unmap is needed.
33099         * sysdeps/generic/malloc-sysdep.h: New file.  Define
33100         new function check_may_shrink_heap.
33101         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
33102         new function check_may_shrink_heap.
33104 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33106         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33107         comments.
33109 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
33111         * catgets/test-gencat.sh: Add "set -e".
33112         * elf/tst-pathopt.sh: Likewise.
33113         * grp/tst_fgetgrent.sh: Likewise.
33114         * iconvdata/run-iconv-test.sh: Likewise.
33115         * intl/tst-gettext.sh: Likewise.
33116         * intl/tst-gettext2.sh: Likewise.
33117         * intl/tst-gettext4.sh: Likewise.
33118         * intl/tst-gettext6.sh: Likewise.
33119         * intl/tst-translit.sh: Likewise.
33120         * io/ftwtest-sh: Likewise.
33121         * libio/test-freopen.sh: Likewise.
33122         * malloc/tst-mtrace.sh: Likewise.
33123         * posix/globtest.sh: Likewise.
33124         * posix/tst-getconf.sh: Likewise.
33125         * posix/wordexp-tst.sh: Likewise.
33126         * stdio-common/tst-printf.sh: Likewise.
33127         * stdio-common/tst-unbputc.sh: Likewise.
33128         * stdlib/tst-fmtmsg.sh: Likewise.
33129         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33130         * catgets/Makefile: Do not specify -e option when running
33131         testsuite shell scripts.
33132         * elf/Makefile: Likewise.
33133         * grp/Makefile: Likewise.
33134         * iconvdata/Makefile: Likewise.
33135         * intl/Makefile: Likewise.
33136         * io/Makefile: Likewise.
33137         * libio/Makefile: Likewise.
33138         * malloc/Makefile: Likewise.
33139         * posix/Makefile: Likewise.
33140         * stdio-common/Makefile: Likewise.
33141         * stdlib/Makefile: Likewise.
33142         * sysdeps/x86_64/Makefile: Likewise.
33144         * io/ftwtest-sh: Add copyright header.
33145         * posix/globtest.sh: Likewise.
33146         * posix/tst-getconf.sh: Likewise.
33147         * posix/wordexp-tst.sh: Likewise.
33148         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33150 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
33152         [BZ #13679]
33153         * Makeconfig (+link): Defined as $(+link-static) if
33154         $(build-shared) isn't yes.
33155         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33156         isn't yes.
33157         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33159         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33161         [BZ #14562]
33162         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33163         new chunk size with MALLOC_ALIGN_MASK.
33165 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
33167         [BZ #5044]
33168         * stdio-common/printf_fphex.c: Include <stdbool.h> and
33169         <rounding-mode.h>.
33170         (__printf_fphex): Determine rounding using get_rounding_mode and
33171         round_away.
33172         * stdio-common/tst-printf-round.c (struct hex_test): New
33173         structure.
33174         (hex_tests): New variable.
33175         (test_hex_in_one_mode): New function.
33176         (do_test): Also run tests for hex float output.
33178 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
33180         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33181         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33182         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33183         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33184         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33185         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33186         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33187         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33189 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
33191         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33192         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33193         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33194         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33196 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
33198         [BZ #14579]
33199         * elf/rtld.c (dl_main): Limit the check for self loading to normal
33200         mode only.
33201         * elf/tst-rtld-load-self.sh: New test.
33202         * elf/Makefile: Run it.
33204 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
33206         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33207         (tst-writev-ENV): Remove.
33208         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33210 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
33212         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33214 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
33216         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33217         unconditional.
33218         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33219         Likewise.
33220         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33221         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33222         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33223         Likewise.
33225 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
33227         [BZ #14587]
33228         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33229         * config.make.in (have-cpp-asm-debuginfo): Removed.
33230         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33231         * configure: Regenerated.
33233 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
33235         [BZ #5044]
33236         * stdio-common/printf_fp.c: Include <stdbool.h> and
33237         <rounding-mode.h>.
33238         (___printf_fp): Determine rounding using get_rounding_mode and
33239         round_away.
33240         * stdio-common/tst-printf-round.c: New file.
33241         * stdio-common/Makefile (tests): Add tst-printf-round.
33242         (link-libm): New variable.
33243         ($(objpfx)tst-printf-round): Depend in $(link-libm).
33245 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
33247         [BZ #14576]
33248         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33249         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33250         Likewise.
33251         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33252         Likewise.
33254 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
33256         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33257         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33258         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33259         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33261 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
33263         [BZ #14518]
33264         * include/rounding-mode.h: New file.
33265         * sysdeps/generic/get-rounding-mode.h: Likewise.
33266         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33267         * stdlib/strtod_l.c: Include <rounding-mode.h>.
33268         (MAX_VALUE): New macro.
33269         (MIN_VALUE): Likewise.
33270         (overflow_value): New function.
33271         (underflow_value): Likewise.
33272         (round_and_return): Use overflow_value and underflow_value to
33273         determine return values in overflow and underflow cases.  Use
33274         round_away to determine rounding depending on rounding mode.
33275         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33276         determine return values in overflow and underflow cases.
33277         * stdlib/tst-strtod-round.c: Include <fenv.h>.
33278         (struct test_results): New structure.
33279         (struct test): Use struct test_results to store expected results
33280         for all rounding modes.
33281         (TEST): Include expected results for all rounding modes.
33282         (test_in_one_mode): New function.
33283         (do_test): Use test_in_one_mode to compute and check results.
33284         Check results for all rounding modes.
33285         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33286         $(link-libm).
33288 2012-12-09  Allan McRae  <allan@archlinux.org>
33290         * sysdeps/i386/fpu/libm-test-ulps: Update
33292 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
33294         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33295         (_G_int32_t): Likewise.
33296         (_G_uint16_t): Likewise.
33297         (_G_uint32_t): Likewise.
33298         (_G_HAVE_BOOL): Likewise.
33299         (_G_HAVE_ATEXIT): Likewise.
33300         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33301         (_G_HAVE_IO_FILE_OPEN): Likewise.
33302         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33303         (_G_int32_t): Likewise.
33304         (_G_uint16_t): Likewise.
33305         (_G_uint32_t): Likewise.
33306         (_G_HAVE_BOOL): Likewise.
33307         (_G_HAVE_ATEXIT): Likewise.
33308         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33309         (_G_HAVE_IO_FILE_OPEN): Likewise.
33310         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33311         (_G_int32_t): Likewise.
33312         (_G_uint16_t): Likewise.
33313         (_G_uint32_t): Likewise.
33314         (_G_HAVE_BOOL): Likewise.
33315         (_G_HAVE_ATEXIT): Likewise.
33316         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33317         (_G_HAVE_IO_FILE_OPEN): Likewise.
33319 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
33321         * csu/libc-tls.c: Update copyright years.
33323 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
33325         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33326         [!_G_USING_THUNKS]: Remove conditional code.
33327         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33328         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33330         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33331         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33332         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33333         (_G_VTABLE_LABEL_PREFIX): Likewise.
33334         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33335         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33336         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33337         (_G_VTABLE_LABEL_PREFIX): Likewise.
33338         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33339         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33340         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33341         (_G_VTABLE_LABEL_PREFIX): Likewise.
33342         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33344 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
33346         * libio/Makefile: Include ../Makeconfig before tests.
33347         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33348         only if $(build-shared) is yes.
33350         * iconv/gconv_db.c: Update copyright years.
33352 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33354         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33355         unwind info if defined PIC. Fix special cases description.
33356         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33358         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33359         DP_HI_MASK entry.
33360         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33362 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
33364         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33366         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33367         is NULL.
33369         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33370         (LDLIBS-tst-chk4): This.
33371         (LDFLAGS-tst-chk5): Renamed to ...
33372         (LDLIBS-tst-chk5): This.
33373         (LDFLAGS-tst-chk6): Renamed to ...
33374         (LDLIBS-tst-chk6): This.
33375         (LDFLAGS-tst-lfschk4): Renamed to ...
33376         (LDLIBS-tst-lfschk4): This.
33377         (LDFLAGS-tst-lfschk5): Renamed to ...
33378         (LDLIBS-tst-lfschk5): This.
33379         (LDFLAGS-tst-lfschk6): Renamed to ...
33380         (LDLIBS-tst-lfschk6): This.
33382         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33383         on $(common-objpfx)soversions.mk.
33385 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
33387         [BZ #10014]
33388         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33389         example host name.
33391 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33393         * malloc/arena.c (arena_get_retry): New function that gets
33394         another arena for the caller to try its request on.
33395         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33396         current arena cannot fulfill the request.
33397         (__libc_memalign): Likewise.
33398         (__libc_memalign): Likewise.
33399         (__libc_pvalloc): Likewise.
33400         (__libc_calloc): Likewise.
33402 2012-09-05  John Tobey  <john.tobey@gmail.com>
33404         [BZ #13542]
33405         * manual/arith.texi (Operations on Complex): Fix description
33406         of carg branch cut.
33408 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33410         [BZ #10014]
33411         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33412         host name.
33414         [BZ #10038]
33415         * manual/memory.texi (Memory): Make order of menu items match
33416         order of sections.
33418 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33420         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33421         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
33422         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33424 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33426         * csu/libc-tls.c (static_dtv): Renamed to ...
33427         (_dl_static_dtv): This.  Make it global.
33428         (_dl_initial_dtv): Removed.
33429         (__libc_setup_tls): Updated.
33430         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33431         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33432         DL_INITIAL_DTV.
33434 2012-09-06  Petr Machata  <pmachata@redhat.com>
33436         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33437         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33438         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33439         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33441 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33443         [BZ #14545]
33444         * csu/libc-tls.c (_dl_initial_dtv): New variable.
33445         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33446         freeing dtv[-1].
33448 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33450         [BZ #14544]
33451         * Makeconfig (link-static-before-libc): Replace $(+prector)
33452         with $(+prectorT).
33453         (link-static-after-libc): Replace $(+postctor) with
33454         $(+postctorT).
33455         (link-bounded): Replace $(+prector)/$(+postctor) with
33456         $(+prectorT)/$(+postctorT).
33457         (+prectorT): New macro.
33458         (+postctorT): Likewise.
33460 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33462         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33463         (round_str): Handle values above the maximum for IBM long double
33464         as inexact.
33465         * stdlib/tst-strtod-round.c (tests): Regenerated.
33467 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33469         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33470         assembler flag.
33471         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33472         zarch_nohighgprs around the zarch optimized routines.
33473         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33474         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33475         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33476         for zarch.
33478 2012-09-05  David S. Miller  <davem@davemloft.net>
33480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33482         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33483         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33484         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33485         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33486         entries.
33488 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33490         * malloc/arena.c: Fold copyright years.
33491         * malloc/mcheck.c, malloc/memusage.c: Likewise.
33493 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33495         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33497 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33499         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
33501 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33503         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33504         change internal state upon failure.
33506 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33508         * malloc/mcheck.c (mcheck_check_all): Fix typo.
33509         * malloc/memusage.c (mmap): Likewise.
33510         (mmap64, mremap): Likewise.  Adjust name in comment.
33512 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33514         * libio/fileops.c: Fix typos in comments.
33515         * libio/oldfileops.c: Likewise.
33516         * libio/wfileops.c: Likewise.
33518 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33520         [BZ #1349]
33521         * malloc/Makefile (tests): Add tst-malloc-usable test case.
33522         (tst-malloc-usable-ENV): Set environment for test case.
33523         * malloc/hooks.c (malloc_check_get_size): New function to get
33524         requested size.
33525         * malloc/malloc.c (musable): Use malloc_check_get_size.
33526         * malloc/tst-malloc-usable.c: New test case.
33528 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33530         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33532 2012-09-05  Allan McRae  <allan@archlinux.org>
33534         [BZ #13966]
33535         * configure.in (CXX_SYSINCLUDES): Use compiler output to
33536         determine header location.
33537         * configure: Regenerated.
33539 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33541         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33542         float format.
33543         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33544         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33545         format.
33546         (test): Regenerate.
33548 2012-09-04  David S. Miller  <davem@davemloft.net>
33550         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33551         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33552         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33554 2012-09-04  Florian Weimer  <fweimer@redhat.com>
33556         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33557         failures.
33559         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33561 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
33563         [BZ #9914]
33564         * libio/iogetdelim.c: Include <limits.h>.
33565         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33566         + len + 1 would overflow.
33568 2012-09-03  Andreas Jaeger  <aj@suse.de>
33570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33571         * sysdeps/i386/fpu/libm-test-ulps: Update.
33573 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33575         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33576         Add s_sinf-sse2, s_conf-sse2.
33578         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33579         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33580         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33581         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33583         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33584         for using routine as __sinf_ia32.
33585         Use macro for function declaration and weak_alias.
33586         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33587         for using routine as __cosf_ia32.
33588         Use macro for function declaration and weak_alias.
33590         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33591         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33593         * sysdeps/x86_64/fpu/s_sinf.S: New file.
33594         * sysdeps/x86_64/fpu/s_cosf.S: New file.
33595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33597         * math/libm-test.inc (cos_test): Add more test cases.
33598         (sin_test): Likewise.
33599         (sincos_test): Likewise.
33601 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33603         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33604         (IFUNC_RESOLVE): Make pointers to the specialized implementations
33605         hidden.
33606         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33608 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
33610         [BZ #14538]
33611         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33612         first element of the GOT.
33613         (elf_machine_load_address): Return the difference between
33614         the runtime address of _DYNAMIC and elf_machine_dynamic ().
33616 2012-09-01  Allan McRae  <allan@archlinux.org>
33618         [BZ #13412]
33619         * configure.in (AWK): Require gawk version 3.0 or later.
33620         * configure: Regenerated.
33622 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
33624         * sysdeps/unix/sysv/linux/kernel-features.h
33625         (__ASSUME_POSIX_CPU_TIMERS): Remove.
33626         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33627         [__NR_clock_getres]: Make code unconditional.
33628         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33629         (clock_getcpuclockid): Remove code left unreachable by removal of
33630         conditionals.
33631         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33632         code unconditional.
33633         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33634         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33635         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33636         Make code unconditional.
33637         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33638         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33639         * sysdeps/unix/sysv/linux/clock_settime.c
33640         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33641         conditional code.
33642         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33643         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33645 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
33647         [BZ #14476]
33648         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33649         scripts/test-installation.pl.
33651         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33652         and $ld_so_version if it is set.
33654 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33656         [BZ #14516]
33657         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33658         failure if reading from procfs failed.
33659         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33661 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33663         * sysdeps/unix/sysv/linux/kernel-features.h
33664         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33665         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33666         Remove conditional code.
33667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33668         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33669         Remove conditional code.
33670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33671         * sysdeps/unix/sysv/linux/i386/fxstat.c
33672         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33674         * sysdeps/unix/sysv/linux/i386/fxstatat.c
33675         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33676         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33677         * sysdeps/unix/sysv/linux/i386/lxstat.c
33678         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33679         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33680         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33681         Remove conditional code.
33682         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33683         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33684         Remove conditional code.
33685         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33686         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33687         <kernel-features.h>.
33688         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33689         Remove.
33690         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33691         Remove conditional code.
33692         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33693         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33694         Remove conditional.
33696 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
33698         [BZ #5400]
33699         * NEWS: Add fixed bug number.
33701 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33703         [BZ #14519]
33704         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33705         underflowing exponent in case of negative sign.
33706         * stdlib/tst-strtod-round-data: Add more tests.
33707         * stdlib/tst-strtod-round.c (tests): Regenerated.
33709         [BZ #3479]
33710         * stdlib/strtod_l.c (NDIG): Remove.
33711         (HEXNDIG): Likewise.
33712         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33713         smallest representable value.
33714         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33715         lie within an exact representation of 1/2 ulp of the result.
33716         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33717         unconditionally.
33718         (TENS_P9_IDX): Define unconditionally.
33719         (TENS_P9_SIZE): Likewise.
33720         (TENS_P10_IDX): Likewise.
33721         (TENS_P10_SIZE): Likewise.
33722         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33723         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33724         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33725         entries for 10^2^13 and 10^2^14.
33726         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33727         (TENS_P13_IDX): Define.
33728         (TENS_P13_SIZE): Likewise.
33729         (TENS_P14_IDX): Likewise.
33730         (TENS_P14_SIZE): Likewise.
33731         (_fpioconst_pow10): Change array size to
33732         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33733         unconditional.
33734         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33735         1024]: Add entries for 10^2^13 and 10^2^14.
33736         [LAST_POW10 > _LAST_POW10]: Remove #error.
33737         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33738         (_fpioconst_pow10): Change array size to
33739         FPIOCONST_POW10_ARRAY_SIZE.
33740         * stdlib/gen-fpioconst.c: New file.
33741         * stdlib/gen-tst-strtod-round.c: Likewise.
33742         * stdlib/tst-strtod-round-data: Likewise.
33743         * stdlib/tst-strtod-round.c: Likewise.
33744         * stdlib/Makefile (tests): Add tst-strtod-round.
33746         [BZ #14459]
33747         * stdlib/strtod_l.c: Include <stdint.h>.
33748         (NDEBUG): Do not define.
33749         (round_and_return): Change EXPONENT parameter to type intmax_t.
33750         Rearrange calculations to avoid internal overflow possibilities.
33751         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33752         Rearrange calculations to avoid internal overflow possibilities.
33753         Assert that number fits inside MPNSIZE limbs.
33754         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33755         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33756         calculations and add assertions to avoid internal overflow
33757         possibilities.  Add casts to avoid signed/unsigned operations.
33758         * stdlib/tst-strtod-overflow.c: New file.
33759         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33761 2012-08-25  Marek Polacek  <polacek@redhat.com>
33763         * time/time.h: Fix some typos in comments.
33765 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33767         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33768         * posix/tst-rfc3484-2.c: Likewise.
33769         * posix/tst-rfc3484-3.c: Likewise.
33771 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33773         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33774         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33776 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33778         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33779         #include of fxstatat64.c.
33781 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33783         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33784         * shadow/getspent_r.c: Likewise.
33785         * shadow/getspnam.c: Likewise.
33786         * shadow/getspnam_r.c: Likewise.
33787         * gshadow/getsgent.c: Likewise.
33788         * gshadow/getsgent_r.c: Likewise.
33789         * gshadow/getsgnam.c: Likewise.
33790         * gshadow/getsgnam_r.c: Likewise.
33791         * inet/getnetbyad.c: Likewise.
33792         * inet/getnetbyad_r.c: Likewise.
33793         * inet/getnetbynm.c: Likewise.
33794         * inet/getnetbynm_r.c: Likewise.
33795         * inet/getnetent.c: Likewise.
33796         * inet/getnetent_r.c: Likewise.
33797         * inet/getproto.c: Likewise.
33798         * inet/getproto_r.c: Likewise.
33799         * inet/getprtent.c: Likewise.
33800         * inet/getprtent_r.c: Likewise.
33801         * inet/getprtname.c: Likewise.
33802         * inet/getprtname_r.c: Likewise.
33803         * inet/getrpcbyname.c: Likewise.
33804         * inet/getrpcbyname_r.c: Likewise.
33805         * inet/getrpcbynumber.c: Likewise.
33806         * inet/getrpcbynumber_r.c: Likewise.
33807         * inet/getrpcent.c: Likewise.
33808         * inet/getrpcent_r.c: Likewise.
33809         * inet/getaliasent.c: Likewise.
33810         * inet/getaliasent_r.c: Likewise.
33811         * inet/getaliasname.c: Likewise.
33812         * inet/getaliasname_r.c: Likewise.
33813         * nscd/getgrgid_r.c: Likewise.
33814         * nscd/getgrnam_r.c: Likewise.
33815         * nscd/gethstbyad_r.c: Likewise.
33816         * nscd/gethstbynm3_r.c: Likewise.
33817         * nscd/getpwnam_r.c: Likewise.
33818         * nscd/getpwuid_r.c: Likewise.
33819         * nscd/getsrvbynm_r.c: Likewise.
33820         * nscd/getsrvbypt_r.c: Likewise.
33821         * nscd/gai.c: Likewise.
33823         * configure.in (build_nscd): New substituted variable, set
33824         by --disable-build-nscd and defaults to $use_nscd.
33825         * configure: Regenerated.
33826         * config.make.in (build-nscd): New substituted variable.
33827         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33828         Change conditional to require [$(build-nscd) = yes] as well.
33829         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33831         [BZ# 13696]
33832         * configure.in (use_nscd): New substituted variable, set by
33833         --disable-nscd.  If enabled, define USE_NSCD.
33834         * configure: Regenerated.
33835         * config.h.in: Add USE_NSCD.
33836         * config.make.in (use-nscd): New substituted variable.
33837         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33838         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33839         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33840         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33841         (CFLAGS-getgrnam_r.c): Likewise.
33842         (CFLAGS-initgroups.c): Likewise.
33843         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33844         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33845         Variables removed.
33846         * inet/getnetgrent_r.c
33847         (nscd_setnetgrent): New function, broken out of ...
33848         (setnetgrent): ... here.  Call it.
33849         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33850         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33851         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33852         * nscd/Makefile (routines, aux): Move definitions after include of
33853         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33854         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33855         Conditionalize on [USE_NSCD].
33856         (is_nscd, nscd_init_cb): Likewise.
33857         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33858         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33859         * nss/nss_db/db-init.c: Likewise.
33860         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33861         [USE_NSCD].
33862         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33863         (make_request): Use it.
33864         (cache_valid_p): New function.
33865         (__check_pf): Use it.
33866         * NEWS: Add item for --disable-nscd.
33868 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33870         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33871         to support sed >= 4.2.1-20-ga9bf076.
33872         * configure: Regenerated.
33874 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33876         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33877         Conditionalize whole body on [IREL].
33879 2012-08-22  Jeff Law <law@redhat.com>
33881         [BZ #14505]
33882         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33883         if the family is PF_UNSPEC.
33885 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33887         * Makerules (lib-version): Rename from V.
33888         (install-lib-nosubdir): Change V to lib-version.
33890 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33892         [BZ #14252]
33893         * powerpc32/power6/wcschr.c: New file.
33894         * powerpc32/power6/wcscpy.c: New file.
33895         * powerpc32/power6/wcsrchr.c: New file.
33896         * powerpc64/power6/wcschr.c: New file.
33897         * powerpc64/power6/wcscpy.c: New file.
33898         * powerpc64/power6/wcsrchr.c: New file.
33900 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33902         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33903         (two_way_short_needle): Use it.
33904         * string/strstr.c (AVAILABLE1_USES_J): Define.
33905         * string/strcasestr.c: Likewise.
33907         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33908         array references.
33909         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33911         [BZ #11607]
33912         * NEWS: Add an entry.
33913         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33914         define their defaults.
33915         (two_way_short_needle): Detect end-of-string on-the-fly.
33916         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33917         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33918         * string/bug-strcasestr1.c: New test.
33919         * string/Makefile: Run it.
33921 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33923         [BZ #11607]
33924         * string/str-two-way.h (two_way_short_needle): Optimize matching of
33925         the first character.
33927 2012-08-21  Roland McGrath  <roland@hack.frob.com>
33929         * csu/elf-init.c (__libc_csu_irel): Function removed.
33930         * csu/libc-start.c (apply_irel): New function.
33931         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33933 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
33935         * sysdeps/unix/sysv/linux/kernel-features.h
33936         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33937         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33938         <kernel-features.h>.
33939         [__NR_fadvise64_64]: Make code unconditional.
33940         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33941         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33942         !__NR_fadvise64_64)]: Likewise.
33943         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33944         !__NR_fadvise64_64))]: Likewise.
33945         [__NR_fadvise64]: Make code unconditional.
33946         [!__NR_fadvise64]: Remove conditional code.
33947         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33948         <kernel-features.h>.
33949         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33950         unconditional.
33951         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33952         conditional code.
33953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33954         not include <kernel-features.h>.
33955         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33956         unconditional.
33957         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33958         conditional code.
33959         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33960         include <kernel-features.h>.
33961         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33962         unconditional.
33963         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33964         conditional code.
33966 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33968         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33969         slight instruction rearrangements per scrollpipe analysis.
33970         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33972 2012-08-20  Roland McGrath  <roland@hack.frob.com>
33974         * manual/syslog.texi (syslog; vsyslog, closelog):
33975         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33976         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33978         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33979         DSOCAPS to match condition on defining it.
33981 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
33983         * sysdeps/unix/sysv/linux/kernel-features.h
33984         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33986         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33987         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33989         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33990         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33992         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33993         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33995         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33996         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33998         * sysdeps/unix/sysv/linux/kernel-features.h
33999         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34000         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34001         unconditional.
34002         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34003         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34004         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34005         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34006         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34007         Make code unconditional.
34008         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34009         (__mmap64) [!__NR_mmap2]: Likewise.
34010         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34011         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34012         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34013         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34014         [__NR_mmap2]: Make code unconditional.
34015         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34016         (__mmap64) [!__NR_mmap2]: Likewise.
34018 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34020         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34022 2012-08-18  Andreas Jaeger  <aj@suse.de>
34024         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34026 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34028         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34029         * include/unistd.h (__have_sock_cloexec): Likewise.
34030         (__have_pipe2): Likewise.
34031         (__have_dup3): Likewise.
34033 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34035         [BZ #9685]
34036         * include/unistd.h (__have_pipe2): Change define into an extern int.
34037         (__have_dup3): Likewise.
34038         * socket/have_sock_cloexec.c: Include fcntl.h.
34039         (__have_pipe2): New variable.
34040         (__have_dup3): Likewise.
34042 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
34044         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34046 2012-08-17  Marek Polacek  <polacek@redhat.com>
34048         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34049         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34051 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34053         * configure.in: Add AC_SUBST for sysheaders.
34054         * configure: Regenerated.
34055         * config.make.in (sysheaders): New substituted variable.
34057         * sysdeps/unix/mkfifo.c: Moved ...
34058         * sysdeps/posix/mkfifo.c: ... here.
34059         * sysdeps/unix/mkfifoat.c: Moved ...
34060         * sysdeps/posix/mkfifoat.c: ... here.
34062         * sysdeps/unix/utime.c: Moved ...
34063         * sysdeps/posix/utime.c: ... here.
34065         * sysdeps/unix/time.c: Moved ...
34066         * sysdeps/posix/time.c: ... here.
34067         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34068         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34070         * sysdeps/unix/nice.c: Moved ...
34071         * sysdeps/posix/nice.c: ... here.
34073         * sysdeps/unix/alarm.c: Moved ...
34074         * sysdeps/posix/alarm.c: ... here.
34076         * intl/Makefile ($(codeset_mo)): Depend on the input file.
34078 2012-08-17  Jeff Law <law@redhat.com>
34080         * intl/Makefile (codeset_mo): New variable.
34081         ($(codeset_mo)): New target.
34082         (tst-codeset.out): Depend on that.  Remove explicit rule.
34083         (tst-gettext3.out, tst-gettext5.out): Likewise.
34084         (LOCPATH-ENV, tst-codeset-ENV): New variables.
34085         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34086         * intl/tst-codeset.sh: Remove.
34087         * intl/tst-gettext3.sh: Likewise.
34088         * intl/tst-gettext5.sh: Likewise.
34090 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34092         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
34093         * sysdeps/unix/syscalls.list: ... here.
34095         * sysdeps/posix/getaddrinfo.c
34096         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34097         (gaiconf_init, gaiconf_reload): Use them.
34098         [!_STATBUF_ST_NSEC]
34099         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34100         Define using time_t rather than struct timespec.
34102         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34103         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34104         Macros removed.
34105         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34106         [!NO_THREADS].
34107         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34108         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34109         Likewise.
34111         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34112         __libc_cleanup_push argument.
34114         * bits/param.h: New file.
34115         * misc/sys/param.h: New file.
34116         * include/sys/param.h: New file.
34117         * misc/Makefile (headers): Add bits/param.h.
34118         * sysdeps/generic/sys/param.h: File removed.
34119         * sysdeps/unix/sysv/linux/bits/param.h: New file.
34120         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34121         * sysdeps/mach/hurd/bits/param.h: New file.
34122         * sysdeps/mach/hurd/sys/param.h: File removed.
34124         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34125         last change.
34127         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34128         [_IO_MTSAFE_IO].
34129         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34130         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34131         New macros.
34133         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34134         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34135         rather than -D_IO_MTSAFE_IO conditionally.
34136         * stdio-common/Makefile (CPPFLAGS): Likewise.
34137         * wcsmbs/Makefile (CPPFLAGS): Likewise.
34138         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34139         Use $(libio-mtsafe).
34140         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34141         of -D_IO_MTSAFE_IO.
34142         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34143         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34144         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34145         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34146         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34147         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34148         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34149         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34150         (CFLAGS-fread_u_chk.c): Likewise.
34151         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34152         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34153         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34154         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34155         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34156         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34157         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34158         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34159         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34161         * libio/Makefile: Test [$(libc-reentrant) = yes]
34162         instead of [$(filter %REENTRANT, $(defines)) nonempty].
34164         * Makeconfig
34165         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34166         * sysdeps/pthread/configure: File removed.
34167         * sysdeps/pthread/Makeconfig: New file.
34168         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34169         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34171 2012-08-16  Gary Benson  <gbenson@redhat.com>
34173         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34174         unmapping the first object in a namespace.
34176 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34178         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34179         (__internal_setnetgrent): ... this.  Add internal_function to
34180         definition.  Add libc_hidden_def.
34181         (setnetgrent): Update caller.
34182         (internal_endnetgrent): Renamed to ...
34183         (__internal_endnetgrent): ... this.  Add internal_function to
34184         definition.  Add libc_hidden_def.
34185         (endnetgrent): Update caller.
34186         (internal_getnetgrent_r): Renamed to ...
34187         (__internal_getnetgrent_r): ... this.  Add internal_function to
34188         definition.  Add libc_hidden_def.
34189         (__getnetgrent_r): Update caller.
34190         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
34192 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34194         * stdlib/longlong.h: Update from GCC.
34196 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34198         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34199         on _QL, which is set by umul_ppmm but never used.
34200         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34201         variables, which are set by GMP macros but never used.
34202         * stdio-common/_itowa.c (_itowa): Likewise.
34203         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34204         * stdlib/mod_1.c (mpn_mod_1): Likewise.
34206 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
34208         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34209         struct La_sh_regs is not constant.
34210         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34211         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34212         and struct La_sparc64_regs are not constant.
34214 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34216         * sysdeps/unix/sysv/linux/kernel-features.h
34217         (__ASSUME_POSIX_TIMERS): Remove.
34218         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34219         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34220         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34221         Make code unconditional.
34222         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34223         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34224         Make code unconditional.
34225         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34226         * sysdeps/unix/sysv/linux/clock_nanosleep.c
34227         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34228         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34229         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34230         Make code unconditional.
34231         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34232         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34233         (__libc_missing_posix_timers): Remove.
34235 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34237         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34238         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34240         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34242         * elf/dl-sym.c: Include <stdlib.h>.
34244         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34245         constants, which avoids warnings in 32-bit builds.
34247         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34248         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34250         * misc/lseek.c: File moved to ...
34251         * io/lseek.c: ... here.
34253         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34255         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34256         shifting LEN more than 31 bits at once.
34258 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34260         [BZ #14195]
34261         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34262         segmentation fault for a case of two empty input strings.
34263         * string/test-strncasecmp.c (check1): Renamed to...
34264         (bz12205): ...this.
34265         (bz14195): Add new testcase for two empty input strings and N > 0.
34266         (test_main): Call new testcase, adapt for renamed function.
34268 2012-08-15  Andreas Jaeger  <aj@suse.de>
34270         [BZ #14090]
34271         * crypt/md5test2.c: New test, based on test supplied by Serge
34272         Belyshev <belyshev@depni.sinp.msu.ru>.
34273         * crypt/Makefile (xtests): Add md5test-giant..
34274         * crypt/Makefile ($(objpfx)md5test-giant): Add.
34276 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
34278         [BZ #14090]
34279         * crypt/md5.c (md5_process_block): Don't assume the buffer
34280         length is less than 2**32.
34281         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34282         length is less than 2**64.
34284 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34286         * string/str-two-way.h: Include <sys/param.h>.
34287         (MAX): Macro removed.
34289         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34290         Move #define and #undef of memmove to just before and after
34291         including <string.h>.
34293         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34294         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34295         and after including <string.h>.  Move declarations of
34296         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34297         to before #include "string/memmove.c".
34299         * include/dirent.h: Declare __getdirentries.
34301         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34302         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34304 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
34306         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34307         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34308         * sysdeps/i386/configure: Regenerated.
34309         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34310         STABS_CURRENT_FILE, and STABS_FUN.
34311         (END): Remove call to STABS_FUN_END.
34312         (STABS_CURRENT_FILE1): Delete.
34313         (STABS_CURRENT_FILE): Likewise.
34314         (STABS_FUN): Likewise.
34315         (STABS_FUN_END): Likewise.
34316         (STABS_FUN2): Likewise.
34317         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34318         * sysdeps/x86_64/configure: Regenerated.
34320 2012-08-14  Roland McGrath  <roland@hack.frob.com>
34322         * elf/dl-open.c: Include <atomic.h>.
34323         * elf/dl-lookup.c: Likewise.
34325 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
34327         * sysdeps/unix/sysv/linux/kernel-features.h
34328         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34329         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34330         unconditionally.
34331         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34332         unconditionally.
34333         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34334         condition on __ASSUME_CLONE_THREAD_FLAGS.
34336 2012-08-14  Andreas Jaeger  <aj@suse.de>
34338         * sysdeps/i386/fpu/libm-test-ulps: Update.
34340 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
34342         * include/atomic.h (atomic_exchange_and_add): Split into ...
34343         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34344         New atomic macros.
34346 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
34348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34350 2012-08-13  Jeff Law <law@redhat.com>
34352         * manual/stdio.texi (snprintf): Clarify handling of the trailing
34353         null byte in the output string.
34355 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
34357         * sysdeps/unix/sysv/linux/kernel-features.h
34358         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34359         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34360         (__ASSUME_ARG_MAX_STACK_BASED): Define.
34361         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34362         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34363         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
34364         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34366 2012-08-09  Jeff Law <law@redhat.com>
34368         [BZ #13939]
34369         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34370         When avoid_arena is set, don't retry in the that arena.  Pick the
34371         next one, whatever it might be.
34372         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34373         (arena_lock): Pass in new parameter to arena_get2.
34374         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34375         arena_get2.
34376         (__libc_malloc): Unify retrying after main arena failure with
34377         __libc_memalign version.
34378         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34380 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
34382         [BZ #14166]
34383         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34384         to __redirect_strstr.
34385         (__strstr_sse42): Use typeof __redirect_strstr.
34386         (__strstr_ia32): Likewise.
34387         (__libc_strstr): New prototype.
34388         (strstr): Renamed to ...
34389         (__libc_strstr): This.
34390         (strstr): New strong alias of __libc_strstr.
34391         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34392         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34393         __redirect_time.
34394         Include <time.h>.
34395         (__libc_time): New prototype.
34396         (time_ifunc): Replace time with __libc_time.
34397         (time): New strong alias and hidden definition of __libc_time.
34398         (__GI_time): Remove strong alias.
34399         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34400         Include <stddef.h>.
34401         (memmove): Redefined to __redirect_memmove.
34402         (__memmove_sse2): Use typeof __redirect_memmove.
34403         (__memmove_ssse3): Likewise.
34404         (__memmove_ssse3_back): Likewise.
34405         (__libc_memmove): New prototype.
34406         (memmove): Renamed to ...
34407         (__libc_memmove): This.
34408         (memmove): New strong alias of __libc_memmove.
34410 2012-08-08  Mark Salter  <msalter@redhat.com>
34412         * elf/elf.h
34413         (R_MN10300_TLS_GD): Define.
34414         (R_MN10300_TLS_LD): Likewise.
34415         (R_MN10300_TLS_LDO): Likewise.
34416         (R_MN10300_TLS_GOTIE): Likewise.
34417         (R_MN10300_TLS_IE): Likewise.
34418         (R_MN10300_TLS_LE): Likewise.
34419         (R_MN10300_TLS_DTPMOD): Likewise.
34420         (R_MN10300_TLS_DTPOFF): Likewise.
34421         (R_MN10300_TLS_TPOFF): Likewise.
34422         (R_MN10300_SYM_DIFF): Likewise.
34423         (R_MN10300_ALIGN): Likewise.
34424         (R_MN10300_NUM): Update.
34426 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
34428         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34429         Remove.
34431 2012-08-08  Roland McGrath  <roland@hack.frob.com>
34433         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34435         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34436         sysdeps/unix -> sysdeps/posix move.
34437         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34439 2012-08-07      Allan McRae     <allan@archlinux.org>
34441         [BZ #14303]
34442         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34443         (SUNOS_CPP): Likewise.
34444         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34445         not found.
34446         (open_input): Call CPP using execvp.
34448 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34450         * sysdeps/unix/sysv/linux/kernel-features.h
34451         (__ASSUME_PROT_GROWSUPDOWN): Remove.
34452         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34453         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34454         (__ASSUME_WAITID_SYSCALL): Likewise.
34455         * sysdeps/unix/sysv/linux/dl-execstack.c
34456         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34457         code unconditional.
34458         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34459         conditional code.
34460         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34461         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34462         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34463         code.
34464         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34465         unconditional.
34466         [__ASSUME_WAITID_SYSCALL]: Likewise.
34467         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34469 2012-08-07  Roland McGrath  <roland@hack.frob.com>
34471         * sysdeps/unix/closedir.c: Renamed to ...
34472         * sysdeps/posix/closedir.c: ... here.
34473         * sysdeps/unix/dirfd.c: Renamed to ...
34474         * sysdeps/posix/dirfd.c: ... here.
34475         * sysdeps/unix/dirstream.h: Renamed to ...
34476         * sysdeps/posix/dirstream.h: ... here.
34477         * sysdeps/unix/fdopendir.c: Renamed to ...
34478         * sysdeps/posix/fdopendir.c: ... here.
34479         * sysdeps/unix/opendir.c: Renamed to ...
34480         * sysdeps/posix/opendir.c: ... here.
34481         * sysdeps/unix/readdir.c: Renamed to ...
34482         * sysdeps/posix/readdir.c: ... here.
34483         * sysdeps/unix/readdir_r.c: Renamed to ...
34484         * sysdeps/posix/readdir_r.c: ... here.
34485         * sysdeps/unix/rewinddir.c: Renamed to ...
34486         * sysdeps/posix/rewinddir.c: ... here.
34487         * sysdeps/unix/seekdir.c: Renamed to ...
34488         * sysdeps/posix/seekdir.c: ... here.
34489         * sysdeps/unix/telldir.c: Renamed to ...
34490         * sysdeps/posix/telldir.c: ... here.
34491         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34492         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34493         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34494         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34496         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34497         * bits/fcntl.h: ... here.
34499         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34500         not 0.
34501         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34502         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34503         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34504         (struct flock): Move l_start, l_len to the beginning.
34505         Use __pid_t for l_pid.
34506         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34507         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34508         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34509         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34510         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34511         [__USE_LARGEFILE64] (struct flock64): New type.
34512         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34514         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34515         * bits/dirent.h: ... here.
34517         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34518         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34520 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34522         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34523         Change from 2.6.0 to 2.6.16.
34524         * sysdeps/unix/sysv/linux/configure: Regenerated.
34525         * sysdeps/unix/sysv/linux/kernel-features.h
34526         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34527         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34528         version.
34529         (__ASSUME_UTIMES): Likewise.
34530         (__ASSUME_CLONE_STOPPED): Remove.
34531         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34532         architectures, not kernel version.
34533         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34534         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34535         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34536         (__ASSUME_WAITID_SYSCALL): Likewise.
34537         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34538         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34539         * README: State 2.6.16 as minimum Linux kernel version.  Do not
34540         refer to older versions.
34542 2012-08-06  Roland McGrath  <roland@hack.frob.com>
34544         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34545         Define alphasort64 as an alias.
34546         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34547         Define versionsort64 as an alias.
34548         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34549         Define scandir64 as an alias.
34550         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34551         Define scandirat64 as an alias.
34552         * dirent/alphasort64.c (alphasort64):
34553         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34554         * dirent/versionsort64.c: Likewise.
34555         * dirent/scandir64.c: Likewise.
34556         * dirent/scandirat64.c: Likewise.
34557         * sysdeps/wordsize-64/alphasort.c: File removed.
34558         * sysdeps/wordsize-64/alphasort64.c: File removed.
34559         * sysdeps/wordsize-64/scandir.c: File removed.
34560         * sysdeps/wordsize-64/scandir64.c: File removed.
34561         * sysdeps/wordsize-64/scandirat.c: File removed.
34562         * sysdeps/wordsize-64/scandirat64.c: File removed.
34563         * sysdeps/wordsize-64/versionsort.c: File removed.
34564         * sysdeps/wordsize-64/versionsort64.c: File removed.
34565         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34566         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34567         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34568         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34569         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34570         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34571         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34572         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34574         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34575         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34576         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34577         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34578         [defined __arch64__ || defined __sparcv9]
34579         (__INO_T_MATCHES_INO64_T): New macro.
34580         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34581         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34582         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34583         * sysdeps/unix/sysv/linux/bits/dirent.h
34584         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34585         (_DIRENT_MATCHES_DIRENT64): New macro.
34587         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34588         Define lockf64 as an alias.
34589         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34590         Define fseeko64 as an alias.
34591         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34592         Define ftello64 as an alias.
34593         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34594         Define _IO_fgetpos64 and fgetpos64 as aliases.
34595         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34596         Define _IO_fsetpos64 and fsetpos64 as aliases.
34597         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34598         Conditionalize body on this.
34599         * libio/fseeko64.c: Likewise.
34600         * libio/ftello64.c: Likewise.
34601         * libio/iofgetpos64.c: Likewise.
34602         * libio/iofsetpos64.c: Likewise.
34603         * sysdeps/wordsize-64/lockf.c: File removed.
34604         * sysdeps/wordsize-64/lockf64.c: File removed.
34605         * sysdeps/wordsize-64/fseeko.c: File removed.
34606         * sysdeps/wordsize-64/fseeko64.c: File removed.
34607         * sysdeps/wordsize-64/ftello.c: File removed.
34608         * sysdeps/wordsize-64/ftello64.c: File removed.
34609         * sysdeps/wordsize-64/iofgetpos.c: File removed.
34610         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34611         * sysdeps/wordsize-64/iofsetpos.c: File removed.
34612         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34613         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34614         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34615         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34616         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34617         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34618         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34619         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34620         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34621         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34622         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34624         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34626         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34627         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34628         [defined __arch64__ || defined __sparcv9]
34629         (__OFF_T_MATCHES_OFF64_T): New macro.
34630         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34631         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34632         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34633         (__OFF_T_MATCHES_OFF64_T): New macro.
34635 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34637         * stdlib/secure-getenv.c (__secure_getenv): Replace
34638         GLIBC_2_16 with GLIBC_2_17.
34640 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34642         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34643         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34645 2012-08-03  David S. Miller  <davem@davemloft.net>
34647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34649 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34651         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34652         Remove.
34653         (__ASSUME_CORRECT_SI_PID): Likewise.
34654         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34655         (__ASSUME_TMPFS_NAME): Likewise.
34656         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34657         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34658         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34659         (HAVE_AUX_SECURE): Make definition unconditional.
34660         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34661         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34663 2012-08-03  Roland McGrath  <roland@hack.frob.com>
34665         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34666         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34667         * sysdeps/mach/hurd/eloop-threshold.h: New file.
34668         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34669         __eloop_threshold instead of SYMLOOP_MAX.
34671         * sysdeps/generic/eloop-threshold.h: New file.
34672         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34673         of MAXSYMLINKS.
34674         * elf/chroot_canon.c (chroot_canon): Likewise.
34676 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34678         [BZ #13717]
34679         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34680         Change to 2.6.0 everywhere.
34681         * sysdeps/unix/sysv/linux/configure: Regenerated.
34682         * sysdeps/unix/sysv/linux/kernel-features.h
34683         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34684         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34685         kernel versions.
34686         (__ASSUME_POSIX_TIMERS): Define unconditionally.
34687         (__ASSUME_FUTEX_REQUEUE): Remove.
34688         (__ASSUME_STATFS64): Define unconditionally.
34689         (__ASSUME_AT_SECURE): Likewise.
34690         (__ASSUME_CORRECT_SI_PID): Likewise.
34691         (__ASSUME_TGKILL): Define without depending on kernel version for
34692         i386.
34693         (__ASSUME_UTIMES): Likewise.
34694         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34695         kernel version.
34696         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34697         (__ASSUME_TMPFS_NAME): Likewise.
34698         * README: Update reference to Linux kernel versions.
34700 2012-08-02  Marek Polacek  <polacek@redhat.com>
34702         [BZ# 14150]
34703         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
34704         libc_cv_asm_type_prefix with %.
34705         * configure: Regenerated.
34706         * include/libc-symbols.h: Remove comment about
34707         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34708         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34709         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34710         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34711         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34712         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34713         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34714         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34715         * elf/tst-unique2mod1.c: Likewise.
34716         * elf/tst-unique1mod2.c: Likewise.
34717         * elf/tst-unique1mod1.c: Likewise.
34718         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34719         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34720         Replace ASM_TYPE_DIRECTIVE with .type.
34721         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34722         * sysdeps/i386/sysdep.h: Likewise.
34723         * sysdeps/x86_64/sysdep.h: Likewise.
34724         * sysdeps/sh/sysdep.h: Likewise.
34725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34726         Do not define ASM_TYPE_DIRECTIVE.
34727         * sysdeps/powerpc/sysdep.h: Likewise.
34728         * sysdeps/powerpc/powerpc32/sysdep.h:
34729         Replace ASM_TYPE_DIRECTIVE with .type.
34730         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34731         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34732         * sysdeps/i386/fpu/e_powf.S: Likewise.
34733         * sysdeps/i386/fpu/e_expl.S: Likewise.
34734         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34735         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34736         * sysdeps/i386/fpu/e_pow.S: Likewise.
34737         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34738         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34739         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34740         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34741         * sysdeps/i386/fpu/e_log2.S: Likewise.
34742         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34743         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34744         * sysdeps/i386/fpu/e_powl.S: Likewise.
34745         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34746         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34747         * sysdeps/i386/fpu/e_logl.S: Likewise.
34748         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34749         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34750         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34751         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34752         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34753         * sysdeps/i386/fpu/e_log.S: Likewise.
34754         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34755         * sysdeps/i386/fpu/e_logf.S: Likewise.
34756         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34757         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34758         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34759         * sysdeps/i386/fpu/e_log10.S: Likewise.
34760         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34761         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34762         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34763         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34764         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34765         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34766         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34767         * sysdeps/i386/i686/strtok.S: Likewise.
34768         * sysdeps/i386/i386-mcount.S: Likewise.
34769         * sysdeps/i386/strtok.S: Likewise.
34770         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34771         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34772         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34773         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34774         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34775         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34776         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34777         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34778         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34779         * sysdeps/x86_64/_mcount.S: Likewise.
34780         * sysdeps/x86_64/strtok.S: Likewise.
34781         * sysdeps/sh/_mcount.S: Likewise.
34783 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34785         * libio/iofopen.c: Include <fcntl.h>.
34786         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34787         (_IO_fopen64, fopen64): Define as aliases.
34788         * libio/iofopen64.c: Include <fcntl.h>.
34789         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34790         Conditionalize body on this.
34791         * sysdeps/wordsize-64/iofopen.c: File removed.
34792         * sysdeps/wordsize-64/iofopen64.c: File removed.
34794 2012-08-01  Marek Polacek  <polacek@redhat.com>
34796         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34797         Use dlfcn directly instead of a variable.
34798         (binfmt-subdir): Do not define.
34799         (dlfcn): Likewise.
34801 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34803         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34804         Remove all definitions.
34805         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34806         <kernel-features.h>.
34807         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34808         (miss_F_GETOWN_EX): Remove all definitions.
34809         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34810         macro definition.
34811         [!__ASSUME_FCNTL64]: Remove conditional code.
34812         [__ASSUME_FCNTL64]: Make code unconditional.
34813         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34814         <kernel-features.h>.
34815         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34816         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34817         (lockf64) [__NR_fcntl64]: Make code unconditional.
34818         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34820         * sysdeps/unix/sysv/linux/kernel-features.h
34821         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34822         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34823         Make code unconditional.
34824         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34825         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34827         [__NR_vfork]: Make code unconditional.
34828         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34829         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34831         [__NR_vfork]: Make code unconditional.
34832         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34833         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34835 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34837         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34838         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34840         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34841         Define mkstemp64 as an alias.
34842         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34843         Define mkstemps64 as an alias.
34844         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34845         Define mkostemp64 as an alias.
34846         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34847         Define mkostemps64 as an alias.
34848         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34849         Conditionalize body on this.
34850         * misc/mkostemp64.c: Likewise.
34851         * misc/mkostemps64.c: Likewise.
34852         * misc/mkstemps64.c: Likewise.
34853         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34854         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34855         * sysdeps/wordsize-64/mkostemp.c: File removed.
34856         * sysdeps/wordsize-64/mkstemp.c: File removed.
34857         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34858         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34859         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34860         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34862         [BZ #14138]
34863         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34864         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34865         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34866         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34868         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34869         compat_symbol macros from <shlib-compat.h> rather than the underlying
34870         default_symbol_version and symbol_version macros, so that DEFAULT
34871         lines in shlib-versions are respected.
34872         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34874 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34876         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34877         Declare with warn_unused_result.
34878         (setgid, setregid, setegid, setresgid): Likewise.
34879         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34880         Likewise.
34881         * WUR-REPORT: Remove set*id functions.
34883 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34885         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34887 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34889         [BZ #10191]
34890         * include/sys/socket.h (__libc_accept, __libc_accept4):
34891         Add attribute_hidden.
34892         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34894         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34895         use of PTR_MANGLE.
34896         * inet/getnetgrent_r.c (setup): Likewise.
34898         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34900 2012-07-31  David S. Miller  <davem@davemloft.net>
34902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34904 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34906         [BZ #13629]
34907         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34908         value between 1.0 and 2.0 and smaller part has absolute value less
34909         than 1.0.
34910         * math/s_clog10.c (__clog10): Likewise.
34911         * math/s_clog10f.c (__clog10f): Likewise.
34912         * math/s_clog10l.c (__clog10l): Likewise.
34913         * math/s_clogf.c (__clogf): Likewise.
34914         * math/s_clogl.c (__clogl): Likewise.
34915         * math/libm-test.inc (clog_test): Add more tests.
34916         (clog10_test): Likewise.
34917         * sysdeps/i386/fpu/libm-test-ulps: Update.
34918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34920 2012-07-31  Florian Weimer  <fweimer@redhat.com>
34922         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34923         Exit with zero in case no suitable GID is found, and write a
34924         message to standard error.
34926 2012-07-30  Roland McGrath  <roland@hack.frob.com>
34928         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34929         rather than to 1.
34930         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34931         (MAXPATHLEN): Removed.
34932         (NOGROUP, NODEV): New macros.
34933         (setbit, clrbit, isset, isclr): New macros.
34934         (howmany, roundup, powerof2): New macros.
34935         (DEV_BSIZE): New macro.
34937         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34938         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34940         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34941         definition on [!__NO_LONG_DOUBLE_MATH].
34943         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34944         PTR_MANGLE and PTR_DEMANGLE.
34946         * socket/accept4.c (accept4): Rename to __libc_accept4.
34947         Define accept4 as a weak alias.
34949         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34950         on [_DIRENT_HAVE_D_TYPE].
34951         * io/ftw.c (ftw_dir): Likewise.
34953         * io/xmknod.c (__xmknod): Don't check PATH for being null.
34955         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34957         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34958         Use the BSD numbers rather than the arbitrary ones we had.
34959         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34960         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34961         (SIGXCPU, SIGXFSZ): New macros.
34962         (_NSIG): Now 32.
34964         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34965         initializer on [_LIBC_REENTRANT].
34967         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34968         definitions inside [_POSIX_MAPPED_FILES].
34970         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34972         * dirent/opendir.c: Include <fcntl.h>.
34974         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34975         (__libc_getspecific): Likewise.
34976         (__libc_key_create): Likewise.
34978         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34979         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34980         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34981         (tmpfile64): Define as alias.
34982         * sysdeps/wordsize-64/tmpfile.c: File removed.
34983         * sysdeps/wordsize-64/tmpfile64.c: File removed.
34984         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34985         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34987         * stdio-common/vfscanf.c: Include <stdbool.h>.
34988         * nss/makedb.c: Likewise.
34989         * stdio-common/_i18n_number.h: Likewise.
34990         * argp/argp-help.c: Likewise.
34991         * posix/wordexp.c: Likewise.
34992         * sysdeps/posix/spawni.c: Likewise.
34993         * nss/nss_files/files-initgroups.c: Likewise.
34994         * stdio-common/reg-modifier.c: Include <stdlib.h>.
34995         * nss/nss_files/files-initgroups.c: Likewise.
34996         * nss/nss_db/db-netgrp.c: Likewise.
34997         * nss/nss_db/db-initgroups.c: Likewise.
34998         * io/fchmodat.c: Include <sys/stat.h>.
35000         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35001         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35003         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35004         [HAVE_MMAP].
35006         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35007         Add multiple inclusion protection.
35009 2012-07-27  David S. Miller  <davem@davemloft.net>
35011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35013 2012-07-27  Gary Benson  <gbenson@redhat.com>
35015         [BZ #14298]
35016         * elf/rtld.c: Include <stap-probe.h>.
35017         (dl_main): Added static probes "init_start" and "init_complete".
35018         * elf/dl-load.c: Include <stap-probe.h>.
35019         (lose): Take new parameter "nsid".
35020         Added static probe "map_failed".
35021         (_dl_map_object_from_fd): Pass namespace id to lose.
35022         Added static probe "map_start".
35023         (open_verify): Pass namespace id to lose.
35024         * elf/dl-open.c: Include <stap-probe.h>.
35025         (dl_open_worker) Added static probes "map_complete", "reloc_start"
35026         and "reloc_complete".
35027         * elf/dl-close.c: Include <stap-probe.h>.
35028         (_dl_close_worker): Added static probes "unmap_start" and
35029         "unmap_complete".
35030         * elf/rtld-debugger-interface.txt: New file documenting the above.
35032 2012-07-26  Roland McGrath  <roland@hack.frob.com>
35034         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35035         rather than a string variable.
35036         * sunrpc/rpc_main.c (h_output): Likewise.
35037         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35039 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
35041         * inet/check_native.c: New file.
35043 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
35045         [BZ #13629]
35046         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35047         if larger part has absolute value 1.0.
35048         * math/s_clog10.c (__clog10): Likewise.
35049         * math/s_clog10f.c (__clog10f): Likewise.
35050         * math/s_clog10l.c (__clog10l): Likewise.
35051         * math/s_clogf.c (__clogf): Likewise.
35052         * math/s_clogl.c (__clogl): Likewise.
35053         * math/libm-test.inc (clog_test): Add more tests.
35054         (clog10_test): Likewise.
35055         * sysdeps/i386/fpu/libm-test-ulps: Update.
35056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35058         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35059         (pltexit): Likewise.
35060         (La_regs): Likewise.
35061         (La_retval): Likewise.
35062         (int_retval): Likewise.
35063         Update #error for removed macros to refer only to definitions in
35064         tst-audit.h.
35065         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35066         macro.
35067         (pltexit): Likewise.
35068         (La_regs): Likewise.
35069         (La_retval): Likewise.
35070         (int_retval): Likewise.
35071         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35072         macro.
35073         (pltexit): Likewise.
35074         (La_regs): Likewise.
35075         (La_retval): Likewise.
35076         (int_retval): Likewise.
35077         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35078         macro.
35079         (pltexit): Likewise.
35080         (La_regs): Likewise.
35081         (La_retval): Likewise.
35082         (int_retval): Likewise.
35083         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35084         macro.
35085         (pltexit): Likewise.
35086         (La_regs): Likewise.
35087         (La_retval): Likewise.
35088         (int_retval): Likewise.
35089         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35090         macro.
35091         (pltexit): Likewise.
35092         (La_regs): Likewise.
35093         (La_retval): Likewise.
35094         (int_retval): Likewise.
35095         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35096         macro.
35097         (pltexit): Likewise.
35098         (La_regs): Likewise.
35099         (La_retval): Likewise.
35100         (int_retval): Likewise.
35101         * sysdeps/generic/tst-audit.h: Update comment to refer only to
35102         macro definitions in tst-audit.h.
35103         * sysdeps/i386/tst-audit.h: New file.
35104         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35105         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35106         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35107         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35108         * sysdeps/sh/tst-audit.h: Likewise.
35109         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35110         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35111         * sysdeps/x86_64/tst-audit.h: Likewise.
35113 2012-07-26  Andreas Jaeger  <aj@suse.de>
35115         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35116         ptrace.
35118         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35119         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35120         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35121         PTRACE_O_MASK.
35122         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35123         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35124         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35126         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35127         value.
35129         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35130         _sigsys.
35131         (si_call_addr, si_syscall, si_arch): Define new macro.
35132         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35133         _sigsys.
35134         (si_call_addr, si_syscall, si_arch): Define new marcro.
35135         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35136         _sigsys.
35137         (si_call_addr, si_syscall, si_arch): Define new macro.
35138         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35139         _sigsys.
35140         (si_call_addr, si_syscall, si_arch): Define new macro.
35142 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35144         [BZ #13717]
35145         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35146         Change to 2.4.21 where previously 2.4.1.
35147         * sysdeps/unix/sysv/linux/configure: Regenerated.
35148         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35149         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35150         Linux kernel version.
35151         (__ASSUME_STD_AUXV): Remove.
35152         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35153         kernel version.
35154         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35155         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35156         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35157         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35158         (__ASSUME_NETLINK_SUPPORT): Likewise.
35159         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35160         (__no_netlink_support): Remove conditional definition.
35161         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35162         Remove.
35163         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35164         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35165         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35166         (if_nameindex_ioctl): Remove.
35167         (if_nameindex_netlink): Do not handle __no_netlink_support.
35168         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35169         code.
35170         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35171         Remove conditional code.
35172         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35173         code.
35174         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35175         unconditional.
35176         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35177         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35178         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35179         Remove.
35180         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35181         [!__ASSUME_STD_AUXV]: Remove conditional code.
35182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35183         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35184         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35186         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35187         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35188         code.
35189         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35191         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35192         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35193         conditional code.
35194         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35196         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35197         code.
35198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35199         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35200         conditional code.
35201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35202         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35203         code unconditional.
35204         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35205         conditional code.
35206         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35207         unconditional.
35208         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35209         conditional code.
35210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35211         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35212         unconditional.
35213         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35214         conditional code.
35215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35216         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35217         code unconditional.
35218         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35219         conditional code.
35220         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35221         unconditional.
35222         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35223         conditional code.
35224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35225         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35226         code unconditional.
35227         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35228         conditional code.
35229         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35230         unconditional.
35231         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35232         conditional code.
35234 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
35236         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35237         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35238         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35239         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35240         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35241         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35242         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35243         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35244         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35245         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35246         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35247         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35248         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35249         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35250         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35251         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35252         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35253         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35254         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35255         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35256         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35257         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35258         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35260 2012-07-25  Florian Weimer  <fweimer@redhat.com>
35262         * Versions.def: Add GLIBC_2.17.
35263         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35264         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35265         Introduce __libc_secure_getenv.
35266         * stdlib/Versions (2.17): Add secure_getenv
35267         (GLIBC_PRIVATE): Add __libc_secure_getenv.
35268         * stdlib/secure-getenv.c: Rename __secure_getenv to
35269         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
35270         symbol __secure_getenv for GLIBC_2.0.
35271         * stdlib/tst-secure-getenv.c: New.
35272         * stdlib/Makefile (tests): Add testcase.
35273         * manual/startup.texi (Environment Access): Document
35274         secure_getenv.
35275         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35276         __libc_secure_getenv.
35277         * inet/ruserpass.c (ruserpass): Likewise.
35278         * malloc/mtrace.c (mtrace): Likewise.
35279         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35280         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35281         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35282         * sysdeps/posix/tempname.c: Likewise.  Evaluate
35283         HAVE_SECURE_GETENV.
35284         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35285         __secure_getenv to __libc_secure_getenv.
35286         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35288         Likewise.
35289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35290         Likewise.
35291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35293         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35299 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35301         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35302         (struct La_i86_retval): Likewise.
35303         (struct La_x86_64_regs): Likewise.
35304         (struct La_x86_64_retval): Likewise.
35305         (struct La_x32_regs): Likewise.
35306         (struct La_x32_retval): Likewise.
35307         (struct La_ppc32_regs): Likewise.
35308         (struct La_ppc32_retval): Likewise.
35309         (struct La_ppc64_regs): Likewise.
35310         (struct La_ppc64_retval): Likewise.
35311         (struct La_sh_regs): Likewise.
35312         (struct La_sh_retval): Likewise.
35313         (struct La_s390_32_regs): Likewise.
35314         (struct La_s390_32_retval): Likewise.
35315         (struct La_s390_64_regs): Likewise.
35316         (struct La_s390_64_retval): Likewise.
35317         (struct La_sparc32_regs): Likewise.
35318         (struct La_sparc32_retval): Likewise.
35319         (struct La_sparc64_regs): Likewise.
35320         (struct La_sparc64_retval): Likewise.
35321         (struct audit_ifaces): Remove architecture-specific pltenter and
35322         pltexit members.
35323         * sysdeps/i386/ldsodefs.h: New file.
35324         * sysdeps/powerpc/ldsodefs.h: Likewise.
35325         * sysdeps/s390/ldsodefs.h: Likewise.
35326         * sysdeps/sh/ldsodefs.h: Likewise.
35327         * sysdeps/sparc/ldsodefs.h: Likewise.
35328         * sysdeps/x86_64/ldsodefs.h: Likewise.
35330 2012-07-25  Marek Polacek  <polacek@redhat.com>
35332         [BZ #6808]
35333         * math/libm-test.inc (yn_test): Add another test.
35334         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35335         to ERANGE when the result is +-Inf.
35336         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35337         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35338         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35339         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35341 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
35343         * conform/data/time.h-data (NULL): Use macro-constant.  Require
35344         equal to 0.
35345         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
35346         clock_t.
35347         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
35349 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
35351         * configure.in <sysdeps resolving>: Correct printing
35352         Implies_before.
35353         * configure: Regenerate.
35355 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
35357         * math/w_ilogb.c: Include <limits.h>.
35358         * math/w_ilogbl.c: Likewise.
35360 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35362         * manual/lang.texi (__va_copy): Document primarily as ISO C99
35363         va_copy.  Document allowing for unavailable va_copy only as
35364         pre-C99 compatibility.
35365         * manual/string.texi (Copying and Concatenation): Use va_copy
35366         instead of __va_copy in concat example.
35368 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
35370         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35371         (__sendto): Use create_address_port.  Initialize APORT and deallocate
35372         it if not null.
35374         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35375         with O_NOLINK passed to __file_name_lookup.
35377         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35378         with O_NOLINK passed to __file_name_lookup.
35380         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35381         negative N or less than NGIDS.
35383         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35384         type to string_t.  Set ERANGE as errno and return it if NAME is not big
35385         enough.  Use memcpy instead of strncpy.
35387 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35389         * elf/Makefile (check-data): Remove.
35390         (localplt.data): New vpath directive.
35391         ($(objpfx)check-localplt.out): Use localplt.data from vpath
35392         instead of $(check-data).
35393         * scripts/data/localplt-generic.data: Move to ...
35394         * sysdeps/generic/localplt.data: ... here.
35395         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35396         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35397         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35399         ... here.
35400         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35402         ... here.
35403         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35405         ... here.
35406         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35408         ... here.
35409         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35411         ... here.
35412         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35414         ... here.
35416 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35418         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35419         PPC32 and PPC64 files.
35420         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35421         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35423 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35425         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35426         __makecontext_ret to ...
35427         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35428         ... here and call exit if uc_link is NULL.  New file.
35429         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35430         __makecontext_ret.S.
35431         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35432         __makecontext_ret to ...
35433         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35434         ... here and call exit if uc_link is NULL.  New file.
35435         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35436         __makecontext_ret.S.
35438 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35440         * elf/elf.h (R_390_IRELATIVE): New definition.
35441         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35442         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
35443         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35444         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35445         (elf_machine_lazy_rel): Likewise.
35446         * sysdeps/s390/dl-irel.h: New file.
35447         * sysdeps/s390/s390-64/memcpy.S: New asm code.
35448         * sysdeps/s390/s390-64/memset.S: New asm code.
35449         * sysdeps/s390/s390-64/memcmp.S: New asm code.
35450         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35451         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35452         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35453         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35454         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35455         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35456         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35457         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35458         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35459         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35460         * sysdeps/s390/s390-32/memcpy.S: New asm code.
35461         * sysdeps/s390/s390-32/memset.S: New asm code.
35462         * sysdeps/s390/s390-32/memcmp.S: New asm code.
35464 2012-07-17  Marek Polacek  <polacek@redhat.com>
35466         [BZ #14349]
35467         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35468         * sysdeps/s390/s390-64/configure.in: Likewise.
35469         * sysdeps/sparc/configure.in: Likewise.
35470         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35471         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35472         * sysdeps/i386/configure.in: Likewise.
35473         * sysdeps/x86_64/configure.in: Likewise.
35474         * sysdeps/sh/configure.in: Likewise.
35475         * sysdeps/s390/s390-32/configure: Regenerated.
35476         * sysdeps/s390/s390-64/configure: Likewise.
35477         * sysdeps/x86_64/configure: Likewise.
35478         * sysdeps/sh/configure: Likewise.
35479         * sysdeps/powerpc/powerpc64/configure: Likewise.
35480         * sysdeps/powerpc/powerpc32/configure: Likewise.
35481         * sysdeps/sparc/configure: Likwise.
35482         * sysdeps/i386/configure: Likewise.
35484         * elf/dl-open.c: Comment fixes.
35486 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
35488         * Makefile [CXX] (check-data): Remove.
35489         [CXX] (c++-types.data): New vpath directive.
35490         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35491         vpath.  Do not allow for C++ type data being missing.
35492         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35493         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35494         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35495         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35496         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35497         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35498         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35500         ... here.
35501         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35503         ... here.
35504         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35506         ... here.
35507         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35509         ... here.
35510         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35512         ... here.
35513         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35515         ... here.
35516         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35518         ... here.
35519         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35522         * elf/tls-macros.h (TLS_LE): Move architecture-specific
35523         definitions to architecture-specific files.
35524         (TLS_IE): Likewise.
35525         (TLS_LD): Likewise.
35526         (TLS_GD): Likewise.
35527         * sysdeps/i386/tls-macros.h: New file.
35528         * sysdeps/powerpc/tls-macros.h: Likewise.
35529         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35530         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35531         * sysdeps/sh/tls-macros.h: Likewise.
35532         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35533         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35534         * sysdeps/x86_64/tls-macros.h: Likewise.
35536 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35538         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35539         zero value for regular exit case.
35541         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35542         (__start_context): Preserve zero value for regular exit case.
35544 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35545             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35547         * manual/setjmp.texi (setcontext): Clarify normal process
35548         termination when uc_link is the null pointer.
35549         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35550         exit call.
35552 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
35554         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35555         preprocessor.  Test for each exception mask separately.
35557 2012-07-16  Andreas Jaeger  <aj@suse.de>
35559         * po/ru.po: Update from translation team.
35561 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
35563         * conform/data/string.h-data (NULL): Use macro-constant.  Require
35564         equal to 0.
35565         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35566         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35567         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35568         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35569         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35571 2012-07-13  Andreas Jaeger  <aj@suse.de>
35573         * po/fr.po: Update from translation team.
35575 2012-07-12  Marek Polacek  <polacek@redhat.com>
35577         [BZ #14173]
35578         * math/libm-test.inc (yn_test): Add test for BZ #14173.
35579         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35580         loop condition.
35582 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
35584         [BZ #13717]
35585         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35586         Change to 2.4.1 where previously 2.4.0.
35587         * sysdeps/unix/sysv/linux/configure: Regenerated.
35588         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35589         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35590         version.
35591         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35592         (__ASSUME_AT_CLKTCK): Remove.
35593         (__ASSUME_AT_PAGESIZE): Likewise.
35594         (__ASSUME_AT_XID): Likewise.
35595         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35596         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35597         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35598         unconditionally.
35599         (HAVE_AUX_PAGESIZE): Likewise.
35600         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35601         [__ASSUME_AT_CLKTCK]: Make code unconditional.
35602         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35604 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
35606         [BZ #14307]
35607         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35608         the temporary buffer used to invoke __gethostbyname2_r,
35609         __gethostbyaddr_r and gethostbyname4_r to make room for struct
35610         host_data / struct gaih_addrtuple.
35611         * resolv/nss_dns/dns-host.c (global scope): Move definition of
35612         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35613         header file nss/nsswitch.h.
35614         * nss/nsswitch.h (global scope): Add definition of implementation
35615         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35616         resolv/nss_dns/dns-host.c).
35618 2012-07-11  Andreas Jaeger  <aj@suse.de>
35620         * po/fr.po: Update from translation team.
35622         * po/sv.po: Update from translation team
35623         * po/fr.po: Another update from translation team.
35625 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35627         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35628         for subnormals or multiply small sinh result by itself.
35629         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35632 2012-07-11  David S. Miller  <davem@davemloft.net>
35634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35636 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
35638         [BZ #14347]
35639         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35640         (INTERNAL_MARK): Shift it here.
35642 2012-07-10  Marek Polacek  <polacek@redhat.com>
35644         [BZ #14151]
35645         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
35646         libc_cv_asm_global_directive with .globl.
35647         * configure: Regenerated.
35648         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35649         with .globl.
35650         * sysdeps/i386/configure: Regenerated.
35651         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35652         with .globl.
35653         * sysdeps/x86_64/configure: Regenerated.
35654         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35655         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35656         * elf/tst-unique2mod2.c: Likewise.
35657         * elf/tst-unique2mod1.c: Likewise.
35658         * elf/tst-unique1mod2.c: Likewise.
35659         * elf/tst-unique1mod1.c: Likewise.
35660         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35661         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35662         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35663         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35664         * sysdeps/mach/sysdep.h: Likewise.
35665         * sysdeps/i386/sysdep.h: Likewise.
35666         * sysdeps/i386/i386-mcount.S: Likewise.
35667         * sysdeps/x86_64/_mcount.S: Likewise.
35668         * sysdeps/x86_64/sysdep.h: Likewise.
35669         * sysdeps/sh/_mcount.S: Likewise.
35670         * sysdeps/sh/sysdep.h: Likewise.
35671         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35672         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35673         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35674         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35675         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35676         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35677         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35678         * locale/localeinfo.h: Likewise.
35679         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35680         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35682 2012-07-09  Roland McGrath  <roland@hack.frob.com>
35684         [BZ #14336]
35685         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35686         system".
35687         * manual/message.texi (The Uniforum approach): Likewise.
35688         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35689         (glibc iconv Implementation): Likewise.
35691 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
35693         [BZ #14337]
35694         * math/s_clog.c (__clog): Avoid scaling a value down where that
35695         could result in underflow.
35696         * math/s_clog10.c (__clog10): Likewise.
35697         * math/s_clog10f.c (__clog10f): Likewise.
35698         * math/s_clog10l.c (__clog10l): Likewise.
35699         * math/s_clogf.c (__clogf): Likewise.
35700         * math/s_clogl.c (__clogl): Likewise.
35701         * math/libm-test.inc (clog_test): Add more tests.
35702         (clog10_test): Likewise.
35703         * sysdeps/i386/fpu/libm-test-ulps: Update.
35704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35706 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
35708         [BZ #14283]
35709         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35710         by 7 not 8 to examine high bit of fractional part.
35712         [BZ #14042]
35713         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35714         for call to __mcount_internal.
35715         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35716         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35717         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35719 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35721         [BZ #14154]
35722         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35723         approximation for values within 0x1p-13f of an odd multiple of
35724         pi/4.
35725         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35726         exception.  Add more tests.
35727         * sysdeps/i386/fpu/libm-test-ulps: Update.
35729         [BZ #6778]
35730         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35731         inputs and return -1 for them.  Do not check for +Inf in case not
35732         reachable for +Inf.
35733         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35734         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35735         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35736         and return -1 for them.  Do not check for +Inf in case not
35737         reachable for +Inf.
35738         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35739         define.
35740         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35741         and return -1 for them.  Do not check for +Inf in case not
35742         reachable for +Inf.
35743         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
35744         spurious underflow.
35745         * sysdeps/i386/fpu/libm-test-ulps: Update.
35746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35748 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
35750         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35752 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35754         [BZ #14157]
35755         [BZ #14331]
35756         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35757         could result in spurious underflow.  Scale down values above
35758         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35759         * math/s_csqrtf.c (__csqrtf): Likewise.
35760         * math/s_csqrtl.c (__csqrtl): Likewise.
35761         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35762         spurious underflow.
35763         * sysdeps/i386/fpu/libm-test-ulps: Update.
35764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35766 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35768         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35769         xopen-msg.sed.
35770         * catgets/xopen-msg.awk: New file.
35771         * catgets/xopen-msg.sed: Removed.
35773         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35774         po2text.sed.
35775         * intl/po2test.awk: New file.
35776         * intl/po2test.sed: Removed.
35778 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35780         [BZ #14328]
35781         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35782         or multiply small sinh result by itself.
35783         * math/s_ctanf.c (__ctanf): Likewise.
35784         * math/s_ctanh.c (__ctanh): Likewise.
35785         * math/s_ctanhf.c (__ctanhf): Likewise.
35786         * math/s_ctanhl.c (__ctanhl): Likewise.
35787         * math/s_ctanl.c (__ctanl): Likewise.
35788         * math/libm-test.inc (ctan_test_tonearest): New function.
35789         (ctan_test_towardzero): Likewise.
35790         (ctan_test_downward): Likewise.
35791         (ctan_test_upward): Likewise.
35792         (ctanh_test_tonearest): Likewise.
35793         (ctanh_test_towardzero): Likewise.
35794         (ctanh_test_downward): Likewise.
35795         (ctanh_test_upward): Likewise.
35796         (main): Call these new functions.
35797         * sysdeps/i386/fpu/libm-test-ulps: Update.
35798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35800 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35802         * .gitignore: Delete /ports entry.
35804 2012-07-03  Andreas Jaeger  <aj@suse.de>
35806         * po/bg.po: Update from translation team.
35807         * po/cs.po: Likewise.
35808         * po/de.po: Likewise.
35809         * po/hr.po: Likewise.
35810         * po/nl.pl: Likewise.
35811         * po/pl.po: Likewise.
35812         * po/vi.po: Likewise.
35814 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35816         * Makeconfig [!+link] (+link-before-libc): New variable.
35817         [!+link] (+link-after-libc): Likewise.
35818         [!+link] (+link-tests): Likewise.
35819         [!+link] (+link): Define in terms of $(+link-before-libc) and
35820         $(+link-after-libc).
35821         [!+link-static] (+link-static-before-libc): New variable.
35822         [!+link-static] (+link-static-after-libc): Likewise.
35823         [!+link-static] (+link-static-tests): Likewise.
35824         [!+link-static] (+link-static): Define in terms of
35825         $(+link-static-before-libc) and $(+link-static-after-libc).
35826         [build-shared] (link-libc-before-gnulib): New variable.
35827         [build-shared] (link-libc-tests): Likewise.
35828         [build-shared] (link-libc): Define in terms of
35829         $(link-libc-before-gnulib).
35830         [!build-shared] (link-libc-tests): New variable.
35831         (link-libc-static-tests): New variable.
35832         [!gnulib] (gnulib-arch): New variable.
35833         [!gnulib] (gnulib-tests): Likewise.
35834         [!gnulib] (static-gnulib-arch): Likewise.
35835         [!gnulib] (static-gnulib-tests): Likewise.
35836         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35837         Define with "=" instead of ":=".
35838         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35839         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35840         * Rules (binaries-all-notests): New variable.
35841         (binaries-all-tests): Likewise.
35842         (binaries-static-notests): Likewise.
35843         (binaries-static-tests): Likewise.
35844         (binaries-all): Define using $(binaries-all-notests) and
35845         $(binaries-all-tests).
35846         (binaries-static): Define using $(binaries-static-notests) and
35847         $(binaries-static-tests).
35848         (binaries-shared-tests): New variable.
35849         (binaries-shared-notests): Likewise.
35850         (binaries-shared): Remove variable.
35851         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35852         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35853         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35854         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35855         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35856         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35857         * elf/Makefile (sln-modules): New variable.
35858         (extra-objs): Add $(sln-modules:=.o).
35859         (ldconfig-modules): Add static-stubs.
35860         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35861         * elf/static-stubs.c: New file.
35863         [BZ #14283]
35864         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35865         by 7 not 8 to examine high bit of fractional part.  Use volatile
35866         variables when splitting into final array of floats if
35867         __FLT_EVAL_METHOD__ != 0.
35868         * math/libm-test.inc (cos_test): Add another test.
35869         (sin_test): Likewise.
35870         * sysdeps/i386/fpu/libm-test-ulps: Update.
35872         [BZ #14273]
35873         * math/libm-test.inc (cosh_test): Add more tests.
35875         * version.h (RELEASE): Set to "development".
35876         (VERSION): Set to "2.16.90".
35878 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35880         * NEWS: Update copyright. Remove last-updated date.
35881         Mention math library bug fixes and timezone data changes.
35882         * README: Mention GNU/Hurd, x32, and HPPA support status.
35884 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35886         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35888 2012-06-27  Andreas Jaeger  <aj@suse.de>
35890         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35892 2012-06-25  Andreas Jaeger  <aj@suse.de>
35894         * sysdeps/s390/fpu/libm-test-ulps: Update.
35896 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35897             Thomas Schwinge  <thomas@codesourcery.com>
35899         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35900         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35901         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35902         fanotify_mark.
35904 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35906         * sysdeps/mach/start.c: Remove file.
35907         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35908         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35909         * sysdeps/sh/init-first.c: Likewise.
35911         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35912         registers for frame unwinding purposes, add CFI directives.
35913         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35914         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35915         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35916         Likewise.
35918         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35919         __fortify_fail returning.
35920         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35922         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35923         sysdeps/sh/____longjmp_chk.S.
35924         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35925         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35926         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35927         (gen-as-const-headers): Append sigaltstack-offsets.sym.
35929         * sysdeps/sh/abort-instr.h: New file.
35930         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35931         process in case exit returns.
35933         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35934         initialize the GOT register before use.
35936         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35937         calculation of ARGC > 4.
35939         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35940         meaningful names to some local labels.
35942 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35943             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35945         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35946         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35947         (__arch_compare_and_exchange_val_16_acq): Likewise.
35948         (__arch_compare_and_exchange_val_32_acq): Likewise.
35949         (atomic_exchange_and_add): Fix gUSA sequence.
35950         (atomic_add): Likewise.
35951         (atomic_add_negative): Likewise.
35952         (atomic_add_zero): Likewise.
35953         (atomic_bit_test_set): Likewise.
35955 2012-06-22  Andreas Schwab  <schwab@redhat.com>
35957         [BZ #13579]
35958         * include/link.h (struct link_map): Add l_free_initfini.
35959         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35960         l_initfini.
35961         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35962         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35963         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35964         set.
35966 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
35968         * configure.in: Use AC_LANG_SOURCE.
35969         * configure: Regenerate.
35971 2012-06-22  Roland McGrath  <roland@hack.frob.com>
35973         * configure.in (libc_cv_localstatedir): New substituted variable.
35974         * configure: Regenerated.
35975         * config.make.in (localstatedir): New variable, substituted from
35976         libc_cv_localstatedir.
35977         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35978         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35979         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35980         * sysdeps/gnu/configure: Regenerated.
35982 2012-06-21  Jeff Law  <law@redhat.com>
35984         [BZ #14277]
35985         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35986         free.  Simplify list management for _LIBC case.
35988 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
35990         [BZ #14273]
35991         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35992         Clear sign bit of 64-bit integer value before comparing against
35993         overflow value.
35995         * sysdeps/mach/configure: Regenerated.
35997 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
35999         [BZ #14278]
36000         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36002 2012-06-21  Jeff Law  <law@redhat.com>
36004         [BZ #13882]
36005         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
36006         uint16_t for elements in the "seen" array to avoid char overflows.
36007         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36008         * elf/dl-open.c (dl_open_worker): Likewise.
36010 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
36012         * scripts/list-sources.sh: Scan PORTS for translations.
36013         * po/libc.pot: Regenerated.
36015 2012-06-21  Andreas Jaeger  <aj@suse.de>
36017         [BZ #12194]
36018         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36019         warning.
36020         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36021         * bits/byteswap-16.h (__bswap_16): Likewise.
36022         * bits/byteswap.h (__bswap_constant_16): Likewise.
36024 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
36026         [BZ #14117]
36027         * sysdeps/i386/fpu_control.h: Removed.
36028         * sysdeps/x86_64/fpu_control.h: Moved to ...
36029         * sysdeps/x86/fpu_control.h: Here.
36031         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36032         (_FPU_SETCW): Likewise.
36034 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
36036         [BZ #14117]
36037         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36038         * sysdeps/x86/fpu/bits/mathinline.h: This.
36039         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36041         [BZ #14050]
36042         [BZ #14117]
36043         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36044         functions if __x86_64__ is defined.
36046 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
36048         * string/endian.h: Add !__ASSEMBLER__ condition for including
36049         conversion interfaces.
36051 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
36053         [BZ #14241]
36054         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36055         of ABS(x) in calculating zero to negative powers other than odd
36056         integers.
36057         * math/libm-test.inc (pow_test): Add more tests.
36059 2012-06-15  Andreas Jaeger  <aj@suse.de>
36061         * manual/contrib.texi (Contributors): Update entry of Liubov
36062         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36063         Machado Filho.
36065 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
36067         * string/string.h: Add __wur to GNU version of strerror_r.
36069 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
36071         [BZ #14229]
36072         * string/Makefile (tests): Add tst-strtok_r.
36073         * string/tst-strtok_r.c: New file.
36074         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36075         RAX_LP/RDX_LP on SAVE_PTR.
36077 2012-06-14  Roland McGrath  <roland@hack.frob.com>
36079         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36081 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
36083         * libm_test.inc (csqrt_test): Allow more spurious underflow
36084         exceptions.
36085         (j0_test): Likewise.
36086         (j1_test): Likewise.
36087         (y0_test): Likewise.
36088         (y1_test): Likewise.
36090 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
36092         * po/Makefile (libc.pot): Use UTF-8 charset.
36094 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
36096         [BZ #14210]
36097         Suppress sign-conversion warning from FD_SET.
36098         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36099         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36100         not unsigned long int.
36101         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36103 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
36105         [BZ #14050]
36106         [BZ #14117]
36107         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36108         __extern_always_inline instead of __extern_inline.
36109         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36110         (__signbit): Likewise.
36111         (__signbitl): Support C++ namespace.
36112         (lrintf): New inline function.
36113         (lrint): Likewise.
36114         (llrintf): Likewise.
36115         (llrint): Likewise.
36116         (fmaxf): Likewise.
36117         (fmax): Likewise.
36118         (fminf): Likewise.
36119         (fmin): Likewise.
36120         (rint): Likewise.
36121         (rintf): Likewise.
36122         (ceil): Likewise.
36123         (ceilf): Likewise.
36124         (floor): Likewise.
36125         (floorf): Likewise.
36126         (nearbyint): Likewise.
36127         (nearbyintf): Likewise.
36129 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
36131         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36132         non-default versions.
36134 2012-06-11  Roland McGrath  <roland@hack.frob.com>
36136         [BZ #14218]
36137         * manual/argp.texi (Argp): Reword argp_parse description slightly.
36139 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
36141         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36142         (FE_UPWARD, FE_DOWNWARD): Don't define.
36143         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36144         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36146         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36147         reading it.
36148         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36149         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36151 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36153         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36154         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36155         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36156         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36158 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
36160         [BZ #14117]
36161         * sysdeps/i386/fpu/bits/fenv.h: Removed.
36162         * sysdeps/i386/fpu/Implies: New file.
36163         * sysdeps/x86_64/fpu/Implies: Likewise.
36164         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36165         * sysdeps/x86/fpu/bits/fenv.h: This.
36167         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36168         __SSE_MATH__.
36170 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36172         [BZ #14134]
36173         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36174         character 0xffff that matches the last element of the
36175         conversion table.
36177 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36179         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36180         fmodl commit.
36182 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36185         values higher than 25.6283.
36187 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36189         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36190         subnormal exponent extraction and add some __builtin_expect.
36191         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36192         Fix for subnormal mantissa calculation.
36194 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
36196         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36197         cpu2 is -1 and errno is not ENOSYS.
36199 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
36201         [BZ #14117]
36202         * sysdeps/i386/i486/bits/string.h: Renamed to ...
36203         * sysdeps/x86/bits/string.h: This.
36204         * sysdeps/x86_64/bits/string.h: Removed.
36206         * sysdeps/i386/i486/bits/string.h: Define inline functions only
36207         if not compiling for x86-64, but compiling for >= i486.
36209         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36210         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36212         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36213         New macro from Linux kernel 3.4.0.
36214         (FP_XSTATE_MAGIC2): Likewise.
36215         (FP_XSTATE_MAGIC2_SIZE): Likewise.
36216         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36217         (struct _fpx_sw_bytes): New struct.
36218         (struct _xsave_hdr): Likewise.
36219         (struct _ymmh_state): Likewise.
36220         (struct _xstate): Likewise.
36222         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36223         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36224         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36225         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36226         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36227         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36229         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36230         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36231         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36232         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36233         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36234         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36236 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36238         [BZ #13743]
36239         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36240         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36241         (sysdep_headers): Include sys/platform/ppc.h.
36242         * sysdeps/powerpc/test-gettimebase.c: Test for
36243         __ppc_get_timebase() to catch future ISA opcode/insn changes.
36244         * manual/Makefile (appendices): Include platform.texi.
36245         * manual/contrib.texi (Contributors): Update @node pointers.
36246         * manual/maint.texi (Maintenance): Likewise.
36247         (Platform): New node.
36248         * manual/platform.texi: New file.  Document the new features.
36250 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36251             Jakub Jelinek  <jakub@redhat.com>
36253         [BZ #14188]
36254         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36255         where __builtin_expect is unavailable.
36257 2012-06-03  David S. Miller  <davem@davemloft.net>
36259         * stdlib/longlong.h: Updated from GCC.
36261 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
36263         [BZ #14042]
36264         * sysdeps/powerpc/powerpc32/mcount.c: New file.
36265         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36266         __mcount_internal.
36267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36268         (GLIBC_2.16): Likewise.
36270 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36272         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36274 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36277         (default-abi): New variable.
36278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36279         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36280         variable.
36281         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36282         Likewise.
36283         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36284         Likewise.
36285         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36286         Likewise.
36288         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36289         definition.  Document in comment.
36291 2012-06-01  David S. Miller  <davem@davemloft.net>
36293         * stdlib/longlong.h: Updated from GCC.
36295 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36297         [BZ #14117]
36298         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36299         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36300         sys/debugreg.h sys/io.h here.
36301         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36302         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36303         sys/io.h.
36304         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36305         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36306         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36307         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36308         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36309         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36311         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36312         Define only if __x86_64__ is defined.
36314 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36316         [BZ #14048]
36317         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36318         Use int64_t for variable i.
36319         * math/libm-test.inc (fmod_test): Add more tests.
36321         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36322         z computation is not scheduled after fetestexcept.
36323         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36324         Use math_force_eval instead of asm to ensure calculation scheduled
36325         before exception test.
36326         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36327         Ensure a1 + u.d computation is not scheduled after fetestexcept.
36329 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
36331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36332         computation is not scheduled after fetestexcept.
36334 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36336         [BZ #14117]
36337         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36338         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36340 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36342         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36343         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36345 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36347         [BZ #14117]
36348         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36349         <bits/wordsize.h>.
36350         (__WCHAR_MIN): Support __WORDSIZE == 64.
36351         (__WCHAR_MAX): Likewise.
36353         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36354         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36356         [BZ #14183]
36357         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36358         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36360         [BZ #14117]
36361         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36362         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36364         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36365         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36367         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36368         Defined to 1 if __x86_64__ isn't defined.
36369         (_STAT_VER_LINUX_OLD): New.
36370         (st_atime): Remove duplicate.
36371         (st_mtime): Likewise.
36372         (st_ctime): Likewise.
36374 2012-05-31  David S. Miller  <davem@davemloft.net>
36376         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36377         entries.
36379 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
36381         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36382         gen-libm-test.pl.
36384         [BZ #14132]
36385         * elf/dl-reloc.c: Include <_itoa.h>.
36386         (_dl_reloc_bad_type): Remove use of INTUSE.
36387         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36388         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36389         * stdio-common/psiginfo.c (psiginfo): Likewise.
36390         * stdio-common/psignal.c (psignal): Likewise.
36391         * string/strsignal.c (strsignal): Likewise.
36392         * include/signal.h (_sys_siglist): Declare hidden proto.
36393         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
36394         INTVARDEF with libc_hidden_data_def.
36395         * stdio-common/itoa-udigits.c: Likewise.
36396         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36397         (_itoa_lower_digits_internal): Remove declaration.
36398         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36399         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36400         (_sys_sigabbrev_internal): Remove aliases.
36401         (_sys_siglist): Define hidden alias.
36403 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
36405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36406         bits/sysctl.h.
36408 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36410         [BZ #14117]
36411         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36412         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36414         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36415         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36416         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36417         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36418         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36419         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36421         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36422         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36423         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36425         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36426         with __addr.
36427         (insw): Likewise.
36428         (insl): Likewise.
36429         (outsb): Likewise.
36430         (outsw): Likewise.
36431         (outsl): Likewise.
36433         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36434         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36435         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36437         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36438         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36439         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36440         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36441         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36442         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36444         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36445         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36447         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36448         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36450         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36451         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36452         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36454         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36455         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36456         to ...
36457         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36459         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36460         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36461         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36463         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36464         for x86-64.
36465         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36467 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
36469         * math/math.h (M_El): Use two more decimal places.
36470         (M_LOG2El): Likewise.
36471         (M_LOG10El): Likewise.
36472         (M_LN2l): Likewise.
36473         (M_LN10l): Likewise.
36474         (M_PIl): Likewise.
36475         (M_PI_2l): Likewise.
36476         (M_PI_4l): Likewise.
36477         (M_1_PIl): Likewise.
36478         (M_2_PIl): Likewise.
36479         (M_2_SQRTPIl): Likewise.
36480         (M_SQRT2l): Likewise.
36481         (M_SQRT1_2l): Likewise.
36483 2012-05-31  David S. Miller  <davem@davemloft.net>
36485         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36486         values between float registers.
36487         * sysdeps/sparc/sparc64/memset.S: Likewise.
36488         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36490 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
36492         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36493         -D_FORTIFY_SOURCE=1.
36494         (CPPFLAGS-tst-longjmp_chk.c): Define.
36495         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36496         (CPPFLAGS-tst-longjmp_chk2.c): Define.
36497         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36498         CFLAGS-tst-wchar-h.c.
36500 2012-05-31  Marek Polacek  <polacek@redhat.com>
36502         [BZ #14132]
36503         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36504         __endmntent_internal): Remove declaration.
36505         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36506         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36507         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36509 2012-05-30  David S. Miller  <davem@davemloft.net>
36511         * sysdeps/sparc/sparc32/soft-fp/q_util.c
36512         (___Q_simulate_exceptions): Use real FP ops rather than writing
36513         into the %fsr.
36514         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36515         Likewise.
36517 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36519         [BZ #14117]
36520         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36521         * sysdeps/x86/bits/xtitypes.h: This.
36523         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36524         * sysdeps/x86/bits/wordsize.h: This.
36526         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36527         * sysdeps/x86/bits/huge_vall.h: This.
36529         * sysdeps/i386/bits/select.h: Removed.
36530         * sysdeps/x86_64/bits/select.h: Renamed to ...
36531         * sysdeps/x86/bits/select.h: This.
36533         * sysdeps/i386/bits/setjmp.h: Removed.
36534         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36535         * sysdeps/x86/bits/setjmp.h: This.
36537         * sysdeps/i386/bits/mathdef.h: Removed.
36538         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36539         * sysdeps/x86/bits/mathdef.h: This.
36541 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
36543         [BZ #14132]
36544         * include/sys/socket.h (__connect_internal)
36545         (__libc_sa_len_internal): Remove declaration.
36546         (__connect, __libc_sa_len): Declare hidden_proto.
36547         (SA_LEN): Remove use of INTUSE.
36548         * socket/connect.c: Add libc_hidden_def.
36549         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36550         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36551         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36552         alias.
36553         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36554         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36555         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36556         of adding _internal alias.
36558 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36560         [BZ #14117]
36561         * sysdeps/i386/bits/link.h: Removed.
36562         * sysdeps/i386/bits/linkmap.h: Likewise.
36563         * sysdeps/x86_64/bits/link.h: Renamed to ...
36564         * sysdeps/x86/bits/link.h: This.
36565         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36566         * sysdeps/x86/bits/linkmap.h: This.
36568         * sysdeps/i386/bits/endian.h: Removed.
36569         * sysdeps/x86_64/bits/endian.h: Renamed to ...
36570         * sysdeps/x86/bits/endian.h: This.
36572         * sysdeps/i386/bits/byteswap.h: Removed.
36573         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36574         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36575         * sysdeps/x86/bits/byteswap.h: This.
36576         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36577         * sysdeps/x86/bits/byteswap-16.h: This.
36578         * sysdeps/i386/Implies: Add x86.
36579         * sysdeps/x86_64/Implies: Likewise.
36581 2012-05-30  David S. Miller  <davem@davemloft.net>
36583         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36584         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36585         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36586         (FP_TRAPPING_EXCEPTIONS): Define.
36587         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36588         (FP_TRAPPING_EXCEPTIONS): Define.
36589         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36590         subnormals only when inexact has been signalled or underflow
36591         exceptions are enabled.
36592         (_FP_PACK_CANONICAL): Likewise.
36594 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36596         [BZ #14183]
36597         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36598         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36600 2012-05-30  Richard Henderson  <rth@twiddle.net>
36602         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36603         with #ifndef NOT_IN_libc.
36605         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
36606         marked to avoid plt entry.
36608 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36610         [BZ #14112]
36611         * Makeconfig (default-abi): New macro.
36612         (abi-includes): Likewise.
36613         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
36614         $(abi-$(default-abi)-lib-soname) for soname if defined.
36615         ($(common-objpfx)gnu/lib-names.stmp): Generate from
36616         abi-variants.
36617         * Makefile (installed-stubs): Likewise.
36618         * include/stubs-biarch.h: Removed.
36619         * scripts/lib-names.awk: Only handle one library at a time.
36620         * scripts/soversions.awk: Remove WORDSIZE support.
36621         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36622         entries.
36623         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36624         Removed.
36625         (syscall-list-default-condition): Likewise.
36626         (syscall-list-default-condition): Likewise.
36627         (syscall-list-includes): Likewise.
36628         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36629         syscall-list-* with abi-*.  Handle undefined abi-variants.
36630         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36631         * sysdeps/unix/sysv/linux/i386/Implies: New file.
36632         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36633         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36634         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36635         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36636         Removed.
36637         (syscall-list-32-options): Likewise.
36638         (syscall-list-32-condition): Likewise.
36639         (syscall-list-64-options): Likewise.
36640         (syscall-list-64-condition): Likewise.
36641         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36642         macro.
36643         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36644         Renamed to ...
36645         (abi-*): This.
36646         (abi-64-ld-soname): New macro.
36647         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36648         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36649         Renamed to ...
36650         (abi-*): This.
36651         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36652         * sysdeps/x86_64/x32/shlib-versions: Likewise.
36654 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
36656         * sysdeps/unix/sysv/linux/kernel-features.h
36657         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36658         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36659         include <kernel-features.h>.
36660         [!__NR_ftruncate64]: Remove conditional code.
36661         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36662         [__NR_ftruncate64]: Make code unconditional.
36663         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36664         * sysdeps/unix/sysv/linux/truncate64.c: Do not
36665         include <kernel-features.h>.
36666         [!__NR_ftruncate64]: Remove conditional code.
36667         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36668         [__NR_ftruncate64]: Make code unconditional.
36669         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36671         include <kernel-features.h>.
36672         [!__NR_ftruncate64]: Remove conditional code.
36673         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36674         [__NR_ftruncate64]: Make code unconditional.
36675         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36677         include <kernel-features.h>.
36678         [!__NR_ftruncate64]: Remove conditional code.
36679         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36680         [__NR_ftruncate64]: Make code unconditional.
36681         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36683         * configure.in (libc_cv_fpie): Weaken to a compile test using
36684         LIBC_TRY_CC_OPTION.
36685         * configure: Regenerated.
36687 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36693         Refreshed.
36694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36700         Refreshed.
36702 2012-05-27  David S. Miller  <davem@davemloft.net>
36704         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36705         (___Q_zero): New.
36706         (__Q_simulate_exceptions): Return void.  Change to simulate
36707         exceptions by writing into the %fsr.
36708         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36709         (__Qp_handle_exceptions): Likewise.
36710         (numbers): Delete.
36711         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36712         __Qp_handle_exceptions.
36713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36714         __Qp_handle_exceptions.
36715         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36716         as unused and give dummy FP_RND_NEAREST initializer.
36717         (FP_INHIBIT_RESULTS): Define.
36718         (___Q_simulate_exceptions): Update declaration.
36719         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36720         formatting.
36721         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36722         as unused and give dummy FP_RND_NEAREST initializer.
36723         (__Qp_handle_exceptions): Update declaration.
36724         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36725         formatting.
36727 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36729         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36730         the temporary FPU control word.
36731         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36732         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36733         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36734         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36735         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36736         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36737         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36738         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36739         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36740         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36741         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36743 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36745         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36746         fields.
36748 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36750         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36751         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36752         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36753         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36754         Likewise.
36755         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36756         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36757         Likewise.
36759 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36761         * po/h.po: Update from translation team.
36763 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36765         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36767         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36768         handling of denormals.
36769         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36770         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36771         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36772         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36773         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36774         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36775         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36776         Likewise.
36778 2012-05-26  Marek Polacek  <polacek@redhat.com>
36780         [BZ #14152]
36781         * math/libm-test.inc (fma_test): Don't always expect underflow
36782         exception.
36784 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36786         [BZ #12416]
36787         * elf/tst-execstack.c: Include stackinfo.h.
36788         (do_test): Adjust test case to ensure that pthread_getattr_np
36789         behaviour remains the same after marking stack executable.
36791 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36793         * sysdeps/unix/sysv/linux/kernel-features.h
36794         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36795         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36796         kernel-features.h.
36797         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36798         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36799         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36800         kernel-features.h.
36801         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36802         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36804 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36806         * configure.in: Define the default includes to being none.
36807         * configure: Regenerated.
36809 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36811         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36812         * sysdeps/x86_64/setjmp.S: Likewise.
36813         * sysdeps/i386/bsd-setjmp.S: Likewise.
36814         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36815         * sysdeps/i386/setjmp.S: Likewise.
36816         * sysdeps/i386/__longjmp.S: Likewise.
36817         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36818         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36820         * include/stap-probe.h: New file.
36821         * configure.in: Handle --enable-systemtap.
36822         * configure: Regenerated.
36823         * config.h.in (USE_STAP_PROBE): New #undef.
36824         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36825         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36826         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36828 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36830         [BZ #13717]
36831         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36832         to 2.4.0 where earlier.
36833         * sysdeps/unix/sysv/linux/configure: Regenerated.
36834         * sysdeps/unix/sysv/linux/i386/chown.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/i386/fchown.c: Do not include
36839         <kernel-features.h>.
36840         [__ASSUME_32BITUIDS]: Make code unconditional.
36841         [!__ASSUME_32BITUIDS]: Remove conditional code.
36842         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36843         [__ASSUME_32BITUIDS]: Make code unconditional.
36844         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36845         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36846         <kernel-features.h>.
36847         [__ASSUME_32BITUIDS]: Make code unconditional.
36848         [!__ASSUME_32BITUIDS]: Remove conditional code.
36849         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36850         <kernel-features.h>.
36851         [__ASSUME_32BITUIDS]: Make code unconditional.
36852         [!__ASSUME_32BITUIDS]: Remove conditional code.
36853         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36854         <kernel-features.h>.
36855         [__ASSUME_32BITUIDS]: Make code unconditional.
36856         [!__ASSUME_32BITUIDS]: Remove conditional code.
36857         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36858         <kernel-features.h>.
36859         [__ASSUME_32BITUIDS]: Make code unconditional.
36860         [!__ASSUME_32BITUIDS]: Remove conditional code.
36861         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36862         <kernel-features.h>.
36863         [__ASSUME_32BITUIDS]: Make code unconditional.
36864         [!__ASSUME_32BITUIDS]: Remove conditional code.
36865         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36866         <kernel-features.h>.
36867         [__ASSUME_32BITUIDS]: Make code unconditional.
36868         [!__ASSUME_32BITUIDS]: Remove conditional code.
36869         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36870         <kernel-features.h>.
36871         [__ASSUME_32BITUIDS]: Make code unconditional.
36872         [!__ASSUME_32BITUIDS]: Remove conditional code.
36873         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36874         <kernel-features.h>.
36875         [__ASSUME_32BITUIDS]: Make code unconditional.
36876         [!__ASSUME_32BITUIDS]: Remove conditional code.
36877         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36878         <kernel-features.h>.
36879         [__ASSUME_32BITUIDS]: Make code unconditional.
36880         [!__ASSUME_32BITUIDS]: Remove conditional code.
36881         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36882         <kernel-features.h>.
36883         [__ASSUME_32BITUIDS]: Make code unconditional.
36884         [!__ASSUME_32BITUIDS]: Remove conditional code.
36885         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36886         <kernel-features.h>.
36887         [__NR_setresgid] (__setresgid): Do not declare.
36888         [__ASSUME_32BITUIDS]: Make code unconditional.
36889         [!__ASSUME_32BITUIDS]: Remove conditional code.
36890         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36891         <kernel-features.h>.
36892         [__NR_setresuid] (__setresuid): Do not declare.
36893         [__ASSUME_32BITUIDS]: Make code unconditional.
36894         [!__ASSUME_32BITUIDS]: Remove conditional code.
36895         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36896         <kernel-features.h>.
36897         [__ASSUME_32BITUIDS]: Make code unconditional.
36898         [!__ASSUME_32BITUIDS]: Remove conditional code.
36899         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36900         <kernel-features.h>.
36901         [__ASSUME_32BITUIDS]: Make code unconditional.
36902         [!__ASSUME_32BITUIDS]: Remove conditional code.
36903         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36904         <kernel-features.h>.
36905         [__ASSUME_32BITUIDS]: Make code unconditional.
36906         [!__ASSUME_32BITUIDS]: Remove conditional code.
36907         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36908         <kernel-features.h>.
36909         [__ASSUME_32BITUIDS]: Make code unconditional.
36910         [!__ASSUME_32BITUIDS]: Remove conditional code.
36911         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36912         <kernel-features.h>.
36913         [__ASSUME_32BITUIDS]: Make code unconditional.
36914         [!__ASSUME_32BITUIDS]: Remove conditional code.
36915         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36916         <kernel-features.h>.
36917         [__ASSUME_32BITUIDS]: Make code unconditional.
36918         [!__ASSUME_32BITUIDS]: Remove conditional code.
36919         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36920         <kernel-features.h>.
36921         [__ASSUME_32BITUIDS]: Make code unconditional.
36922         [!__ASSUME_32BITUIDS]: Remove conditional code.
36923         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36924         <kernel-features.h>.
36925         [__ASSUME_32BITUIDS]: Make code unconditional.
36926         [!__ASSUME_32BITUIDS]: Remove conditional code.
36927         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36928         <kernel-features.h>.
36929         [__ASSUME_32BITUIDS]: Make code unconditional.
36930         [!__ASSUME_32BITUIDS]: Remove conditional code.
36931         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36932         <kernel-features.h>.
36933         [__ASSUME_32BITUIDS]: Make code unconditional.
36934         [!__ASSUME_32BITUIDS]: Remove conditional code.
36935         * sysdeps/unix/sysv/linux/kernel-features.h
36936         (__ASSUME_SETRESUID_SYSCALL): Remove.
36937         (__ASSUME_SETRESGID_SYSCALL): Likewise.
36938         (__ASSUME_32BITUIDS): Likewise.
36939         (__ASSUME_LDT_WORKS): Likewise.
36940         (__ASSUME_O_DIRECTORY): Likewise.
36941         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36942         architecture but not kernel version.
36943         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36944         (__ASSUME_MMAP2_SYSCALL): Likewise.
36945         (__ASSUME_STAT64_SYSCALL): Likewise.
36946         (__ASSUME_IPC64): Likewise.
36947         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36948         <kernel-features.h>.
36949         [__ASSUME_32BITUIDS]: Make code unconditional.
36950         [!__ASSUME_32BITUIDS]: Remove conditional code.
36951         * sysdeps/unix/sysv/linux/opendir.c: Do not include
36952         <kernel-features.h>.
36953         [__ASSUME_O_DIRECTORY]: Make code unconditional.
36954         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36955         132096]: Remove conditional code.
36956         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36957         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36958         <kernel-features.h>.
36959         [__ASSUME_32BITUIDS]: Make code unconditional.
36960         [!__ASSUME_32BITUIDS]: Remove conditional code.
36961         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36962         <kernel-features.h>.
36963         [__ASSUME_32BITUIDS]: Make code unconditional.
36964         [!__ASSUME_32BITUIDS]: Remove conditional code.
36965         * sysdeps/unix/sysv/linux/setegid.c: Do not include
36966         <kernel-features.h>.
36967         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36968         unconditional.
36969         (__setresgid): Do not declare.
36970         [__ASSUME_32BITUIDS]: Make code unconditional.
36971         [!__ASSUME_32BITUIDS]: Remove conditional code.
36972         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36973         <kernel-features.h>.
36974         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36975         unconditional.
36976         (__setresuid): Do not declare.
36977         [__ASSUME_32BITUIDS]: Make code unconditional.
36978         [!__ASSUME_32BITUIDS]: Remove conditional code.
36979         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36980         <kernel-features.h>.
36981         [__ASSUME_32BITUIDS]: Make code unconditional.
36982         [!__ASSUME_32BITUIDS]: Remove conditional code.
36983         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36984         <kernel-features.h>.
36985         [__ASSUME_32BITUIDS]: Make code unconditional.
36986         [!__ASSUME_32BITUIDS]: Remove conditional code.
36988 2012-05-25  Richard Henderson  <rth@twiddle.net>
36990         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36991         dl_hwcap to ifunc resolver.
36992         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36993         elf_ifunc_invoke.
36994         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36995         dl_hwcap to ifunc resolver.
36996         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36998 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37000         [BZ #14153]
37001         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37002         for |x| <= 2**-26, not 2**-57.
37003         * math/libm-test.inc (acos_test): Do not allow spurious underflow
37004         exception.
37006 2012-05-24  Jeff Law  <law@redhat.com>
37008         * stdio-common/Makefile (tests): Add bug25.
37009         * stdio-common/bug25.c: New test.
37011 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37013         [BZ #13576]
37014         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37015         multiple of MALLOC_ALIGNMENT in size.
37016         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37018 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37020         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37021         Require >= 256.
37022         (FILENAME_MAX): Use macro-int-constant.
37023         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
37024         (_IOFBF): Use macro-int-constant.
37025         (_IOLBF): Likewise.
37026         (_IONBF): Likewise.
37027         (SEEK_CUR): Likewise.
37028         (SEEK_END): Likewise.
37029         (SEEK_SET): Likewise.
37030         (TMP_MAX): Likewise.
37031         (EOF): Use macro-int-constant.  Require < 0.
37032         (NULL): Use macro-constant.  Require == 0.
37033         (stdin): Require type to be FILE *.
37034         (stdout): Likewise.
37035         (stderr): Likewise.
37036         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37037         macro-int-constant.
37038         (EXIT_SUCCESS): Likewise.
37039         (NULL): Use macro-constant.  Require == 0.
37040         (RAND_MAX): Use macro-int-constant.
37041         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37042         [C99-based standards] (strtof): Require function.
37043         [C99-based standards] (strtold): Likewise.
37044         [C99-based standards] (strtoll): Likewise.
37045         [C99-based standards] (strtoull): Likewise.
37046         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37047         [ISO || ISO99 || ISO11] (limits.h): Likewise.
37048         [ISO || ISO99 || ISO11] (math.h): Likewise.
37049         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37050         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37051         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37053 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
37055         [BZ #14132]
37056         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37057         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37058         * intl/dgettext.c (DCGETTEXT): Likewise.
37059         * intl/gettext.c (DCGETTEXT): Likewise.
37060         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37061         * posix/regex_internal.h (gettext): Likewise.
37062         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37063         Remove declaration.
37064         * include/argz.h (__argz_count_internal)
37065         (__argz_stringify_internal): Remove declaration.
37066         (__argz_count, __argz_stringify): Declare hidden proto.
37067         * intl/dcgettext.c: Remove use of INTDEF.
37068         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37069         * string/argz-stringify.c: Likewise.
37070         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37071         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37072         Declare hidden proto.
37073         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37074         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37075         Declare hidden proto.
37076         * include/stdio.h (__asprintf_internal): Don't declare.
37077         (__asprintf): Don't define as macro.  Declare hidden proto.
37078         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37079         (__fsetlocking): Declare hidden proto.
37080         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37081         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37082         hidden proto.
37083         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37084         (_IO_setlinebuf): Remove use of INTUSE.
37085         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37086         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37087         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37088         Remove declaration.
37089         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37090         (_IO_do_flush): Remove use of INTUSE.
37091         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37092         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37093         (_IO_adjust_column, _IO_least_wmarker)
37094         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37095         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37096         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37097         (_IO_default_doallocate, _IO_wdefault_doallocate)
37098         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37099         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37100         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37101         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37102         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37103         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37104         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37105         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37106         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37107         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37108         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37109         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37110         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37111         proto.
37112         (_IO_flush_all_internal, _IO_adjust_column_internal)
37113         (_IO_default_uflow_internal, _IO_default_finish_internal)
37114         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37115         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37116         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37117         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37118         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37119         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37120         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37121         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37122         (_IO_file_close_internal, _IO_file_close_it_internal)
37123         (_IO_file_underflow_internal, _IO_file_overflow_internal)
37124         (_IO_file_init_internal, _IO_file_attach_internal)
37125         (_IO_file_fopen_internal, _IO_file_read_internal)
37126         (_IO_file_sync_internal, _IO_file_seek_internal)
37127         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37128         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37129         (_IO_str_underflow_internal, _IO_str_overflow_internal)
37130         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37131         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37132         (_IO_list_all_internal, _IO_link_in_internal)
37133         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37134         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37135         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37136         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37137         (_IO_do_write_internal, _IO_padn_internal)
37138         (_IO_getline_info_internal, _IO_getline_internal)
37139         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37140         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37141         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37142         (_IO_vfscanf_internal, _IO_vfprintf_internal)
37143         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37144         (_IO_init_internal, _IO_un_link_internal): Don't declare.
37145         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37146         with libc_hidden_ver, remove use of INTUSE.
37147         * libio/genops.c: Likewise.
37148         * libio/freopen.c: Likewise.
37149         * libio/freopen64.c: Likewise.
37150         * libio/iofclose.c: Likewise.
37151         * libio/iofdopen.c: Likewise.
37152         * libio/iofflush.c: Likewise.
37153         * libio/iofflush_u.c: Likewise.
37154         * libio/iofgets.c: Likewise.
37155         * libio/iofgets_u.c: Likewise.
37156         * libio/iofopen.c: Likewise.
37157         * libio/iofopncook.c: Likewise.
37158         * libio/iofread.c: Likewise.
37159         * libio/iofread_u.c: Likewise.
37160         * libio/ioftell.c: Likewise.
37161         * libio/iofwrite.c: Likewise.
37162         * libio/iogetline.c: Likewise.
37163         * libio/iogets.c: Likewise.
37164         * libio/iogetwline.c: Likewise.
37165         * libio/iopadn.c: Likewise.
37166         * libio/iopopen.c: Likewise.
37167         * libio/ioseekoff.c: Likewise.
37168         * libio/ioseekpos.c: Likewise.
37169         * libio/iosetbuffer.c: Likewise.
37170         * libio/iosetvbuf.c: Likewise.
37171         * libio/ioungetc.c: Likewise.
37172         * libio/ioungetwc.c: Likewise.
37173         * libio/iovdprintf.c: Likewise.
37174         * libio/iovsprintf.c: Likewise.
37175         * libio/iovsscanf.c: Likewise.
37176         * libio/memstream.c: Likewise.
37177         * libio/obprintf.c: Likewise.
37178         * libio/oldfileops.c: Likewise.
37179         * libio/oldiofclose.c: Likewise.
37180         * libio/oldiofdopen.c: Likewise.
37181         * libio/oldiofopen.c: Likewise.
37182         * libio/oldiopopen.c: Likewise.
37183         * libio/oldstdfiles.c: Likewise.
37184         * libio/putc.c: Likewise.
37185         * libio/setbuf.c: Likewise.
37186         * libio/setlinebuf.c: Likewise.
37187         * libio/stdfiles.c: Likewise.
37188         * libio/strops.c: Likewise.
37189         * libio/vasprintf.c: Likewise.
37190         * libio/vscanf.c: Likewise.
37191         * libio/vsnprintf.c: Likewise.
37192         * libio/vswprintf.c: Likewise.
37193         * libio/wfiledoalloc.c: Likewise.
37194         * libio/wfileops.c: Likewise.
37195         * libio/wgenops.c: Likewise.
37196         * libio/wmemstream.c: Likewise.
37197         * libio/wstrops.c: Likewise.
37198         * libio/__fpurge.c: Likewise.
37199         * libio/__fsetlocking.c: Likewise.
37200         * assert/assert.c: Likewise.
37201         * debug/fgets_chk.c: Likewise.
37202         * debug/fgets_u_chk.c: Likewise.
37203         * debug/fread_chk.c: Likewise.
37204         * debug/fread_u_chk.c: Likewise.
37205         * debug/gets_chk.c: Likewise.
37206         * debug/obprintf_chk.c: Likewise.
37207         * debug/vasprintf_chk.c: Likewise.
37208         * debug/vdprintf_chk.c: Likewise.
37209         * debug/vsnprintf_chk.c: Likewise.
37210         * debug/vsprintf_chk.c: Likewise.
37211         * malloc/mtrace.c: Likewise.
37212         * misc/error.c: Likewise.
37213         * misc/syslog.c: Likewise.
37214         * stdio-common/asprintf.c: Likewise.
37215         * stdio-common/fxprintf.c: Likewise.
37216         * stdio-common/getw.c: Likewise.
37217         * stdio-common/isoc99_fscanf.c: Likewise.
37218         * stdio-common/isoc99_scanf.c: Likewise.
37219         * stdio-common/isoc99_vfscanf.c: Likewise.
37220         * stdio-common/isoc99_vscanf.c: Likewise.
37221         * stdio-common/isoc99_vsscanf.c: Likewise.
37222         * stdio-common/printf-prs.c: Likewise.
37223         * stdio-common/printf_fp.c: Likewise.
37224         * stdio-common/printf_fphex.c: Likewise.
37225         * stdio-common/printf_size.c: Likewise.
37226         * stdio-common/putw.c: Likewise.
37227         * stdio-common/scanf.c: Likewise.
37228         * stdio-common/sprintf.c: Likewise.
37229         * stdio-common/tmpfile.c: Likewise.
37230         * stdio-common/vfprintf.c: Likewise.
37231         * stdio-common/vfscanf.c: Likewise.
37232         * stdlib/strfmon_l.c: Likewise.
37233         * sunrpc/openchild.c: Likewise.
37234         * sunrpc/xdr_stdio.c: Likewise.
37235         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37236         * sysdeps/mach/hurd/tmpfile.c: Likewise.
37238 2012-05-24  Roland McGrath  <roland@hack.frob.com>
37240         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37242         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37243         in the third column, to generate for the shared library an IFUNC
37244         that uses _dl_vdso_vsym.
37245         * Makerules (COMPILE.c, compile-stdin.c): New variables.
37246         * Makeconfig (object-suffixes-noshared): New variable.
37248         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37249         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37250         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37251         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37253         [BZ #14132]
37254         * include/sys/time.h (__gettimeofday): Remove macro.
37255         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37256         * time/gettimeofday.c (__gettimeofday): Remove #undef.
37257         Remove INTDEF.
37258         (__gettimeofday): Add libc_hidden_def.
37259         (gettimeofday): Add libc_hidden_weak.
37260         * sysdeps/mach/gettimeofday.c: Likewise.
37261         * sysdeps/posix/gettimeofday.c: Likewise.
37262         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37263         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37264         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37265         (__gettimeofday_internal): Remove strong_alias.
37266         (__gettimeofday): Add libc_hidden_def.
37267         (gettimeofday): Add libc_hidden_weak.
37268         * sysdeps/unix/syscalls.list (gettimeofday):
37269         Remove __gettimeofday_internal alias.
37271 2012-05-24  Daniel Jacobowitz  <drow@false.org>
37272             H.J. Lu  <hongjiu.lu@intel.com>
37274         [BZ #12495]
37275         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37276         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37277         (largebin_index_32_big): New.
37278         (largebin_index): Use it for 16-byte alignment.
37279         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
37280         correction with front_misalign.
37282 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37286         Likewise.
37287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37288         Likewise.
37289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37290         Likewise.
37291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37292         Likewise.
37293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37294         Likewise.
37295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37296         Likewise.
37297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37298         Likewise.
37299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37300         Likewise.
37301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37302         Likewise.
37303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37304         Likewise.
37305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37306         Likewise.
37307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37308         Likewise.
37310         * scripts/data/c++-types-x32-linux-gnu.data: New file.
37311         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37313 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37315         [BZ #10846]
37316         [BZ #14036]
37317         * math/libm-test.inc (exp_test): Add test from bug 14036.
37318         (pow_test): Add test from bug 10846.
37320         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37321         and other flags.
37322         (special_function): Do not include flags in test name.
37323         (parse_args): Likewise.
37324         * sysdeps/i386/fpu/libm-test-ulps: Update.
37325         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37326         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37327         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37330         * math/gen-libm-test.pl (%beautify): Add entries for underflow
37331         exceptions.
37332         * math/libm-test.inc ("Philosophy"): Update comment about
37333         exception testing.
37334         (UNDERFLOW_EXCEPTION): New macro.
37335         (UNDERFLOW_EXCEPTION_OK): Likewise.
37336         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37337         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37338         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37339         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37340         (INVALID_EXCEPTION_OK): Update value.
37341         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37342         (OVERFLOW_EXCEPTION_OK): Likewise.
37343         (IGNORE_ZERO_INF_SIGN): Likewise.
37344         (test_exceptions): Handle underflow exceptions.
37345         (acos_test): Update for underflow exception expectations.
37346         (cexp_test): Likewise.
37347         (clog_test): Likewise.
37348         (clog10_test): Likewise.
37349         (csqrt_test): Likewise.
37350         (ctan_test): Likewise.
37351         (ctanh_test): Likewise.
37352         (exp_test): Likewise.
37353         (exp10_test): Likewise.
37354         (exp2_test): Likewise.
37355         (expm1_test): Likewise.
37356         (fma_test): Likewise.
37357         (j0_test): Likewise.
37358         (jn_test): Likewise.
37359         (nexttoward_test): Likewise.
37360         (pow_test): Likewise.
37361         (scalbn_test): Likewise.
37362         (scalbln_test): Likewise.
37363         (tan_test): Likewise.
37364         (y1_test): Likewise.
37365         * sysdeps/i386/fpu/libm-test-ulps: Update.
37366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37368 2012-05-23  David S. Miller  <davem@davemloft.net>
37370         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37371         (__libc_sigaction): Remove unused local variables.
37373 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37375         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37377 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
37379         mktime: avoid signed integer overflow
37380         * time/mktime.c (__mktime_internal): Do not mishandle the case
37381         where diff == INT_MIN.
37383         mktime: simplify computation of average
37384         * time/mktime.c (ranged_convert): Use new time_t_avg function
37385         instead of rolling our own (probably-slower) code.
37387         mktime: do not assume signed right shift propagates sign bit
37388         * time/mktime.c (isdst_differ): New static function.
37389         (__mktime_internal): No need to normalize tm_isdst now.
37390         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37391         tm_isdst values.
37393         mktime: merge another wrapv change from gnulib
37394         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37395         from some compilers.
37397         mktime: remove incorrect attempt at unusual arithmetics
37398         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37399         The code didn't really work on such machines anyway.
37400         (TYPE_MINIMUM): Assume two's complement.
37401         (twos_complement_arithmetic): Verify that long_int and time_t
37402         are two's complement (or unsigned, in the latter case).
37404         mktime: check signed shifts on long_int and time_t, too
37405         * time/mktime.c (SHR): Check that shifts work as desired
37406         on the types long_int and time_t too, as SHR is used on
37407         such types.
37409         mktime: do not assume 'long' is wide enough
37410         * time/mktime.c (verify): Move decl up.
37411         (long_int): New type.
37412         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37413         to remove assumption in the code that 'long' is wide enough to
37414         store year values.  This assumption is not true on x32 and on
37415         some non-glibc platforms.
37417         mktime: merge wrapv change from gnulib
37418         * time/mktime.c (WRAPV): New macro.
37419         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37420         (guess_time_tm, __mktime_internal): Do not assume that signed
37421         integer overflow wraps around; modern compilers generate code
37422         where this assumption is no longer valid.
37424 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37426         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37427         Replace "jmp L(pseudo_end)" with "ret".
37428         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37429         Likewise.
37431 2012-05-23  Andreas Jaeger  <aj@suse.de>
37433         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37434         * sysdeps/unix/sysv/linux/poll.c: Remove file.
37436 2012-05-23  Andreas Jaeger  <aj@suse.de>
37437             Maximilian Attems  <max@stro.at>
37439         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37440         New macros.
37442 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37444         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37445         code so that pseudo_end is just ret and the stack pointer is
37446         correct also for static library in error case.
37448 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
37450         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37451         move to syscalls.list.
37452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37457         * manual/install.texi (Running make install): Do not mention Linux
37458         kernel version for which pt_chown is not needed.
37459         (Linux): Do not mention problems with nscd with 2.0 kernels.
37460         * INSTALL: Regenerated.
37462 2012-05-23  Andreas Jaeger  <aj@suse.de>
37464         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37465         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37466         macro.
37467         * sysdeps/unix/sysv/linux/s390/bits/mman.h
37468         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37469         * sysdeps/unix/sysv/linux/sh/bits/mman.h
37470         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37471         * sysdeps/unix/sysv/linux/i386/bits/mman.h
37472         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37473         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37474         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37475         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37476         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37477         * sysdeps/unix/sysv/linux/bits/in.h
37478         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37480 2012-05-22  Roland McGrath  <roland@hack.frob.com>
37482         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37483         (PREPARE_VERSION): Just use assert instead, it will be elided
37484         under [NDEBUG] anyway.
37486 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37488         * sysdeps/unix/sysv/linux/Makefile: Include
37489         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37490         (sysdep_routines): Remove sysctl.
37491         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37492         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37493         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37494         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37495         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37497 2012-05-22  Andreas Jaeger  <aj@suse.de>
37499         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37500         that pseudo_end is just ret and the stack pointer is correct also
37501         for static library in error case.
37503 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37505         [BZ #14122]
37506         * nss/nsswitch.c (defconfig_entries): New variable.
37507         (__nss_database_lookup): Don't leak defconfig entries.
37508         (nss_parse_service_list): Don't leak on error paths.
37509         (free_database_entries): New function.
37510         (free_defconfig): New function.
37511         (free_mem): Move common code to free_database_entries.
37513 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37515         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37516         Add arch_prctl.
37517         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37519         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37520         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37521         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37522         New macro.
37523         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37524         (INTERNAL_SYSCALL_TYPES): Likewise.
37525         (LOAD_ARGS_TYPES_[1-6]): Likewise.
37526         (LOAD_REGS_TYPES_[1-6]): Likewise.
37527         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37528         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37530 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37532         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37533         copysignl for GLIBC_2_0.
37534         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37535         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37536         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37537         logbl for GLIBC_2_0.
37538         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37539         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37541 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37543         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37544         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37546         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37547         Use "neg %eax".
37549         * time/mktime.c: Update copyright years.
37551 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37553         mktime: merge comment-quoting-style change from gnulib
37554         * time/mktime.c: Quote 'like this' in comments.
37555         The GNU coding standards suggest that we no longer quote `like this',
37556         as "`" and "'" are typically rendered asymmetrically nowadays.
37557         The typical gnulib style is to quote 'like this' when quoting
37558         code, and "like this" when quoting English.
37560         * time/mktime.c (compile-command): Add "-I.".
37562         mktime: merge mktime-internal.h change from gnulib
37563         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37565         mktime: merge time_r change from gnulib
37566         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37568         mktime: merge DEBUG change from gnulib
37569         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37570         case system <time.h> has a #define.
37572         mktime: merge <sys/types.h> change from gnulib
37573         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37574         since <time.t> is now guaranteed to define time_t.
37576         mktime: merge HAVE_CONFIG_H change from gnulib
37577         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37579 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37582         Use "neg %eax".
37584         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37585         __rlim_t cast.
37586         (struct rusage): Use anonymous union to pad each field to
37587         __syscall_slong_t.
37589 2012-05-21  David S. Miller  <davem@davemloft.net>
37591         * Makefules (o-iterator): Remove .s cases.
37592         (compile-command.s): Delete.
37593         (COMPILE.s): Delete.
37594         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37596 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
37598         * configure.in (libc_cv_predef_stack_protector): Only consider
37599         "foobar" and "__stack_chk_fail" lines in libc_undefs.
37600         * configure: Regenerated.
37602 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37604         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37605         New macro.  Use R*LP on int and pointer.
37606         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37607         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37608         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37609         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37611         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37612         [__WORDSIZE_TIME64_COMPAT32] instead of
37613         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37614         (struct utmp): Likewise.
37615         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37616         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37617         Renamed to ...
37618         (__WORDSIZE_TIME64_COMPAT32): This.
37619         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37620         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37621         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37622         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37623         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37624         (__WORDSIZE_TIME64_COMPAT32): New macro.
37626 2012-05-21  Andreas Jaeger  <aj@suse.de>
37628         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37629         only if [SHARED]. Add prototype for __wcschr_ia32.
37631 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37633         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37634         of %rbp unmolested in the jmp_buf while mangling the low bits.
37635         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37636         unmolested high bits of %rbp while demangling the low bits.
37637         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37639 2012-05-21  Andreas Jaeger  <aj@suse.de>
37641         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37642         * sunrpc/svc_simple.c: Use it for registerrpc.
37643         * sunrpc/xcrypt.c: Use it for passwd2des.
37645         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37647 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37649         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37650         Don't define if [__SYSCALL_WORDSIZE != 32].
37651         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37652         New macro.
37654 2012-05-21  Bruno Haible  <bruno@clisp.org>
37655             Andreas Jaeger  <aj@suse.de>
37657         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37658         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37659         inptr and inend for must_buffer_ch.
37660         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37661         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37662         * stdio-common/Makefile (tests): Remove bug15.
37663         (bug15-ENV): Remove macro.
37664         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37665         anymore.
37667 2012-05-19  Andreas Jaeger  <aj@suse.de>
37668             Roland McGrath  <roland@hack.frob.com>
37670         * manual/contrib.texi: Completely rewritten. It contains now an
37671         alphabetical list of contributors and their contributions.
37673 2012-05-21  Richard Henderson  <rth@twiddle.net>
37675         * misc/getauxval.c (__getauxval): Use unsigned long int.
37676         * misc/sys/auxv.h: Include <sys/cdefs.h>.
37677         (getauxval): Use unsigned long int.
37679 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37681         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37683 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37685         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37686         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37687         __alignof__ (long double).
37689 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37693 2012-05-20  Richard Henderson  <rth@twiddle.net>
37695         * misc/getauxval.c: New file.
37696         * misc/sys/auxv.h: New file.
37697         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37698         (routines): Add getauxval.
37699         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37700         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37701         * elf/dl-sysdep.c (_dl_auxv): Remove.
37702         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37703         * elf/dl-support.c (_dl_auxv): New variable.
37704         (_dl_aux_init): Initialize it.
37705         * manual/startup.texi (Auxiliary Vector): New node.
37706         * sysdeps/generic/bits/hwcap.h: New file.
37707         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37708         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
37709         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37710         * sysdeps/sparc/sysdep.h: ... here.  Include it.
37711         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37712         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37714         Update.
37715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37718         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37724 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37728 2012-05-19  David S. Miller  <davem@davemloft.net>
37730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37732 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37734         [BZ #14123]
37735         * math/s_ccosh.c: Include <float.h>
37736         (__ccosh): Avoid internal overflow calculating sinh and cosh
37737         values before multiplying by sin and cos values.
37738         * math/s_ccoshf.c: Likewise.
37739         * math/s_ccoshl.c: Likewise.
37740         * math/s_csin.c: Likewise.
37741         * math/s_csinf.c: Likewise.
37742         * math/s_csinl.c: Likewise.
37743         * math/s_csinh.c: Likewise.
37744         * math/s_csinhf.c: Likewise.
37745         * math/s_csinhl.c: Likewise.
37746         * math/libm-test.inc (ccos_test): Add more tests.
37747         (ccosh_test): Likewise.
37748         (csin_test): Likewise.
37749         (csinh_test): Likewise.
37750         * sysdeps/i386/fpu/libm-test-ulps: Update.
37751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37753 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37755         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37756         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37758         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37760 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37762         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37763         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37764         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37765         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37766         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37767         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37768         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37769         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37770         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37771         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37772         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37773         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37774         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37775         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37776         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37777         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37778         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37779         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37780         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37781         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37782         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37783         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37784         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37785         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37786         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37787         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37788         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37789         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37790         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37791         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37792         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37794 2012-05-18  Andreas Jaeger  <aj@suse.de>
37796         * csu/.gitignore: Delete.
37798 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37800         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37801         (timex): Use __syscall_slong_t.
37803 2012-05-18  Andreas Jaeger  <aj@suse.de>
37804             Carlos O'Donell  <carlos_odonell@mentor.com>
37806         * manual/install.texi (Configuring and compiling): Update
37807         description about files modified in the source directory.
37808         * INSTALL: Regenerated.
37810 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37812         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37813         value.  Use "or" to set return value to -1.
37814         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37815         negate return value.
37817 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37819         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37820         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37821         failure if the compiler has Graphite support disabled.
37822         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37823         Likewise.
37824         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37825         (CFLAGS-memmove.c): Likewise.
37826         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37827         Likewise.
37829 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37831         * sysdeps/x86_64/x32/_itoa.h: New file.
37833         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37834         getdents system call only if kernel and user dirents have the
37835         same d_ino and d_off.
37837         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37838         LLONG_MAX != LONG_MAX.
37839         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37840         (_fitoa_word): Likewise.
37842         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37843         years.
37844         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37845         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37846         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37848         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37849         include <bits/wordsize.h>.  Check __x86_64__ instead of
37850         __WORDSIZE.
37851         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37852         if __x86_64__ is defined.  Use anonymous union on fpstate.
37854         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37855         anonymous union.
37857 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37859         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37860         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37861         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37862         Refer to _rtld_local_ro instead of _rtld_global_ro.
37863         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37864         Likewise.
37865         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37866         Likewise.
37867         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37868         Likewise.
37869         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37870         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37871         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37873         * sysdeps/powerpc/powerpc32/dl-machine.c
37874         (__elf_machine_runtime_setup) [PROF]: Don't reference
37875         _dl_prof_resolve.
37877 2012-05-18  Andreas Jaeger  <aj@suse.de>
37879         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37880         function only available for GCCs before 3.4 since GCC 3.4
37881         introduced a builtin.
37882         (lrint): Likewise.
37883         (llrintf): Likewise.
37884         (llrint): Likewise.
37885         (fmaxf): Likewise.
37886         (fmax): Likewise.
37887         (fminf): Likewise.
37888         (fmin): Likewise.
37889         (rint): Likewise.
37890         (rintf): Likewise.
37891         (nearbyint): Likewise.
37892         (nearbyintf): Likewise.
37893         (ceil): Likewise.
37894         (ceilf): Likewise.
37895         (floor): Likewise.
37896         (floorf): Likewise.
37898 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37900         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37901         on both fields and cast pointer to __syscall_ulong_t.
37903         * bits/types.h (__fsword_t): New type.
37904         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37905         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37906         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37907         (__FSWORD_T_TYPE): Likewise.
37908         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37909         (__FSWORD_T_TYPE): Likewise.
37910         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37911         (__FSWORD_T_TYPE): Likewise.
37912         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37913         (__FSWORD_T_TYPE): Likewise.
37914         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37915         __SWORD_TYPE with __fsword_t.
37916         (statfs64): Likewise.
37918 2012-05-17  David S. Miller  <davem@davemloft.net>
37920         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37922 2012-05-17  Andreas Jaeger  <aj@suse.de>
37924         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37925         warning.
37927 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37929         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37931 2012-05-17  Andreas Jaeger  <aj@suse.de>
37933         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37934         when it is used.
37936 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37938         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37940 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37942         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37943         * sysdeps/x86_64/tst-mallocalign1.c: New file.
37945 2012-05-17  Andreas Jaeger  <aj@suse.de>
37946             Carlos O'Donell  <carlos_odonell@mentor.com>
37948         [BZ #14059]
37949         * sysdeps/x86_64/multiarch/init-arch.h
37950         (bit_YMM_Usable): Rename to...
37951         (bit_AVX_Usable): ... this.
37952         (bit_FMA4_Usable): New macro.
37953         (bit_XMM_state): New macro.
37954         (bit_YMM_state): New macro.
37955         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37956         [__ASSEMBLER__] (index_AVX_Usable): ... this.
37957         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37958         (CPUID_OSXSAVE): New macro.
37959         (CPUID_AVX): New macro.
37960         (CPUID_FMA4): New macro.
37961         (index_YMM_Usable): Rename to...
37962         (index_AVX_Usable): ... this.
37963         (HAS_AVX): Use HAS_ARCH_FEATURE.
37964         (HAS_FMA4): Likewise.
37965         (HAS_YMM_USABLE): Remove.
37966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37967         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37968         are present.
37969         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37970         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37971         * sysdeps/x86_64/multiarch/Makefile: Likewise.
37972         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37973         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37975 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37977         * math/libm-test.c: Support platforms without multiple rounding modes.
37978         * math/bug-nextafter.c: Support platforms without FP exceptions.
37979         * math/bug-nexttoward.c: Likewise.
37980         * math/test-fenv.c: Likewise.
37981         * math/test-misc.c: Likewise.
37982         * stdlib/bug-getcontext.c: Likewise.
37984 2012-05-17  Andreas Jaeger  <aj@suse.de>
37986         * manual/examples/search.c (critter_cmp): Change signature to
37987         avoid warnings.
37988         * manual/string.texi (Collation Functions): Likewise.
37990 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37992         * bits/types.h: Fold copyright years.
37993         * bits/typesizes.h: Likewise.
37994         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37995         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37996         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37997         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37998         * time/time.h: Likewise.
38000 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
38002         [BZ #208]
38003         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38004         in instead of returning them.  Return void.
38005         (__libc_mallinfo): Accumulate over all arenas.
38006         (__malloc_stats): Adjust for change in int_mallinfo interface.
38008 2012-05-16  Roland McGrath  <roland@hack.frob.com>
38010         [BZ #10375]
38011         * configure.in (NM): Add AC_CHECK_TOOL for it.
38012         (libc_extra_cflags): New substituted variable.
38013         Check for -fstack-protector being used implicitly.
38014         * configure: Regenerated.
38015         * config.make.in (config-extra-cflags): New variable,
38016         gets @libc_extra_cflags@.
38017         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38019         [BZ #10375]
38020         * configure.in: Check for _FORTIFY_SOURCE being predefined.
38021         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38022         * configure: Regenerated.
38023         * config.make.in (CPPUNDEFS): New substituted variable.
38024         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38025         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38026         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38028 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38030         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38031         (mq_attr): Use __syscall_slong_t.
38033 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38035         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38036         Check __x86_64__ instead of __WORDSIZE.
38037         (_STAT_VER_LINUX): Likewise.
38038         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
38039         __syscall_ulong_t and __syscall_slong_t.
38040         (stat64): Likewise.
38042 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38044         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38046 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38048         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38050 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38052         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38053         __syscall_ulong_t.
38055         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38056         include <bits/wordsize.h>.  Check __x86_64__ instead of
38057         __WORDSIZE.
38058         (greg_t): Use "__extension__ long long int" if __x86_64__ is
38059         defined.
38060         (mcontext_t): Replace "unsigned long" with "unsigned long long".
38062         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38063         include <bits/wordsize.h>.  Check __x86_64__ instead of
38064         __WORDSIZE.
38065         (user_regs_struct): Use "__extension__ unsigned long long"
38066         instead of "unsigned long" if __x86_64__ is defined.
38067         (user): Likewise.  Pad after pointer field if __ILP32__ is
38068         defined.
38070 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
38072         * configure.in (makeinfo): Require version 4.5 or later.  Allow
38073         versions 5 to 9.
38074         * configure: Regenerated.
38075         * manual/install.texi (texinfo): Increase version requirement to
38076         4.5 or later.
38077         * INSTALL: Regenerated.
38079         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38081 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38083         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38085         * sysdeps/x86_64/x32/ffs.c: New file.
38087         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38088         __syscall_ulong_t.
38089         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38090         defined.  Use __syscall_ulong_t.
38091         (shminfo): Use __syscall_ulong_t.
38092         (shm_info): Likewise.
38094         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38095         __syscall_ulong_t.
38097         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38098         <bits/wordsize.h>.
38099         (msgqnum_t): Use __syscall_ulong_t.
38100         (msglen_t): Likewise.
38101         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
38102         __syscall_ulong_t.
38104         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38105         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38107         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38109         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38110         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38112         * sysvipc/sys/msg.h (msgbuf): Replace long int with
38113         __syscall_slong_t.
38115         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38116         include <bits/wordsize.h>.  Check __x86_64__ instead of
38117         __WORDSIZE.
38119         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38120         "unsigned long long int" if __x86_64__ is defined.
38121         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38123         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38124         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38125         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38127         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38128         <stdint.h>.
38129         (GET_PC): Cast to uintptr_t first.
38130         (GET_FRAME): Likewise.
38131         (GET_STACK): Likewise.
38133         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38134         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38135         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38136         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38137         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38138         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38139         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38140         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38141         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38142         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38143         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38144         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38145         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38146         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38147         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38148         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38149         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38150         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38151         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38152         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38153         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38154         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38155         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38156         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38157         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38158         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38159         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38160         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38161         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38163 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
38165         * Makerules (+depfiles): Also collect depfiles from .oS in
38166         $(extra-objs).
38167         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38168         .oS, $(libnldbl-routines)).
38170         * Makerules (native-compile-mkdep-flags): Define.
38171         * sunrpc/Makefile (extra-objs): Add $(addprefix
38172         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38173         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38174         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
38175         calling $(make-target-directory).
38177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38179         * bits/types.h (__snseconds_t): Removed.
38180         * time/time.h (struct timespec): Replace __snseconds_t with
38181         __syscall_slong_t.
38182         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38183         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38184         Likewise.
38185         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38186         (__SNSECONDS_T_TYPE): Likewise.
38187         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38188         (__SNSECONDS_T_TYPE): Likewise.
38189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38190         (__SNSECONDS_T_TYPE): Likewise.
38192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38194         * sysdeps/mach/hurd/bits/typesizes.h
38195         (__SYSCALL_SLONG_TYPE): New macro.
38196         (__SYSCALL_ULONG_TYPE): Likewise.
38198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38200         * bits/types.h (__syscall_slong_t): New type.
38201         (__syscall_ulong_t): Likewise.
38203         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38204         (__SYSCALL_ULONG_TYPE): Likewise.
38205         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38206         (__SYSCALL_SLONG_TYPE): Likewise.
38207         (__SYSCALL_ULONG_TYPE): Likewise.
38208         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38209         (__SYSCALL_SLONG_TYPE): Likewise.
38210         (__SYSCALL_ULONG_TYPE): Likewise.
38211         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38212         (__SYSCALL_SLONG_TYPE): Likewise.
38213         (__SYSCALL_ULONG_TYPE): Likewise.
38215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38217         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38218         Add sigaltstack-offsets.sym.
38219         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38220         <sigaltstack-offsets.h>.
38221         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
38222         longjmp_msg pointer.
38223         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
38224         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38225         signal stack.
38226         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38228 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38230         * elf/stackguard-macros.h: Remove file.
38231         * sysdeps/generic/stackguard-macros.h: New file.
38232         * sysdeps/i386/stackguard-macros.h: Likewise.
38233         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38234         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38235         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38236         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38237         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38238         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38239         * sysdeps/x86_64/stackguard-macros.h: Likewise.
38240         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38241         <elf/stackguard-macros.h>.
38243         [BZ #14109]
38244         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38245         __aligned__ in attribute.
38246         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38247         (gregset_t): Likewise.
38249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38251         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38252         * sysdeps/x86_64/64/Implies-after: Here.  New file.
38253         * sysdeps/x86_64/x32/Implies-after: New file.
38255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38257         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38258         and access return value for _dl_profile_fixup.  Use R10_LP to
38259         load frame size.
38261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38263         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38267         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38268         * sysdeps/x86_64/x32/sysdep.h: New file.
38270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38272         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38273         * sysdeps/x86_64/setjmp.S: Likewise.
38275 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38277         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38278         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38279         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38280         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38281         remove unused global constant.
38283 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
38285         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38286         include of <not-cancel.h>.
38288 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38290         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38292 2012-05-15  Jeff Law  <law@redhat.com>
38293             Andreas Jaeger  <aj@suse.de>
38295         [BZ #13594]
38296         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38297         out from...
38298         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38299         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38300         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38301         code changing __hst_map_handle.map.
38303 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38305         * configure.in (sysnames): Look for Implies-before and Implies-after
38306         files.
38307         * configure: Regenerated.
38309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38311         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38312         8-byte data alignment with LP_SIZE alignment.
38314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38316         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38317         into R10_LP.
38319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38321         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38325         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38326         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38327         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38328         Likewise.
38329         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38333         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38334         (stackinfo_sub_sp): Likewise.
38336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38338         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38339         RAX_LP.
38341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38343         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38344         into R*_LP.
38346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38348         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38349         sizes into R*_LP.
38351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38353         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38357         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38358         into R11_LP and load __x86_64_shared_cache_size_half into
38359         R8_LP.
38361 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38363         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38364         R8_LP.
38366 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38368         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38369         logb for POWER7.
38370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38371         logbf for POWER7.
38372         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38373         logbl for POWER7.
38374         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38375         powerpc32/power7/fpu/s_logb.c via #include.
38376         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38377         powerpc32/power7/fpu/s_logbf.c via #include.
38378         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38379         powerpc32/power7/fpu/s_logbl.c via #include.
38381 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38383         * README.libm: Remove file.
38385 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38387         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38388         count for x32.  Use R*_LP and omit operand-size suffix.
38390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38392         * shlib-versions: Move x86_64-.*-linux.* entries to ...
38393         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
38394         * sysdeps/x86_64/x32/shlib-versions: New file.
38396 2012-05-14  Roland McGrath  <roland@hack.frob.com>
38398         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38399         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38400         Use _dl_fatal_printf instead.
38402 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38404         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38405         set if not set by the user.  Do not allow for being unset.
38406         * sysdeps/unix/sysv/linux/configure: Regenerated.
38408 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38410         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38411         the `q' suffix from lea and replace .quad with ASM_ADDR.
38413 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38416         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
38417         instead of $17.
38418         (PTR_DEMANGLE): Likewise.
38420 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38422         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38423         (LP_OP): Likewise.
38424         (ASM_ADDR): Likewise.
38425         (RAX_LP): Likewise.
38426         (RBP_LP): Likewise.
38427         (RBX_LP): Likewise.
38428         (RCX_LP): Likewise.
38429         (RDI_LP): Likewise.
38430         (RSI_LP): Likewise.
38431         (RSP_LP): Likewise.
38432         (R8_LP): Likewise.
38433         (R9_LP): Likewise.
38434         (R10_LP): Likewise.
38435         (R10_LP): Likewise.
38436         (R11_LP): Likewise.
38437         (R12_LP): Likewise.
38438         (R13_LP): Likewise.
38439         (R14_LP): Likewise.
38440         (R15_LP): Likewise.
38442 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38444         * sysdeps/x86_64/x32/dl-machine.h: New file.
38446 2012-05-14  Andreas Jaeger  <aj@suse.de>
38448         * manual/Makefile (subdir): Remove export of subdir.
38449         (all): Remove target.
38450         (.PHONY): Remove all from list.
38451         (mkinstalldirs): Remove.
38452         (.PHONY): Remove installdirs from list.
38453         ($(inst_infodir)/libc.info): Use make-target-directory.
38454         (installdirs): Remove.
38455         (subdir_%): Remove.
38456         (glibc-targets): Remove.
38457         (lib): Remove.
38458         (stubs): Remove.
38459         ($(objpfx)stubs ../po/manual.pot): Remove.
38460         ($(objpfx)stamp%): Remove.
38461         (make-target-directory): Remove.
38462         (subdir_install): Remove.
38463         (routines): Remove.
38464         (aux): Remove.
38465         (sources): Remove.
38466         (objects): Remove.
38467         (headers): Remove.
38469         [BZ #13750]
38470         * manual/.gitignore: Remove, it's not needed anymore.
38471         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38472         all files in it.
38473         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38474         directory.
38475         (texis): Renamed to $(objpfx)texis.
38476         (texis-path): New, contains path to generated files.
38477         (chapters.%): Use texis-path for complete path, add extra argument
38478         libc-texinfo.sh.
38479         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38480         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38481         (summary,texi, stamp-summary): Use complete path of
38482         files. Generate files in build dir.
38483         (dir-add.texi): Build in build dir.
38484         (libm-err.texi,stamp-libm-err): Likewise.
38485         (version.texi, stamp-version): Likewise.
38486         (.%c.texi): Likewise.
38487         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38488         (mostlyclean): Remove target.
38489         (realclean): Remove target.
38490         (generated): Add new variable with contents from mostlyclean and
38491         realclean, remove entries duplicated in common-mostlyclean, add
38492         stamp-libm-err and stamp-version.
38493         (generated-dirs): Add libc directory.
38494         ($(inst_infodir)/libc.info): Install files from build dir.
38496         * manual/install.texi (Configuring and compiling): Adjust since
38497         the info files are not part of the tar ball anymore.
38499 2012-05-14  Andreas Jaeger  <aj@suse.de>
38501         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38502         variable.
38504 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38506         [BZ #13717]
38507         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38508         to 2.2.0 where earlier.
38509         * sysdeps/unix/sysv/linux/configure: Regenerated.
38510         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38511         Remove conditional code.
38512         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38513         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38514         Remove conditional code.
38515         [!__NR_lchown]: Likewise.
38516         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38517         [__NR_lchown]: Likewise.
38518         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38519         comment referencing __ASSUME_LCHOWN_SYSCALL.
38520         * sysdeps/unix/sysv/linux/i386/sigaction.c
38521         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38522         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38523         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38524         Remove conditional code.
38525         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38526         (__protocol_available): Remove #if 0 code.
38527         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38528         conditional code.
38529         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38530         * sysdeps/unix/sysv/linux/kernel-features.h
38531         (__ASSUME_GETCWD_SYSCALL): Don't define.
38532         (__ASSUME_REALTIME_SIGNALS): Likewise.
38533         (__ASSUME_PREAD_SYSCALL): Likewise.
38534         (__ASSUME_PWRITE_SYSCALL): Likewise.
38535         (__ASSUME_POLL_SYSCALL): Likewise.
38536         (__ASSUME_LCHOWN_SYSCALL): Likewise.
38537         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38538         non-SPARC.
38539         (__ASSUME_SIOCGIFNAME): Don't define.
38540         (__ASSUME_MSG_NOSIGNAL): Likewise.
38541         (__ASSUME_SENDFILE): Define unconditionally.
38542         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38543         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38544         conditional code.
38545         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38546         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38547         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38548         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38549         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38550         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38551         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38553         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38554         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38556         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38557         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38559         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38560         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38562         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38563         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38565         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38566         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38568         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38569         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38571         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38572         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38574         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38575         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38576         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38577         Remove conditional code.
38578         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38579         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38580         Remove conditional code.
38581         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38582         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38583         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38584         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38585         Remove conditional code.
38586         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38587         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38588         Remove conditional code.
38589         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38590         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38591         Remove conditional code.
38592         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38593         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38594         Remove conditional code.
38595         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38596         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38597         Remove conditional code.
38598         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38599         * sysdeps/unix/sysv/linux/sh/pwrite64.c
38600         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38601         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38602         * sysdeps/unix/sysv/linux/sigaction.c
38603         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38604         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38605         * sysdeps/unix/sysv/linux/sigpending.c
38606         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38607         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38608         * sysdeps/unix/sysv/linux/sigprocmask.c
38609         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38610         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38611         * sysdeps/unix/sysv/linux/sigsuspend.c
38612         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38613         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38614         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38615         (__libc_missing_rt_sigs): Remove.
38616         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38617         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38618         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38619         Remove conditional code.
38620         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38621         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38622         return 1.
38623         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38624         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38625         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38626         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38628 2012-05-14  Andreas Jaeger  <aj@suse.de>
38630         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38631         it's not used in glibc.
38632         (__coshm1): Likewise.
38633         (__acosh1p): Likewise.
38634         (__sgn): Likewise.
38636         * manual/string.texi (Copying and Concatenation): Add missing
38637         variable in concat example.
38638         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38640 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38642         [BZ #14103]
38643         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38644         __builtin_clzl with __builtin_clzll.
38646 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38648         [BZ #14104]
38649         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38650         libc_freeres_ptr.
38652 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38654         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38655         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38656         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38657         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38659 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
38661         * NEWS: Update ia64 info.
38663 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
38665         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38666         used as bcopy.
38668 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
38670         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38671         * sysdeps/unix/syscalls.list (dup3): Likewise.
38672         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38673         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38675 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38677         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38678         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38680 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38682         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38683         thread pointer.
38684         (TLS_IE): Use mov/add instead of movq/addq to load thread
38685         pointer.
38686         (TLS_GD_PREFIX): New.
38687         (TLS_GD): Use it.
38689 2012-05-11  David S. Miller  <davem@davemloft.net>
38691         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38692         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38693         (_FPU_SETCW): Likewise.
38695 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38697         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38698         is 32-byte aligned.
38700 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
38702         [BZ #11837]
38703         * iconvdata/gb18030.c: Update tables.
38704         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
38705         characters specially.
38706         (BODY for TO_LOOP): Add encoding of missing ranges.
38708 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
38710         [BZ #13673]
38711         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38712         * sysdeps/mach/hurd/dup3.c: Likewise.
38713         * sysdeps/mach/hurd/readlinkat.c: Likewise.
38714         * sysdeps/powerpc/memmove.c:: Likewise.
38716 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38718         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38719         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38721 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38723         * elf/elf.h (R_X86_64_RELATIVE64): New.
38724         (R_X86_64_NUM): Updated.
38725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38726         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38727         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38728         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38729         tst-quad1pie tst-quad2pie
38730         (modules-names): Add tst-quadmod1 tst-quadmod2.
38731         ($(objpfx)tst-quad1): New dependency.
38732         ($(objpfx)tst-quad2): Likewise.
38733         ($(objpfx)tst-quad1pie): Likewise.
38734         ($(objpfx)tst-quad2pie): Likewise.
38735         * sysdeps/x86_64/tst-quad1.c: New file.
38736         * sysdeps/x86_64/tst-quad1pie.c: New file.
38737         * sysdeps/x86_64/tst-quad2.c: Likewise.
38738         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38739         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38740         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38741         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38742         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38746         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38747         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38748         * streams/stropts.h (t_scalar_t): Define type.
38750         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38751         (_PATH_PRESERVE): Set to "/var/lib".
38752         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38754         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38755         instead of int.
38757         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38758         if __dir_mkfile succeeded.
38760         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38761         checking for _hurd_dtablesize.  Unlock it right after having
38762         finished _hurd_dtable allocation.
38764 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38766         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38767         * sysdeps/mach/hurd/configure: Regenerated.
38768         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38769         special-casing to...
38770         * sysdeps/gnu/configure.in: ... this new file.
38771         * sysdeps/unix/sysv/linux/configure: Regenerated.
38772         * sysdeps/gnu/configure: New generated file.
38774         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38775         for Linux: use nsec instead of usec, as well as:
38776         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38777         members of type struct timespec.
38778         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38779         New macros.
38780         (struct stat64): Likewise.
38781         (_STATBUF_ST_NSEC): New macro.
38782         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38784         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38785         __strtoul_internal rather than strtoul.
38787 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38789         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38790         and reject them.
38792 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38794         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38795         which preserves existing values.
38796         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38798 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38800         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38801         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38802         greater than FD_SETSIZE.
38804 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38806         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38807         allocated, call __vm_protect to finish enabling the existing space, and
38808         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38809         allocate the remainder.
38811 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38813         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38814         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38816 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38818         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38819         sysdeps/mach/hurd/readlink.c.
38821         * posix/tst-sysconf.c (posix_options): Only use
38822         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38823         _POSIX_SYNCHRONIZED_IO when they are defined
38824         * sysdeps/mach/hurd/bits/posix_opt.h:
38825         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38826         (_XOPEN_REALTIME): Undefine macro.
38827         (_XOPEN_REALTIME_THREADS): Undefine macro.
38828         (_XOPEN_SHM): Undefine macro.
38829         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38830         macro to -1.
38831         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38832         macro to -1.
38833         (_POSIX_ASYNC_IO): Undefine macro.
38834         (_POSIX_PRIORITIZED_IO): Undefine macro.
38835         (_POSIX_SPIN_LOCKS): Define macro to -1.
38837         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38838         SA_NODEFER, SA_RESETHAND.
38839         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38840         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38841         F_DUPFD_CLOEXEC.
38843 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38845         * elf/Makefile (pldd-modules): Define unconditionally.
38847 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38849         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38851 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38853         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38854         Return ENOENT when name is empty.
38855         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38859         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38861         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38863 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38865         Fix mlock in all cases except non-readable pages.
38866         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38867         instead of VM_PROT_ALL as parameter to __vm_wire function.
38869         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38870         (__mkdir): When path is `/', just fail with EEXIST.
38871         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38873 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38875         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38876         <sys/uio.h> (for writev).
38877         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38878         and <sys/param.h> (for MIN).
38880 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38882         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38883         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38884         if interrupted.
38886 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38888         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38889         Depend on against $(link-rpcuserlibs).
38891 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38893         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38894         (__libc_stack_end): Do not use attribute_relro.
38895         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38896         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38897         to libthread-provided value.
38898         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38899         attribute_relro.
38901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38903         [BZ #3748]
38904         * bits/libc-lock.h (__libc_once_get): New macro.
38905         * sysdeps/mach/bits/libc-lock.h: Likewise.
38906         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38907         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38908         instead of using implementation details.
38910         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38911         * libio/freopen.c: Likewise.
38912         * libio/freopen64.c: Likewise.
38913         * misc/syslog.c: Likewise.
38914         * nscd/connections.c: Likewise.
38915         * nscd/netgroupcache.c: Likewise.
38916         * sysdeps/posix/getcwd.c: Likewise.
38918 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38920         * math/w_ilogbf.c: Add #include <limits.h>.
38922 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38924         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38925         path instead of returning without unlocking.
38927         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38928         immediate-write ioctls.
38929         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38931 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38933         * sysdeps/mach/hurd/i386/init-first.c (init): Use
38934         __builtin_frame_address instead of making assumptions about the
38935         location of the return address relative to DATA.  Force early load of
38936         the return address.
38937         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38938         __builtin_frame_address.
38940         dup3 for GNU Hurd.
38941         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38942         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
38943         implement dup3 and do some further code clean-ups.
38944         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38945         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38947 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38949         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38951         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38952         HURD_CRITICAL_END around holding _hurd_dtable_lock.
38953         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38954         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38955         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38956         d->port.lock.
38958         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38959         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
38960         when handler == SIG_ERR, not when handler != SIG_ERR.
38962 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38964         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38965         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38966         definitions.
38968         accept4 for GNU Hurd.
38969         * include/sys/socket.h (__libc_accept4): New prototype.
38970         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
38971         to implement __libc_accept4.
38972         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38973         __libc_accept4.
38974         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38976         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38977         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38978         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38979         signal-defines.sym.
38981 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38983         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38985 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38987         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38988         assertion on O_CLOEXEC flag.
38989         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38990         * hurd/intern-fd.c: Likewise.
38991         * hurd/port2fd.c: Likewise.
38993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38995         [BZ #3906]
38996         * bits/in.h (IPV6_PKTINFO): Define new macro.
38997         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38999 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39001         [BZ #13954]
39002         [BZ #13955]
39003         [BZ #13956]
39004         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39005         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39006         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39007         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39008         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39009         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39010         * math/libm-test.inc (logb_test) : Additional logb tests.
39012 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
39013             Andreas Jaeger  <aj@suse.de>
39015         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39016         * configure: Regenerated.
39017         * config.h.in (LINK_OBSOLETE_RPC): New macro.
39018         * config.make.in (link-obsolete-rpc): New substituted variable.
39019         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39020         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39021         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39022         (shared-only-routines): Don't set it under [link-obsolete-rpc],
39023         so that libc.a contains the symbols.
39024         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39025         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39026         * sunrpc/auth_none.c: Likewise.
39027         * sunrpc/auth_unix.c: Likewise.
39028         * sunrpc/authdes_prot.c: Likewise.
39029         * sunrpc/authuxprot.c: Likewise.
39030         * sunrpc/clnt_gen.c: Likewise.
39031         * sunrpc/clnt_perr.c: Likewise.
39032         * sunrpc/clnt_raw.c: Likewise.
39033         * sunrpc/clnt_simp.c: Likewise.
39034         * sunrpc/clnt_tcp.c: Likewise.
39035         * sunrpc/clnt_udp.c: Likewise.
39036         * sunrpc/clnt_unix.c: Likewise.
39037         * sunrpc/des_crypt.c: Likewise.
39038         * sunrpc/des_soft.c: Likewise.
39039         * sunrpc/get_myaddr.c: Likewise.
39040         * sunrpc/key_call.c: Likewise.
39041         * sunrpc/key_prot.c: Likewise.
39042         * sunrpc/netname.c: Likewise.
39043         * sunrpc/pm_getmaps.c: Likewise.
39044         * sunrpc/pm_getport.c: Likewise.
39045         * sunrpc/pmap_clnt.c: Likewise.
39046         * sunrpc/pmap_prot.c: Likewise.
39047         * sunrpc/pmap_prot2.c: Likewise.
39048         * sunrpc/pmap_rmt.c: Likewise.
39049         * sunrpc/publickey.c: Likewise.
39050         * sunrpc/rpc_cmsg.c: Likewise.
39051         * sunrpc/rpc_common.c: Likewise.
39052         * sunrpc/rpc_dtable.c: Likewise.
39053         * sunrpc/rpc_prot.c: Likewise.
39054         * sunrpc/rpc_thread.c: Likewise.
39055         * sunrpc/rtime.c: Likewise.
39056         * sunrpc/svc.c: Likewise.
39057         * sunrpc/svc_auth.c: Likewise.
39058         * sunrpc/svc_raw.c: Likewise.
39059         * sunrpc/svc_run.c: Likewise.
39060         * sunrpc/svc_tcp.c: Likewise.
39061         * sunrpc/svc_udp.c: Likewise.
39062         * sunrpc/svc_unix.c: Likewise.
39063         * sunrpc/svcauth_des.c: Likewise.
39064         * sunrpc/xcrypt.c: Likewise.
39065         * sunrpc/xdr.c: Likewise.
39066         * sunrpc/xdr_array.c: Likewise.
39067         * sunrpc/xdr_float.c: Likewise.
39068         * sunrpc/xdr_intXX_t.c: Likewise.
39069         * sunrpc/xdr_mem.c: Likewise.
39070         * sunrpc/xdr_rec.c: Likewise.
39071         * sunrpc/xdr_ref.c: Likewise.
39072         * sunrpc/xdr_sizeof.c: Likewise.
39073         * sunrpc/xdr_stdio.c: Likewise.
39075 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39077         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39078         change.  Update copyright years.
39080 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39082         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39084 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
39085             Joseph Myers  <joseph@codesourcery.com>
39086             Paul Pluzhnikov  <ppluzhnikov@google.com>
39088         [BZ #14012]
39089         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39090         requiring rpcgen.
39091         [cross-compiling] (extra-libs): Likewise.
39092         [cross-compiling] (extra-libs-others): Likewise.
39093         [cross-compiling] (librpcsvc-routines): Likewise.
39094         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39095         [cross-compiling] (omit-deps): Likewise.
39096         (sunrpc-CPPFLAGS): New variable.
39097         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39098         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39099         (cross-rpcgen-objs): New variable.
39100         (extra-objs): Append $(cross-rpcgen-objs).
39101         ($(cross-rpcgen-objs)): New rule.
39102         ($(objpfx)cross-rpcgen): Likewise.
39103         (rpcgen-cmd): Define to use $(built-program-file).  Expand
39104         comment.
39105         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39106         ($(objpfx)x%.stmp): Likewise.
39107         * sunrpc/proto.h [IS_IN_build] (_): Define.
39108         [IS_IN_build] (_libc_intl_domainname): Likewise.
39110 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39112         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39113         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39114         and R_X86_64_TPOFF64.
39116 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39118         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39119         sysdeps/unix/sysv/syscalls.list.
39120         (stime): Likewise.
39121         (utime): Likewise.
39122         * sysdeps/unix/sysv/syscalls.list: Remove file.
39124 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
39126         [BZ #3440]
39127         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39128         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39129         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39130         (__LC_IDENTIFICATION): Make these macros useful in #if
39131         expressions, as required by C99.
39133 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
39135         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39136         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
39137         after this.
39139 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
39141         * stdlib/longlong.h: Updated from GCC.
39143 2012-05-09  Andreas Jaeger  <aj@suse.de>
39145         * nscd/nscd.c (run_modes): Make named enum, reorder so that
39146         default is first entry.
39147         (run_mode): Set type.
39148         (main): Remove informal message about syslog.
39149         (options): Fix typo.
39151         [BZ #14053]
39152         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39153         to asm.
39154         (lrint): Likewise.
39155         (llrintf): Likewise.
39156         (llrint): Likewise.
39157         (rint): Likewise.
39158         (rintf): Likewise.
39159         (nearbyint): Likewise.
39160         (nearbyintf): Likewise.
39162 2012-05-09  Andreas Jaeger  <aj@suse.de>
39163             Pedro Alves  <palves@redhat.com>
39165         * nscd/nscd.c (run_mode): Use enum.
39166         (main): Cleanup coding style issue.
39168 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
39169             Andreas Jaeger  <aj@suse.de>
39171         * nscd/nscd.c (go_background): Replaced with...
39172         (run_mode): ... this.
39173         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39174         (options): Add -F --foreground.
39175         (main): Implement it.
39176         (parse_opt): Parse it.
39178 2012-05-09  Andreas Jaeger  <aj@suse.de>
39180         [BZ #14083]
39181         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39182         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39183         -Wconversion warning.
39184         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39185         Likewise.
39187 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
39189         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
39190         == 0.
39191         (LC_ALL): Use macro-int-constant.
39192         (LC_COLLATE): Likewise.
39193         (LC_CTYPE): Likewise.
39194         (LC_MESSAGES): Likewise.
39195         (LC_MONETARY): Likewise.
39196         (LC_NUMERIC): Likewise.
39197         (LC_TIME): Likewise.
39198         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39199         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39200         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39201         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39202         Specify type.
39203         [C99-based standards] (float_t): Expect type.
39204         [C99-based standards] (double_t): Expect type.
39205         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
39206         type.
39207         [C99-based standards] (HUGE_VALL): Likewise.
39208         [C99-based standards] (INFINITY): Likewise.
39209         [C99-based standards] (NAN): Likewise.
39210         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39211         [C99-based standards] (FP_NAN): Likewise.
39212         [C99-based standards] (FP_NORMAL): Likewise.
39213         [C99-based standards] (FP_SUBNORMAL): Likewise.
39214         [C99-based standards] (FP_ZERO): Likewise.
39215         [C99-based standards] (FP_FAST_FMA): Use
39216         optional-macro-int-constant.  Specify type.  Require == 1.
39217         [C99-based standards] (FP_FAST_FMAF): Likewise.
39218         [C99-based standards] (FP_FAST_FMAL): Likewise.
39219         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39220         [C99-based standards] (FP_ILOGBNAN): Likewise.
39221         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39222         Specify type.
39223         [C99-based standards] (MATH_ERREXCEPT): Likewise.
39224         [C99-based standards] (math_errhandling): Specify type.
39225         [ISO99 || ISO11] (signgam): Do not allow.
39226         [non-C99-based standards] (copysignf): Do not allow.
39227         [non-C99-based standards] (exp2f): Likewise.
39228         [non-C99-based standards] (log2f): Likewise.
39229         [non-C99-based standards] (modff): Allow.
39230         [non-C99-based standards] (erff): Do not allow.
39231         [non-C99-based standards] (erfcf): Likewise.
39232         [non-C99-based standards] (gammaf): Likewise.
39233         [non-C99-based standards] (hypotf): Likewise.
39234         [non-C99-based standards] (j0f): Likewise.
39235         [non-C99-based standards] (j1f): Likewise.
39236         [non-C99-based standards] (jnf): Likewise.
39237         [non-C99-based standards] (lgammaf): Likewise.
39238         [non-C99-based standards] (tgammaf): Likewise.
39239         [non-C99-based standards] (y0f): Likewise.
39240         [non-C99-based standards] (y1f): Likewise.
39241         [non-C99-based standards] (ynf): Likewise.
39242         [non-C99-based standards] (isnanf): Likewise.
39243         [non-C99-based standards] (acoshf): Likewise.
39244         [non-C99-based standards] (asinhf): Likewise.
39245         [non-C99-based standards] (atanhf): Likewise.
39246         [non-C99-based standards] (cbrtf): Likewise.
39247         [non-C99-based standards] (expm1f): Likewise.
39248         [non-C99-based standards] (ilogbf): Likewise.
39249         [non-C99-based standards] (log1pf): Likewise.
39250         [non-C99-based standards] (logbf): Likewise.
39251         [non-C99-based standards] (nextafterf): Likewise.
39252         [non-C99-based standards] (remainderf): Likewise.
39253         [non-C99-based standards] (rintf): Likewise.
39254         [non-C99-based standards] (scalbf): Likewise.
39255         [non-C99-based standards] (copysignl): Likewise.
39256         [non-C99-based standards] (exp2l): Likewise.
39257         [non-C99-based standards] (log2l): Likewise.
39258         [non-C99-based standards] (modfl): Allow.
39259         [non-C99-based standards] (erfl): Do not allow.
39260         [non-C99-based standards] (erfcl): Likewise.
39261         [non-C99-based standards] (gammal): Likewise.
39262         [non-C99-based standards] (hypotl): Likewise.
39263         [non-C99-based standards] (j0l): Likewise.
39264         [non-C99-based standards] (j1l): Likewise.
39265         [non-C99-based standards] (jnl): Likewise.
39266         [non-C99-based standards] (lgammal): Likewise.
39267         [non-C99-based standards] (tgammal): Likewise.
39268         [non-C99-based standards] (y0l): Likewise.
39269         [non-C99-based standards] (y1l): Likewise.
39270         [non-C99-based standards] (ynl): Likewise.
39271         [non-C99-based standards] (isnanl): Likewise.
39272         [non-C99-based standards] (acoshl): Likewise.
39273         [non-C99-based standards] (asinhl): Likewise.
39274         [non-C99-based standards] (atanhl): Likewise.
39275         [non-C99-based standards] (cbrtl): Likewise.
39276         [non-C99-based standards] (expm1l): Likewise.
39277         [non-C99-based standards] (ilogbl): Likewise.
39278         [non-C99-based standards] (log1pl): Likewise.
39279         [non-C99-based standards] (logbl): Likewise.
39280         [non-C99-based standards] (nextafterl): Likewise.
39281         [non-C99-based standards] (remainderl): Likewise.
39282         [non-C99-based standards] (rintl): Likewise.
39283         [non-C99-based standards] (scalbl): Likewise.
39284         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39285         [non-C99-based standards] (FP_*): Do not allow.
39286         [C99-based standards] (FP_*): Change to
39287         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39288         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39289         allow.
39290         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39291         (SIG_ERR): Likewise.
39292         [X/Open-based standards] (SIG_HOLD): Likewise.
39293         (SIG_IGN): Likewise.
39294         (SIGABRT): Use macro-int-constant.  Specify type.  Require
39295         positive value.
39296         (SIGFPE): Likewise.
39297         (SIGILL): Likewise.
39298         (SIGINT): Likewise.
39299         (SIGSEGV): Likewise.
39300         (SIGTER): Likewise.
39301         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39302         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39303         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39304         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39305         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39306         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39307         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39308         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39309         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39310         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39311         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39312         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39313         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39314         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39315         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39316         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39317         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39318         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39319         [X/Open-based standards] (SIGTRAP): Likewise.
39320         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39321         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39322         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39323         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39324         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39325         allow.
39327 2012-05-08  Ian Wienand  <ianw@vmware.com>
39329         [BZ #14080]
39330         * time/tzset.c (__tzset_parse_tz): Update default rules for
39331         daylight time changes in the Energy Policy Act of 2005.
39333 2012-05-09  Andreas Jaeger  <aj@suse.de>
39335         [BZ #13983]
39336         * elf/ldconfig.c (parse_conf): Change string to make clear that
39337         ldconfig only issued a warning if ld.so.conf does not exist.
39339 2012-05-08  David S. Miller  <davem@davemloft.net>
39341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39342         movxtod instead of popping the value on the stack.
39344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39346 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
39348         * config.h.in: Add HAVE_ARM_PCS_VFP.
39350 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
39352         [BZ #13979]
39353         * include/features.h: Warn if user requests __FORTIFY_SOURCE
39354         checking but the checks are disabled for any reason.
39356 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
39358         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39359         and ELF64_R_TYPE with ELFW(R_TYPE).
39361 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
39363         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39364         (ulimit): Likewise.
39366         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39367         (settimeofday): Likewise.
39369 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
39371         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
39372         a struct th_u2 inside the union, and move tu_block/tu_code into
39373         a new th_u3 union of tu_block/tu_code inside of that.  Move
39374         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
39375         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
39376         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39377         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39378         (th_stuff): Change to th_u1.tu_stuff.
39379         (th_data): Define.
39380         (th_msg): Change to th_u1.th_u2.tu_data.
39382 2012-05-07  David S. Miller  <davem@davemloft.net>
39384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39386         [BZ #14074]
39387         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39388         (SETUP_PIC_REG): Use it.
39389         (SETUP_PIC_REG_LEAF): Use it.
39391 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
39393         [BZ #13885]
39394         [BZ #13923]
39395         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39396         USE_AS_EXPM1L.
39397         (EXPL_FINITE): Likewise.
39398         (FLDLOG): Likewise.
39399         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39400         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39401         e_expl.S.
39402         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39403         USE_AS_EXPM1L.
39404         (EXPL_FINITE): Likewise.
39405         (FLDLOG): Likewise.
39406         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39407         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39408         e_expl.S.
39409         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
39410         test of -max_value argument for long double.
39411         * sysdeps/i386/fpu/libm-test-ulps: Update.
39412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39414 2012-05-06  David S. Miller  <davem@davemloft.net>
39416         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39417         quad soft-float symbols whose references which are compiler
39418         generated.
39419         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39421 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
39423         [BZ #13884]
39424         [BZ #13914]
39425         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39426         USE_AS_EXP10L.
39427         (EXPL_FINITE): Likewise.
39428         (FLDLOG): Likewise.
39429         (c0): Likewise.
39430         (c1): Likewise.
39431         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39432         Adjust comments for base varying.
39433         (__expl_finite): Change alias to EXPL_FINITE.
39434         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39435         e_expl.S.
39436         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39437         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39438         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39439         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39440         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39441         USE_AS_EXP10L.
39442         (EXPL_FINITE): Likewise.
39443         (FLDLOG): Likewise.
39444         (c0): Likewise.
39445         (c1): Likewise.
39446         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39447         Adjust comments for base varying.
39448         (__expl_finite): Change alias to EXPL_FINITE.
39449         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
39450         tests for bugs.
39451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39453         [BZ #14064]
39454         * math/libm-test.inc (check_float_internal): Correct ulp
39455         calculation for subnormal expected results.
39457 2012-05-06  Andreas Jaeger  <aj@suse.de>
39459         * Makeconfig (+math-flags): New, set to -frounding-math.
39460         (+cflags): Add +math-flags so that all of glibc gets compiled with
39461         it.
39463         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39465 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
39467         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39468         Disable one test.
39470         [BZ #13787]
39471         [BZ #13922]
39472         [BZ #14036]
39473         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39474         (__ieee754_expl): Allow for and saturate large arguments.
39475         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39476         (u_threshold): Likewise.
39477         (__exp): Call __ieee754_exp before checking for overflow and
39478         underflow.
39479         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39480         (u_threshold): Likewise.
39481         (__expf): Call __ieee754_expf before checking for overflow and
39482         underflow.
39483         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39484         (u_threshold): Likewise.
39485         (__expl): Call __ieee754_expl before checking for overflow and
39486         underflow.
39487         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39488         (__ieee754_expl): Allow for and saturate large arguments.
39489         * math/libm-test.inc (exp_test): Add another test.  Do not allow
39490         missing overflow exception on overflow.
39491         (expm1_test): Do not allow missing overflow exception on overflow.
39493         * sysdeps/i386/fpu/e_expl.c: Move to ...
39494         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
39495         rather than using inline asm.
39496         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39497         * sysdeps/x86_64/fpu/e_expl.S: Copy from
39498         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39500         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39501         (nice): Likewise.
39502         (poll): Likewise.
39503         (signal): Likewise.
39504         (time): Likewise.
39505         (times): Likewise.
39507 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39509         * sysdeps/unix/syscalls.list (adjtime): Add entry from
39510         sysdeps/unix/common/syscalls.list.
39511         (fchmod): Likewise.
39512         (fchown): Likewise.
39513         (ftruncate): Likewise.
39514         (getrusage): Likewise.
39515         (gettimeofday): Likewise.
39516         (setpgid): Likewise.
39517         (setregid): Likewise.
39518         (setreuid): Likewise.
39519         (sigaction): Likewise.
39520         (truncate): Likewise.
39521         (vhangup): Likewise.
39522         * sysdeps/unix/common/syscalls.list: Remove file.
39523         * sysdeps/unix/bsd/Implies: Don't include unix/common.
39524         * sysdeps/unix/sysv/linux/Implies: Likewise.
39526 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
39528         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39530         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39531         Moved to ...
39532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39533         Here.
39534         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39535         to ...
39536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39537         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39538         to ...
39539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39540         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39541         to ...
39542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39543         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39544         to ...
39545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39546         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39547         to ...
39548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39549         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39550         to ...
39551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39552         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39553         to ...
39554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39555         Here.
39556         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39557         to ...
39558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39559         Here.
39560         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39561         to ...
39562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39563         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39564         Moved to ...
39565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39566         Here.
39567         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39568         to ...
39569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39571 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39573         * sysdeps/unix/common/bits/dirent.h: Remove file.
39574         * sysdeps/unix/common/bits/fcntl.h: Likewise.
39576         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39577         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39578         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39579         * sysdeps/unix/bsd/isatty.c: Likewise.
39580         * sysdeps/unix/bsd/tcdrain.c: Likewise.
39581         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39582         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39584 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39586         [BZ #13563]
39587         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39588         long double comparison inaccuracies.
39589         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39592 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
39594         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39595         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39597 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39599         [BZ #14049]
39600         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39601         nonzero digits before rounding a hex value.
39602         * stdlib/tst-strtod.c (tests): Add another test.
39604 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39606         * sysdeps/s390/fpu/libm-test-ulps: Update.
39608 2012-05-03  Andreas Jaeger  <aj@suse.de>
39610         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39611         does not get optimized out.
39612         (malloc_opt_barrier): New.
39614 2012-05-03  Andreas Jaeger  <aj@suse.de>
39615             Roland McGrath  <roland@hack.frob.com>
39617         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39618         intermediate file deletion.
39619         (generated): Add .symlist files.
39621 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
39623         [BZ #13775]
39624         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39625         Redirect under this condition.
39626         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39627         [__USE_GNU] (__dprintf_chk): Not under this condition.
39628         [__USE_GNU] (__vdprintf_chk): Likewise.
39629         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39630         under this condition.
39631         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39632         [__USE_XOPEN2K8] (dprintf): Define under this condition.
39633         [__USE_XOPEN2K8] (vdprintf): Likewise.
39634         [__USE_GNU] (__dprintf_chk): Not under this condition.
39635         [__USE_GNU] (__vdprintf_chk): Likewise.
39636         [__USE_GNU] (dprintf): Likewise.
39637         [__USE_GNU] (vdprintf): Likewise.
39639 2012-05-03  Roland McGrath  <roland@hack.frob.com>
39641         * elf/Makefile (common-generated): Set this instead of generated for
39642         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
39643         $(all-built-dso)-derived lists.
39645 2012-05-03  Andreas Jaeger  <aj@suse.de>
39647         * sysdeps/i386/fpu/libm-test-ulps: Update.
39649         * FAQ: Removed.
39650         * FAQ.in: Likewise.
39651         * scripts/gen-FAQ.pl: Likewise.
39652         * manual/install.texi (Installation): Point to online location of
39653         FAQ.
39654         * Makefile (files-for-dist): Remove FAQ.
39655         (FAQ): Remove.
39657 2012-05-02  Allan McRae  <allan@archlinux.org>
39659         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39660         (LDFLAGS-reldepmod5.so): Likewise.
39661         (LDFLAGS-reldep6mod1.so): Likewise.
39662         (LDFLAGS-reldep6mod4.so): Likewise.
39663         (LDFLAGS-reldep8mod3.so): Likewise.
39664         (LDFLAGS-unload4mod1.so): Likewise.
39665         (LDFLAGS-unload4mod2.so): Likewise.
39666         (LDFLAGS-tst-initorder): Likewise.
39667         (LDFLAGS-tst-initordera2.so): Likewise.
39668         (LDFLAGS-tst-initordera3.so): Likewise.
39669         (LDFLAGS-tst-initordera4.so): Likewise.
39670         (LDFLAGS-tst-initorderb2.so): Likewise.
39671         (LDFLAGS-noload): Likewise.
39672         (LDFLAGS-next): Likewise.
39673         (LDFLAGS-order2mod1.so): Likewise.
39674         (LDFLAGS-order2mod2.so): Likewise.
39675         (LDFLAGS-tst-initorder2): Likewise.
39676         (LDFLAGS-tst-initorder2a.so): Likewise.
39677         (LDFLAGS-tst-initorder2b.so): Likewise.
39678         (LDFLAGS-tst-initorder2c.so): Likewise.
39679         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39681 2012-05-02  David S. Miller  <davem@davemloft.net>
39683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39685 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39687         [BZ #14055]
39688         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39690 2012-05-02  Andreas Jaeger  <aj@suse.de>
39692         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39693         since we manipulate rounding mode.
39694         (CPPFLAGS-test-idouble.c): Likewise.
39695         (CPPFLAGS-test-ifloat.c): Likewise.
39696         (CFLAGS-test-ldouble.c): Likewise.
39697         (CFLAGS-test-double.c): Likewise.
39698         (CFLAGS-test-float.c): Likewise.
39699         (CFLAGS-test-misc.c): Likewise.
39700         (CFLAGS-test-test-fenv.c): Likewise.
39702 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39704         [BZ #2550]
39705         [BZ #2570]
39706         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39707         comparisons to determine direction to adjust input.
39709 2012-05-01  Roland McGrath  <roland@hack.frob.com>
39711         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39712         output to the target.
39714         * scripts/localplt.awk: New file.
39715         * elf/Makefile ($(objpfx)check-localplt): Target removed.
39716         (check-localplt-CFLAGS): Variable removed.
39717         ($(all-built-dso:=.jmprel)): New static pattern rule.
39718         (generated): Add those targets.
39719         (localplt-built-dso): New variable.
39720         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39722         * elf/check-localplt.c: File removed.
39724         * scripts/check-execstack.awk: New file.
39725         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39726         (check-execstack-CFLAGS): Variable removed.
39727         ($(objpfx)check-execstack.h): Target removed.
39728         ($(objpfx)execstack-default): New target.
39729         (generated): Add that instead of check-execstack.h.
39730         ($(all-built-dso:=.phdr)): New static pattern rule.
39731         (generated): Add those targets.
39732         * elf/check-execstack.c: File removed.
39734         * scripts/check-textrel.awk: New file.
39735         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39736         (check-textrel-CFLAGS): Variable removed.
39737         (all-built-dso): Use := to define.o
39738         ($(all-built-dso:=.dyn)): New static pattern rule.
39739         (generated): Add those targets.
39740         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39741         * config.make.in (READELF): New substituted variable.
39742         * elf/check-textrel.c: File removed.
39744 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39746         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39747         allow.
39748         * conform/data/ctype.h-data [C99-based standards] (isblank):
39749         Expect function.
39750         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39751         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39752         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39753         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39754         Specify type.  Require positive value.
39755         (EILSEQ): Likewise.
39756         (ERANGE): Likewise.
39757         [ISO || POSIX] (EILSEQ): Do not expect.
39758         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39759         Specify type.  Require positive value.
39760         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39761         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39762         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39763         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39764         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39765         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39766         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39767         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39768         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39769         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39770         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39771         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39772         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39773         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39774         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39775         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39776         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39777         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39778         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39779         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39780         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39781         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39782         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39783         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39784         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39785         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39786         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39787         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39788         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39789         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39790         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39791         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39792         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39793         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39794         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39795         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39796         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39797         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39798         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39799         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39800         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39801         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39802         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39803         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39804         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39805         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39806         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39807         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39808         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39809         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39810         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39811         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39812         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39813         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39814         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39815         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39816         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39817         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39818         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39819         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39820         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39821         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39822         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39823         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39824         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39825         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39826         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39827         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39828         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39829         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39830         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39831         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39832         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39833         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39834         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39835         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39836         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39837         Require >= 2.
39838         (FLT_ROUNDS): Expect as macro, not constant.
39839         (FLT_MANT_DIG): Use macro-int-constant.
39840         (DBL_MANT_DIG): Likewise.
39841         (LDBL_MANT_DIG): Likewise.
39842         (FLT_DIG): Likewise.
39843         (DBL_DIG): Likewise.
39844         (LDBL_DIG): Likewise.
39845         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39846         (DBL_MIN_EXP): Likewise.
39847         (LDBL_MIN_EXP): Likewise.
39848         (FLT_MAX_EXP): Use macro-int-constant.
39849         (DBL_MAX_EXP): Likewise.
39850         (LDBL_MAX_EXP): Likewise.
39851         (FLT_MAX_10_EXP): Likewise.
39852         (DBL_MAX_10_EXP): Likewise.
39853         (LDBL_MAX_10_EXP): Likewise.
39854         (FLT_MAX): Use macro-constant.
39855         (DBL_MAX): Likewise.
39856         (LDBL_MAX): Likewise.
39857         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39858         (DBL_EPSILON): Likewise.
39859         (LDBL_EPSILON): Likewise.
39860         (FLT_MIN): Likewise.
39861         (DBL_MIN): Likewise.
39862         (LDBL_MIN): Likewise.
39863         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39864         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39865         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39866         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39867         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39868         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39869         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39870         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39871         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39872         [ISO11] (FLT_TRUE_MIN): Likewise.
39873         [ISO11] (LDBL_TRUE_MIN): Likewise.
39874         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39875         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39876         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39877         (SCHAR_MAX): Likewise.
39878         (UCHAR_MAX): Likewise.
39879         (CHAR_MIN): Likewise.
39880         (CHAR_MAX): Likewise.
39881         (MB_LEN_MAX): Use macro-int-constant.
39882         (SHRT_MIN): Use macro-int-constant.  Specify type.
39883         (SHRT_MAX): Likewise.
39884         (USHRT_MAX): Likewise.
39885         (INT_MAX): Likewise.
39886         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39887         bound negative.
39888         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39889         bound with "U".
39890         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39891         bound with "L".
39892         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39893         bound negative.  Suffix upper bound with "L".
39894         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39895         bound with "UL".
39896         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39897         Specify type.
39898         [C99-based standards] (LLONG_MAX): Likewise.
39899         [C99-based standards] (ULLONG_MAX): Likewise.
39900         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39901         == 0.
39902         [ISO11] (max_align_t): Require type.
39903         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39905         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39906         from $CFLAGS, without defining away __attribute__ calls.
39907         (checknamespace): Use $CFLAGS_namespace.
39909         * conform/conformtest.pl (@keywords): Only include C99 keywords
39910         for standards based on C99 or C11.
39912         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39913         Disable tests.
39914         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39915         UNIX98]: Likewise.
39917         * conform/conformtest.pl: Handle "macro-int-constant" and test for
39918         usability of symbols in #if.
39920         * conform/conformtest.pl: If macro or constant types start
39921         "promoted:", expect the symbol to be of the following type
39922         promoted by the integer promotions.
39924         * conform/conformtest.pl: Parse all "constant" and "macro" lines
39925         in one place.  Also handle "macro-constant".
39927         * conform/conformtest.pl: Only accept expected macro values with
39928         "==".  Parse all "macro" lines in one place.
39929         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39931         * conform/conformtest.pl: Handle braced types on "constant" lines
39932         instead of handling "typed-constant".
39933         * conform/data/signal.h-data: Use "constant" instead of
39934         "typed-constant".
39936         * conform/conformtest.pl: Handle "optional-" at start of lines in
39937         one place rather than duplicating several cases.  Handle each
39938         format of "macro" line with initial "optional-".
39940         * conform/conformtest.pl: Only accept expected constant or
39941         optional-constant values with "==".  Parse all "constant" lines in
39942         one place.  Parse all "optional-constant" lines in one place.
39943         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39944         * conform/data/fmtmsg.h-data: Likewise.
39945         * conform/data/netinet/in.h-data: Likewise.
39946         * conform/data/tar.h-data: Likewise.
39947         * conform/data/limits.h-data: Use "==" form on "constant" and
39948         "optional-constant" lines.
39950         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39951         Use -std=c99 for XOPEN2K.
39952         (@knownproblems): Remove.
39953         (newtoken): Don't check %isknown.
39955         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39956         Do not expect macro.
39957         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39958         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39959         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39960         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39961         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39962         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39963         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39964         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39965         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39966         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39967         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39968         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39969         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39970         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39971         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39972         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39973         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39974         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39975         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39976         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39977         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39978         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39979         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39980         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39981         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39982         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39983         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39984         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39985         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39986         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39987         [XPG3] (acosh): Likewise.
39988         [XPG3] (asinh): Likewise.
39989         [XPG3] (atanh): Likewise.
39990         [XPG3] (cbrt): Likewise.
39991         [XPG3] (expm1): Likewise.
39992         [XPG3] (ilogb): Likewise.
39993         [XPG3] (log1p): Likewise.
39994         [XPG3] (logb): Likewise.
39995         [XPG3] (nextafter): Likewise.
39996         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39997         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39998         [XPG3] (remainder): Likewise.
39999         [XPG3] (rint): Likewise.
40000         [XPG3 || XPG4 || UNIX98] (round): Likewise.
40001         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40002         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40003         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40004         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40005         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40006         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40007         [UNIX98 || XOPEN2K] (scalb): Expect.
40008         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40009         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40010         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40011         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40012         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40013         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40014         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40015         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40016         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40017         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40018         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40019         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40020         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40021         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40022         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40023         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40024         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40025         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40026         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40027         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40028         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40029         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40030         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40031         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40032         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40033         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40034         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40035         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40036         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40037         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40038         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40039         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40040         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40041         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40042         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40043         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40044         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40045         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40046         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40047         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40048         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40049         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40050         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40051         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40052         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40053         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40054         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40055         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40056         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40057         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40058         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40059         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40060         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40061         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40062         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40063         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40064         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40065         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40066         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40067         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40068         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40069         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40070         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40071         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40072         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40073         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40074         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40075         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40076         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40077         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40078         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40079         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40080         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40081         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40082         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40083         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40084         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40085         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40086         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40087         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40088         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40089         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40090         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40091         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40092         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40093         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40094         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40095         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40096         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40097         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40098         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40099         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40100         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40101         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40102         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40103         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40104         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40105         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40106         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40107         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40108         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40109         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40110         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40111         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40112         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40113         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40114         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40115         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40116         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40117         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40118         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40119         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40120         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40121         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40122         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40123         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40124         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40125         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40126         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40127         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40128         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40129         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40130         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40131         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40132         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40133         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40134         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40135         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40136         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40137         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40138         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40139         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40140         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40141         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40142         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40143         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40144         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40146         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40147         _XOPEN_SOURCE_EXTENDED for XPG4.
40149         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40151         * Makeconfig (localtime): Remove variable.
40152         (inst_localtime-file): Likewise.
40154 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40157         Update.
40158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40159         Update.
40160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40161         Update.
40162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40163         Update.
40164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40165         Update.
40166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40167         Update.
40168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40169         Update.
40170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40171         Update.
40172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40173         Update.
40175 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40177         [BZ #2550]
40178         [BZ #2570]
40179         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40180         comparisons to determine direction to adjust input.
40181         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40182         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40183         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40184         Likewise.
40185         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40186         Likewise.
40187         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40188         Likewise.
40189         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40190         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40191         Likewise.
40192         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40193         Likewise.
40194         * math/libm-test.inc (nexttoward_test): Add more tests.
40196 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40198         [BZ #14040]
40199         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40200         in version GLIBC_2.1, not GLIBC_2.0.
40201         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40202         Likewise.
40204 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
40206         [BZ #13942]
40207         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40208         (1 - x) * (1 + x).
40209         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40210         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40211         * math/libm-test.inc (acos_test): Add more tests.
40212         (asin_test): Likewise.
40213         * sysdeps/i386/fpu/libm-test-ulps: Update.
40214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40216         [BZ #14034]
40217         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40218         of square root.
40219         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40220         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40221         * math/libm-test.inc (acos_test_tonearest): New function.
40222         (acos_test_towardzero): Likewise.
40223         (acos_test_downward): Likewise.
40224         (acos_test_upward): Likewise.
40225         (asin_test_tonearest): Likewise.
40226         (asin_test_towardzero): Likewise.
40227         (asin_test_downward): Likewise.
40228         (asin_test_upward): Likewise.
40229         (main): Call the new functions.
40230         * sysdeps/i386/fpu/libm-test-ulps: Update.
40231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40233         [BZ #13884]
40234         [BZ #13924]
40235         * math/e_exp10.c: Include <float.h>.
40236         (__ieee754_exp10): Handle underflow here rather than multiplying
40237         large negative argument by M_LN10.
40238         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40239         of __ieee754_expf.
40240         * math/e_exp10l.c: Include <float.h>.
40241         (__ieee754_exp10l): Handle underflow here rather than multiplying
40242         large negative argument by M_LN10l.
40243         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
40244         spurious overflow exception on underflow.
40246 2012-04-29  Marek Polacek  <polacek@redhat.com>
40248         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40249         (__fortify_function): New macro.
40250         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40251         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40252         __extern_always_inline.
40253         * libio/bits/stdio2.h: Likewise.
40254         * libio/bits/stdio.h: Likewise.
40255         * string/string.h: Likewise.
40256         * string/bits/string3.h: Likewise.
40257         * include/stdio.h: Likewise.
40258         * stdlib/bits/stdlib.h: Likewise.
40259         * stdlib/stdlib.h: Likewise.
40260         * rt/bits/mqueue2.h: Likewise.
40261         * rt/mqueue.h: Likewise.
40262         * posix/bits/unistd.h: Likewise.
40263         * posix/unistd.h: Likewise.
40264         * io/bits/poll2.h: Likewise.
40265         * io/bits/fcntl2.h: Likewise.
40266         * io/fcntl.h: Likewise.
40267         * io/sys/poll.h: Likewise.
40268         * misc/bits/syslog.h: Likewise.
40269         * misc/bits/syslog-ldbl.h: Likewise.
40270         * misc/sys/syslog.h: Likewise.
40271         * socket/bits/socket2.h: Likewise.
40272         * socket/sys/socket.h: Likewise.
40273         * debug/tst-chk1.c: Likewise.
40274         * wcsmbs/bits/wchar2.h: Likewise.
40275         * wcsmbs/bits/wchar-ldbl.h: Likewise.
40276         * wcsmbs/wchar.h: Likewise.
40278 2012-04-29  Andreas Jaeger  <aj@suse.de>
40280         * Makerules (tests): Remove enable-check-abi protection.
40281         (check-abi-warn): Remove.
40282         (check-abi-%): Remove check-abi-warn usage.
40284         * configure.in: Remove check-abi configure option.
40285         * configure: Regenerated.
40286         * config.make.in (enable-check-abi): Remove.
40288 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
40290         [BZ #14033]
40291         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40292         double functions to double *_finite functions.
40294         [BZ #13941]
40295         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40296         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40297         LDBL_MIN_EXP.
40298         * stdio-common/Makefile (tests): Add tst-sprintf3.
40299         * stdio-common/tst-sprintf3.c: New file.
40301         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40302         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40304 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40306         * conform/conformtest.pl: Remove duplicate typed-constant
40307         handling.
40309 2012-04-28  David S. Miller  <davem@davemloft.net>
40311         * Makerules (%.abilist): Add vpath on sysdep_dirs.
40312         (check-abi-%): Remove AWK script prerequisite and explicit
40313         abilist directory.
40314         (check-abi): Rewrite to just diff the symlist with the abilist.
40315         (config-tls, config-abi-config): Delete, no longer used.
40316         (update-abi-%): Remove AWK script and explicit abilist directory.
40317         (update-abi): Rewrite to simply compare and conditionally copy the
40318         symlist and the sysdep abilist file.  Remove update-abi-config
40319         checks.
40320         * abilist/ld.abilist: Remove.
40321         * abilist/libBrokenLocale.abilist: Remove.
40322         * abilist/libanl.abilist: Remove.
40323         * abilist/libcrypt.abilist: Remove.
40324         * abilist/libdl.abilist: Remove.
40325         * abilist/librt.abilist: Remove.
40326         * abilist/libthread_db.abilist: Remove.
40327         * abilist/libutil.abilist: Remove.
40328         * scripts/extract-abilist.awk: Remove.
40329         * scripts/merge-abilist.awk: Remove.
40330         * sysdeps/generic/libcidn.abilist: New file.
40331         * sysdeps/generic/libnss_compat.abilist: New file.
40332         * sysdeps/generic/libnss_db.abilist: New file.
40333         * sysdeps/generic/libnss_dns.abilist: New file.
40334         * sysdeps/generic/libnss_files.abilist: New file.
40335         * sysdeps/generic/libnss_hesiod.abilist: New file.
40336         * sysdeps/generic/libnss_nis.abilist: New file.
40337         * sysdeps/generic/libnss_nisplus.abilist: New file.
40338         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40339         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40340         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40341         file.
40342         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40343         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40344         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40345         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40346         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40347         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40348         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40349         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40350         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40351         file.
40352         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40353         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40354         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40355         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40356         file.
40357         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40358         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40359         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40360         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40361         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40362         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40363         file.
40364         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40365         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40366         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40367         file.
40368         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40370         New file.
40371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40372         New file.
40373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40374         New file.
40375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40376         New file.
40377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40378         New file.
40379         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40380         New file.
40381         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40382         New file.
40383         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40384         New file.
40385         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40386         New file.
40387         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40388         New file.
40389         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40390         New file.
40391         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40392         New file.
40393         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40394         New file.
40395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40396         file.
40397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40398         New file.
40399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40400         New file.
40401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40402         file.
40403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40404         New file.
40405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40406         New file.
40407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40408         file.
40409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40410         New file.
40411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40412         New file.
40413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40414         New file.
40415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40416         New file.
40417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40418         New file.
40419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40420         New file.
40421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40423         file.
40424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40425         New file.
40426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40427         file.
40428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40429         file.
40430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40431         file.
40432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40433         file.
40434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40435         file.
40436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40437         New file.
40438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40439         file.
40440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40441         file.
40442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40443         New file.
40444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40445         file.
40446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40448         file.
40449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40450         New file.
40451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40452         file.
40453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40454         file.
40455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40456         file.
40457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40458         file.
40459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40460         file.
40461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40462         New file.
40463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40464         file.
40465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40466         file.
40467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40468         New file.
40469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40470         file.
40471         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40472         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40473         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40474         file.
40475         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40476         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40477         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40478         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40479         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40480         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40481         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40482         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40483         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40484         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40487         file.
40488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40489         New file.
40490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40491         file.
40492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40493         file.
40494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40495         file.
40496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40497         file.
40498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40499         file.
40500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40501         New file.
40502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40503         New file.
40504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40505         file.
40506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40507         New file.
40508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40509         file.
40510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40512         file.
40513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40514         New file.
40515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40516         file.
40517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40518         file.
40519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40520         file.
40521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40522         file.
40523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40524         file.
40525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40526         New file.
40527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40528         New file.
40529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40530         file.
40531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40532         New file.
40533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40534         file.
40536 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40538         * conform/conformtest.pl: Fix typo in handling typed-constant from
40539         allow-header.
40541 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40543         * README: Cut down references to pre-2.6 Linux kernels and
40544         Linuxthreads.  Update lists of configurations in libc and ports
40545         and sort alphabetically.  Say "or newer" with Linux kernel version
40546         requirements.
40548         * config.h.in [IS_IN_build]: Allow compiling without optimization.
40550 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40552         [BZ #887]
40553         * math/libm-test.inc (logb_test_downward): New test to expose
40554         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40555         rounding mode.
40557 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40559         [BZ #14027]
40560         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40561         to be done.
40562         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40563         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40565 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
40567         * sysdeps/unix/i386/brk.S: Remove file.
40568         * sysdeps/unix/i386/dl-brk.S: Likewise.
40569         * sysdeps/unix/i386/pipe.S: Likewise.
40570         * sysdeps/unix/i386/sigreturn.S: Likewise.
40571         * sysdeps/unix/i386/syscall.S: Likewise.
40572         * sysdeps/unix/i386/vfork.S: Likewise.
40573         * sysdeps/unix/i386/wait.S: Likewise.
40575         * sysdeps/unix/common/tcsendbrk.c: Move to ...
40576         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40578         * configure.in (arm*-none*): Do not allow without
40579         --enable-hacker-mode.
40580         (netbsd*): Remove case setting base_os.
40581         (386bsd*): Likewise.
40582         (freebsd*): Likewise.
40583         (bsdi*): Likewise.
40584         (osf*): Likewise.
40585         (sunos*): Likewise.
40586         (ultrix*): Likewise.
40587         (newsos*): Likewise.
40588         (dynix*): Likewise.
40589         (*bsd*): Likewise.
40590         (sysv*): Likewise.
40591         (isc*): Likewise.
40592         (esix*): Likewise.
40593         (sco*): Likewise.
40594         (minix*): Likewise.
40595         (irix4*): Likewise.
40596         (irix6*): Likewise.
40597         (solaris[2-9]*): Likewise.
40598         (none): Likewise.
40599         * configure: Regenerated.
40601 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40603         [BZ #11521]
40604         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40605         overflow or cancellation in calculating denominator.
40606         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40607         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40608         down expression to avoid unexpected rounding in newer GCCs.
40609         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40611 2012-04-26  David S. Miller  <davem@davemloft.net>
40613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40614         long-double compat symbols.
40615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40629 2012-04-25  David S. Miller  <davem@davemloft.net>
40631         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40632         HWCAP_* values only after the memory barriers have been defined.
40633         (atomic_full_barrier): Define.
40634         (atomic_read_barrier): Define.
40635         (atomic_write_barrier): Define.
40637 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40639         * shlib-versions: Add libgcc_s version information.
40640         * sysdeps/generic/libgcc_s.h: Remove.
40641         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40642         libgcc_s.h.
40643         * sysdeps/gnu/unwind-resume.c: Likewise.
40644         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40646 2012-04-25  David S. Miller  <davem@davemloft.net>
40648         * sysdeps/unix/sparc/brk.S: Delete.
40649         * sysdeps/unix/sparc/dl-brk.S: Delete.
40650         * sysdeps/unix/sparc/pipe.S: Delete.
40651         * sysdeps/unix/sparc/sysdep.S: Delete.
40652         * sysdeps/unix/sparc/sysdep.h: Delete.
40653         * sysdeps/unix/sparc/vfork.S: Delete.
40654         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40655         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40656         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40657         (ret_ERRVAL, r0, r1, MOVE): Define.
40658         (JUMPTARGET): Remove.
40659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40660         sysdeps/unix/sparc/sysdep.h
40661         (ENTRY, END): Remove.
40662         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40664 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
40666         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40667         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40668         -DIS_IN_build.
40670         * timezone/README: Update upstream location and email address for
40671         tzcode and tzdata.
40672         * timezone/zdump.c: Update from tzcode 2012b.
40673         * timezone/zic.c: Likewise.
40675         * configure.in (libc_cv_as_needed): Remove test.
40676         * configure: Regenerated.
40677         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40678         conditional definition.
40679         [$(have-as-needed) != yes] (no-as-needed): Likewise.
40680         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40681         * config.make.in (have-as-needed): Remove variable.
40683 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40684             Paul Pluzhnikov  <ppluzhnikov@google.com>
40686         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40687         strings correctly.
40689 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
40691         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40692         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40693         * sysdeps/sh/strlen.S: Likewise.
40695 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40697         * sysdeps/unix/fork.S: Remove file.
40698         * sysdeps/unix/i386/fork.S: Likewise.
40699         * sysdeps/unix/sparc/fork.S: Likewise.
40701         * sysdeps/unix/system.c: Remove file.
40702         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40704         * sysdeps/unix/getegid.S: Remove file.
40705         * sysdeps/unix/geteuid.S: Likewise.
40707 2012-04-24  Roland McGrath  <roland@hack.frob.com>
40709         * scripts/check-localplt.awk: New file.
40710         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40711         of diff.
40712         * scripts/data/localplt-generic.data: Add a comment.
40714         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40715         NODE when __dir_mkfile failed.
40716         * sysdeps/mach/hurd/symlinkat.c: Likewise.
40717         Reported by Ludovic Courtès <ludo@gnu.org>.
40719 2012-04-24  Andreas Jaeger  <aj@suse.de>
40721         * Makerules (common-clean): Also remove gen-as-const-headers
40722         files.
40724 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40726         * Makerules (native-compile): Do not change working directory for
40727         build.  Use $(OUTPUT_OPTION) in command.
40728         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40730 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40732         [BZ #13886]
40733         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40734         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40735         * math/libm-test.inc (floor_test): Add more tests.
40736         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40738 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40740         * sysdeps/unix/getdents.c: Remove file.
40741         * sysdeps/unix/sysv/getdents.c: Likewise.
40742         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40744         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40745         sysdeps/unix/mman/syscalls.list.
40746         (mmap): Likewise.
40747         (mprotect): Likewise.
40748         (msync): Likewise.
40749         (munmap): Likewise.
40750         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40751         * sysdeps/unix/mman/syscalls.list: Remove.
40752         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40754         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40755         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40756         * configure: Regenerated.
40757         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40758         $(libgcc_s_suffix).
40759         * config.make.in (libgcc_s_suffix): Remove variable.
40761 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40763         * sysdeps/unix/sysv/gethostname.c: Move to ...
40764         * sysdeps/posix/gethostname.c: ... here.
40766         * sysdeps/unix/execve.S: Remove file.
40768         * sysdeps/unix/_exit.S: Remove file.
40770 2012-04-23  Andreas Jaeger  <aj@suse.de>
40772         [BZ #13739]
40773         * manual/Makefile: Remove make dist support, there's no
40774         need for a stand-alone documentation tar ball.
40775         (TEXI2DVI): Define always, it's not in Makeconfig.
40776         (dist): Removed.
40777         (tar-it): Removed.
40778         (edition): Removed.
40779         (glibc-doc-$(edition).tar): Removed
40780         (%.Z): Removed.
40781         (%.gz): Removed.
40782         (%.uu): Removed.
40783         (ETAGS): Remove, it's in Makeconfig.
40784         (move-if-change): Remove, it's in Makeconfig.
40786 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40788         [BZ #13970]
40789         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40790         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40791         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40792         (strtod_l, strtof_l, strtold_l): Remove __wur.
40793         It is not necessarily an error to ignore strtol's return value.
40794         One can reliably look at the stored endptr to decide whether
40795         the number had valid syntax.
40797 2012-04-21  Andreas Jaeger  <aj@suse.de>
40799         [BZ #13739]
40800         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40802 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40804         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40805         * sysdeps/unix/sysv/Versions: Remove file.
40807 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40809         [BZ #13927]
40810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40812 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40814         [BZ #7064]
40815         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40816         version from __vm86.
40818 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40820         * sysdeps/unix/common/lxstat.c: Remove file.
40821         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40823         * sysdeps/unix/sysv/Makefile: Remove file.
40825         * sysdeps/unix/sysv/direct.h: Remove file.
40827         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40828         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40829         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40830         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40831         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40832         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40833         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40835         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40837         * sysdeps/unix/xmknod.c: Remove file.
40838         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40840         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40842         * sysdeps/unix/sysv/i386/time.S: Remove file.
40844         * sysdeps/unix/fxstat.c: Remove file.
40845         * sysdeps/unix/xstat.c: Likewise.
40846         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40848         * sysdeps/unix/sysv/sigaction.c: Remove file.
40850         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40851         (sysdep_headers): Remove variable.
40852         [termio.h not in sysdep_headers] (generated): Likewise.
40853         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40854         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40855         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40856         * sysdeps/unix/sysv/tcflow.c: Likewise.
40857         * sysdeps/unix/sysv/tcflush.c: Likewise.
40858         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40859         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40860         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40861         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40862         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40864         * sysdeps/unix/siglist.c: Remove file.
40866         * sysdeps/unix/getppid.S: Remove file.
40868         * sysdeps/unix/mkdir.c: Remove file.
40869         * sysdeps/unix/rmdir.c: Likewise.
40871 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40873         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40874         ERR_MAX value.
40875         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40876         errlist-compat value.
40878 2012-04-18  David S. Miller  <davem@davemloft.net>
40880         * sysdeps/generic/memcopy.h (reg_char): Delete.
40881         * debug/strcat_chk.c: Use char, not reg_char.
40882         * debug/strcpy_chk.c: Likewise.
40883         * debug/strncat_chk.c: Likewise.
40884         * debug/strncpy_chk.c: Likewise.
40885         * string/memchr.c: Likewise.
40886         * string/memrchr.c: Likewise.
40887         * string/rawmemchr.c: Likewise.
40888         * string/strcat.c: Likewise.
40889         * string/strchr.c: Likewise.
40890         * string/strchrnul.c: Likewise.
40891         * string/strcmp.c: Likewise.
40892         * string/strcpy.c: Likewise.
40893         * string/strncat.c: Likewise.
40894         * string/strncmp.c: Likewise.
40895         * string/strncpy.c: Likewise.
40897 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40899         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40900         __builtin_memcopy is called when src and dest ranges are known to not
40901         overlap.
40903 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40905         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40906         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40907         fwd_align_merge macro call.
40908         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40909         bwd_align_merge macro call.
40910         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40912 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40914         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40915         bwd_align_merge macros.
40916         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40917         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40918         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40920 2012-04-18  David S. Miller  <davem@davemloft.net>
40922         * sysdeps/sparc/sparc64/memcopy.h: Delete.
40924 2012-04-18  Andreas Jaeger  <aj@suse.de>
40926         [BZ# 6794]
40927         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40928         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40929         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40931         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40932         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40933         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40935         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40936         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40937         Adjust for changed ldbl-128 files.
40939         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40940         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40941         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40943 2012-04-17  David S. Miller  <davem@davemloft.net>
40945         * sysdeps/sparc/sparc32/memcopy.h: Delete.
40947 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
40949         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40950         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40951         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40952         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40953         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40954         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40956 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40958         [BZ #6794]
40959         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40960         * math/libm-test.inc: Add ilogb errno and exception tests.
40961         * math/w_ilogb.c: New file: ilogb wrapper.
40962         * math/w_ilogbf.c: New file: ilogbf wrapper.
40963         * math/w_ilogbl.c: New file: ilogbl wrapper.
40964         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40965         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40966         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40967         exception being thrown with 0.0 as argument.
40968         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40969         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40970         exception being thrown with 0.0 as argument.
40971         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40972         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40973         exception being thrown with 0.0 as argument.
40974         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40975         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40976         exception being thrown with 0.0 as argument.
40977         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40978         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40979         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40980         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40981         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40982         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40983         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40984         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40985         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40987 2012-04-17  Petr Baudis  <pasky@ucw.cz>
40989         * include/sys/uio.h: Change __vector to __iovec to avoid clash
40990         with altivec.
40992 2012-04-16  Marek Polacek  <polacek@redhat.com>
40994         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40996 2012-04-16  Marek Polacek  <polacek@redhat.com>
40998         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40999         operands of fdivp instruction.
41001 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41003         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41004         * elf/tst-auditmod3b.c: Likewise.
41005         * elf/tst-auditmod4b.c: Likewise.
41006         * elf/tst-auditmod5b.c: Likewise.
41007         * elf/tst-auditmod6b.c: Likewise.
41008         * elf/tst-auditmod6c.c: Likewise.
41009         * elf/tst-auditmod7b.c: Likewise.
41010         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41011         * sysdeps/x86_64/preconfigure.in: Likewise.
41012         * sysdeps/x86_64/preconfigure: Regenerated.
41014 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41016         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41017         __ILP32__.
41019 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
41021         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41022         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41024 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
41026         [BZ #13973]
41027         * locale/iso-639.def: Fix gl language name. Spotted by
41028         Yaron Shahrabani.
41030 2012-04-12  Roland McGrath  <roland@hack.frob.com>
41032         [BZ #2074]
41033         * libio/libio.h (__io_write_fn): Update comment.
41035 2012-04-12  Petr Baudis  <pasky@ucw.cz>
41037         [BZ #2074]
41038         * stdio.texi (Hook Functions): The user provided writer function
41039         is not allowed to return -1.
41041 2012-04-11  David S. Miller  <davem@davemloft.net>
41043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41045 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
41047         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41048         Add a leading slash to rtkaio.
41050 2012-04-11  Jim Meyering  <meyering@redhat.com>
41052         [BZ #11959]
41053         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41054         It is not necessarily an error to ignore fwrite's return
41055         value.  One can reliably use ferror to test for errors after
41056         the fact.
41058 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41060         * bits/types.h (__snseconds_t): New type.
41061         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41063         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41064         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41065         (__SNSECONDS_T_TYPE): Likewise.
41066         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41067         (__SNSECONDS_T_TYPE): Likewise.
41068         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41069         (__SNSECONDS_T_TYPE): Likewise.
41071 2012-04-10  Andreas Jaeger  <aj@suse.de>
41073         [BZ #2636]
41074         * manual/time.texi (Processor Time): Return type of times is
41075         elapsed real time since an arbitrary point in the past.
41076         (CPU Time): Move CLK_TCK from here...
41077         (Processor Time): ...to here.  Correct description.
41078         * manual/conf.texi (Constants for Sysconf): Correct description of
41079         _SC_CLK_TCK.
41081 2012-04-10  David S. Miller  <davem@davemloft.net>
41083         [BZ #13967]
41084         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41085         where the is a gap between DT_REL(A) and DT_JMPREL.
41087 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41089         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41090         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41091         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41093 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41095         * elf/dl-support.c (_dl_inhibit_cache): New variable.
41096         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41097         (dl_main): Handle --inhibit-cache.
41098         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41099         _dl_inhibit_cache.
41100         * elf/dl-load.c (_dl_map_object): Use it.
41101         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41103 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41105         [BZ #13872]
41106         * sysdeps/i386/fpu/e_powl.S (p78): New object.
41107         (__ieee754_powl): Saturate large exponents rather than testing for
41108         overflow of y*log2(x).
41109         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41110         * math/libm-test.inc (pow_test): Do not permit spurious overflow
41111         exceptions.
41113         [BZ #11521]
41114         * math/s_ctan.c: Include <float.h>.
41115         (__ctan): Avoid internal overflow or cancellation in calculating
41116         denominator.
41117         * math/s_ctanf.c: Likewise.
41118         * math/s_ctanl.c: Likewise.
41119         * math/s_ctanh.c: Likewise.
41120         * math/s_ctanhf.c: Likewise.
41121         * math/s_ctanhl.c: Likewise.
41122         * math/libm-test.inc (ctan_test): Add more tests.
41123         (ctanh_test): Likewise.
41124         * sysdeps/i386/fpu/libm-test-ulps: Update.
41125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41127 2012-04-09  Andreas Jaeger  <aj@suse.de>
41129         [BZ #6894]
41130         * manual/filesys.texi (Directory Entries): Mention that d_namlen
41131         is an optional BSD extension.
41133         [BZ #10254]
41134         * manual/stdio.texi (Opening Streams): Document additional fopen
41135         parameters.
41137 2012-04-09  Roland McGrath  <roland@hack.frob.com>
41139         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41140         %eax without telling the compiler.
41142 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
41144         [BZ # 13963]
41145         * manual/install.texi: Use sourceware.org.
41147 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41149         [BZ #13873]
41150         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41151         (__ieee754_pow): Generate overflow and underflow using huge*huge
41152         and tiny*tiny rather than just returning constant infinity or zero
41153         for large exponents.
41154         * math/libm-test.inc (pow_test): Require overflow exceptions for
41155         applicable cases of large exponents.
41157         [BZ #706]
41158         * sysdeps/i386/fpu/e_pow.S (p10): New object.
41159         (__ieee754_pow): Use iterative multiplication algorithm only for
41160         integer exponents with absolute value below 1024.  Check for odd
41161         integer exponents when using algorithm for real exponents.
41162         * math/libm-test.inc (pow_test): Add more tests.
41163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41165 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
41167         [BZ #13705]
41168         * math/libm-test.inc (exp_test): Do not allow overflow exception
41169         on underflow test.
41171 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
41173         [BZ #13705]
41174         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41175         instead of __kernel_standard_f.
41177 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
41179         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41180         * sysdeps/x86_64/memset_chk.S: Likewise.
41182 2012-04-08  Andreas Jaeger  <aj@suse.de>
41184         [BZ #10153]
41185         * manual/startup.texi (Environment Access): Describe return value
41186         for putenv and setenv.
41188         [BZ #6895]
41189         * manual/filesys.texi (Directory Entries): Add description for
41190         DT_LNK.
41192         [BZ #6890]
41193         * manual/filesys.texi (Directory Entries): Clarify that it's file
41194         system not operating system in the description of DT_UNKNOWN.
41196         [BZ #6578]
41197         * manual/syslog.texi (closelog): Fix reference, it's openlog.
41199 2012-04-08  Stephen Compall  <s11@member.fsf.org>
41201         [BZ #6649]
41202         * manual/llio.texi (Opening and Closing Files): Add cross
41203         reference to explain mode argument.
41205 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
41207         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41208         * sysdeps/x86_64/memset_chk.S: Likewise.
41210 2012-04-07  David S. Miller  <davem@davemloft.net>
41212         * elf/elf.h (R_SPARC_WDISP10): Define.
41213         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41214         R_SPARC_SIZE32.
41215         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41216         R_SPARC_SIZE64 and R_SPARC_H34.
41218 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
41220         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41221         conditions and remove no longer applicable assertion.
41223 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41225         * bits/byteswap.h: Include <features.h>.
41226         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41227         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41229 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41231         * bits/byteswap.h (__bswap_16): Removed.
41232         Include <bits/byteswap-16.h> to get __bswap_16.
41233         * sysdeps/i386/bits/byteswap.h: Likewise.
41234         * sysdeps/s390/bits/byteswap.h: Likewise.
41235         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41236         * bits/byteswap-16.h: New file.
41237         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41238         * sysdeps/s390/bits/byteswap-16.h: Likewise.
41239         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41240         * string/Makefile (headers): Add bits/byteswap-16.h.
41242 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41244         [BZ #13895]
41245         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41246         extra indirection.
41247         * nss/Makefile (tests-static, tests): Add tst-nss-static.
41248         * nss/tst-nss-static.c: New.
41250 2012-04-06  Robert Millan  <rmh@gnu.org>
41252         [BZ #6486]
41253         * manual/llio.texi (File Position Primitive): lseek
41254         refers to WHENCE when it really means OFFSET.
41256 2012-04-06  Andreas Jaeger  <aj@suse.de>
41258         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41259         strncmp declarations.
41261         * abilist/libc.abilist: Add __poll and __ppoll.
41263 2012-04-05  David S. Miller  <davem@davemloft.net>
41265         * scripts/check-local-headers.sh: Accept a host triplet in the
41266         path matched by the exclude regexp.
41268         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41269         definition.
41270         * sysdeps/powerpc/powerpc32/dl-machine.h
41271         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41272         * sysdeps/s390/s390-32/dl-machine.h
41273         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41274         * sysdeps/sparc/sparc32/dl-machine.h
41275         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41276         * sysdeps/sparc/sparc64/dl-machine.h
41277         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41279         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41280         lazy binding.
41281         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41282         undefined symbol errors.
41284         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41285         DT_NEEDED entries.
41287 2012-04-05  Michael Matz  <matz@suse.de>
41289         [BZ #13592]
41290         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41292 2012-04-05  Andreas Jaeger  <aj@suse.de>
41294         [BZ #13908]
41295         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41296         comment.
41298 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41300         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41301         which ROUND is no valid rounding mode.
41303 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41305         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41306         read again.
41307         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41309 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41311         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41312         an exception using FPU order intentionally.
41314 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41316         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41317         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41318         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41319         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41321 2012-04-05  Simon Josefsson  <simon@josefsson.org>
41323         [BZ #12340]
41324         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41325         EINVAL when BUFLEN is too smal.
41327 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41329         [BZ #13553]
41330         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41331         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41333 2012-04-03  Andreas Jaeger  <aj@suse.de>
41335         [BZ #13938]
41336         * manual/setjmp.texi (System V contexts): Fix sentence.
41338         [BZ #13926]
41339         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41340         New macro for this case.
41341         [!__GNUC__] (__bswap_64): New inline function for this case.
41342         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41343         * bits/byteswap.h: Likewise.
41344         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41345         ull, guard with __GLIBC_HAVE_LONG_LONG.
41347         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41348         __GLIBC_HAVE_LONG_LONG.
41350         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41351         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41353 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41355         [BZ #13691]
41356         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41357         inptr and inend, rather than using last_ch.
41359 2012-04-02  David S. Miller  <davem@davemloft.net>
41361         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41362         * stdio-common/printf-parse.h (read_int): Change return type to
41363         'int', return -1 on INT_MAX overflow.
41364         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41365         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
41366         overflows INT_MAX.  Check for overflow of in-format-string precision
41367         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
41368         SIZE_MAX not INT_MAX for integer overflow test.
41369         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41370         skip the construct in the format string but do not record anything.
41371         * stdio-common/bug22.c: Adjust to test both width/prevision
41372         INT_MAX overflow as well as total length INT_MAX overflow.  Check
41373         explicitly for proper errno values.
41375 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41377         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41378         CHAR_MAX.
41379         * string/test-strcmp.c [! WIDE]: Likewise.
41380         * time/tst-mktime2.c: Likewise for INT_MAX.
41381         * string/test-string.h: #include <sys/param.h> for MIN.
41383         * csu/init-first.c (__libc_init_first): Call __ctype_init.
41384         * sysdeps/i386/init-first.c (init): Likewise.
41385         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41386         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41387         * sysdeps/sh/init-first.c (init): Likewise.
41389 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
41391         * po/ru.po: Update from translation team.
41392         * po/vi.po: Likewise.
41394 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41396         * resolv/nss_dns/dns-host.c: Merge copyright years.
41398 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41400         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41401         Optimize memcpy with prefetch if
41402         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
41403         src, dst pointers have unequal 16 byte alignments.
41405 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41407         [BZ #13928]
41408         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41409         from a CNAME entry and return the minimum ttl for the query.
41410         (gaih_getanswer_slice): Likewise.
41412 2012-03-30  Jeff Law  <law@redhat.com>
41414         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41415         due to long keys.
41416         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41417         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41419         * resolv/nss_dns/dns-host.c: Update copyright year.
41421 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
41423         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41424         requests to save a system call.  Fix check that all bytes are sent.
41426         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41427         comments for sendmmsg.
41429 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41431         [BZ #13691]
41432         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41433         with only 1 character between 0x0041 and 0x01b0.
41434         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41435         * wcsmbs/tst-mbsnrtowcs.c: New file.
41437 2012-03-29  David S. Miller  <davem@davemloft.net>
41439         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41440         small copies by hand.
41442 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41444         [BZ #13761]
41445         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41446         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41447         group memberships.
41449 2012-03-28  David S. Miller  <davem@davemloft.net>
41451         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41452         that branches into memcpy.
41453         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41454         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41455         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41456         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41457         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41458         bits.
41459         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41460         implementation too.
41461         * sysdeps/sparc/mempcpy.S: New file.
41463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41464         the IFUNC routine in the libc case.
41465         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41467         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41468         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41469         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41470         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41471         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41472         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41473         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41474         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41476         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41477         loop to 256 bytes instead of 64 bytes and fix test signedness.
41479         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41480         * sysdeps/sparc/sparc32/Makefile: rather than here...
41481         * sysdeps/sparc/sparc64/Makefile: and here.
41483 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
41485         * malloc/mallocbug.c: Avoid warnings about unused variables.
41487 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41489         [BZ #13760]
41490         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41491         in the right place. Discard and retry query if response is
41492         larger than input buffer size.
41494 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
41496         [BZ #369]
41497         [BZ #2678]
41498         [BZ #3866]
41499         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41500         x for large integer exponent.
41501         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41502         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
41503         sign of result as needed afterwards.
41504         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41505         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41506         result for underflowing pow the same as for overflow.
41507         (__kernel_standard_l): Handle powl overflow and underflow here
41508         rather than calling __kernel_standard.
41509         * math/libm-test.inc (pow_test): Add more tests.
41511         [BZ #3868]
41512         [BZ #13879]
41513         [BZ #13910]
41514         [BZ #13911]
41515         [BZ #13912]
41516         [BZ #13913]
41517         [BZ #13915]
41518         [BZ #13916]
41519         [BZ #13917]
41520         [BZ #13918]
41521         [BZ #13919]
41522         [BZ #13920]
41523         [BZ #13921]
41524         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41525         * sysdeps/ieee754/k_standard.c: Include <float.h>.
41526         (__kernel_standard_l): New function.
41527         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41528         __kernel_standard.
41529         * math/w_acosl.c (__acosl): Likewise.
41530         * math/w_asinl.c (__asinl): Likewise.
41531         * math/w_atan2l.c (__atan2l): Likewise.
41532         * math/w_atanhl.c (__atanhl): Likewise.
41533         * math/w_coshl.c (__coshl): Likewise.
41534         * math/w_exp10l.c (__exp10l): Likewise.
41535         * math/w_exp2l.c (__exp2l): Likewise.
41536         * math/w_fmodl.c (__fmodl): Likewise.
41537         * math/w_hypotl.c (__hypotl): Likewise.
41538         * math/w_j0l.c (__j0l, __y0l): Likewise.
41539         * math/w_j1l.c (__j1l, __y1l): Likewise.
41540         * math/w_jnl.c (__jnl, __ynl): Likewise.
41541         * math/w_lgammal.c (__lgammal): Likewise.
41542         * math/w_log10l.c (__log10l): Likewise.
41543         * math/w_log2l.c (__log2l): Likewise.
41544         * math/w_logl.c (__logl): Likewise.
41545         * math/w_powl.c (__powl): Likewise.
41546         * math/w_remainderl.c (__remainderl): Likewise.
41547         * math/w_scalbl.c (sysv_scalbl): Likewise.
41548         * math/w_sinhl.c (__sinhl): Likewise.
41549         * math/w_sqrtl.c (__sqrtl): Likewise.
41550         * math/w_tgammal.c (__tgammal): Likewise.
41551         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41552         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41553         * math/libm-test.inc (acos_test): Add more tests.
41554         (acosh_test): Likewise.
41555         (asin_test): Likewise.
41556         (atanh_test): Likewise.
41557         (exp_test): Likewise.
41558         (exp10_test): Likewise.
41559         (exp2_test): Likewise.
41560         (expm1_test): Likewise.
41561         (lgamma_test): Likewise.
41562         (log_test): Likewise.
41563         (log10_test): Likewise.
41564         (log1p_test): Likewise.
41565         (log2_test): Likewise.
41566         (pow_test): Do not allow some spurious overflow exceptions.
41567         (sqrt_test): Add more tests.
41568         (tgamma_test): Likewise.
41569         (y0_test): Likewise.
41570         (y1_test): Likewise.
41571         (yn_test): Likewise.
41573 2012-03-27  Anton Blanchard  <anton@samba.org>
41575         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41576         MAP_HUGETLB.
41577         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41578         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41579         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41581 2012-03-27  David S. Miller  <davem@davemloft.net>
41583         * conform/Makefile: Run run-conformtest.sh using $(BASH).
41585         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41586         have-as-vis3 check.
41588 2012-03-27  Andreas Jaeger  <aj@suse.de>
41590         * sysdeps/x86_64/elf/configure.in: Moved to ...
41591         * sysdeps/x86_64/configure.in: ... here.
41592         * sysdeps/x86_64/elf/start.S: Moved to ...
41593         * sysdeps/x86_64/start.S: ... here.
41594         * sysdeps/x86_64/elf/configure: Delete.
41596         * sysdeps/x86_64/configure.in: Merge contents from
41597         sysdeps/i386/configure.in (without i686 check).
41599         * sysdeps/i386/elf/Versions: Merge into ...
41600         * sysdeps/i386/Versions: ... this.
41601         * sysdeps/i386/elf/Versions: Delete file.
41602         * sysdeps/i386/elf/start.S: Moved to ...
41603         * sysdeps/i386/start.S: ...here.
41604         * sysdeps/i386/elf/configure.in: Merge into...
41605         * sysdeps/i386/configure.in: ...here.
41606         * sysdeps/i386/elf/configure.in: Delete file.
41607         * sysdeps/i386/elf/configure: Delete file.
41609         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41610         * debug/backtracesyms.c: ... here.
41611         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41612         * debug/backtracesymsfd.c: ... here.
41613         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41614         * sysdeps/generic/ifunc-sel.h: ... here.
41616         * sysdeps/unix/i386/start.c: Delete file.
41617         * sysdeps/unix/sparc/start.c: Delete file.
41618         * sysdeps/unix/start.c: Delete file.
41620         * sysdeps/sh/elf/configure.in: Moved to ...
41621         * sysdeps/sh/configure.in: ... here.
41622         * sysdeps/sh/elf/start.S: Moved to ...
41623         * sysdeps/sh/start.S: ... here.
41624         * sysdeps/sh/elf/configure: Delete file.
41626         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41627         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41628         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41629         * sysdeps/powerpc/powerpc64/entry.h: ... here.
41630         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41631         * sysdeps/powerpc/powerpc64/start.S: here.
41632         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41633         * sysdeps/powerpc/powerpc64/Makefile: ... this.
41634         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41635         * sysdeps/powerpc/powerpc64/configure.in: ... this.
41636         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41638         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41639         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41640         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41641         * sysdeps/powerpc/powerpc32/start.S: ... here.
41642         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41643         * sysdeps/powerpc/powerpc32/configure.in: ... this.
41644         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41646         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41647         * sysdeps/powerpc/ifunc-sel.h: ... here.
41648         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41649         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41651         * sysdeps/sparc/elf/configure.in: Moved to ...
41652         * sysdeps/sparc/configure.in: ... here.
41653         * sysdeps/sparc/elf/configure: Delete file.
41654         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41655         * sysdeps/sparc/sparc32/start.S: ... here.
41656         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41657         * sysdeps/sparc/sparc64/start.S: ... here.
41658         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41659         * sysdeps/sparc/sparc32/Makefile: ... this.
41660         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41661         * sysdeps/sparc/sparc64/Makefile: ... this.
41663         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41664         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41665         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41666         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41667         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41668         * sysdeps/s390/s390-32/setjmp.S: ... here.
41669         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41670         * sysdeps/s390/s390-32/configure.in: ... here.
41671         * sysdeps/s390/s390-32/elf/configure: Delete file.
41672         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41673         * sysdeps/s390/s390-32/start.S: ... here.
41675         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41676         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41677         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41678         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41679         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41680         * sysdeps/s390/s390-64/setjmp.S: ... here.
41681         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41682         * sysdeps/s390/s390-64/configure.in: ... here
41683         * sysdeps/s390/s390-64/elf/configure: Delete file.
41684         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41685         * sysdeps/s390/s390-64/start.S: ... here.
41686         * sysdeps/s390/s390-64/elf/configure: Delete.
41688         * configure.in: Remove support for elf directories in sysdeps.
41690         * configure: Regenerated.
41691         * sysdeps/i386/configure: Regenerated.
41692         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41693         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41694         * sysdeps/s390/s390-32/configure: Regenerated.
41695         * sysdeps/s390/s390-64/configure: Regenerated.
41696         * sysdeps/sh/configure: Regenerated.
41697         * sysdeps/sparc/configure: Regenerated.
41698         * sysdeps/x86_64/configure: Regenerated.
41700 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
41702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41704         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41705         denormal result into account.
41707 2012-03-25  Roland McGrath  <roland@hack.frob.com>
41709         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41710         Reported by Allan McRae <allan@archlinux.org>.
41712 2012-03-23  Jeff Law  <law@redhat.com>
41714         * nss/getnssent.c (__nss_getent): Fix typo.
41716 2012-03-23  David S. Miller  <davem@davemloft.net>
41718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41720 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41722         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41723         to pad to uint64_t for each field.
41724         (dl_tls_index): Replace unsigned long with uint64_t.
41726 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41727         Paul Pluzhnikov  <ppluzhnikov@google.com>
41729         [BZ #6528]
41730         * grp/Makefile (otherlibs): Don't set it.
41731         * inet/Makefile (otherlibs): Likewise.
41732         * login/Makefile (otherlibs): Likewise.
41733         * nscd/Makefile (otherlibs): Likewise.
41734         * posix/Makefile (otherlibs): Likewise.
41735         * pwd/Makefile (otherlibs): Likewise.
41736         * rt/Makefile (otherlibs): Likewise.
41737         * sunrpc/Makefile (otherlibs): Likewise.
41738         * nss/Makefile (otherlibs): Likewise.
41739         Add libnss_files to routines and static-only-routines.
41740         ($(objpfx)getent): Remove rule.
41741         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41742         static-only-routines.
41744 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41746         [BZ #13892]
41747         * math/s_cexp.c: Include <float.h>.
41748         (__cexp): Handle exp result overflowing not necessarily
41749         overflowing both real and imaginary parts of result.
41750         * math/s_cexpf.c: Likewise.
41751         * math/s_cexpl.c: Likewise.
41752         * math/libm-test.inc (cexp_test): Add more tests.
41753         * sysdeps/i386/fpu/libm-test-ulps: Update.
41754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41756 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41758         * include/link.h (ELFW): New macro.
41759         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41760         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41762 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41764         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41765         with uint64_t.
41767 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41769         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41770         declaration.
41771         (struct La_x32_retval): Likewise.
41773 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41775         * sysdeps/x86_64/preconfigure.in: New file.
41776         * sysdeps/x86_64/preconfigure: New generated file.
41778 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41780         [BZ #13824]
41781         * math/e_exp2l.c: Include <float.h>.
41782         (__ieee754_exp2l): Handle overflow and underflow cases
41783         separately.  Only pass fractional part of argument to
41784         __ieee754_expl.
41785         * math/libm-test.inc (exp2_test): Add more tests.
41787         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41788         negating x to take absolute value.
41789         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41790         Likewise.
41791         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41792         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41793         Likewise.
41794         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41795         computing low part if x was negated.
41796         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41798 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41800         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41801         la_x32_gnu_pltexit.
41802         (pltexit): Cast int_retval to ptrdiff_t.
41803         * elf/tst-auditmod3b.c: Likewise.
41804         * elf/tst-auditmod4b.c: Likewise.
41805         * elf/tst-auditmod5b.c: Likewise.
41806         * elf/tst-auditmod6b.c: Likewise.
41807         * elf/tst-auditmod6c.c: Likewise.
41808         * elf/tst-auditmod7b.c: Likewise.
41810         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41811         and x32_gnu_pltexit.
41813         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41814         __ELF_NATIVE_CLASS.
41815         (La_x32_regs): New macro.
41816         (La_x32_retval): Likewise.
41817         (la_x32_gnu_pltenter): New function prototype.
41818         (la_x32_gnu_pltexit): Likewise.
41820 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41822         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41823         exponent.
41825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41827         * configure.in (libc_cv_cc_nofma): Check for option to disable
41828         generation of FMA instructions.
41829         * configure: Regenerate.
41830         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41831         * sysdeps/ieee754/dbl-64/Makefile: New file.
41832         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41833         Remove brandred-fma4.
41834         (CFLAGS-brandred-fma4.c): Remove.
41835         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41836         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41837         define.
41838         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41839         define.
41841 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41843         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41844         LLONG_MAX != LONG_MAX.
41845         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41846         (_fitoa_word): Likewise.
41847         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41848         LLONG_MAX != LONG_MAX.
41849         * stdio-common/_itowa.h: Include <_itoa.h>.
41850         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41851         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41852         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41853         only if not defined.
41854         (_ITOA_WORD_TYPE): Likewise.
41855         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41856         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41858 2012-03-21  David S. Miller  <davem@davemloft.net>
41860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41862 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41864         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41865         of x86_64 when setting libc_cv_slibdir, libdir and
41866         libc_cv_localedir.
41867         * sysdeps/unix/sysv/linux/configure: Regenerated.
41869 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41871         * manual/lang.texi (Old Varargs): Remove section.
41872         (How Variadic): Update menu.
41873         (va_start): Do not mention varargs.h.
41875 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41876             Joseph Myers  <joseph@codesourcery.com>
41878         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41879         link test.
41880         * configure: Regenerated.
41882 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41884         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41885         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41886         conformtest.pl
41888 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41890         * NOTES: Remove.
41891         * Makefile (files-for-dist): Remove NOTES.
41892         (NOTES): Remove rule.
41893         * README: Don't refer to NOTES.
41894         * manual/creature.texi: Don't include macros.texi.
41895         * manual/intro.texi (creature.texi): Remove comment referring to
41896         NOTES.
41898         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41899         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41900         * configure: Regenerated.
41901         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41902         LIBC_TRY_CC_OPTION.
41903         (libc_cv_as_i686): Likewise.
41904         (libc_cv_cc_avx): Likewise.
41905         (libc_cv_cc_sse2avx): Likewise.
41906         (libc_cv_cc_fma4): Likewise.
41907         (libc_cv_cc_novzeroupper): Likewise.
41908         * sysdeps/i386/configure: Regenerated.
41910         [BZ #13883]
41911         * sysdeps/i386/fpu/s_cexp.S: Remove.
41912         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41913         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41914         * math/libm-test.inc (cexp_test): Add more tests.
41915         * sysdeps/i386/fpu/libm-test-ulps: Update.
41916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41918 2012-03-21  Allan McRae  <allan@archlinux.org>
41920         * timezone/Makefile: Do not install iso3166.tab and zone.tab
41922 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41924         [BZ #13871]
41925         * math/w_exp2.c: Do not include <float.h>.
41926         (o_threshold, u_threshold): Remove.
41927         (__exp2): Calculate result before checking finiteness and calling
41928         __kernel_standard.
41929         * math/w_exp2f.c: Likewise.
41930         * math/w_exp2l.c: Likewise.
41931         * math/libm-test.inc (exp2_test): Require overflow exception for
41932         1e6 input.
41934         [BZ #3866]
41935         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41936         range of signed 64-bit integers before using fistpll.  Remove
41937         checks for whether integers fit in mantissa bits.
41938         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41939         the range of signed 32-bit integers before using fistpl.  Remove
41940         checks for whether integers fit in mantissa bits.
41941         * sysdeps/i386/fpu/e_powl.S (p64): New object.
41942         (__ieee754_powl): Test for y outside the range of signed 64-bit
41943         integers before using fistpll.  Reduce 64-bit values to 63-bit
41944         ones as needed.
41945         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41946         divide-by-zero is raised for zero to large negative powers.
41947         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41948         (__ieee754_powl): Test for y outside the range of signed 64-bit
41949         integers before using fistpll.  Reduce 64-bit values to 63-bit
41950         ones as needed.
41951         * math/libm-test.inc (pow_test): Add more tests.
41953 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41955         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41956         <stdio-common/_itoa.h>.
41957         * debug/segfault.c: Likewise.
41958         * elf/dl-cache.c: Likewise.
41959         * elf/dl-minimal.c: Likewise.
41960         * elf/dl-misc.c: Likewise.
41961         * elf/dl-sysdep.c: Likewise.
41962         * elf/dl-version.c: Likewise.
41963         * elf/rtld.c: Likewise.
41964         * hurd/hurdsock.c: Likewise.
41965         * hurd/lookup-retry.c: Likewise.
41966         * malloc/malloc.c: Likewise.
41967         * malloc/mtrace.c: Likewise.
41968         * nscd/nscd_getgr_r.c: Likewise.
41969         * nscd/nscd_getpw_r.c: Likewise.
41970         * nscd/nscd_getserv_r.c: Likewise.
41971         * posix/getopt_init.c: Likewise.
41972         * posix/wordexp.c: Likewise.
41973         * stdio-common/_itoa.c: Likewise.
41974         * stdio-common/printf_fphex.c: Likewise.
41975         * stdio-common/vfprintf.c: Likewise.
41976         * string/_strerror.c: Likewise.
41977         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41978         * sysdeps/i386/i686/hp-timing.h: Likewise.
41979         * sysdeps/mach/_strerror.c: Likewise.
41980         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41981         * sysdeps/mach/hurd/sethostid.c: Likewise.
41982         * sysdeps/mach/hurd/xmknodat.c: Likewise.
41983         * sysdeps/mach/xpg-strerror.c: Likewise.
41984         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41985         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41986         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41987         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41988         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41989         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41991         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41992         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41993         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41994         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41995         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41996         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41997         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41998         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41999         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42000         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42001         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42002         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42003         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42004         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42006         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42008         * stdio-common/_itoa.h: Moved to ...
42009         * sysdeps/generic/_itoa.h: Here.
42011         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42013         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42014         instead of "_itoa.h" and "_itowa.h".
42015         * stdio-common/vfprintf.: Likewise.
42017 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42019         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42020         <bits/wordsize.h>.
42021         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42022         (__signbit): Likwise.
42023         (llrintf): Likwise.
42024         (llrint): Likwise.
42026 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42028         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42029         __WORDSIZE != 64.
42031 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
42033         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42034         OVERFLOW_EXCEPTION_OK.
42035         * math/libm-test.inc ("Philosophy"): Update comment about
42036         exception testing.
42037         (OVERFLOW_EXCEPTION): Define.
42038         (OVERFLOW_EXCEPTION_OK): Likewise.
42039         (INVALID_EXCEPTION_OK): Renumber.
42040         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42041         (IGNORE_ZERO_INF_SIGN): Likewise.
42042         (test_exceptions): Handle FE_OVERFLOW.
42043         (exp10_test): Expect overflow exceptions.
42044         (exp2_test): Likewise.
42045         (expm1_test): Likewise.
42046         (nextafter_test): Likewise.
42047         (pow_test): Likewise.
42048         (scalbn_test): Likewise.
42049         (scalbln_test): Likewise.
42051 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42053         * sysdeps/x86_64/bits/atomic.h
42054         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42055         64bit integer.
42056         (atomic_exchange_acq): Likewise.
42057         (__arch_exchange_and_add_body): Likewise.
42058         (__arch_add_body): Likewise.
42059         (atomic_add_negative): Likewise.
42060         (atomic_add_zero): Likewise.
42062 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42064         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42065         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42067 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42069         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42070         Check __x86_64__ instead of __WORDSIZE.
42072 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42074         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42076 2012-03-19  David S. Miller  <davem@davemloft.net>
42078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42080         * sysdeps/sparc/fpu/fenv_private.h: New file.
42081         * sysdeps/sparc/fpu/math_private.h: Use it.
42082         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42083         Remove.
42084         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42085         (libc_feholdexcept_setroundl): Remove.
42086         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42087         Remove.
42088         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42089         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42091 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42093         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42094         int64_t instead of long int.
42095         (INSERT_WORDS64): Likwise.
42097 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42099         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42100         _Unwind_GetCFA return to _Unwind_Ptr first.
42102 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
42104         [BZ #13629]
42105         * math/s_clog.c: Include <float.h>.
42106         (__clog): Scale large or subnormal inputs.
42107         * math/s_clogf.c: Likewise.
42108         * math/s_clogl.c: Likewise.
42109         * math/s_clog10.c: Include <float.h>.
42110         (M_LOG10_2): Define.
42111         (__clog10): Scale large or subnormal inputs.
42112         * math/s_clog10f.c: Likewise.
42113         * math/s_clog10l.c: Likewise.
42114         * math/libm-test.inc (clog_test): Add more tests.
42115         (clog10_test): Likewise.
42116         * sysdeps/i386/fpu/libm-test-ulps: Update.
42117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42119         [BZ #11451]
42120         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42121         x and y.
42122         * math/libm-test.inc (atan2_test): Add another test.
42124         * Makerules (common-objdir-compile): Remove.
42125         * sysdeps/unix/Makefile (config-generated): Do not add
42126         $(unix-generated) to variable.
42127         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42128         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42129         Remove rule.
42130         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42131         Likewise.
42132         [generic bits/local_lim.h] (before-compile): Do not append to
42133         variable.
42134         [generic bits/local_lim.h] (common-generated): Likewise.
42135         [generic sys/param.h] (before-compile): Do not append to variable.
42136         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42137         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42138         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42139         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42140         include.
42141         [generic sys/param.h] (sys/param.h-includes): Remove variable.
42142         [generic sys/param.h] (sys/param.h-includes): Remove rule.
42143         [generic sys/param.h] ($(addprefix
42144         $(common-objpfx),$(sys/param.h-includes))): Likewise.
42145         [generic sys/param.h] (common-generated): Do not append to
42146         variable.
42147         [generic sys/param.h] (sysdep_headers): Likewise.
42148         [generic bits/errno.h] (before-compile): Do not append to
42149         variable.
42150         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42151         rule.
42152         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42153         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42154         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42155         [generic bits/errno.h] (common-generated): Do not append to
42156         variable.
42157         [generic bits/ioctls.h] (before-compile): Do not append to
42158         variable.
42159         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42160         rule.
42161         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42162         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42163         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42164         rule.
42165         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42166         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42167         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42168         [generic bits/ioctls.h] (common-generated): Do not append to
42169         variable.
42170         [generic sys/syscall.h] (syscall.h): Remove variable.
42171         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42172         rule.
42173         [generic sys/syscall.h] (before-compile): Do not append to
42174         variable.
42175         [generic sys/syscall.h] (common-generated): Likewise.
42176         * sysdeps/unix/errnos-tmpl.c: Remove file.
42177         * sysdeps/unix/errnos.awk: Likewise.
42178         * sysdeps/unix/ioctls-tmpl.c: Likewise.
42179         * sysdeps/unix/ioctls.awk: Likewise.
42180         * sysdeps/unix/mk-local_lim.c: Likewise.
42181         * sysdeps/unix/snarf-ioctls: Likewise.
42183 2012-03-19  Richard Henderson  <rth@twiddle.net>
42185         * sysdeps/i386/fpu/fenv_private.h: New file.
42186         * sysdeps/i386/fpu/math_private.h: Use it.
42187         (math_opt_barrier, math_force_eval): Remove.
42188         (libc_feholdexcept_setround_53bit): Remove.
42189         (libc_feupdateenv_53bit): Remove.
42190         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42191         (math_opt_barrier, math_force_eval): Remove.
42192         (libc_feholdexcept): Remove.
42193         (libc_feholdexcept_setround): Remove.
42194         (libc_fetestexcept, libc_fesetenv): Remove.
42195         (libc_feupdateenv_test): Remove.
42196         (libc_feupdateenv, libc_feholdsetround): Remove.
42197         (libc_feresetround): Remove.
42199         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42200         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42202         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42203         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42204         (libc_feupdateenv_testl): New.
42205         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42206         (libc_feupdateenv_testf): New.
42207         (libc_feupdateenv): Use libc_feupdateenv_test.
42208         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42209         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42211         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42212         (libc_feholdsetroundf, libc_feholdsetroundl): New.
42213         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42214         (libc_feresetround_noex): New.
42215         (libc_feresetround_noexf): New.
42216         (libc_feresetround_noexl): New.
42217         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42218         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42219         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42220         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42221         SET_RESTORE_ROUND.
42222         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42223         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42224         (__cos): Likewise.
42225         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42226         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42227         SET_RESTORE_ROUND_NOEX.
42228         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42229         SET_RESTORE_ROUND_NOEXF.
42230         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42231         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42232         (libc_feholdsetroundf): New.
42233         (libc_feresetround, libc_feresetroundf): New.
42235         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42236         (libc_feholdexcept_setround_53bit): Convert from macro to function.
42237         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
42239         * sysdeps/generic/math_private.h: Include <fenv.h>.
42240         (default_libc_feholdexcept): New.
42241         (default_libc_feholdexcept_setround): New.
42242         (default_libc_fesetenv, default_libc_feupdateenv): New.
42243         (libc_feholdexcept): Only define if undefined.
42244         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42245         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42246         (libc_feholdexcept_setroundl): Likewise.
42247         (libc_feholdexcept_setround_53bit): Likewise.
42248         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42249         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42250         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42251         (libc_feupdateenv_53bit): Likewise.
42252         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42253         (libc_feholdexcept): Convert from macro to inline function.
42254         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42255         (libc_fesetenv, libc_feupdateenv): Likewise.
42257         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42258         not previously defined.
42259         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42260         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42261         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42262         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42263         * sysdeps/ieee754/flt-32/math_private.h: New file.
42264         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42265         math_private.h below SET_FLOAT_WORD.
42266         (__isnan, __isinf_ns, __finite): Remove.
42267         (__isnanf, __isinf_nsf, __finitef): Remove.
42269 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
42271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42273 2012-03-17  David S. Miller  <davem@davemloft.net>
42275         [BZ #6471]
42276         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42277         for 2.16.
42279 2012-03-16  David S. Miller  <davem@davemloft.net>
42281         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42282         warnings.
42284         [BZ #6471]
42285         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42286         properly.
42287         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42288         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42289         sysdep_routines when subdir is sysvipc.
42290         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42291         __getshmlba helper.
42293         * sysdeps/sparc/fpu/libm-test/ulps: Update.
42295 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42297         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42298         [__LP64__].
42300 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42302         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42303         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42304         (__lround): Renamed to ...
42305         (__llround): This.  Replace long int with long long int.
42306         Define lround functions as aliases of llround functions.
42307         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42309 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42311         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42312         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
42313         adresses to uintptr_t.  Replace "long int" and "unsigned long
42314         int" with "greg_t" on va_arg.
42316 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42318         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42319         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42321         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42322         Move e_machine check before EI_CLASS check.  Handle x32
42323         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42324         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42325         SKIP_EM_IA_64 and include
42326         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42328         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42329         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42330         (add_system_dir): New macro.
42332         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42333         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42335 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42337         [BZ #2551]
42338         [BZ #2552]
42339         [BZ #2553]
42340         [BZ #2554]
42341         [BZ #2562]
42342         [BZ #2563]
42343         [BZ #2565]
42344         [BZ #2566]
42345         [BZ #2576]
42346         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42347         (y0): Likewise.
42348         * math/w_j0f.c (j0f): Likewise.
42349         (y0f): Likewise.
42350         * math/w_j0l.c (__j0l): Likewise.
42351         (__y0l): Likewise.
42352         * math/w_j1.c (j1): Likewise.
42353         (y1): Likewise.
42354         * math/w_j1f.c (j1f): Likewise.
42355         (y1f): Likewise.
42356         * math/w_j1l.c (__j1l): Likewise.
42357         (__y1l): Likewise.
42358         * math/w_jn.c (jn): Likewise.
42359         (yn): Likewise.
42360         * math/w_jnf.c (jnf): Likewise.
42361         (ynf): Likewise.
42362         * math/w_jnl.c (__jnl): Likewise.
42363         (__ynl): Likewise.
42364         * math/libm-test.inc (j0_test): Add more tests.
42365         (j1_test): Likewise.
42366         (jn_test): Likewise.  Add trailing semicolon to existing test.
42367         (y0_test): Likewise.
42368         (y1_test): Likewise.
42369         * sysdeps/i386/fpu/libm-test-ulps: Update.
42370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42372         [BZ #13851]
42373         [BZ #13854]
42374         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42375         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42376         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42377         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42378         (__tanl): Set errno for infinite argument.
42379         * sysdeps/i386/fpu/mptan.c: Remove.
42380         * sysdeps/i386/fpu/s_tan.S: Likewise.
42381         * sysdeps/i386/fpu/s_tanl.S: Likewise.
42382         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42383         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42384         * math/libm-test.inc (tan_test): Add more tests and enable more
42385         tests for double and long double.
42386         * sysdeps/i386/fpu/libm-test-ulps: Update.
42387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42389 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
42391         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42392         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42394 2012-03-16  Roland McGrath  <roland@hack.frob.com>
42396         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42397         * configure.in: Use it for both main tree and add-ons.
42398         * configure: Regenerated.
42400 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42402         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42404 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42406         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42407         in comment.
42409         [BZ #13851]
42410         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42411         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42412         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42413         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42414         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42415         infinite argument.
42416         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42417         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42418         != 0 for prec == 2.
42419         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42420         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42421         * sysdeps/i386/fpu/s_cosl.S: Likewise.
42422         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42423         * sysdeps/i386/fpu/s_sinl.S: Likewise.
42424         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42425         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42426         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42427         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42428         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42429         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42430         * math/libm-test.inc (cos_test): Add more tests and enable more
42431         tests for long double.
42432         (sin_test): Likewise.
42433         (sincos_test): Likewise.
42434         * sysdeps/i386/fpu/libm-test-ulps: Update.
42435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42437 2012-03-16  David S. Miller  <davem@davemloft.net>
42439         * sysdeps/sparc/fpu/math_private.h: New file.
42441 2012-03-15  David S. Miller  <davem@davemloft.net>
42443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42444         file.
42445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42447         file.
42448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42453         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42454         sysdep routines.
42455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42457         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42458         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42460         * sysdeps/sparc/sparc-ifunc.h: New file.
42461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42462         sparc-ifunc.h
42463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42465         Likewise.
42466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42467         Likewise.
42468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42472         Likewise.
42473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42478         Likewise.
42479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42480         Likewise.
42481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42487         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42488         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42493         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42499         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42500         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42501         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42502         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42503         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42504         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42506 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42508         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42509         scaling.
42510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42512 2012-03-15  Andreas Jaeger  <aj@suse.de>
42514         [BZ #13852]
42515         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42516         ieee754/flt-32 implementation for sin, cos and sincos.
42517         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42518         * sysdeps/i386/fpu/s_cosf.S: Likewise.
42519         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42520         * sysdeps/i386/fpu/s_sinf.S: Likewise.
42521         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42522         ieee754/flt-32 implementation for tan.
42524         * math/libm-test.inc (cos_test): Enable some large input tests for
42525         float as well
42526         (sin_test): Likewise.
42527         (sincos_test): Likewise.
42528         (tan_test): Add tests for large input.
42530         * sysdeps/i386/fpu/libm-test-ulps: Update.
42532 2012-03-15  Andreas Jaeger  <aj@suse.de>
42534         [BZ #13658]
42535         * math/libm-test.inc (cos_test): Add more test cases.
42536         (sin_test): Likewise.
42537         (sincos_test): Likewise.
42539 2012-03-15  Andreas Jaeger  <aj@suse.de>
42541         [BZ #13837]
42542         * math/libm-test.inc (cos_test): Add a test case for large input
42543         value.
42544         (sin_test): Likewise.
42545         (sincos_test): Likewise.
42547 2012-03-15  Andreas Jaeger  <aj@suse.de>
42548             Joseph Myers  <joseph@codesourcery.com>
42550         [BZ #13658]
42551         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42552         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42553         * sysdeps/i386/fpu/branred.c: Likewise.
42554         * sysdeps/i386/fpu/dosincos.c: Likewise.
42555         * sysdeps/i386/fpu/mpa.c: Likewise.
42556         * sysdeps/i386/fpu/s_cos.S: Likewise.
42557         * sysdeps/i386/fpu/s_sin.S: Likewise.
42558         * sysdeps/i386/fpu/s_sincos.S: Likewise.
42559         * sysdeps/i386/fpu/sincos32.c: Likewise.
42561         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42562         Define.
42563         (libc_feupdateenv_53bit): Define.
42564         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42565         Define.
42566         (libc_feupdateenv_53bit): Define.
42568         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42569         53 bit (without extend i386 double precision).
42571         * math/libm-test.inc (sincos_test): Add tests for large input.
42572         (sin): Likewise.
42573         (cos): Likewise.
42575         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42577 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42581 2012-03-15  David S. Miller  <davem@davemloft.net>
42583         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42584         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42585         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42586         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42591         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42599         file.
42600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42602         file.
42603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42605         file.
42606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42608         file.
42609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42610         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42611         fmin/fmax sysdep routines.
42612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42614 2012-03-14  David S. Miller  <davem@davemloft.net>
42616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42620         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42621         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42622         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42623         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42625         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42626         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42627         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42628         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42629         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42630         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42631         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42632         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42633         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42634         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42635         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42636         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42637         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42638         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42639         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42640         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42641         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42642         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42643         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42644         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42645         routines.
42646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42647         file.
42648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42650         file.
42651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42653         file.
42654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42656         file.
42657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42659         file.
42660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42662         file.
42663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42664         file.
42665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42666         file.
42667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42668         file.
42669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42670         New file.
42671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42672         file.
42673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42674         file.
42675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42677         file.
42678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42680         file.
42681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42683         file.
42684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42686         VIS3 routines.
42688         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42689         New file.
42691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42693         * sysdeps/sparc/configure.in: New file.
42694         * sysdeps/sparc/configure: Generate.
42695         * configure.in (libc_cv_sparc_as_vis3): Substitute.
42696         * configure: Regenerate.
42697         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42698         * config.make.in (have-as-vis3): New.
42699         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42700         available use -Av9d instead of -Av9a.
42701         * sysdeps/sparc/sparc64/Makefile: Likewise.
42702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42704         New file.
42705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42706         file.
42707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42708         New file.
42709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42710         file.
42711         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42712         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42713         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42714         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42715         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42717         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42718         fzeros/fnegs to load 0x80000000 into a float register instead of
42719         using the stack.
42720         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42722 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42724         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42725         bits/syscall.h.
42726         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42727         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42728         ($(inst_includedir)/bits/syscall.h): Remove rule.
42729         ($(objpfx)bits/syscall.d): Include instead of
42730         $(objpfx)syscall-list.d.
42731         (generated): Change syscall-list.h and syscall-list.d to
42732         bits/syscall.h and bits/syscall.d.
42734 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42736         [BZ #13846]
42737         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42739 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42741         [BZ #13841]
42742         * math/s_csqrt.c: Include <float.h>.
42743         (__csqrt): Scale large or subnormal inputs.
42744         * math/s_csqrtf.c: Likewise.
42745         * math/s_csqrtl.c: Likewise.
42746         * math/libm-test.inc (csqrt_test): Add more tests.
42747         * sysdeps/i386/fpu/libm-test-ulps: Update.
42748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42750         [BZ #13840]
42751         * math/libm-test.inc (hypot_test): Add more tests.
42753 2012-03-13  David S. Miller  <davem@davemloft.net>
42755         [BZ #13840]
42756         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42757         double-precision for the calculation instead of scaling.
42759 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42761         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42762         manipulate bits before adding and subtracting TWO52[sx].
42763         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42764         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42765         Likewise.
42766         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42768 2012-03-13  David S. Miller  <davem@davemloft.net>
42770         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42771         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42772         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42773         rtld-global-offsets.h
42774         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42776         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42777         large parameters.
42779         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42781         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42782         'err' in the ifdef scope in which it is actually used.
42784         * nss/nss_db/db-init.c: Include string.h
42786 2012-03-12  David S. Miller  <davem@davemloft.net>
42788         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42789         masking out of the most significant byte of random value used.
42790         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42791         Fix coding style in previous change.
42793         * sysdeps/unix/sysv/linux/kernel-features.h
42794         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42795         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42796         expression.
42797         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42798         later.
42800 2012-03-11  David S. Miller  <davem@davemloft.net>
42802         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42803         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42804         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42805         for 'resultvar' otherwise things get truncated on 64-bit.
42807         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42808         Fix masking out of the most significant byte of random value used.
42810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42812 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42816 2012-03-09  David S. Miller  <davem@davemloft.net>
42818         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42819         variables with appropriate CPP guards.
42820         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42821         from the frame pointer, not the stack pointer.  Correct layout
42822         comments.  Fix test on resulting framesize and the management of
42823         the outregs buffer for pltexit.  Preserve floating point return
42824         values across _dl_call_pltexit call.
42825         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42826         framesize and the management of the outregs buffer for pltexit.
42827         Preserve floating point return values across _dl_call_pltexit
42828         call.
42829         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42830         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42831         (la_sparc64_gnu_pltexit): New functions.
42832         (print_exit): Fix format string for return register value.
42834 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42836         * sunrpc/Makefile (others): Add rpcgen.
42837         ($(objpfx)rpcgen): Remove special build rule and dependency on
42838         libc.
42839         * sunrpc/rpcgen.c: New file.
42841 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42843         [BZ #13673]
42844         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42845         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42846         * sysdeps/i386/crti.S: Likewise.
42847         * sysdeps/i386/crtn.S: Likewise.
42848         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42849         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42850         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42851         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42852         * sysdeps/sh/crti.S: Likewise.
42853         * sysdeps/sh/crtn.S: Likewise.
42854         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42856         [BZ #13673]
42857         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42858         with URL.
42859         * locale/programs/locfile-kw.gperf: Likewise.
42860         * locale/programs/charmap-kw.h: Regenerated.
42861         * locale/programs/locfile-kw.h: Likewise.
42863         [BZ #13673]
42864         * intl/plural.y: Replace FSF snail mail address with URL.
42865         * intl/plural.c: Regenerated.
42867 2012-03-09  Richard Henderson  <rth@twiddle.net>
42869         * include/math_private.h: Remove file.
42870         * math/math_private.h: Move file ...
42871         * sysdeps/generic/math_private.h: ... here.
42873         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42874         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42875         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42877         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42878         and <math_private.h>.
42879         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42880         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42881         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42882         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42883         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42884         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42885         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42886         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42887         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42888         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42889         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42890         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42891         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42892         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42893         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42894         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42895         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42896         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42897         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42898         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42899         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42900         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42901         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42902         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42903         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42904         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42905         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42906         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42908         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42909         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42910         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42911         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42912         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42913         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42914         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42915         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42916         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42917         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42918         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42919         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42920         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42921         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42922         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42923         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42924         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42925         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42926         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42927         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42928         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42929         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42930         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42931         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42932         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42933         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42934         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42935         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42936         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42937         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42938         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42939         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42940         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42941         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42942         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42943         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42944         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42945         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42946         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42947         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42948         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42949         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42950         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42951         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42952         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42953         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42955         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42956         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42957         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42958         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42959         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42960         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42961         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42962         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42963         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42964         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42965         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42966         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42967         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42968         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42969         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42970         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42971         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42972         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42973         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42974         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42975         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42976         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42977         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42978         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42979         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42980         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42981         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42982         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42983         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42984         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42985         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42986         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42987         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42988         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42989         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42990         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42991         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42992         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42993         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42994         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42995         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42996         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42997         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42998         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42999         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43000         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43001         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43002         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43003         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43004         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43005         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43006         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43007         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43008         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43009         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43010         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43011         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43012         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43013         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43014         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43015         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43016         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43017         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43018         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43019         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43020         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43021         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43022         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43023         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43024         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43025         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43026         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43027         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43028         * sysdeps/ieee754/k_standard.c: Likewise.
43029         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43030         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43031         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43032         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43033         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43034         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43035         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43036         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43037         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43038         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43039         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43040         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43041         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43042         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43043         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43044         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43045         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43046         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43047         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43048         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43049         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43050         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43051         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43052         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43053         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43054         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43055         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43056         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43057         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43058         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43059         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43060         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43061         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43062         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43063         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43064         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43065         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43066         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43067         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43068         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43069         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43070         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43071         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43072         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43073         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43074         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43075         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43076         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43077         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43078         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43079         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43080         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43081         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43082         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43083         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43084         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43085         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43086         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43087         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43088         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43089         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43090         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43091         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43092         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43093         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43094         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43095         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43096         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43097         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43098         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43099         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43100         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43101         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43102         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43103         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43104         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43105         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43106         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43107         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43108         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43109         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43110         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43111         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43112         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43113         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43114         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43115         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43116         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43117         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43119         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43120         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43121         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43122         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43123         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43124         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43125         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43126         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43127         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43128         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43129         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43130         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43131         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43132         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43133         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43134         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43135         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43136         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43137         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43138         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43139         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43140         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43141         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43142         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43143         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43144         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43145         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43146         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43147         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43148         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43149         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43150         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43151         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43152         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43153         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43154         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43155         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43156         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43157         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43158         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43159         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43160         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43161         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43162         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43163         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43164         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43165         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43166         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43167         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43168         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43169         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43170         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43171         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43172         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43173         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43174         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43175         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43176         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43177         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43178         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43179         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43180         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43181         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43182         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43183         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43184         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43185         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43186         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43187         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43188         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43189         * sysdeps/ieee754/s_lib_version.c: Likewise.
43190         * sysdeps/ieee754/s_matherr.c: Likewise.
43191         * sysdeps/ieee754/s_signgam.c: Likewise.
43192         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43193         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43194         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43195         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43196         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43197         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43198         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43199         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43200         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43201         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43202         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43203         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43204         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43205         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43206         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43207         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43208         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43209         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43210         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43211         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43212         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43214 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43216         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43217         * sunrpc/rpc_main.c: Likewise.
43218         * sunrpc/rpc_svcout.c: Likewise.
43220 2012-03-09  David S. Miller  <davem@davemloft.net>
43222         * include/math_private.h: New file.
43224 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43226         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43227         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43228         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43229         from <bits/socket_type.h>.
43230         (enum __socket_type): Don't define here.
43231         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43233         bits/socket_type.h.
43235         [BZ #13566]
43236         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43237         checking __USE_GNU.
43239         * Makerules ($(inst_includedir)/%.h): New rule.
43240         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43241         (install-others): Remove variable setting.
43242         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43244 2012-03-08  Richard Henderson  <rth@twiddle.net>
43246         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43247         from macro to inline function; merge with the
43248         !__LIBC_INTERNAL_MATH_INLINES version.
43249         (__ieee754_sqrtf): Likewise.
43251         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43252         to inline function.
43253         (__rintf, __floor, __floorf): Likewise.
43255         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43256         macro to inline function.
43257         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43259         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43260         not <math/math_private.h>.
43262 2012-03-08  David S. Miller  <davem@davemloft.net>
43264         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43265         copyright year.
43266         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43268 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
43270         * resolv/gai_misc.c (handle_requests): Fix struct timespec
43271         normalization.
43272         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43273         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43275 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
43277         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
43278         be defined individually, they must be defined as a block.  Define
43279         S for printing a string instead of hidint the different by using a
43280         macro for adding the 'l'.
43281         * stdio-common/tst-fphex-wide.c: Adjust.
43283 2012-03-07  Marek Polacek  <polacek@redhat.com>
43285         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43287 2012-03-08  Marek Polacek  <polacek@redhat.com>
43289         [BZ #13806]
43290         * stdio-common/Makefile (tests): Add tst-fphex-wide.
43291         * stdio-common/tst-fphex.c: Define a few macros to make the
43292         test reusable.  Use them.
43293         * stdio-common/tst-fphex-wide.c: New file.
43295 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
43297         [BZ #6911]
43298         * manual/macros.texi (gnusystems): New macro.
43299         (nongnusystems): Likewise.
43300         (gnulinuxhurdsystems): Likewise.
43301         (gnuhurdsystems): Likewise..
43302         (gnulinuxsystems): Likewise.
43303         * manual/charset.texi: Use new macros or @theglibc{} to refer to
43304         variants of the GNU system, not "GNU system".
43305         * manual/conf.texi: Likewise.
43306         * manual/errno.texi: Likewise.  Update example of errno macro
43307         expansion.
43308         * manual/filesys.texi: Likewise.
43309         (getumask): Document as specific to GNU/Hurd.
43310         * manual/install.texi: Likewise.  Reword some references to
43311         GNU/Linux.
43312         * manual/intro.texi: Likewise.
43313         * manual/io.texi: Likewise.
43314         (File Name Portability): Detail which constraints are inapplicable
43315         to all GNU systems and which are only inapplicable to GNU/Hurd.
43316         * manual/job.texi: Likewise.
43317         * manual/llio.texi: Likewise.
43318         (O_NOCTTY): Document as present on GNU/Linux.
43319         * manual/maint.texi: Likewise.
43320         * manual/memory.texi: Likewise.
43321         * manual/pattern.texi: Likewise.
43322         * manual/pipe.texi: Likewise.
43323         * manual/process.texi: Likewise.
43324         * manual/resource.texi: Likewise.
43325         (RUSAGE_CHILDREN): Remove statement about specifying a particular
43326         child on GNU/Hurd.
43327         * manual/setjmp.texi: Likewise.
43328         * manual/signal.texi: Likewise.
43329         * manual/startup.texi: Likewise.
43330         * manual/stdio.texi: Likewise.
43331         * manual/terminal.texi: Likewise.
43332         (ONLCR): Document as POSIX.
43333         (OXTABS): Document availability on GNU/Linux as XTABS.
43334         (ONOEOT): Document availability separately from other bits.
43335         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43336         * manual/time.texi: Likewise.
43337         * manual/users.texi: Likewise.
43338         * INSTALL: Regenerated.
43339         * sysdeps/gnu/errlist.c: Regenerated.
43341         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43342         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43343         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
43344         puts.
43345         * configure: Regenerated.
43347 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
43349         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43350         default includes instead of AC_HEADER_CHECK.
43351         * sysdeps/i386/configure: Regenerated.
43353         [BZ #10716]
43354         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43355         * math/s_cacoshf.c (__cacoshf): Likewise.
43356         * math/s_cacoshl.c (__cacoshl): Likewise.
43357         * math/s_casinh.c (__casinh): Set signs of result from argument.
43358         * math/s_casinhf.c (__casinhf): Likewise.
43359         * math/s_casinhl.c (__casinhl): Likewise.
43360         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43361         (casinh_test): Add more tests.
43362         * sysdeps/i386/fpu/libm-test-ulps: Update.
43363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43365 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
43367         * po/zh_TW.po: Update from translation team.
43369         * login/Makefile (distribute): Remove variable.
43370         * catgets/Makefile: Likewise.
43371         * mach/Makefile: Likewise.
43372         * malloc/Makefile: Likewise.
43373         * misc/Makefile: Likewise.
43374         * iconv/Makefile: Likewise.
43375         * nscd/Makefile: Likewise.
43376         * hurd/Makefile: Likewise.
43377         * manual/Makefile: Likewise.
43378         * locale/Makefile: Likewise.
43379         * intl/Makefile: Likewise.
43380         * conform/Makefile: Likewise.
43381         * nss/Makefile: Likewise.
43382         * time/Makefile: Likewise.
43383         * soft-fp/Makefile: Likewise.
43384         * dirent/Makefile: Likewise.
43385         * gmon/Makefile: Likewise.
43386         * po/Makefile: Likewise.
43387         * rt/Makefile: Likewise.
43388         * socket/Makefile: Likewise.
43389         * math/Makefile: Likewise.
43390         * signal/Makefile: Likewise.
43391         * debug/Makefile: Likewise.
43392         * elf/Makefile: Likewise.
43393         * timezone/Makefile: Likewise.
43394         * stdlib/Makefile: Likewise.
43395         * iconvdata/Makefile: Likewise.
43396         * sunrpc/Makefile: Likewise.
43397         * io/Makefile: Likewise.
43398         * argp/Makefile: Likewise.
43399         * inet/Makefile: Likewise.
43400         * hesiod/Makefile: Likewise.
43401         * grp/Makefile: Likewise.
43402         * csu/Makefile: Likewise.
43403         * wctype/Makefile: Likewise.
43404         * crypt/Makefile: Likewise.
43405         * libio/Makefile: Likewise.
43406         * string/Makefile: Likewise.
43407         * nis/Makefile: Likewise.
43408         * resolv/Makefile: Likewise.
43409         * stdio-common/Makefile: Likewise.
43410         * wcsmbs/Makefile: Likewise.
43411         * dlfcn/Makefile: Likewise.
43412         * posix/Makefile: Likewise.
43414         [BZ #6959]
43415         * timezone/Makefile: Don't install timezone files, just the programs
43416         and scripts.
43418 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
43420         * nss/databases.def: Add missing gshadow entry.
43422         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
43424 2012-03-06  Marek Polacek  <polacek@redhat.com>
43426         [BZ #13726]
43427         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43428         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43429         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43430         * stdio-common/tst-long-dbl-fphex.c: New file.
43432 2012-03-06  David S. Miller  <davem@davemloft.net>
43434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43435         (set_obp_int): New function.
43436         (get_obp_int): New function.
43437         (__get_clockfreq_via_dev_openprom): Likewise.
43438         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43439         Avoid unused variable warnings on 'val' and use builtin_expect.
43440         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43441         __builtin_expect.
43442         (INLINE_CLONE_SYSCALL): Likewise.
43444 2012-03-05  David S. Miller  <davem@davemloft.net>
43446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43448 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
43450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43452         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43453         only for |x| >= 40.
43454         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43456 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
43458         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43459         Replace gettimeofday with __vdso_gettimeofday.
43461         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43462         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43463         __vdso_clock_gettime and __vdso_getcpu.
43465         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43466         time with __vdso_time.
43468 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43470         * manual/lang.texi (size_t): Note types to which size_t may be
43471         equivalent with the GNU C Library, but do not describe when
43472         differences between them are significant.
43474 2012-03-05  Andreas Jaeger  <aj@suse.de>
43476         * sysdeps/i386/fpu/libm-test-ulps: Update.
43478 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43480         [BZ #3976]
43481         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43482         (__ieee754_pow): Save and restore rounding mode and use
43483         round-to-nearest for main computations.
43484         * math/libm-test.inc (pow_test_tonearest): New function.
43485         (pow_test_towardzero): Likewise.
43486         (pow_test_downward): Likewise.
43487         (pow_test_upward): Likewise.
43488         (main): Call the new functions.
43489         * sysdeps/i386/fpu/libm-test-ulps: Update.
43490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43492         [BZ #3976]
43493         * math/libm-test.inc (cosh_test_tonearest): New function.
43494         (cosh_test_towardzero): Likewise.
43495         (cosh_test_downward): Likewise.
43496         (cosh_test_upward): Likewise.
43497         (sinh_test_tonearest): Likewise.
43498         (sinh_test_towardzero): Likewise.
43499         (sinh_test_downward): Likewise.
43500         (sinh_test_upward): Likewise.
43501         (main): Call the new functions.
43502         * sysdeps/i386/fpu/libm-test-ulps: Update.
43503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43505 2012-03-05  Tom de Vries  <tom@codesourcery.com>
43507         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43508         default stack guard is set in last bytes.
43509         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43511 2012-03-05  Kees Cook  <keescook@chromium.org>
43513         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43515         [BZ #13656]
43516         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43517         possibly allocate from heap instead of stack.
43518         * stdio-common/bug-vfprintf-nargs.c: New file.
43519         * stdio-common/Makefile (tests): Add nargs overflow test.
43521 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
43523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43525 2012-03-03  Marek Polacek  <polacek@redhat.com>
43527         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43528         * math/math_private.h: Likewise.
43529         * stdlib/tst-strtod.c: Likewise.
43530         * sysdeps/i386/i486/bits/atomic.h: Likewise.
43531         * sysdeps/x86_64/bits/atomic.h: Likewise.
43533 2012-03-02  David S. Miller  <davem@davemloft.net>
43535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43539         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43540         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43541         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43542         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43544 2012-03-02  Roland McGrath  <roland@hack.frob.com>
43546         [BZ #13792]
43547         * manual/examples/README: New file, says the example source files
43548         can be used under GPL>=2.
43549         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43550         line containing just "*/".
43551         * manual/examples/add.c: Add copyright header (GPL>=2).
43552         * manual/examples/argp-ex1.c: Likewise.
43553         * manual/examples/argp-ex2.c: Likewise.
43554         * manual/examples/argp-ex3.c: Likewise.
43555         * manual/examples/argp-ex4.c: Likewise.
43556         * manual/examples/atexit.c: Likewise.
43557         * manual/examples/db.c: Likewise.
43558         * manual/examples/dir.c: Likewise.
43559         * manual/examples/dir2.c: Likewise.
43560         * manual/examples/execinfo.c: Likewise.
43561         * manual/examples/filecli.c: Likewise.
43562         * manual/examples/filesrv.c: Likewise.
43563         * manual/examples/fmtmsgexpl.c: Likewise.
43564         * manual/examples/genpass.c: Likewise.
43565         * manual/examples/inetcli.c: Likewise.
43566         * manual/examples/inetsrv.c: Likewise.
43567         * manual/examples/isockad.c: Likewise.
43568         * manual/examples/longopt.c: Likewise.
43569         * manual/examples/memopen.c: Likewise.
43570         * manual/examples/memstrm.c: Likewise.
43571         * manual/examples/mkfsock.c: Likewise.
43572         * manual/examples/mkisock.c: Likewise.
43573         * manual/examples/mygetpass.c: Likewise.
43574         * manual/examples/pipe.c: Likewise.
43575         * manual/examples/popen.c: Likewise.
43576         * manual/examples/rprintf.c: Likewise.
43577         * manual/examples/search.c: Likewise.
43578         * manual/examples/select.c: Likewise.
43579         * manual/examples/setjmp.c: Likewise.
43580         * manual/examples/sigh1.c: Likewise.
43581         * manual/examples/sigusr.c: Likewise.
43582         * manual/examples/stpcpy.c: Likewise.
43583         * manual/examples/strdupa.c: Likewise.
43584         * manual/examples/strftim.c: Likewise.
43585         * manual/examples/strncat.c: Likewise.
43586         * manual/examples/subopt.c: Likewise.
43587         * manual/examples/swapcontext.c: Likewise.
43588         * manual/examples/termios.c: Likewise.
43589         * manual/examples/testopt.c: Likewise.
43590         * manual/examples/testpass.c: Likewise.
43591         * manual/examples/timeval_subtract.c: Likewise.
43593         [BZ #13792]
43594         * manual/time.texi (Elapsed Time): Move timeval_subtract example
43595         function to ...
43596         * manual/timeval_subtract.c.texi: ... here, new file.
43598 2012-03-02  David S. Miller  <davem@davemloft.net>
43600         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43602 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
43604         [BZ #3976]
43605         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43606         (__sin): Save and restore rounding mode and use round-to-nearest
43607         for all computations.
43608         (__cos): Save and restore rounding mode and use round-to-nearest
43609         for all computations.
43610         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43611         <fenv.h>.
43612         (tan): Save and restore rounding mode and use round-to-nearest for
43613         all computations.
43614         * math/libm-test.inc (cos_test_tonearest): New function.
43615         (cos_test_towardzero): Likewise.
43616         (cos_test_downward): Likewise.
43617         (cos_test_upward): Likewise.
43618         (sin_test_tonearest): Likewise.
43619         (sin_test_towardzero): Likewise.
43620         (sin_test_downward): Likewise.
43621         (sin_test_upward): Likewise.
43622         (tan_test_tonearest): Likewise.
43623         (tan_test_towardzero): Likewise.
43624         (tan_test_downward): Likewise.
43625         (tan_test_upward): Likewise.
43626         (main): Call the new functions.
43627         * sysdeps/i386/fpu/libm-test-ulps: Update.
43628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43630         [BZ #10135]
43631         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43632         small n, then large n, before computing and testing k+n.
43633         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43634         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43635         Likewise.
43636         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43637         Likewise.
43638         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43639         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43640         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43641         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43642         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43643         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43644         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43645         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43646         * math/libm-test.inc (scalbn_test): Add more tests.
43647         (scalbln_test): Likewise.
43649         * manual/filesys.texi (mode_t): Describe constraints on size and
43650         signedness, not exact equivalence to a particular type.
43651         (ino_t): Likewise.
43652         (ino64_t): Likewise.
43653         (dev_t): Likewise.
43654         (nlink_t): Likewise.
43655         (blkcnt_t): Likewise.
43656         (blkcnt64_t): Likewise.
43657         * manual/llio.texi (off_t): Likewise.
43659         [BZ #3976]
43660         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43661         (__ieee754_exp): Save and restore rounding mode and use
43662         round-to-nearest for all computations.
43663         * math/libm-test.inc (exp_test_tonearest): New function.
43664         (exp_test_towardzero): Likewise.
43665         (exp_test_downward): Likewise.
43666         (exp_test_upward): Likewise.
43667         (main): Call the new functions.
43668         * sysdeps/i386/fpu/libm-test-ulps: Update.
43669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43671 2012-03-01  Chris Demetriou  <cgd@google.com>
43673         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43674         have predictable order.
43676 2012-03-01  David S. Miller  <davem@davemloft.net>
43678         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43680         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43681         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43682         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43683         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43685         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43686         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43687         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43689         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43690         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43691         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43692         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43693         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43697         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43698         * sysdeps/sparc/fpu/libm-test-ulps: to here.
43699         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43701         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43702         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43703         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43704         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43705         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43706         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43707         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43708         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43709         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43710         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43711         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43712         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43713         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43714         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43715         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43717         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43718         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43719         * sysdeps/sparc/elf/configure: Regenerated.
43721 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43723         * configure.in (AS, LD): Require binutils 2.20 or later.
43724         * configure: Regenerated.
43725         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43726         as required minimum version.
43727         * INSTALL: Regenerated.
43729         [BZ #2541]
43730         [BZ #4108]
43731         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43732         before squaring exponent.
43733         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43734         bottom long double and 27 bits of top long double before squaring
43735         exponent.
43736         * math/libm-test.inc (erfc_test): Add more tests.
43737         * sysdeps/i386/fpu/libm-test-ulps: Update.
43738         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43741 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43743         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43744         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43745         containing bit-fields.
43746         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43747         * soft-fp/single.h (_FP_UNION_S): Likewise.
43748         * soft-fp/double.h (_FP_UNION_D): Likewise.
43750 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43752         [BZ #13786]
43753         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43754         not include ../strcmp.S.
43755         [USE_AS_STRNCASECMP_L]: Likewise.
43756         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43757         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43758         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43759         (__strncasecmp_l_ia32): Define as alias to
43760         __strncasecmp_l_nonascii.
43762         [BZ #5794]
43763         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43764         * sysdeps/i386/fpu/libm-test-ulps: Update.
43765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43767         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43770 2012-02-29  Jeff Law  <law@redhat.com>
43772         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43773         out of bounds read.
43775 2012-02-29  Marek Polacek  <polacek@redhat.com>
43777         [BZ #13706]
43778         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43779         * elf/Makefile: Add rules to run tst-unused-dep.out.
43781 2012-02-28  David S. Miller  <davem@davemloft.net>
43783         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43784         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43785         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43786         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43787         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43788         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43790 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43792         * math/libm-test.inc (llround_test): Move one test from
43793         lround_test.  Use TEST_f_L in moved test.
43794         (lround_test): Move misplaced test to llround_test.  Add testcase
43795         from bug 2561.
43797 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43799         * sysdeps/x86_64/fpu/e_expf.S: New file.
43800         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43802 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43804         [BZ #13637]
43805         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43806         of remain_len that may cause incomplete multi-byte character and
43807         false match.
43808         * posix/bug-regex33.c: New file.
43809         * posix/Makefile (tests): Add bug-regex33.
43811 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43813         * manual/macros.texi: New file.
43814         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43815         * manual/libc.texinfo: Include macros.texi.
43816         * manual/creatute.texi: Likewise.
43817         * manual/install.texi: Likewise.
43818         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43819         @glibcadj{} in references to the GNU C Library.
43820         * manual/charset.texi: Likewise.
43821         * manual/conf.texi: Likewise.
43822         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43823         when not using those macros.
43824         * manual/creature.texi: Likewise.
43825         * manual/crypt.texi: Likewise.
43826         * manual/errno.texi: Likewise.
43827         * manual/filesys.texi: Likewise.
43828         * manual/header.texi: Likewise.
43829         * manual/install.texi: Likewise.
43830         * manual/intro.texi: Likewise.
43831         * manual/io.texi: Likewise.
43832         * manual/job.texi: Likewise.
43833         * manual/lang.texi: Likewise.
43834         * manual/libc.texiinfo: Likewise.
43835         * manual/llio.texi: Likewise.
43836         * manual/locale.texi: Likewise.
43837         * manual/maint.texi: Likewise.
43838         * manual/math.texi: Likewise.
43839         * manual/memory.texi: Likewise.
43840         * manual/message.texi: Likewise.
43841         * manual/nss.texi: Likewise.
43842         * manual/pattern.texi: Likewise.
43843         * manual/process.texi: Likewise.
43844         * manual/resource.texi: Likewise.
43845         * manual/search.texi: Likewise.
43846         * manual/setjmp.texi: Likewise.
43847         * manual/signal.texi: Likewise.
43848         * manual/socket.texi: Likewise.
43849         * manual/startup.texi: Likewise.
43850         * manual/stdio.texi: Likewise.
43851         * manual/string.texi: Likewise.
43852         * manual/sysinfo.texi: Likewise.
43853         * manual/syslog.texi: Likewise.
43854         * manual/terminal.texi: Likewise.
43855         * manual/time.texi: Likewise.
43856         * manual/users.texi: Likewise.
43857         * INSTALL: Regenerated.
43858         * NOTES: Regenerated.
43859         * sysdeps/gnu/errlist.c: Regenerated.
43861 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43863         * include/dirent.h: Include <dirstream.h> before
43864         <dirent/dirent.h>.
43866 2012-02-28  David S. Miller  <davem@davemloft.net>
43868         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43869         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43870         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43871         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43873 2012-02-27  David S. Miller  <davem@davemloft.net>
43875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43877         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43878         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43881         frame pointer instead of stack pointer relative arg slot.
43882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43883         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43884         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43886 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43888         [BZ #3992]
43889         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43891 2012-02-27  David S. Miller  <davem@davemloft.net>
43893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43897         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43898         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43899         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43900         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43902 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43904         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43905         later.  Allow versions 5-9.
43906         * configure: Regenerated.
43907         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43908         required minimum version and 4.6 as recommended version.  Do not
43909         mention bugs in GCC 2.7 and 2.8.
43910         * INSTALL: Regenerated.
43912 2012-02-27  David S. Miller  <davem@davemloft.net>
43914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43918         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43919         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43920         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43921         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43924         manipulate bits before adding and subtracting TWO112[sx].
43925         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43927 2012-02-27  Roland McGrath  <roland@hack.frob.com>
43929         [BZ #13775]
43930         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43931         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43932         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43933         being in POSIX, because they are in 1003.1-2008.
43935         * rt/tst-aio.c: Include <fcntl.h>.
43936         * rt/tst-aio7.c: Likewise.
43937         * rt/tst-aio64.c: Likewise.
43939         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43941 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43943         * manual/install.texi (--with-headers): Describe headers as
43944         interface headers, not private headers.
43945         (Specific advice for GNU/Linux systems): Describe use of headers
43946         from "make headers_install", not private headers from older
43947         kernels.
43948         * INSTALL: Regenerated.
43949         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43950         Change to 2.6.19.
43951         * sysdeps/unix/sysv/linux/configure: Regenerated.
43953         * manual/llio.texi (fclean): Remove documentation.
43955         * manual/Makefile (libc-texi-generated): New variable.  Include
43956         version.texi.
43957         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43958         $(libc-texi-generated), not duplicated list of files.
43959         (version.texi, stamp-version): New rules.
43960         (realclean): Remove $(libc-texi-generated), not individual files
43961         from that list.  Do not remove dir-add.texinfo.
43962         * manual/libc.texinfo: Comment out uses of edition numbers and
43963         references to printed manual.  Remove last-updated dates.
43964         (EDITION): Comment out.
43965         (ISBN): Likewise.
43966         (VERSION, UPDATED): Remove.
43967         (version.texi): Include.
43969 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
43971         * sysdeps/posix/spawni.c: Include <signal.h>.
43972         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43973         * sysdeps/pthread/aio_fsync.c: Likewise.
43975 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
43977         * conform/Makefile (tests): Run only when not cross-compiling and
43978         when fast-check is not defined.
43980         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43981         * conform/data/limits.h-data: Fixes for POSIX2008.
43982         * conform/run-conformtest.sh: Run all tests.
43983         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43984         headers.
43985         * include/bits/dlfcn.h: Likewise.
43986         * include/langinfo.h: Likewise.
43987         * include/monetary.h: Likewise.
43988         * include/sys/poll.h: Likewise.
43990         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43991         for __USE_GNU.
43992         * posix/spawn.h: Define __need_sigset_t.
43993         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43994         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43995         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
43996         to get sigevent_t only.
43997         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43998         only for __USE_GNU.
43999         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44000         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44001         process_vm_writev only for __USE_GNU.
44002         * termios/termios.h: Declare tcgetsid also for POSIX2008.
44004         * conform/Makefile: For now ignore errors from run-conformtest.
44005         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
44006         POSIX to avoid namespace pollution.  Don't prepend headers.
44007         * conform/data/aio.h-data: Fixes for POSIX testing.
44008         * conform/data/fcntl.h-data: Likewise.
44009         * conform/data/glob.h-data: Likewise.
44010         * conform/data/grp.h-data: Likewise.
44011         * conform/data/pthread.h-data: Likewise.
44012         * conform/data/pwd.h-data: Likewise.
44013         * conform/data/signal.h-data: Likewise.
44014         * conform/data/spawn.h-data: Likewise.
44015         * conform/data/stdio.h-data: Likewise.
44016         * conform/data/stdlib.h-data: Likewise.
44017         * conform/data/stropts.h-data: Likewise.
44018         * conform/data/sys/mman.h-data: Likewise.
44019         * conform/data/sys/stat.h-data: Likewise.
44020         * conform/data/sys/types.h-data: Likewise.
44021         * conform/data/sys/wait.h-data: Likewise.
44022         * conform/data/time.h-data: Likewise.
44023         * conform/data/unistd.h-data: Likewise.
44024         * conform/data/utime.h-data: Likewise.
44026         * io/sys/stat.h: fchmod was always in POSIX.
44027         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44028         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44029         * rt/aio.h: Define __need_timespec before including <time.h>.
44030         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44031         struct.  Add forward declaration of pthread_attr_t and use it in
44032         sigevent.
44033         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44034         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44035         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44036         always remove CLK_TCK definition.
44038 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
44040         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44042 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
44044         * conform/run-conformtest.sh: New file.
44045         * conform/Makefile: Run run-conformtest for tests.
44046         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
44047         support.
44049         * conform/data/uchar.h-data: New file.
44050         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44051         * conform/data/arpa/inet.h-data: Likewise.
44052         * conform/data/assert.h-data: Likewise.
44053         * conform/data/complex.h-data: Likewise.
44054         * conform/data/cpio.h-data: Likewise.
44055         * conform/data/ctype.h-data: Likewise.
44056         * conform/data/dirent.h-data: Likewise.
44057         * conform/data/dlfcn.h-data: Likewise.
44058         * conform/data/errno.h-data: Likewise.
44059         * conform/data/fcntl.h-data: Likewise.
44060         * conform/data/float.h-data: Likewise.
44061         * conform/data/fmtmsg.h-data: Likewise.
44062         * conform/data/fnmatch.h-data: Likewise.
44063         * conform/data/ftw.h-data: Likewise.
44064         * conform/data/glob.h-data: Likewise.
44065         * conform/data/grp.h-data: Likewise.
44066         * conform/data/iconv.h-data: Likewise.
44067         * conform/data/inttypes.h-data: Likewise.
44068         * conform/data/langinfo.h-data: Likewise.
44069         * conform/data/libgen.h-data: Likewise.
44070         * conform/data/limits.h-data: Likewise.
44071         * conform/data/locale.h-data: Likewise.
44072         * conform/data/math.h-data: Likewise.
44073         * conform/data/monetary.h-data: Likewise.
44074         * conform/data/mqueue.h-data: Likewise.
44075         * conform/data/ndbm.h-data: Likewise.
44076         * conform/data/net/if.h-data: Likewise.
44077         * conform/data/netdb.h-data: Likewise.
44078         * conform/data/netinet/in.h-data: Likewise.
44079         * conform/data/nl_types.h-data: Likewise.
44080         * conform/data/poll.h-data: Likewise.
44081         * conform/data/pthread.h-data: Likewise.
44082         * conform/data/pwd.h-data: Likewise.
44083         * conform/data/regex.h-data: Likewise.
44084         * conform/data/sched.h-data: Likewise.
44085         * conform/data/search.h-data: Likewise.
44086         * conform/data/semaphore.h-data: Likewise.
44087         * conform/data/setjmp.h-data: Likewise.
44088         * conform/data/signal.h-data: Likewise.
44089         * conform/data/spawn.h-data: Likewise.
44090         * conform/data/stdarg.h-data: Likewise.
44091         * conform/data/stdio.h-data: Likewise.
44092         * conform/data/stdlib.h-data: Likewise.
44093         * conform/data/string.h-data: Likewise.
44094         * conform/data/strings.h-data: Likewise.
44095         * conform/data/stropts.h-data: Likewise.
44096         * conform/data/sys/ipc.h-data: Likewise.
44097         * conform/data/sys/mman.h-data: Likewise.
44098         * conform/data/sys/msg.h-data: Likewise.
44099         * conform/data/sys/resource.h-data: Likewise.
44100         * conform/data/sys/select.h-data: Likewise.
44101         * conform/data/sys/sem.h-data: Likewise.
44102         * conform/data/sys/shm.h-data: Likewise.
44103         * conform/data/sys/socket.h-data: Likewise.
44104         * conform/data/sys/stat.h-data: Likewise.
44105         * conform/data/sys/statvfs.h-data: Likewise.
44106         * conform/data/sys/time.h-data: Likewise.
44107         * conform/data/sys/timeb.h-data: Likewise.
44108         * conform/data/sys/times.h-data: Likewise.
44109         * conform/data/sys/types.h-data: Likewise.
44110         * conform/data/sys/uio.h-data: Likewise.
44111         * conform/data/sys/un.h-data: Likewise.
44112         * conform/data/sys/utsname.h-data: Likewise.
44113         * conform/data/sys/wait.h-data: Likewise.
44114         * conform/data/syslog.h-data: Likewise.
44115         * conform/data/tar.h-data: Likewise.
44116         * conform/data/termios.h-data: Likewise.
44117         * conform/data/utime.h-data: Likewise.
44118         * conform/data/utmpx.h-data: Likewise.
44119         * conform/data/varargs.h-data: Likewise.
44120         * conform/data/wchar.h-data: Likewise.
44121         * conform/data/wctype.h-data: Likewise.
44122         * conform/data/wordexp.h-data: Likewise.
44124         * include/stropts.h: New file.
44125         * include/uchar.h: New file.
44126         * include/aio.h: Changes to allow conformtest.pl to use the headers.
44127         * include/assert.h: Likewise.
44128         * include/ctype.h: Likewise.
44129         * include/dirent.h: Likewise.
44130         * include/dlfcn.h: Likewise.
44131         * include/fcntl.h: Likewise.
44132         * include/fnmatch.h: Likewise.
44133         * include/glob.h: Likewise.
44134         * include/grp.h: Likewise.
44135         * include/libio.h: Likewise.
44136         * include/locale.h: Likewise.
44137         * include/math.h: Likewise.
44138         * include/net/if.h: Likewise.
44139         * include/netdb.h: Likewise.
44140         * include/netinet/in.h: Likewise.
44141         * include/pthread.h: Likewise.
44142         * include/pwd.h: Likewise.
44143         * include/regex.h: Likewise.
44144         * include/sched.h: Likewise.
44145         * include/search.h: Likewise.
44146         * include/setjmp.h: Likewise.
44147         * include/signal.h: Likewise.
44148         * include/stdio.h: Likewise.
44149         * include/stdlib.h: Likewise.
44150         * include/string.h: Likewise.
44151         * include/sys/cdefs.h: Likewise.
44152         * include/sys/mman.h: Likewise.
44153         * include/sys/msg.h: Likewise.
44154         * include/sys/resource.h: Likewise.
44155         * include/sys/select.h: Likewise.
44156         * include/sys/socket.h: Likewise.
44157         * include/sys/stat.h: Likewise.
44158         * include/sys/statvfs.h: Likewise.
44159         * include/sys/time.h: Likewise.
44160         * include/sys/times.h: Likewise.
44161         * include/sys/uio.h: Likewise.
44162         * include/sys/utsname.h: Likewise.
44163         * include/sys/wait.h: Likewise.
44164         * include/termios.h: Likewise.
44165         * include/time.h: Likewise.
44166         * include/ulimit.h: Likewise.
44167         * include/unistd.h: Likewise.
44168         * include/utime.h: Likewise.
44169         * include/wchar.h: Likewise.
44170         * include/wctype.h: Likewise.
44171         * include/wordexp.h: Likewise.
44173         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44175         * time/time.h: TIME_UTC must be a macro.
44176         Make timespec_get available for ISO C11 only as well.
44178 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
44180         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44181         Reported by Peng Haitao <penght@cn.fujitsu.com>.
44183 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44185         * configure.in: Use -o not -a in test for unsupported multi-arch.
44187 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44189         * manual/texinfo.tex: Update to version 2012-01-19.16.
44191 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44193         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44195 2012-02-24  Roland McGrath  <roland@hack.frob.com>
44197         [BZ #13738]
44198         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44199         * manual/fdl-1.3.texi: New file.
44200         * manual/fdl-1.1.texi: File removed.
44202         [BZ #13738]
44203         * manual/libc.texinfo (FDL_VERSION): New @set.
44204         Use it for mention of FDL in cover text.
44205         (Documentation License): Use it in @include file name.
44207 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44208             Roland McGrath  <roland@hack.frob.com>
44210         [BZ #5461]
44211         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44212         (not LONG_LONG_MAX and LONG_LONG_MIN.
44213         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44214         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
44215         name.
44216         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44218 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44220         [BZ #2547]
44221         [BZ #11365]
44222         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44223         manipulate bits before adding and subtracting TWO23[sx].
44224         * math/libm-test.inc (nearbyint_test): Add more tests.
44226 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44228         [BZ #2548]
44229         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44230         bits before adding and subtracting TWO23[sx].
44231         * math/libm-test.inc (rint_test): Add more tests.
44232         (rint_test_tonearest): Likewise.
44233         (rint_test_towardzero): Likewise.
44234         (rint_test_downward): Likewise.
44235         (rint_test_upward: Likewise.
44237 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44239         [BZ #10110]
44240         * include/stdc-predef.h: New file.  Extracted from features.h.
44241         * include/features.h: Include stdc-predef.h.
44242         * Makefile (headers): Add stdc-predef.h.
44243         * CONFORMANCE (Compiler limitations): Update.
44245 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44247         * manual/libc.texinfo (VERSION, UPDATED): Revert.
44249 2012-02-21  David S. Miller  <davem@davemloft.net>
44251         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44252         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44254 2012-02-20  David S. Miller  <davem@davemloft.net>
44256         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44257         using a normal save/restore sequence, rather than allocating a
44258         dummy stack frame just to store a frame pointer and restore.
44259         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44261 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44263         * manual/install.texi: Fix stray word in line-wrapped comment.
44265 2012-02-20  David S. Miller  <davem@davemloft.net>
44267         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44268         both binutils and gcc support GOTDATA.
44270         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44271         "rd %pc" in the PIC register setup sequences.
44273         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44274         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44275         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44276         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44277         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44278         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44279         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44280         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44282         (SYSCALL_ERROR_HANDLER): Likewise.
44283         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44284         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44285         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44286         (SYSCALL_ERROR_HANDLER): Likewise.
44288         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44289         (HAVE_GCC_GOTDATA): New.
44290         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44291         relocation support in both binutils and gcc.
44292         * sysdeps/sparc/elf/configure: Regenerate.
44294         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44295         * sysdeps/sparc/sparc32/elf/configure: Delete.
44296         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44297         * sysdeps/sparc/sparc64/elf/configure: Delete.
44298         * sysdeps/sparc/elf/configure.in: New file.
44299         * sysdeps/sparc/elf/configure: Generate.
44301         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44302         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44303         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44304         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44305         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44307 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44309         * manual/install.texi: Do not mention specific glibc version
44310         numbers.
44311         * manual/libc.texinfo (VERSION, UPDATED): Update.
44312         (@copying): Use @copyright{} and range of years.
44314 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44316         [BZ #13695]
44317         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44318         [crti.S not in sysdirs] (generated): Do not append.
44319         [crti.S not in sysdirs] (omit-deps): Likewise.
44320         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44321         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44322         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44323         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44324         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44325         Likewise.
44326         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44327         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44328         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44329         * csu/defs.awk: Remove file.
44330         * sysdeps/generic/initfini.c: Likewise.
44331         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44332         variable.
44333         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44334         Likewise.
44336 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44338         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44339         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44340         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44341         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44342         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44343         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44344         <bits/epoll.h>.
44345         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44346         (__EPOLL_PACKED): Define to empty if not defined by
44347         <bits/epoll.h>.
44348         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44350         bits/epoll.h.
44352 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44354         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44355         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44356         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44357         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44358         <bits/timerfd.h>.
44359         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44360         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44361         bits/timerfd.h.
44363 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44365         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44366         in C locale.
44367         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44368         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44369         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44372 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
44374         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44375         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44377 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
44379         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44380         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44381         defined.
44382         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44383         Likewise.
44384         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44385         entry for 2.16.
44387 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
44389         * math/w_acos.c: Use non-signaling floating-point comparisons.
44390         * math/w_acosf.c: Likewise.
44391         * math/w_acosh.c: Likewise.
44392         * math/w_acoshf.c: Likewise.
44393         * math/w_acoshl.c: Likewise.
44394         * math/w_acosl.c: Likewise.
44395         * math/w_asin.c: Likewise.
44396         * math/w_asinf.c: Likewise.
44397         * math/w_asinl.c: Likewise.
44398         * math/w_atanh.c: Likewise.
44399         * math/w_atanhf.c: Likewise.
44400         * math/w_atanhl.c: Likewise.
44401         * math/w_exp2.c: Likewise.
44402         * math/w_exp2f.c: Likewise.
44403         * math/w_exp2l.c: Likewise.
44404         * math/w_j0.c: Likewise.
44405         * math/w_j0f.c: Likewise.
44406         * math/w_j0l.c: Likewise.
44407         * math/w_j1.c: Likewise.
44408         * math/w_j1f.c: Likewise.
44409         * math/w_j1l.c: Likewise.
44410         * math/w_jn.c: Likewise.
44411         * math/w_jnf.c: Likewise.
44412         * math/w_log.c: Likewise.
44413         * math/w_log10.c: Likewise.
44414         * math/w_log10f.c: Likewise.
44415         * math/w_log10l.c: Likewise.
44416         * math/w_log2.c: Likewise.
44417         * math/w_log2f.c: Likewise.
44418         * math/w_log2l.c: Likewise.
44419         * math/w_logf.c: Likewise.
44420         * math/w_logl.c: Likewise.
44421         * math/w_sqrt.c: Likewise.
44422         * math/w_sqrtf.c: Likewise.
44423         * math/w_sqrtl.c: Likewise.
44424         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44425         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44426         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44427         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44428         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44430 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44432         [BZ #9739]
44433         * manual/string.texi (strnlen): Use correct parameter name in
44434         equivalent expression.
44436 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44438         [BZ #11174]
44439         * manual/users.texi (seteuid): Consistently use neweuid for
44440         argument name.
44442 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44444         [BZ #13704]
44445         * manual/nss.texi (Services in the NSS configuration): Correct
44446         list of services in example configuration file.
44448 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
44450         [BZ #11322]
44451         * manual/arith.texi: Remove statements about negative zero
44452         behaving identically to zero.
44454 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44456         [BZ #5993]
44457         * manual/install.texi: Do not document upgrading from libc5.
44459 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44461         [BZ #4596]
44462         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44464 2012-02-18  David S. Miller  <davem@davemloft.net>
44466         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44467         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44468         %o7 across the call.
44469         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44470         instead.
44471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44472         SETUP_PIC_REG_LEAF.
44473         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44474         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44475         * sysdeps/sparc/crtn.S: Likewise.
44477 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
44479         * aout/Makefile: Remove.
44481 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
44483         [BZ #13058]
44484         * manual/examples/argp-ex1.c (main): Format definition in GNU
44485         style.
44486         * manual/examples/argp-ex2.c (main): Likewise.
44487         * manual/examples/argp-ex3.c (main): Likewise.
44488         * manual/examples/argp-ex4.c (main): Likewise.
44489         * manual/examples/longopt.c (main): Use new-style prototype
44490         definition.
44491         * manual/examples/strncat.c (main): Specify return type and use
44492         (void) for arguments.
44493         * manual/examples/subopt.c (main): Use char **argv argument.
44495 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44497         [BZ #5077]
44498         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44499         rounding modes.
44501 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
44503         [BZ #6907]
44504         * manual/string.texi (strchr): Change when strchrnul is
44505         recommended.
44507 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
44509         [BZ #174]
44510         * manual/locale.texi (setlocale): Document LOCPATH.
44512 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44514         [BZ #10210]
44515         * manual/process.texi (execle): Move @dots{} before last argument.
44517 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
44519         [BZ #12047]
44520         * manual/charset.texi (Generic Charset Conversion): Fix typo
44521         (LC_TYPE -> LC_CTYPE).
44523 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
44525         [BZ #5805]
44526         * manual/arith.texi (scalbn): Use @var{} on parameter names.
44527         (scalbnf): Likewise.
44528         (scalbnl): Likewise.
44529         (scalbln): Likewise.
44530         (scalblnf): Likewise.
44531         (scalblnl): Likewise.
44532         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44533         (vwarnx): Likewise.
44534         (verr): Likewise.
44535         (verrx): Likewise.
44536         * manual/filesys.texi (telldir): Use braces around return type.
44537         * manual/llio.texi (mmap): Add space after comma.
44538         (mmap64): Likewise.
44539         * manual/math.texi (jn): Use @var{} on parameter names.
44540         (jnf): Likewise.
44541         (jnl): Likewise.
44542         (yn): Likewise.
44543         (ynf): Likewise.
44544         (ynl): Likewise.
44545         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44546         line.
44547         * manual/resource.texi (ulimit): Use @dots{} instead of literal
44548         "...".
44549         (sched_get_priority_min): Remove semicolon on @deftypefun line.
44550         (sched_get_priority_max): Likewise.
44551         * manual/signal.texi (sigvec): Add space after comma.
44552         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44553         names.
44554         (if_indextoname): Likewise.
44555         (if_freenameindex): Likewise.
44556         (sendto): Use ',' instead of '.' in prototype.
44557         * manual/startup.texi (syscall): Use @dots{} instead of literal
44558         "...".
44559         * manual/stdio.texi (__fpending): Separate initial words of
44560         paragraph from @deftypefun line.
44561         * manual/syslog.texi (syslog): Use @dots{} instead of literal
44562         "...".
44563         (vsyslog): Use @var{} on parameter names.
44564         * manual/terminal.texi (stty): Use @var{} on parameter names.
44565         * manual/users.texi (getutmp): Use @var{} on parameter names.
44566         (getutmpx): Likewise.
44568 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44570         [BZ #6884]
44571         * manual/stdio.texi (fopen): Fix typos in description of
44572         ",ccs=STRING".
44574 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
44576         [BZ #4026]
44577         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44578         get clock_id definition.
44580 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
44582         [BZ #4822]
44583         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44584         (madvise): Cast every argument to void on its own.
44586 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44588         [BZ #9902]
44589         * manual/startup.texi (Exit Status): Fix typo.
44591 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44593         [BZ #10140]
44594         * manual/examples/argp-ex1.c: Include <stdlib.h>.
44595         * manual/examples/argp-ex2.c: Likewise.
44596         * manual/examples/argp-ex3.c: Likewise.
44598 2012-02-16  Richard Henderson  <rth@redhat.com>
44600         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44601         * sysdeps/s390/s390-32/initfini.c: Remove.
44602         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44603         * sysdeps/s390/s390-64/initfini.c: Remove.
44605 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44607         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44608         compiler output for sysdeps/generic/initfini.c.
44609         * sysdeps/sh/elf/initfini.c: Remove file.
44611 2012-02-16  David S. Miller  <davem@davemloft.net>
44613         [BZ #11494]
44614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44616         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44617         * sysdeps/sparc/crti.S: New file.
44618         * sysdeps/sparc/crtn.S: New file.
44619         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44620         * sysdeps/sparc/sparc64/Makefile: Likewise.
44622 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
44624         [BZ #3335]
44625         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44627 2012-02-15  Roland McGrath  <roland@hack.frob.com>
44629         [BZ #4822]
44630         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44632         * mach/devstream.c (cookie_io_functions_t): Macro removed.
44633         (write, read, close): Likewise.
44634         Patch by Aurelien Jarno <aurelien@aurel32.net>.
44636 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
44638         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44639         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44640         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44641         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44642         <bits/signalfd.h>.
44643         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44645         bits/signalfd.h.
44647 2012-02-14  Marek Polacek  <polacek@redhat.com>
44649         * sysdeps/x86_64/crti.S: New file.
44650         * sysdeps/x86_64/crtn.S: New file.
44651         * sysdeps/x86_64/elf/initfini.c: Remove file.
44653 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44655         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44656         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44657         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44658         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44659         <bits/inotify.h>.
44660         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44662         bits/inotify.h.
44664 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44666         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44667         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44668         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44669         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44670         <bits/eventfd.h>.
44671         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44673         bits/eventfd.h.
44675 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
44677         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44678         __feraiseexcept instead of feraiseexcept.
44680         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44681         nanosleep invocations.
44682         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44683         strings, and add error checking for a nanosleep invocations.
44685 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
44687         Replace FSF snail mail address with URLs, as per GNU coding standards.
44688         Most of the snail mail addresses were wrong anyway, and omitting
44689         them makes the source code easier to maintain.  Almost all of the
44690         changes are to license notices and to locale LC_IDENTIFICATION
44691         addresses, except for this one:
44692         * manual/libc.texinfo: In "Published by", give the FSF's URL,
44693         not its snail mail address.
44695 2012-02-09  Richard Henderson  <rth@twiddle.net>
44697         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44698         of kernel-features.h.
44700         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44702 2012-02-08  Marek Polacek  <polacek@redhat.com>
44704         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44705         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44706         * sysdeps/gnu/_G_config.h: Likewise.
44707         * sysdeps/generic/_G_config.h: Likewise.
44709 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
44711         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44712         tests.
44713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44715         * sysdeps/powerpc/powerpc32/crti.S: New file.
44716         * sysdeps/powerpc/powerpc32/crtn.S: New file.
44717         * sysdeps/powerpc/powerpc64/crti.S: New file.
44718         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44720         * Makeconfig (have-initfini): Don't set.
44721         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44722         * configure.in (nopic_initfini): Don't substitute.
44723         * config.h.in (HAVE_INITFINI): Don't #undef.
44724         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44725         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44727 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44729         Support crti.S and crtn.S provided directly by architectures.
44730         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44731         [crti.S in sysdirs] (omit-deps): Likewise.
44732         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44733         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44734         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44735         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44736         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44737         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44738         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44739         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44740         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44741         compiler output for sysdeps/generic/initfini.c.
44742         * sysdeps/i386/elf/Makefile: Remove file.
44743         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44745 2012-02-07  Marek Polacek  <polacek@redhat.com>
44747         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44748         * sysdeps/gnu/_G_config.h: Likewise.
44749         * sysdeps/mach/hurd/_G_config.h: Likewise.
44751 2012-02-07  Marek Polacek  <polacek@redhat.com>
44753         * math/Makefile (tests): Add tst-CMPLX2.
44754         * math/tst-CMPLX2.c: New file.
44756 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44758         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44760         * math/libm-test.inc (jn_test): Add missing L suffix.
44762 2012-02-06  Marek Polacek  <polacek@redhat.com>
44764         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44765         * sysdeps/i386/fpu/e_powf.S: Likewise.
44766         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44767         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44768         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44769         * sysdeps/i386/fpu/e_pow.S: Likewise.
44770         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44771         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44772         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44773         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44774         * sysdeps/i386/fpu/e_log2.S: Likewise.
44775         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44776         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44777         * sysdeps/i386/fpu/e_powl.S: Likewise.
44778         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44779         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44780         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44781         * sysdeps/i386/fpu/e_logl.S: Likewise.
44782         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44783         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44784         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44785         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44786         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44787         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44788         * sysdeps/i386/fpu/e_log.S: Likewise.
44789         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44790         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44791         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44792         * sysdeps/i386/fpu/e_logf.S: Likewise.
44793         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44794         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44795         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44796         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44797         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44798         * sysdeps/i386/fpu/e_log10.S: Likewise.
44799         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44800         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44801         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44802         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44803         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44804         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44805         * sysdeps/i386/asm-syntax.h: Likewise.
44806         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44807         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44808         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44809         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44810         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44811         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44812         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44813         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44814         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44815         * sysdeps/powerpc/sysdep.h: Likewise.
44816         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44817         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44819 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44821         [BZ #411]
44822         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44824 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44826         * sysdeps/i386/sysdep.h: Include <features.h>.
44827         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44828         version.
44830 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44832         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44833         Define.
44834         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44835         LOAD_PIC_REG_STR.
44837 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44839         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44840         (SETUP_PIC_REG): Use GET_PC_THUNK.
44841         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44842         macro.
44844 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44846         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44847         for non-PIC compilation.
44848         (SETUP_PIC_REG): Add .p2align directive.
44849         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44850         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44851         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44852         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44853         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44854         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44855         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44856         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44857         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44858         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44859         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44860         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44861         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44862         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44863         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44864         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44865         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44866         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44867         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44868         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44869         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44870         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44871         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44872         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44873         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44874         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44875         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44876         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44877         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44878         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44879         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44880         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44881         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44882         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44883         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44884         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44885         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44886         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44887         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44888         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44889         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44891 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44893         * math/tst-CMPLX.c: Include <stdio.h>.
44895 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44897         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44898         float.
44899         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44900         * sysdeps/sparc/bits/mathdef.h: Likewise.
44902 2012-01-31  Marek Polacek  <polacek@redhat.com>
44904         * libio/libio.h: Don't define _PARAMS.
44905         * locale/programs/config.h: Don't define PARAMS.
44906         * stdlib/strtol_l.c: Likewise.
44907         (__strtol_l): Remove PARAMS from the prototype.
44909 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44911         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44912         names.  Just use the correct names.  Remove unnecessary wrapper
44913         functions.
44914         * malloc/arena.c: Likewise.
44915         * malloc/hooks.c: Likewise.
44917         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44918         ARENA_TEST says not to.  Simplify test for creation of a new arena.
44919         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44921 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
44923         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44924         into tail calls.
44925         (update_get_addr): New function.
44926         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44927         GET_ADDR_MODULE parameter.
44929 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44931         * crypt/cert.c: Remove __STDC__ conditionals.
44932         * crypt/crypt-entry.c: Likewise.
44933         * crypt/crypt_util.c: Likewise.
44934         * libio/filedoalloc.c: Likewise.
44935         * libio/fileops.c: Likewise.
44936         * libio/genops.c: Likewise.
44937         * libio/iofclose.c: Likewise.
44938         * libio/iofdopen.c: Likewise.
44939         * libio/iofopen.c: Likewise.
44940         * libio/iofopen64.c: Likewise.
44941         * libio/iogetdelim.c: Likewise.
44942         * libio/iopopen.c: Likewise.
44943         * libio/obprintf.c: Likewise.
44944         * libio/oldfileops.c: Likewise.
44945         * libio/oldiofclose.c: Likewise.
44946         * libio/oldiofdopen.c: Likewise.
44947         * libio/oldiofopen.c: Likewise.
44948         * libio/oldiopopen.c: Likewise.
44949         * libio/wfiledoalloc.c: Likewise.
44950         * libio/wgenops.c: Likewise.
44951         * locale/programs/xmalloc.c: Likewise.
44952         * misc/syslog.c: Likewise.
44953         * stdio-common/xbug.c: Likewise.
44954         * string/memchr.c: Likewise.
44955         * string/memcmp.c: Likewise.
44956         * string/memrchr.c: Likewise.
44957         * string/rawmemchr.c: Likewise.
44958         * sysdeps/posix/getcwd.c: Likewise.
44959         * time/strftime_l.c: Likewise.
44961 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44963         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44964         * config.make.in (config-cflags-sse2avx): Define.
44965         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44966         Fix typo.
44968 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
44970         * scripts/config.guess: Update from upstream config git repository.
44971         * scripts/config.sub: Likewise.
44973 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
44975         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44976         (EM_NUM): Update.
44977         (R_TILEPRO_*, R_TILEGX_*): New macros.
44979         * scripts/firstversions.awk: Fix bug in version range handling.
44981         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44983         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44985         * include/sys/epoll.h: New file.
44986         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44987         libc_hidden_def.
44989 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
44991         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44992         Avoid unnecessary __WORDSIZE == 64 test.
44993         (fmaxf): Use VEX format if possible.
44994         (fmax): Likewise.
44995         (fminf): Likewise.
44996         (fmin): Likewise.
44998         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44999         * math/math_private.h: Remove libc_fegetround* and
45000         libc_fesetround*.
45001         * sysdeps/i386/configure.in: Check for -msse2avx.
45002         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45003         also if SSE2AVX is defined.
45004         Remove libc_fegetround* and libc_fesetround*.
45005         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45006         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
45007         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45008         of HAS_YMM_USABLE.
45009         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45010         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45011         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45012         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45013         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45015         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45017 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45019         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45020         size is not set.
45021         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45023 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
45025         [BZ #13618]
45026         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45027         relocation.
45028         * Makeconfig (libm): Define.
45029         * elf/Makefile: Add rules to build and run tst-relsort1.
45030         * elf/tst-relsort1.c: New file.
45031         * elf/tst-relsort1mod1.c: New file.
45032         * elf/tst-relsort1mod2.c: New file.
45034 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
45036         * math/s_ldexp.c: Remove __STDC__ conditionals.
45037         * math/s_ldexpf.c: Likewise.
45038         * math/s_ldexpl.c: Likewise.
45039         * math/s_nextafter.c: Likewise.
45040         * math/s_nexttowardf.c: Likewise.
45041         * math/s_significand.c: Likewise.
45042         * math/s_significandf.c: Likewise.
45043         * math/s_significandl.c: Likewise.
45044         * math/w_jnl.c: Likewise.
45045         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45046         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45047         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45048         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45049         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45050         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45051         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45052         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45053         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45054         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45055         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45056         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45057         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45058         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45059         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45060         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45061         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45062         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45063         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45064         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45065         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45066         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45067         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45068         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45069         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45070         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45071         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45072         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45073         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45074         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45075         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45076         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45077         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45078         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45079         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45080         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45081         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45082         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45083         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45084         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45085         * sysdeps/ieee754/k_standard.c: Likewise.
45086         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45087         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45088         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45089         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45090         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45091         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45092         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45093         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45094         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45095         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45096         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45097         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45098         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45099         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45100         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45101         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45102         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45103         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45104         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45105         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45106         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45107         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45108         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45109         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45110         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45111         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45112         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45113         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45115         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45116         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45117         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45118         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45119         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45121         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45122         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45123         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45124         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45125         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45126         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45128         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45129         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45130         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45131         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45132         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45133         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45134         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45135         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45136         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45137         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45138         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45139         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45140         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45141         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45142         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45143         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45144         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45145         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45146         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45147         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45148         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45149         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45150         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45151         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45152         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45153         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45154         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45155         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45156         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45157         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45158         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45159         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45160         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45161         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45162         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45163         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45164         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45165         * sysdeps/ieee754/s_matherr.c: Likewise.
45166         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45167         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45168         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45169         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45171 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45173         * crypt/md5.h: Remove __STDC__ conditionals.
45174         * libio/libioP.h: Likewise.
45175         * locale/programs/config.h: Likewise.
45176         * sysdeps/generic/sysdep.h: Likewise.
45177         * sysdeps/i386/asm-syntax.h: Likewise.
45178         * sysdeps/s390/asm-syntax.h: Likewise.
45179         * sysdeps/unix/sysdep.h: Likewise.
45180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45183 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45185         * libio/libio.h: Remove __STDC__ conditionals.
45186         * malloc/obstack.h: Likewise.
45187         * math/complex.h: Likewise.
45188         * math/math.h: Likewise.
45189         * sysdeps/generic/_G_config.h: Likewise.
45190         * sysdeps/gnu/_G_config.h: Likewise.
45191         * sysdeps/mach/hurd/_G_config.h: Likewise.
45192         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45193         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45194         * sysdeps/sparc/bits/mathdef.h: Likewise.
45196 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
45198         [BZ #13583]
45199         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45200         Clean up HAS_* macros.
45201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45202         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45203         possible.
45204         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45205         HAS_AVX.
45206         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45207         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45208         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45209         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45210         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45212 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
45214         * elf/tst-unique3.cc (gets): Remove declaration.
45215         * elf/tst-unique3lib.cc (gets): Likewise.
45216         * elf/tst-unique3lib2.cc (gets): Likewise.
45217         * elf/tst-unique4.cc (gets): Likewise.
45219 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
45221         * include/stdio.h: Add C++ protection.  Add gets declarations and
45222         definitions.
45223         * debug/tst-chk1.c: Don't declare gets here.
45224         * stdio-common/tst-gets.c: Likewise.
45226 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45228         * posix/glob: Remove directory.
45230 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45232         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45234 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
45236         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45237         of the non-standard EPFNOSUPPORT.
45239 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45241         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45242         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45243         ANYWHERE set to 1 only on KERN_NO_SPACE error.
45245 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
45247         * wcsmbs/uchar.h: Test __STDC_VERSION__.
45249 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
45251         * nscd/aicache.c (addhstaiX): Do not cache negative results of
45252         transient errors.
45253         * nscd/grpcache.c (cache_addgr): Likewise.
45254         * nscd/hstcache.c (cache_addhst): Likewise.
45255         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45256         * nscd/pwdcache.c (cache_addpw): Likewise.
45257         * nscd/servicescache.c (cache_addserv): Likewise.
45259 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
45261         * malloc/malloc.c: Various cleanups.
45262         * malloc/hooks.c: Likewise.
45264         * stdlib/Makefile (tests): Add bug-fmtmsg1.
45265         * stdlib/bug-fmtmsg1.c: New file.
45267         * stdlib/fmtmsg.c (init): Add missing unlock.
45268         Patch by Peng Haitao <penght@cn.fujitsu.com>.
45270 2012-01-12  Marek Polacek  <polacek@redhat.com>
45272         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45273         and _GNU_SOURCE.
45275 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45277         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45278         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45279         macro to ensure uniqueness of label name.
45280         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45281         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45283 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
45285         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45287         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45288         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45289         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45290         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45292 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
45294         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45296         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45297         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45298         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45300         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45302         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45303         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45304         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45305         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45307         * math/bits/math-finite.h: Add ldexp support.
45309 2012-01-10  Marek Polacek  <polacek@redhat.com>
45311         * locale/programs/localedef.h (show_archive_content): Add noreturn
45312         attribute.
45314 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
45316         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45318 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45320         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45322         * io/Makefile (headers): Add bits/poll2.h.
45324 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
45326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45327         typo #include statement.
45329 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45331         * include/sys/cdefs.h: Define __attribute_alloc_size.
45332         * catgets/gencat.c: Add alloc_size attribute and apply consistently
45333         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45334         * elf/pldd.c: Likewise.
45335         * iconv/iconv_charmap.c: Likewise.
45336         * iconv/iconvconfig.c: Likewise.
45337         * iconv/strtab.c: Likewise.
45338         * locale/programs/locale.c: Likewise.
45339         * locale/programs/localedef.h: Likewise.
45340         * locale/programs/simple-hash.c: Likewise.
45341         * nscd/nscd.h: Likewise.
45342         * nss/makedb.c: Likewise.
45343         * sysdeps/generic/ldconfig.h: Likewise.
45344         * locale/programs/localedef.c: Remove xmalloc prototype.
45345         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45347 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45349         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45350         appropriate.
45352 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45354         * math/Makefile (tests): Add tst-CMPLX.
45355         * math/tst-CMPLX.c: New file.
45357         * math/complex.h (CMPLXL): Fix typo.
45359         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45360         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45361         GLIBC_2.16.
45362         * debug/tst-chk1.c: Add poll and ppoll tests.
45363         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45364         * include/sys/poll.h: Add hidden proto for ppoll.
45365         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45366         * sysdeps/mach/hurd/ppoll.c: Likewise.
45367         * io/ppoll.c: Likewise.
45368         * debug/poll_chk.c: New file.
45369         * debug/ppoll_chk.c: New file.
45370         * include/bits/poll2.h: New file.
45371         * io/bits/poll2.h: New file.
45373         [BZ #1350]
45374         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45376         * configure.in: static is always set to yes.  Remove.
45377         * config.make.in: Don't set build-static.
45378         * Makeconfig: Remove use of build-static.
45379         * dlfcn/Makefile: Likewise.
45380         * elf/Makefile: Likewise.
45381         * math/Makefile: Likewise.
45382         * misc/Makefile: Likewise.
45383         * nptl/Makefile: Likewise.
45384         * sysdeps/mach/hurd/Makefile: Likewise.
45386         * configure.in: PWD_P is not used anymore.
45387         * config.make.in: Remove PWD_P entry.
45389         * configure.in: Remove last remnants of RANLIB.
45390         No need to check for signed size_t anymore.
45391         Don't set libc_commonpagesize and libc_relro_required here for Alpha
45392         and IA-64.
45393         Remove __builtin_expect test because we require at least gcc 3.4.
45394         * aclocal.m4: Likewise.
45396         * wcsmbs/mbrtoc16.c: Implement using towc function.
45397         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45398         * wcsmbs/wcsmbsload.c: Likewise.
45399         * iconv/gconv_simple.c: Likewise.
45400         * iconv/gconv_int.h: Likewise.
45401         * iconv/gconv_builtin.h: Likewise.
45402         * iconv/iconv_prog.c: Remove CHAR16 handling.
45404         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45406         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45408         * configure.in: Remove --with-elf and --enable-bounded options.
45409         Dont set base_machine for ia64.  More non-ELF conditions removed.
45410         Remove testing and setting of leading underscore information.
45411         * config.make.in (build-bounded): Set to no.
45412         * config.h.in: Remove NO_UNDERSCORES entry.
45413         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
45414         them.
45415         * csu/start.c: Remove !NO_UNDERSCORE code.
45416         * locale/localeinfo.h: Likewise.
45417         * sysdeps/generic/machine-gmon.h: Likewise.
45418         * sysdeps/generic/sysdep.h: Likewise.
45419         * sysdeps/i386/sysdep.h: Likewise.
45420         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45421         * sysdeps/mach/sysdep.h: Likewise.
45422         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45423         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45424         * sysdeps/sh/sysdep.h: Likewise.
45425         * sysdeps/sparc/sparc32/alloca.S: Likewise.
45426         * sysdeps/unix/i386/sysdep.S: Likewise.
45427         * sysdeps/unix/sparc/start.c: Likewise.
45428         * sysdeps/unix/sparc/sysdep.S: Likewise.
45429         * sysdeps/unix/sparc/sysdep.h: Likewise.
45430         * sysdeps/unix/start.c: Likewise.
45431         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45432         * sysdeps/x86_64/sysdep.h: Likewise.
45434 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
45436         [BZ #13553]
45437         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45438         for non-gcc.
45439         * argp/argp-fmtstream.h: Use const instead __const.
45440         * argp/argp.h: Likewise.
45441         * assert/assert.h: Likewise.
45442         * bits/fenv.h: Likewise.
45443         * bits/sched.h: Likewise.
45444         * bits/sigset.h: Likewise.
45445         * bits/sigthread.h: Likewise.
45446         * catgets/nl_types.h: Likewise.
45447         * conform/data/pthread.h-data: Likewise.
45448         * crypt/crypt-private.h: Likewise.
45449         * crypt/crypt.h: Likewise.
45450         * crypt/crypt_util.c: Likewise.
45451         * ctype/ctype.h: Likewise.
45452         * debug/execinfo.h: Likewise.
45453         * debug/mbsnrtowcs_chk.c: Likewise.
45454         * debug/mbsrtowcs_chk.c: Likewise.
45455         * debug/wcsnrtombs_chk.c: Likewise.
45456         * debug/wcsrtombs_chk.c: Likewise.
45457         * debug/wcstombs_chk.c: Likewise.
45458         * dirent/dirent.h: Likewise.
45459         * dlfcn/dlfcn.h: Likewise.
45460         * elf/neededtest4.c: Likewise.
45461         * grp/grp.h: Likewise.
45462         * gshadow/gshadow.h: Likewise.
45463         * iconv/gconv.h: Likewise.
45464         * iconv/gconv_int.h: Likewise.
45465         * iconv/gconv_simple.c: Likewise.
45466         * iconv/iconv.h: Likewise.
45467         * iconv/loop.c: Likewise.
45468         * iconv/skeleton.c: Likewise.
45469         * include/aio.h: Likewise.
45470         * include/aliases.h: Likewise.
45471         * include/argz.h: Likewise.
45472         * include/arpa/inet.h: Likewise.
45473         * include/assert.h: Likewise.
45474         * include/dirent.h: Likewise.
45475         * include/dlfcn.h: Likewise.
45476         * include/execinfo.h: Likewise.
45477         * include/fcntl.h: Likewise.
45478         * include/fenv.h: Likewise.
45479         * include/glob.h: Likewise.
45480         * include/grp.h: Likewise.
45481         * include/libintl.h: Likewise.
45482         * include/mntent.h: Likewise.
45483         * include/netdb.h: Likewise.
45484         * include/pwd.h: Likewise.
45485         * include/rpc/netdb.h: Likewise.
45486         * include/sched.h: Likewise.
45487         * include/search.h: Likewise.
45488         * include/shadow.h: Likewise.
45489         * include/signal.h: Likewise.
45490         * include/stdio.h: Likewise.
45491         * include/stdlib.h: Likewise.
45492         * include/string.h: Likewise.
45493         * include/sys/socket.h: Likewise.
45494         * include/sys/stat.h: Likewise.
45495         * include/sys/statfs.h: Likewise.
45496         * include/sys/statvfs.h: Likewise.
45497         * include/sys/syslog.h: Likewise.
45498         * include/sys/time.h: Likewise.
45499         * include/sys/uio.h: Likewise.
45500         * include/time.h: Likewise.
45501         * include/unistd.h: Likewise.
45502         * include/utmp.h: Likewise.
45503         * include/wchar.h: Likewise.
45504         * include/wctype.h: Likewise.
45505         * inet/aliases.h: Likewise.
45506         * inet/arpa/inet.h: Likewise.
45507         * inet/netinet/ether.h: Likewise.
45508         * inet/netinet/in.h: Likewise.
45509         * intl/libintl.h: Likewise.
45510         * io/bits/fcntl2.h: Likewise.
45511         * io/fcntl.h: Likewise.
45512         * io/ftw.h: Likewise.
45513         * io/sys/poll.h: Likewise.
45514         * io/sys/stat.h: Likewise.
45515         * io/sys/statfs.h: Likewise.
45516         * io/sys/statvfs.h: Likewise.
45517         * io/utime.h: Likewise.
45518         * libio/bits/stdio.h: Likewise.
45519         * libio/bits/stdio2.h: Likewise.
45520         * libio/libio.h: Likewise.
45521         * libio/libioP.h: Likewise.
45522         * libio/stdio.h: Likewise.
45523         * locale/lc-ctype.c: Likewise.
45524         * locale/locale.h: Likewise.
45525         * login/utmp.h: Likewise.
45526         * malloc/arena.c: Likewise.
45527         * malloc/malloc.c: Likewise.
45528         * malloc/malloc.h: Likewise.
45529         * malloc/mcheck.c: Likewise.
45530         * malloc/mtrace.c: Likewise.
45531         * math/bits/mathcalls.h: Likewise.
45532         * math/fenv.h: Likewise.
45533         * math/math_private.h: Likewise.
45534         * misc/bits/error.h: Likewise.
45535         * misc/bits/syslog.h: Likewise.
45536         * misc/err.h: Likewise.
45537         * misc/error.h: Likewise.
45538         * misc/fstab.h: Likewise.
45539         * misc/mntent.h: Likewise.
45540         * misc/regexp.h: Likewise.
45541         * misc/search.h: Likewise.
45542         * misc/sgtty.h: Likewise.
45543         * misc/sys/mman.h: Likewise.
45544         * misc/sys/syslog.h: Likewise.
45545         * misc/sys/uio.h: Likewise.
45546         * misc/sys/xattr.h: Likewise.
45547         * misc/ttyent.h: Likewise.
45548         * nis/rpcsvc/ypclnt.h: Likewise.
45549         * nss/nss.h: Likewise.
45550         * posix/bits/unistd.h: Likewise.
45551         * posix/fnmatch.h: Likewise.
45552         * posix/glob.h: Likewise.
45553         * posix/sched.h: Likewise.
45554         * posix/spawn.h: Likewise.
45555         * posix/sys/wait.h: Likewise.
45556         * posix/unistd.h: Likewise.
45557         * posix/wordexp.h: Likewise.
45558         * pwd/pwd.h: Likewise.
45559         * resolv/netdb.h: Likewise.
45560         * resource/sys/resource.h: Likewise.
45561         * rt/aio.h: Likewise.
45562         * rt/bits/mqueue2.h: Likewise.
45563         * rt/mqueue.h: Likewise.
45564         * shadow/shadow.h: Likewise.
45565         * signal/signal.h: Likewise.
45566         * socket/send.c: Likewise.
45567         * socket/sendto.c: Likewise.
45568         * socket/sys/socket.h: Likewise.
45569         * stdio-common/printf.h: Likewise.
45570         * stdlib/bits/stdlib.h: Likewise.
45571         * stdlib/fmtmsg.h: Likewise.
45572         * stdlib/monetary.h: Likewise.
45573         * stdlib/stdlib.h: Likewise.
45574         * stdlib/ucontext.h: Likewise.
45575         * streams/stropts.h: Likewise.
45576         * string/argz.h: Likewise.
45577         * string/bits/string2.h: Likewise.
45578         * string/string.h: Likewise.
45579         * string/strings.h: Likewise.
45580         * sunrpc/rpc/auth.h: Likewise.
45581         * sunrpc/rpc/auth_des.h: Likewise.
45582         * sunrpc/rpc/clnt.h: Likewise.
45583         * sunrpc/rpc/netdb.h: Likewise.
45584         * sunrpc/rpc/pmap_clnt.h: Likewise.
45585         * sunrpc/rpc/xdr.h: Likewise.
45586         * sysdeps/generic/inttypes.h: Likewise.
45587         * sysdeps/generic/net/if.h: Likewise.
45588         * sysdeps/generic/sys/swap.h: Likewise.
45589         * sysdeps/gnu/net/if.h: Likewise.
45590         * sysdeps/gnu/utmpx.h: Likewise.
45591         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45592         * sysdeps/i386/i486/bits/string.h: Likewise.
45593         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45594         * sysdeps/s390/bits/string.h: Likewise.
45595         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45596         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45597         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45598         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45599         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45600         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45601         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45602         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45603         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45604         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45605         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45606         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45607         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45608         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45609         * sysdeps/unix/sysv/linux/readv.c: Likewise.
45610         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45611         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45613         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45614         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45615         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45616         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45617         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45618         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45619         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45620         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45621         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45622         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45623         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45624         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45625         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45626         * sysvipc/sys/ipc.h: Likewise.
45627         * sysvipc/sys/msg.h: Likewise.
45628         * sysvipc/sys/sem.h: Likewise.
45629         * sysvipc/sys/shm.h: Likewise.
45630         * termios/termios.h: Likewise.
45631         * time/sys/time.h: Likewise.
45632         * time/time.h: Likewise.
45633         * wcsmbs/bits/wchar2.h: Likewise.
45634         * wcsmbs/uchar.h: Likewise.
45635         * wcsmbs/wchar.h: Likewise.
45636         * wctype/wctype.h: Likewise.
45638         [BZ #13551]
45639         * Makeconfig: Remove all but ELF support including AIX support.
45640         * Makerules: Likewise.
45641         * config.h.in: Likewise.
45642         * config.make.in: Likewise.
45643         * configure: Likewise.
45644         * configure.in: Likewise.
45645         * csu/Makefile: Likewise.
45646         * csu/version.c: Likewise.
45647         * debug/Makefile: Likewise.
45648         * dlfcn/Makefile: Likewise.
45649         * elf/Makefile: Likewise.
45650         * extra-lib.mk: Likewise.
45651         * iconv/Makefile: Likewise.
45652         * include/libc-symbols.h: Likewise.
45653         * include/shlib-compat.h: Likewise.
45654         * resolv/Makefile: Likewise.
45655         * resolv/res_libc.c: Likewise.
45656         * rt/Makefile: Likewise.
45657         * sysdeps/i386/asm-syntax.h: Likewise.
45658         * sysdeps/i386/sysdep.h: Likewise.
45659         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45660         * sysdeps/mach/sysdep.h: Likewise.
45661         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45662         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45663         * sysdeps/s390/asm-syntax.h: Likewise.
45664         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45665         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45666         * sysdeps/sh/sysdep.h: Likewise.
45667         * sysdeps/unix/sparc/sysdep.h: Likewise.
45668         * sysdeps/wordsize-32/divdi3.c: Likewise.
45669         * sysdeps/x86_64/sysdep.h: Likewise.
45671         * argp/Versions: Remove _argp_unlock_xxx.
45673         [BZ #13559]
45674         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
45675         * abilist/libBrokenLocale.abilist: Likewise.
45676         * abilist/libanl.abilist: Likewise.
45677         * abilist/libc.abilist: Likewise.
45678         * abilist/libcrypt.abilist: Likewise.
45679         * abilist/libdl.abilist: Likewise.
45680         * abilist/libm.abilist: Likewise.
45681         * abilist/libnsl.abilist: Likewise.
45682         * abilist/libpthread.abilist: Likewise.
45683         * abilist/libresolv.abilist: Likewise.
45684         * abilist/librt.abilist: Likewise.
45685         * abilist/libthread_db.abilist: Likewise.
45686         * abilist/libutil.abilist: Likewise.
45687         * abilist/libnss_db.abilist: New file.
45689         * scripts/abilist.awk: Add support for indirect functions.
45691         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45693         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45695         * shlib-versions: Remove entries for ports architectures.
45697         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
45698         files in ports.
45699         * elf/stackguard-macros.h: Remove support for IA-64.
45700         * elf/tst-auditmod1.c: Likewise.
45701         * sysdeps/generic/ldsodefs.h: Likewise.
45703         * sysdeps/unix/sysv/linux/configure.in: Ports should define
45704         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45705         configure files.
45707         [BZ #13552]
45708         * configure.in: Remove --enable-omitfp support.
45709         * FAQ.in: Adjust.
45710         * config.make.in: Likewise.
45711         * Makeconfig: Likewise.
45712         * manual/install.texi: Likewise.
45714         In case anyone cares, the IA-64 architecture could move to ports.
45715         * sysdeps/ia64/*: Removed.
45716         * sysdeps/unix/sysv/linux/ia64/*: Removed.
45717         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45719         [BZ #13555]
45720         * configure.in: Remove entries for unsupported architectures.
45722         [BZ #13533]
45723         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45724         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45725         routines.
45726         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45727         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45728         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45729         fall back to using wcrtomb.
45730         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45731         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45732         renaming.
45733         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45734         * wcsmbs/tst-c16c32-1.c: New file.
45736         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45737         local variable.
45739         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45741         * elf/tst-unique3.cc: Add explicit declaration of gets.
45742         * elf/tst-unique3lib.cc: Likewise.
45743         * elf/tst-unique3lib2.cc: Likewise.
45744         * elf/tst-unique4.cc: Likewise.
45746         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45748 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45750         [BZ #13566]
45751         * assert/assert.h (static_assert): Don't define for C++.
45752         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45753         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45755 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45757         * iconv/loop.c (single loop): Fix assertion in storing of
45758         remaining bytes.
45760         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45762 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45764         * posix/getconf.c: Update copyright year.
45765         * nss/getent.c: Likewise.
45766         * nss/makedb.c: Likewise.
45767         * iconv/iconvconfig.c: Likewise.
45768         * iconv/iconv_prog.c: Likewise.
45769         * elf/ldconfig.c: Likewise.
45770         * elf/pldd.c: Likewise.
45771         * elf/sotruss.ksh: Likewise.
45772         * catgets/gencat.c: Likewise.
45773         * csu/version.c: Likewise.
45774         * elf/ldd.bash.in: Likewise.
45775         * elf/sprof.c (print_version): Likewise.
45776         * locale/programs/locale.c: Likewise.
45777         * locale/programs/localedef.c: Likewise.
45778         * login/programs/pt_chown.c: Likewise.
45779         * nscd/nscd.c (print_version): Likewise.
45780         * debug/xtrace.sh: Likewise.
45781         * malloc/memusage.sh: Likewise.
45782         * malloc/mtrace.pl: Likewise.
45783         * debug/catchsegv.sh: Likewise.
45785 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45787         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45788         pure attribute.
45790 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45792         [BZ #13533]
45793         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45794         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45795         transformations.
45796         * iconv/gconv_int.h: Likewise.
45797         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45798         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45799         from libc for GLIBC_2.16.
45800         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45801         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45802         * wcsmbs/uchar.h: Really define mbstate_t.
45803         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45804         * wcsmbs/c16rtomb.c: New file.
45805         * wcsmbs/mbrtoc16.c: New file.
45806         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45807         for C/POSIX locale.
45808         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45809         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45811         * wcsmbs/wchar.h: Add missing __restrict.
45813 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45815         [BZ #13532]
45816         * time/Makefile (routines): Add timespec_get.
45817         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45818         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45819         timespec for ISO C11.
45820         * time/timespec_get.c: New file.
45821         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45822         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45824         [BZ #13531]
45825         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45826         * stdlib/stdlib.h: Declare aligned_alloc.
45827         * Versions.def: Add GLIBC_2.16 for libc.
45828         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45830         [BZ 13527]
45831         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45832         ISO C11.
45834         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45835         code.
45837         [BZ #13528]
45838         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45840         [BZ #13529]
45841         * assert/assert.h (static_assert): Define.
45843         * version.h: Update for 2.16 development version.
45845         [BZ #13526]
45846         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45847         _ISOC11_SOURCE.
45849         * version.h (RELEASE): Bump for 2.15 release.
45850         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45852         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45853         Patch by Marek Polacek <mpolacek@redhat.com>.
45855         * bits/byteswap.h: Protect long long constants with __extension__.
45856         * sysdeps/i386/bits/byteswap.h: Likewise.
45857         * sysdeps/ia64/bits/byteswap.h: Likewise.
45858         * sysdeps/s390/bits/byteswap.h: Likewise.
45859         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45861 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45863         [BZ #13540]
45864         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45865         destination buffer.
45866         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45868 2011-12-23  Marek Polacek  <polacek@redhat.com>
45870         * elf/dl-addr.c (determine_info): Add inline keyword.
45871         * elf/tst-auditmod4b.c (check_avx): Likewise.
45872         * elf/tst-auditmod6b.c (check_avx): Likewise.
45873         * elf/tst-auditmod6c.c (check_avx): Likewise.
45874         * elf/tst-auditmod7b.c (check_avx): Likewise.
45876 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45878         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45879         !__SSE_MATH__.
45881 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45883         [BZ #13540]
45884         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45885         processing for last bytes.
45887 2011-08-06  Bruno Haible  <bruno@clisp.org>
45889         [BZ #13061]
45890         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45891         U+0385, not to U+1FEE.
45893         [BZ #13062]
45894         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45895         entry for U+00A5 U+0301.
45897 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45899         [BZ #13166]
45900         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45901         buffer for the output is too small.
45903         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45904         optimization.
45906         [BZ #13185]
45907         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45908         SSE flags if possible.
45910 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45912         [BZ #13540]
45913         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45914         processing for last bytes.
45916 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
45918         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45919         (syscall-list-default-options, syscall-list-default-condition)
45920         (syscall-list-includes): Define.
45921         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45922         list of ABIs and options and #if conditions for each ABI.  Do not
45923         handle common syscalls between ABIs specially.
45924         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45925         Remove.
45926         (syscall-list-variants, syscall-list-32bit-options)
45927         (syscall-list-32bit-condition, syscall-list-64bit-options)
45928         (syscall-list-64bit-condition): Define.
45929         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45930         (syscall-list-variants, syscall-list-32bit-options)
45931         (syscall-list-32bit-condition, syscall-list-64bit-options)
45932         (syscall-list-64bit-condition): Define.
45933         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45934         Remove.
45935         (syscall-list-variants, syscall-list-32bit-options)
45936         (syscall-list-32bit-condition, syscall-list-64bit-options)
45937         (syscall-list-64bit-condition): Define.
45938         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45939         Remove.
45940         (syscall-list-variants, syscall-list-32bit-options)
45941         (syscall-list-32bit-condition, syscall-list-64bit-options)
45942         (syscall-list-64bit-condition): Define.
45944 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45946         * locale/iso-639.def: Add brx entry.
45948         [BZ #13328]
45949         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45950         Proposed by Mariusz_Cukr <marcukr@op.pl>.
45952         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45953         __feraiseexcept_renamed.
45955 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45957         [BZ #13538]
45958         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45959         EPOLLET with unsigned values.
45960         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45961         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45963         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45964         to large cancellation.
45965         * math/s_cacoshf.c: Likewise.
45966         * math/s_cacoshl.c: Likewise.
45968 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
45970         [BZ #13305]
45971         [BZ #12786]
45972         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45973         * math/s_cacoshf.c: Likewise.
45974         * math/s_cacoshl.c: Likewise.
45976 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45978         [BZ #13439]
45979         * iconv/gconv.h: Define __GCONV_SWAP.
45980         * iconvdata/unicode.c: The swap bit must be stored in __flags.
45981         * iconvdata/utf-16.c: Likewise.
45982         * iconvdata/utf-32.c: Likewise.
45984 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
45986         [BZ #13524]
45987         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45988         numerator after shifting it by one limb.
45990 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
45992         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45993         under [__USE_EXTERN_INLINES].
45995 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45997         [BZ #13446]
45998         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46000 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46002         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46003         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46004         optimized code.
46005         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46006         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46007         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46008         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46009         for strncasecmp/strncasecmp_l compilation.
46010         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46011         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46013 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
46015         [BZ #13484]
46016         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46017         of __asm__.
46019 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46021         [BZ #13506]
46022         * time/tzfile.c (__tzfile_read): Check values from file header.
46024 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46026         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46027         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46028         * powerpc/powerpc32/dl-start.S: Likewise.
46029         * powerpc/powerpc32/elf/start.S: Likewise.
46030         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46031         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46032         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46033         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46034         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46035         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46036         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46037         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46038         * powerpc/powerpc32/fpu/s_round.S: Likewise.
46039         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46040         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46041         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46042         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46043         * powerpc/powerpc32/memset.S: Likewise.
46044         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46045         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46046         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46047         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46048         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46049         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46050         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46051         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46052         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46053         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46054         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46055         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46056         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46058 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46060         * math/libm-test.inc: Added more nearbyint tests.
46061         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46062         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46063         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46064         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46066 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
46068         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46069         FD_CLOEXEC.
46071 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46073         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46074         Add wcscpy-ssse3 wcscpy-c.
46075         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46076         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46077         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46078         * sysdeps/x86_64/wcschr.S: New file.
46079         * sysdeps/x86_64/wcsrchr.S: New file.
46080         * string/test-strcmp.c: Remove checking of wcscmp function for
46081         wrong alignments.
46082         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46083         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46084         wcsrchr-sse2 wcsrchr-c.
46085         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46086         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46087         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46088         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46089         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46090         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46091         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46092         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46093         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46094         * wcsmbc/wcschr.c (WCSCHR): New macro.
46096 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46098         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46099         * wcsmbs/test-wcsrchr.c: New file.
46100         * string/test-strrchr.c: Add wcsrchr support.
46101         (WIDE): New macro.
46102         * wcsmbs/test-wcscpy.c: New file.
46103         * string/test-strcpy.c: Add wcscpy support.
46104         (WIDE): New macro.
46106 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
46108         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46109         the inner loop.
46111 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
46113         [BZ #13472]
46114         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46116 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
46118         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46119         Minor optimizations.
46121         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46122         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46123         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46125 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
46127         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46128         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46129         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46130         for gcc to avoid warnings.
46131         * inet/Makefile (tests): Add tst-checks.
46132         * inet/tst-checks.c: New file.
46134         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46135         warning.
46137         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46138         __wmemcmp_sse2.
46140         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46141         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46143         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46145 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
46147         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46148         problem.
46150         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46152 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
46154         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46155         conditional on GCC version.
46156         (__arch_compare_and_exchange_val_8_acq)
46157         (__arch_compare_and_exchange_val_16_acq)
46158         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46159         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46160         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46162 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
46164         * sysdeps/sh/backtrace.c: New file.
46166 2011-12-02  Andreas Schwab  <schwab@redhat.com>
46168         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
46169         parenthesis.
46171 2011-12-01  Andreas Schwab  <schwab@redhat.com>
46173         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46174         falling back to utime.
46176 2011-11-30  Andreas Schwab  <schwab@redhat.com>
46178         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46179         expectations for float.
46181 2011-11-29  Andreas Schwab  <schwab@redhat.com>
46183         * locale/weight.h (findidx): Add parameter len.
46184         * locale/weightwc.h (findidx): Likewise.
46185         * posix/fnmatch_loop.c (FCT): Adjust caller.
46186         * posix/regcomp.c (build_equiv_class): Likewise.
46187         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46188         * posix/regexec.c (check_node_accept_bytes): Likewise.
46189         * string/strcoll_l.c (STRCOLL): Likewise.
46190         * string/strxfrm_l.c (STRXFRM): Likewise.
46192 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
46194         * Makefile.in: Remove CVSOPT handling.
46195         * configure.in: Remove use of AC_REVISION.
46196         * iconvdata/Makefile (distribute): No need to filter out CVS.
46197         * scripts/list-sources.sh: Remove CVS, subversion and monotone
46198         handling.
46200 2011-11-16  Andreas Schwab  <schwab@redhat.com>
46202         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46203         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46204         [USE_AS_STRNCASECMP_L]: Likewise.
46205         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46206         NO_TLS_DIRECT_SEG_REFS.
46207         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46208         Fix argument offsets for non-PIC.
46209         [USE_AS_STRNCASECMP_L]: Likewise.
46210         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46211         NO_TLS_DIRECT_SEG_REFS.
46213 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46215         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46216         O_CLOEXEC.
46217         * locale/loadlocale.c (_nl_load_locale): Likewise.
46219 2011-11-15  Andreas Schwab  <schwab@redhat.com>
46221         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46222         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46223         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46224         (SYSCALL_GETTIME): Set errno on error.
46226         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46227         count references to noai6ai_cached.
46229 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46231         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46233         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46234         FD_CLOEXEC for /proc/self/maps.
46236         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46237         FD_CLOEXEC for /proc/meminfo.
46239         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46240         gai.conf.
46242         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
46243         FD_CLOEXEC for given file.
46245         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46247         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46248         FD_CLOEXEC for /etc/hosts.
46249         (_gethtent): Likewise.
46251         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46253         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46254         cancellation and set FD_CLOEXEC for /etc/netgroup.
46256         * nss/nss_files/files-key.c (search): Don't allow cancellation when
46257         reading /etc/publickey.
46259         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46260         allow cancellation when reading /etc/group.
46262         * nss/nss_files/files-alias.c (internal_setent): Don't allow
46263         cancellation.
46264         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
46266         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46267         when using data file.
46269         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46271         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46272         (write_nis_obj): Use "c" and "e" in fopen.
46274         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46276         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46278         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46280         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46282         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46283         locale.alias.
46285         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46287         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46289         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46291         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46292         file parsing and set FD_CLOEXEC.
46294 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46296         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46298 2011-11-14  Andreas Schwab  <schwab@redhat.com>
46300         * malloc/arena.c (arena_get2): Don't call reused_arena when
46301         _int_new_arena failed.
46303 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46305         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46306         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46307         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46308         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46309         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46310         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46311         to compile strcasecmp and strncasecmp.
46312         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46313         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46317 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
46319         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46320         locale-defines.sym to gen-as-const-headers.
46321         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46322         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46323         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46324         to compile strcasecmp and strncasecmp.
46325         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46326         strcasecmp_l and strncasecmp_l.
46327         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46328         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46329         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46330         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46331         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46332         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46333         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46334         * sysdeps/i386/i686/multiarch/strncase.S: New file.
46335         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46336         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46337         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46339 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
46341         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46342         result of SYSDEP_GETTIME_CPU to retval.
46343         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46344         parameter list to macro.  Remove trailing semicolon.  Adjust users.
46346         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46347         variable.
46349         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46350         mantissa words.
46351         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46353         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46354         from unused variable.
46356         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46357         DWARF definitions.
46358         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46359         for assembling.
46361         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46362         over namespaces.
46364         * sunrpc/rpc_prot.c (rejected): Fix case value.
46366         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46367         unsigned long long int to avoid warnings in shift.
46369         * posix/regex_internal.c (re_string_reconstruct): Actually use result
46370         of use of trans.
46371         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46372         variable tmp.
46374         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46375         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46376         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46378         * nis/nis_table.c (nis_list): Use variable of correct type for
46379         result of __follow_path call.
46381 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46383         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46384         of math functions ceil, trunc, floor, round, and sqrt, when
46385         avaliable on the platform.
46386         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46387         name clash.
46388         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46389         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46390         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46392 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
46394         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46395         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46397 2011-11-11  Roland McGrath  <roland@hack.frob.com>
46399         * include/unistd.h: Fix __readlink return type.
46400         Reported by Chris Metcalf <cmetcalf@tilera.com>.
46402 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
46404         * stdlib/ucontext.h: Undo last change for makecontext.
46406 2011-11-11  Andreas Schwab  <schwab@redhat.com>
46408         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46410         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46411         * setjmp/setjmp.h: Mark functions as non-leaf.
46412         * setjmp/bits/setjmp2.h: Likewise.
46413         * stdlib/ucontext.h: Likewise.
46415 2011-11-10  Andreas Schwab  <schwab@redhat.com>
46417         * malloc/arena.c (_int_new_arena): Don't increment narenas.
46418         (reused_arena): Don't check arena limit.
46419         (arena_get2): Atomically check arena limit.
46421 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
46423         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46424         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46427         instructions.
46429 2011-11-07  Andreas Schwab  <schwab@redhat.com>
46431         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46432         handler when locking.
46434         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46435         Fix size of allocated buffer.
46437 2011-11-04  Andreas Schwab  <schwab@redhat.com>
46439         [BZ #10103]
46440         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46441         declarations for long double functions.
46442         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46444         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46446 2011-11-03  Andreas Schwab  <schwab@redhat.com>
46448         * nscd/nscd.c (main): Don't start AVC thread until credentials are
46449         installed.
46451         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46452         is disabled.
46454 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46456         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46458 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46460         * include/alloca.h (stackinfo_alloca_round): Define.
46461         (extend_alloca): Use it.
46462         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46463         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46464         here.
46466         * scripts/check-local-headers.sh: Ignore libaudit.h.
46468         * nscd/Makefile (extra-objs): Make recursively expanded.
46470 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
46472         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46473         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46475         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46476         * posix/tst-rfc3484-2.c: Likewise.
46477         * posix/tst-rfc3484-3.c: Likewise.
46479         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46480         process_vm_writev.
46481         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46482         process_vm_writev.
46483         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46484         process_vm_writev from libc using GLIBC_2.15 version.
46486         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46488 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
46490         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46491         stack usage.
46493 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
46495         [BZ #13367]
46496         * nss/getent.c (initgroups_keys): Show error message in case no group
46497         names are given.
46499         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46500         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46501         __bump_nl_timestamp.
46502         * nscd/connections (nscd_init): When host database is served open
46503         netlink socket and request notification about configuration changes.
46504         (main_loop_poll): Track netlink file descriptor and bump timestamp
46505         in case data becomes available.
46506         (main_loop_epoll): Likewise.
46507         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46508         (database_pers_head): Add extra_data fileds.
46509         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46510         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46511         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46512         Adjust caller.
46513         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46514         in6ai data, call __free_in6ai.
46515         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46516         Add -DHAVE_NETLINK.
46517         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
46518         interface information.  Reuse previous data if netlink timestamp
46519         is not changed.
46520         (__bump_nl_timestamp): New function.
46521         (__free_in6ai): New function.
46523 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
46525         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46526         close_not_cancel_no_status here.
46527         (__check_pf): Reorganize code a bit to not call close twice if OOM.
46529 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46531         [BZ #13276]
46532         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46533         return value.
46535         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46536         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46537         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46539 2011-07-03  Andreas Jaeger  <aj@suse.de>
46541         [BZ #10709]
46542         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46543         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46544         * math/libm-test.inc (sin_test): Add test case.
46546 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46548         [BZ #13337]
46549         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46550         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46552         * elf/chroot_canon.c (chroot_canon): Cleanups.
46554         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46556         [BZ #13335]
46557         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46558         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46560         * string/test-strchr.c: Make usable for strchrnul testing.
46561         * string/test-strchrnul.c: New file.
46562         * string/Makefile (strop-tests): Add strchrnul.
46564         * po/it.po: Update from translation team.
46565         * po/es.po: Likewise.
46567 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
46569         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46570         the three constants needed as parameters.  Drop the others.
46571         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46572         __m128i_strloadu_tolower.
46573         Create and initialize variable zero and use it in all the places
46574         where _mm_setzero_si128 was used.
46576         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46577         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46578         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46579         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46580         anymore.
46581         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46582         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46583         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46584         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46585         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46586         __mpranred, __mptan.
46587         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46588         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46589         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46590         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46591         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46592         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46593         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46594         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46595         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46597 2011-10-28  Andreas Schwab  <schwab@redhat.com>
46599         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46600         redefine if SHARED.
46601         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46603         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46604         wide char related routines to wcsmbs subdir.
46606 2011-10-27  Andreas Schwab  <schwab@redhat.com>
46608         [BZ #13344]
46609         * misc/sys/cdefs.h (__THROWNL): Define.
46610         * posix/unistd.h: Use __THREADNL instead of __THREAD
46611         for memory synchronization functions.
46613 2011-10-26  Roland McGrath  <roland@hack.frob.com>
46615         [BZ #13349]
46616         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46617         doesn't exist.
46618         * manual/stdio.texi (Obstack Streams): Node removed.
46620 2011-10-26  Andreas Schwab  <schwab@redhat.com>
46622         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46623         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46624         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46626         * math/math_private.h (math_force_eval): Allow non-addressable
46627         arguments.
46628         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46630 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46632         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46633         file is not needed.
46635         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46636         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46637         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46638         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46639         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46640         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46641         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46642         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46643         Add AVX variants.
46644         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46645         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46646         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46647         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46648         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46649         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46650         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46651         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46652         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46653         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46654         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46655         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46656         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46657         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46658         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46659         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46660         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46661         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46662         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46664         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46665         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
46667         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46668         place.  Use VEX encoding when compiling for AVX.
46670 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46672         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46673         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46675         * string/test-strchr.c (do_test): Don't generate NUL bytes.
46677 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46679         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46680         useless if() expression.
46681         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46682         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46683         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46684         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46685         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46686         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46687         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46688         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46689         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46690         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46691         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46692         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46693         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46694         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46695         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46696         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46697         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46698         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46699         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46701         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46703 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46705         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46706         condition.
46707         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46709 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46711         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46712         .text section.  Avoid duplicate constants.
46713         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46714         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46715         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46716         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46717         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46718         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46719         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46721         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46722         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46723         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46724         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46725         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46726         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46727         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46728         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46729         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46730         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46731         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46732         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46733         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46734         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46735         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46736         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46737         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46738         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46739         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46740         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46741         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46742         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46743         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46744         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46745         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46746         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46747         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46748         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46749         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46750         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46751         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46752         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46753         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46754         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46755         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46756         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46757         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46759 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46761         * sysdeps/x86_64/dla.h: Move to ...
46762         * sysdeps/x86_64/fpu/dla.h: ...here.
46763         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46764         situations.  Use __builtin_fma only for gcc 4.6 and up.
46766         * config.make.in: Add have-mfma4 entry.
46767         * configure.in: Substitute libc_cv_cc_fma4.
46768         * math/Makefile (dbl-only-routines): Add sincostab.
46769         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46770         Use __sincostab not sincos.
46771         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46772         name is a macro.
46773         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46774         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46775         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46776         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46777         using __copysign.
46778         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46779         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46780         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46781         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46782         and __inv.
46783         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46784         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46785         __copysign.
46786         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46787         define aliases when function name is a macro.
46788         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46789         sysdeps/ieee754/dbl-64/sincos.tbl.
46790         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46791         fma4-enabled routines.
46792         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46793         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46794         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46795         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46796         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46797         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46798         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46799         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46800         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46801         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46802         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46803         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46804         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46805         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46806         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46807         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46808         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46809         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46810         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46811         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46812         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46813         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46814         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46815         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46816         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46817         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46818         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46819         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46820         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46821         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46823         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46824         rename.
46825         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46826         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46829         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46830         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46831         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46832         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46834 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46836         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46838 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46840         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46842         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46843         prediction.
46844         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46846         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46847         Remove unused variable magic_bits.
46848         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46850         * string/strnlen.c: Define and use STRNLEN macro.
46851         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46852         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46853         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46854         * wcsmbs/wcslen.c: Define and use WCSLEN.
46855         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46856         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46857         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46858         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46859         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46860         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46861         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46863 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46866         strnlen-sse2-no-bsf.
46867         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46868         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46869         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46870         Add strnlen support.
46871         (USE_AS_STRNLEN): New macro.
46872         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46873         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46874         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46875         * sysdeps/x86_64/wcslen.S: New file.
46877 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46879         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46880         XMM-moves are used for copying on small sizes.
46882 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46884         * wcsmbs/Makefile (strop-tests): Add wcschr.
46885         * wcsmbs/test-wcschr.c: New file.
46886         * string/test-strchr.c: Update.
46887         Add wcschr support.
46888         (WIDE): New macro.
46890 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46892         * wcsmbs/Makefile (strop-tests): Add wcslen.
46893         * wcsmbs/test-wcslen.c: New file.
46894         * string/test-strlen.c: Update.
46895         Add wcslen support.
46896         (WIDE): New macro.
46898 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46900         * po/it.po: Update from translation team.
46902 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46904         * sysdeps/x86_64/wcscmp.S: Update.
46905         Fix wrong comparison semantics.
46906         wcscmp shall use signed comparison not unsigned.
46907         Don't use substraction to avoid overflow bug.
46908         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46909         * wcsmbc/wcscmp.c: Likewise.
46910         * string/test-strcmp.c: Likewise.
46911         Add new tests to check cases with negative values.
46913 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46915         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46916         * sysdeps/x86_64/dla.h: ...here.  New file.
46917         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46918         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46919         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46920         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46921         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46922         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46924         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46925         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46927 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
46929         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46930         __ynl_finite aliases.
46932 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46936         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46937         define DLA_FMA.
46938         [DLA_FMA] (EMULV): Use DLA_FMA.
46939         [DLA_FMA] (MUL12): Use EMULV.
46940         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46941         that are not needed.
46942         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46943         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46944         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46945         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46946         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46947         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46948         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46950 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
46952         * math/s_nan.c: Undef __nan.
46953         * math/s_nanf.c: Undef __nanf.
46954         * math/s_nanl.c: Undef __nanl.
46955         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46956         "math_private.h".
46958 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46960         * math/s_catan.c: Add branch predictions.
46961         * math/s_catanf.c: Likewise.
46962         * math/s_catanh.c: Likewise.
46963         * math/s_catanhf.c: Likewise.
46964         * math/s_catanhl.c: Likewise.
46965         * math/s_catanl.c: Likewise.
46966         * math/s_cexp.c: Likewise.
46967         * math/s_cexpf.c: Likewise.
46968         * math/s_cexpl.c: Likewise.
46969         * math/s_clog.c: Likewise.
46970         * math/s_clog10.c: Likewise.
46971         * math/s_clog10f.c: Likewise.
46972         * math/s_clog10l.c: Likewise.
46973         * math/s_clogf.c: Likewise.
46974         * math/s_clogl.c: Likewise.
46975         * math/s_csqrt.c: Likewise.
46976         * math/s_csqrtf.c: Likewise.
46977         * math/s_csqrtl.c: Likewise.
46978         * math/s_ctanf.c: Likewise.
46979         * math/s_ctanh.c: Likewise.
46980         * math/s_ctanhf.c: Likewise.
46981         * math/s_ctanhl.c: Likewise.
46982         * math/s_ctanl.c: Likewise.
46984         * math/math_private.h: Define __nan, __nanf, __nanl.
46985         * math/s_cacosh.c: Include <math_private.h>.
46986         * math/s_cacoshl.c: Likewise.
46987         * math/s_casinh.c: Likewise.
46988         * math/s_casinhf.c: Likewise.
46989         * math/s_casinhl.c: Likewise.
46990         * math/s_ccos.c: Rely entire on ccosh.
46991         * math/s_ccosf.c: Rely entire on ccoshf.
46992         * math/s_ccosl.c: Rely entirely on ccoshl.
46993         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
46994         Remove tests for FE_INVALID.
46995         * math/s_ccoshf.c: Likewise.
46996         * math/s_ccoshl.c: Likewise.
46997         * math/s_csin.c: Likewise.
46998         * math/s_csinf.c: Likewise.
46999         * math/s_csinh.c Likewise.
47000         * math/s_csinhf.c: Likewise.
47001         * math/s_csinhl.c: Likewise.
47002         * math/s_csinl.c: Likewise.
47003         * math/s_ctan.c: Likewise.
47004         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47005         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47006         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47008 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
47010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47011         compilation problems.
47013         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47014         __builtin_expect.
47016 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
47018         * sysdeps/i386/configure.in: Test for -mfma4 option.
47019         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47020         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47021         COMMON_CPUID_INDEX_80000001.
47022         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47023         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47024         use it if FMA3 is not supported.
47025         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47027         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47028         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47030 2011-10-20  Andreas Schwab  <schwab@redhat.com>
47032         [BZ #12892]
47033         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47034         it would create a cycle with a link time dependency.
47036 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
47038         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47039         instruction.
47040         * string/Makefile (strop-tests): Add rawmemchr.
47041         * string/test-rawmemchr.c: New file.
47043         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47044         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
47045         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
47046         when compiling str{,n}casecmp and when AVX is available.  Hook up
47047         new optimized code in initializers.
47049 2011-10-19  Andreas Schwab  <schwab@redhat.com>
47051         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47052         __feraiseexcept instead of feraiseexcept.
47054 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
47056         * math/math_private.h: Define defaults for libc_fetestexcept and
47057         libc_feupdateenv.
47058         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47059         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47060         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47061         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47062         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47063         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47064         libc_fetestexcept and libc_feupdateenv.
47066         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47067         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47068         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47069         * sysdeps/x86_64/fpu/math_private.h: Define special version of
47070         libc_feholdexcept_setround.
47072         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47073         Add s_nearbyint-c and s_nearbyintf-c.
47074         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47075         nearbyintf inlines.
47076         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47077         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47078         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47079         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47081         * math/math_private.h: Define defaults for libc_fegetround,
47082         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47083         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47084         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47085         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47086         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47087         standard functions.
47088         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47089         Remove comments and hacks for old compiler versions.
47090         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47091         libc_fegetround, libc_fesetround, libc_feholdexcept, and
47092         libc_feholdexceptl.
47094 2011-10-18  Andreas Schwab  <schwab@redhat.com>
47096         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47097         (__feraiseexcept_renamed): Add __NTH.
47098         (feraiseexcept): Add __NTH.  Rename local variables to fix
47099         namespace violations.
47101 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
47103         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47105         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47107         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47108         recently added interfaces.
47109         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47111         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47112         about macro parameter expansion.
47114         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47115         __NO_MATH_INLINES is defined.  Cleanups.
47117         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47118         and __floorf is target has SSE4.1.
47119         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47120         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47121         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47122         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47124         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47125         name.
47126         (floorf): Likewise.
47128         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47130 2011-10-17  Andreas Schwab  <schwab@redhat.com>
47132         * misc/sys/cdefs.h: Fix last change.
47134         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47135         database lookup.
47137 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
47139         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47141         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47142         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47143         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47144         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47145         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47146         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47147         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47148         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47149         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47150         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47151         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47152         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47153         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47154         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47155         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47156         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47157         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47158         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47159         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47160         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47161         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47162         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47164         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47165         ceil, ceilf, floor, floorf.
47167         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47168         Perform IRELATIVE relocations last.
47170         * elf/do-rel.h: Add another parameter nrelative, replacing the
47171         local variable with the same name.  Change name of the function
47172         to end in Rel or Rela (uppercase).
47173         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47174         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
47175         elf_dynamic_do_##reloc function.
47177 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47179         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47180         is sufficient, at least on modern CPUs.
47182         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47184         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47185         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47187         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47188         __expl_finite.
47189         * math/bits/math-finite.h: Add entries for exp.
47190         * math/e_expl.c: Add __*_finite alias.
47191         * sysdeps/i386/fpu/e_exp.S: Likewise.
47192         * sysdeps/i386/fpu/e_expf.S: Likewise.
47193         * sysdeps/i386/fpu/e_expl.c: Likewise.
47194         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47195         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47196         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47197         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47198         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47199         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47200         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47202         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47203         is sufficient, at least on modern CPUs.
47205         * ctype/ctype-info.c (__ctype_init): Define.
47206         * include/ctype.h (__ctype_init): Declare.
47207         (__ctype_b_loc): The variable is always initialized.
47208         (__ctype_toupper_loc): Likewise.
47209         (__ctype_tolower_loc): Likewise.
47210         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47211         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47213 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
47215         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47217         * configure.in: Also look in $cxxmachine/include for C++ system
47218         headers.
47220 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47222         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47223         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47224         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47225         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
47226         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47227         (USE_AS_WMEMCMP): New macro.
47228         Fixing indents.
47229         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47230         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47231         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47232         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47233         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47234         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47235         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47236         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47237         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47238         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47239         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47240         (USE_AS_WMEMCMP): New macro.
47241         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47242         * sysdeps/string/test-memcmp.c: Update.
47243         Fix simple_wmemcmp.
47244         Add new tests.
47245         * wcsmbs/wmemcmp.c: Update.
47246         (WMEMCMP): New macro.
47247         Fix overflow bug.
47249 2011-10-12  Andreas Jaeger  <aj@suse.de>
47251         [BZ #13268]
47252         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47254 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47256         * libio/iofwide.c (do_length): Avoid warning.
47258         * ctype/ctype.h (__isctype_f): Add missing __THROW.
47260 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
47262         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47264         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47265         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47266         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47267         * sysdeps/i386/i686/fpu/e_log.S: New file.
47268         * sysdeps/i386/i686/fpu/e_logf.S: New file.
47269         * sysdeps/i386/i686/fpu/e_logl.S: New file.
47271         * ctype/ctype.h: Add support for inlined isXXX functions when
47272         compiling C++ code.
47274 2011-10-14  Andreas Schwab  <schwab@redhat.com>
47276         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47278         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47280 2011-10-13  Roland McGrath  <roland@hack.frob.com>
47282         [BZ #13291]
47283         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47285 2011-10-13  Andreas Schwab  <schwab@redhat.com>
47287         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47288         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47289         feraiseexcept.
47291         * sysdeps/x86_64/memrchr.S: Check for zero size.
47293         * string/stratcliff.c: Add memrchr tests.
47295 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47297         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47298         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47299         rawmemchr-sse2 rawmemchr-sse2-bsf.
47300         * sysdeps/i386/i686/multiarch/memchr.S: New file.
47301         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47302         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47303         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47304         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47305         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47306         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47307         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47308         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47309         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47310         * string/memrchr.c (MEMRCHR): New macro.
47312 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
47314         Add integration with gcc's -ffinite-math-only and optimize wrapper
47315         functions in libm.
47316         * Versions.def: Define GLIBC_2.15 version for libm.
47317         * math/Makefile (headers): Add bits/math-finite.h.
47318         * math/bits/math-finite.h: New file.
47319         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47320         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47321         * math/e_acoshl.c: Add __*_finite alias.
47322         * math/e_acosl.c: Likewise.
47323         * math/e_asinl.c: Likewise.
47324         * math/e_atan2l.c: Likewise.
47325         * math/e_atanhl.c: Likewise.
47326         * math/e_coshl.c: Likewise.
47327         * math/e_exp10.c: Likewise.
47328         * math/e_exp10f.c: Likewise.
47329         * math/e_exp10l.c: Likewise.
47330         * math/e_exp2l.c: Likewise.
47331         * math/e_fmodl.c: Likewise.
47332         * math/e_gammal_r.c: Likewise.
47333         * math/e_hypotl.c: Likewise.
47334         * math/e_j0l.c: Likewise.
47335         * math/e_j1l.c: Likewise.
47336         * math/e_jnl.c: Likewise.
47337         * math/e_lgammal_r.c: Likewise.
47338         * math/e_log10l.c: Likewise.
47339         * math/e_log2l.c: Likewise.
47340         * math/e_logl.c: Likewise.
47341         * math/e_powl.c: Likewise.
47342         * math/e_sinhl.c: Likewise.
47343         * math/e_sqrtl.c: Likewise.
47344         * math/e_scalb.c: Completely rewritten and optimized.
47345         * math/e_scalbf.c: Likewise.
47346         * math/e_scalbl.c: Likewise.
47347         * math/w_acos.c: Likewise.
47348         * math/w_acosf.c: Likewise.
47349         * math/w_acosl.c: Likewise.
47350         * math/w_acosh.c: Likewise.
47351         * math/w_acoshf.c: Likewise.
47352         * math/w_acoshl.c: Likewise.
47353         * math/w_asin.c: Likewise.
47354         * math/w_asinf.c: Likewise.
47355         * math/w_asinl.c: Likewise.
47356         * math/w_atan2.c: Likewise.
47357         * math/w_atan2f.c: Likewise.
47358         * math/w_atan2l.c: Likewise.
47359         * math/w_atanh.c: Likewise.
47360         * math/w_atanhf.c: Likewise.
47361         * math/w_atanhl.c: Likewise.
47362         * math/w_exp10.c: Likewise.
47363         * math/w_exp10f.c: Likewise.
47364         * math/w_exp10l.c: Likewise.
47365         * math/w_fmod.c: Likewise.
47366         * math/w_fmodf.c: Likewise.
47367         * math/w_fmodl.c: Likewise.
47368         * math/w_j0.c: Likewise.
47369         * math/w_j0f.c: Likewise.
47370         * math/w_j0l.c: Likewise.
47371         * math/w_j1.c: Likewise.
47372         * math/w_j1f.c: Likewise.
47373         * math/w_j1l.c: Likewise.
47374         * math/w_jn.c: Likewise.
47375         * math/w_jnf.c: Likewise.
47376         * math/w_log.c: Likewise.
47377         * math/w_logf.c: Likewise.
47378         * math/w_logl.c: Likewise.
47379         * math/w_log10.c: Likewise.
47380         * math/w_log10f.c: Likewise.
47381         * math/w_log10l.c: Likewise.
47382         * math/w_log2.c: Likewise.
47383         * math/w_log2f.c: Likewise.
47384         * math/w_log2l.c: Likewise.
47385         * math/w_pow.c: Likewise.
47386         * math/w_powf.c: Likewise.
47387         * math/w_powl.c: Likewise.
47388         * math/w_remainder.c: Likewise.
47389         * math/w_remainderf.c: Likewise.
47390         * math/w_remainderl.c: Likewise.
47391         * math/w_scalb.c: Likewise.
47392         * math/w_scalbf.c: Likewise.
47393         * math/w_scalbl.c: Likewise.
47394         * math/w_sqrt.c: Likewise.
47395         * math/w_sqrtf.c: Likewise.
47396         * math/w_sqrtl.c: Likewise.
47397         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47398         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
47399         used.
47400         * math/math_private.h: Declare __kernel_standard_f.
47401         * math/w_cosh.c: Remove cruft and optimize a bit.
47402         * math/w_coshf.c: Likewise.
47403         * math/w_coshl.c: Likewise.
47404         * math/w_exp2.c: Likewise.
47405         * math/w_exp2f.c: Likewise.
47406         * math/w_exp2l.c: Likewise.
47407         * math/w_hypot.c: Likewise.
47408         * math/w_hypotf.c: Likewise.
47409         * math/w_hypotl.c: Likewise.
47410         * math/w_lgamma.c: Likewise.
47411         * math/w_lgamma_r.c: Likewise.
47412         * math/w_lgammaf.c: Likewise.
47413         * math/w_lgammaf_r.c: Likewise.
47414         * math/w_lgammal.c: Likewise.
47415         * math/w_lgammal_r.c: Likewise.
47416         * math/w_sinh.c: Likewise.
47417         * math/w_sinhf.c: Likewise.
47418         * math/w_sinhl.c: Likewise.
47419         * math/w_tgamma.c: Likewise.
47420         * math/w_tgammaf.c: Likewise.
47421         * math/w_tgammal.c: Likewise.
47422         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47423         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47424         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47425         Minor optimizations.  Pretty printing.  Remove cruft.
47426         * sysdeps/i386/fpu/e_acosf.S: Likewise.
47427         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47428         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47429         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47430         * sysdeps/i386/fpu/e_acosl.c: Likewise.
47431         * sysdeps/i386/fpu/e_asin.S: Likewise.
47432         * sysdeps/i386/fpu/e_asinf.S: Likewise.
47433         * sysdeps/i386/fpu/e_atan2.S: Likewise.
47434         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47435         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47436         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47437         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47438         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47439         * sysdeps/i386/fpu/e_exp10.S: Likewise.
47440         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47441         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47442         * sysdeps/i386/fpu/e_exp2.S: Likewise.
47443         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47444         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47445         * sysdeps/i386/fpu/e_fmod.S: Likewise.
47446         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47447         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47448         * sysdeps/i386/fpu/e_hypot.S: Likewise.
47449         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47450         * sysdeps/i386/fpu/e_log.S: Likewise.
47451         * sysdeps/i386/fpu/e_log10.S: Likewise.
47452         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47453         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47454         * sysdeps/i386/fpu/e_log2.S: Likewise.
47455         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47456         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47457         * sysdeps/i386/fpu/e_logf.S: Likewise.
47458         * sysdeps/i386/fpu/e_logl.S: Likewise.
47459         * sysdeps/i386/fpu/e_pow.S: Likewise.
47460         * sysdeps/i386/fpu/e_powf.S: Likewise.
47461         * sysdeps/i386/fpu/e_powl.S: Likewise.
47462         * sysdeps/i386/fpu/e_remainder.S: Likewise.
47463         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47464         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47465         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47466         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47467         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47468         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47469         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47470         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47471         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47472         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47473         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47474         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47475         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47476         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47477         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47478         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47479         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47480         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47481         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47482         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47483         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47484         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47485         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47486         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47487         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47488         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47489         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47490         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47491         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47492         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47493         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47494         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47495         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47496         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47497         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47498         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47499         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47500         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47501         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47502         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47503         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47504         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47505         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47506         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47507         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47508         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47509         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47510         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47511         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47512         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47513         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47514         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47515         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47516         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47517         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47518         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47519         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47520         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47521         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47522         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47523         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47524         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47525         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47526         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47527         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47528         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47529         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47530         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47531         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47532         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47533         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47534         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47535         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47536         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47537         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47538         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47539         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47540         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47541         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47542         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47543         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47544         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47545         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47546         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47547         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47548         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47549         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47550         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47551         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47552         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47553         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47554         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47555         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47556         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47557         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47558         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47559         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47560         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47561         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47562         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47563         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47564         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47565         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47566         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47567         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47568         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47569         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47570         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47571         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47572         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47573         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47574         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47575         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47576         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47577         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47578         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47579         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47580         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47581         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
47582         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47583         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47584         (__isnanf): Likewise.
47585         (__isinf_ns): Likewise.
47586         (__isinf_nsf): Likewise.
47587         (__finite): Likewise.
47588         (__finitef): Likewise.
47589         (__ieee754_sqrt): Define as macro.
47590         (__ieee754_sqrtf): Define as macro.
47591         (__ieee754_sqrtl): Define as macro.
47592         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47593         inlined copy.
47594         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47595         __FINITE_MATH_ONLY__ consistent.
47596         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47598 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
47600         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47601         of rawmemchr.
47603         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47605 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
47607         * po/ja.po: Update from translation team.
47609 2011-10-08  Roland McGrath  <roland@hack.frob.com>
47611         * locale/programs/locarchive.c (prepare_address_space): New function.
47612         (create_archive, enlarge_archive, open_archive): Use it.
47614         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47615         inside [SHARED], where it is used.
47617         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47619         * nss/getent.c (netgroup_keys): Remove unused variable.
47620         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47622 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
47624         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47625         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47626         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47627         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47628         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47629         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47630         * math/Makefile (libm-calls): Add s_isinf_ns.
47631         * math/divtc3.c: Use __isinf_nsl instead of isinf.
47632         * math/multc3.c: Likewise.
47633         * math/s_casin.c: Likewise.
47634         * math/s_casinf.c: Likewise.
47635         * math/s_casinl.c: Likewise.
47636         * math/s_ccos.c: Likewise.
47637         * math/s_ccosf.c: Likewise.
47638         * math/s_ccosl.c: Likewise.
47639         * math/s_ctan.c: Likewise.
47640         * math/s_ctanf.c: Likewise.
47641         * math/s_ctanh.c: Likewise.
47642         * math/s_ctanhf.c: Likewise.
47643         * math/s_ctanhl.c: Likewise.
47644         * math/s_ctanl.c: Likewise.
47645         * math/w_fmod.c: Likewise.
47646         * math/w_fmodf.c: Likewise.
47647         * math/w_fmodl.c: Likewise.
47648         * math/w_remainder.c: Likewise.
47649         * math/w_remainderf.c: Likewise.
47650         * math/w_remainderl.c: Likewise.
47651         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47652         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47653         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47654         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47655         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47656         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47657         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47658         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47660         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47661         of the number.
47662         * stdio-common/printf_fphex.c: Likewise.
47663         * stdio-common/printf_size.c: Likewise.
47665         * math/e_exp10.c: Include math_private.h using <...> not "...".
47666         * math/e_exp10f.c: Likewise.
47667         * math/e_exp10l.c: Likewise.
47668         * math/e_exp2l.c: Likewise.
47669         * math/e_j0l.c: Likewise.
47670         * math/e_j1l.c: Likewise.
47671         * math/e_jnl.c: Likewise.
47672         * math/e_lgammal_r.c: Likewise.
47673         * math/e_rem_pio2l.c: Likewise.
47674         * math/e_scalb.c: Likewise.
47675         * math/e_scalbf.c: Likewise.
47676         * math/e_scalbl.c: Likewise.
47677         * math/k_cosl.c: Likewise.
47678         * math/k_sinl.c: Likewise.
47679         * math/k_tanl.c: Likewise.
47680         * math/s_cacoshf.c: Likewise.
47681         * math/s_catan.c: Likewise.
47682         * math/s_catanf.c: Likewise.
47683         * math/s_catanh.c: Likewise.
47684         * math/s_catanhf.c: Likewise.
47685         * math/s_catanhl.c: Likewise.
47686         * math/s_catanl.c: Likewise.
47687         * math/s_ccosh.c: Likewise.
47688         * math/s_ccoshf.c: Likewise.
47689         * math/s_ccoshl.c: Likewise.
47690         * math/s_cexp.c: Likewise.
47691         * math/s_cexpf.c: Likewise.
47692         * math/s_cexpl.c: Likewise.
47693         * math/s_clog.c: Likewise.
47694         * math/s_clog10.c: Likewise.
47695         * math/s_clog10f.c: Likewise.
47696         * math/s_clog10l.c: Likewise.
47697         * math/s_clogf.c: Likewise.
47698         * math/s_clogl.c: Likewise.
47699         * math/s_csin.c: Likewise.
47700         * math/s_csinf.c: Likewise.
47701         * math/s_csinh.c: Likewise.
47702         * math/s_csinhf.c: Likewise.
47703         * math/s_csinhl.c: Likewise.
47704         * math/s_csinl.c: Likewise.
47705         * math/s_csqrt.c: Likewise.
47706         * math/s_csqrtf.c: Likewise.
47707         * math/s_csqrtl.c: Likewise.
47708         * math/s_ctan.c: Likewise.
47709         * math/s_ctanf.c: Likewise.
47710         * math/s_ctanh.c: Likewise.
47711         * math/s_ctanhf.c: Likewise.
47712         * math/s_ctanhl.c: Likewise.
47713         * math/s_ctanl.c: Likewise.
47714         * math/s_ldexp.c: Likewise.
47715         * math/s_ldexpf.c: Likewise.
47716         * math/s_ldexpl.c: Likewise.
47717         * math/s_significand.c: Likewise.
47718         * math/s_significandf.c: Likewise.
47719         * math/s_significandl.c: Likewise.
47720         * math/w_acos.c: Likewise.
47721         * math/w_acosf.c: Likewise.
47722         * math/w_acosh.c: Likewise.
47723         * math/w_acoshf.c: Likewise.
47724         * math/w_acoshl.c: Likewise.
47725         * math/w_acosl.c: Likewise.
47726         * math/w_asin.c: Likewise.
47727         * math/w_asinf.c: Likewise.
47728         * math/w_asinl.c: Likewise.
47729         * math/w_atan2.c: Likewise.
47730         * math/w_atan2f.c: Likewise.
47731         * math/w_atan2l.c: Likewise.
47732         * math/w_atanh.c: Likewise.
47733         * math/w_atanhf.c: Likewise.
47734         * math/w_atanhl.c: Likewise.
47735         * math/w_cosh.c: Likewise.
47736         * math/w_coshf.c: Likewise.
47737         * math/w_coshl.c: Likewise.
47738         * math/w_dremf.c: Likewise.
47739         * math/w_exp10.c: Likewise.
47740         * math/w_exp10f.c: Likewise.
47741         * math/w_exp10l.c: Likewise.
47742         * math/w_exp2.c: Likewise.
47743         * math/w_exp2f.c: Likewise.
47744         * math/w_fmod.c: Likewise.
47745         * math/w_fmodf.c: Likewise.
47746         * math/w_fmodl.c: Likewise.
47747         * math/w_hypot.c: Likewise.
47748         * math/w_hypotf.c: Likewise.
47749         * math/w_hypotl.c: Likewise.
47750         * math/w_j0.c: Likewise.
47751         * math/w_j0f.c: Likewise.
47752         * math/w_j0l.c: Likewise.
47753         * math/w_j1.c: Likewise.
47754         * math/w_j1f.c: Likewise.
47755         * math/w_j1l.c: Likewise.
47756         * math/w_jn.c: Likewise.
47757         * math/w_jnf.c: Likewise.
47758         * math/w_jnl.c: Likewise.
47759         * math/w_lgamma.c: Likewise.
47760         * math/w_lgamma_r.c: Likewise.
47761         * math/w_lgammaf.c: Likewise.
47762         * math/w_lgammaf_r.c: Likewise.
47763         * math/w_lgammal.c: Likewise.
47764         * math/w_lgammal_r.c: Likewise.
47765         * math/w_log.c: Likewise.
47766         * math/w_log10.c: Likewise.
47767         * math/w_log10f.c: Likewise.
47768         * math/w_log10l.c: Likewise.
47769         * math/w_log2.c: Likewise.
47770         * math/w_log2f.c: Likewise.
47771         * math/w_log2l.c: Likewise.
47772         * math/w_logf.c: Likewise.
47773         * math/w_logl.c: Likewise.
47774         * math/w_pow.c: Likewise.
47775         * math/w_powf.c: Likewise.
47776         * math/w_powl.c: Likewise.
47777         * math/w_remainder.c: Likewise.
47778         * math/w_remainderf.c: Likewise.
47779         * math/w_remainderl.c: Likewise.
47780         * math/w_scalb.c: Likewise.
47781         * math/w_scalbf.c: Likewise.
47782         * math/w_scalbl.c: Likewise.
47783         * math/w_sinh.c: Likewise.
47784         * math/w_sinhf.c: Likewise.
47785         * math/w_sinhl.c: Likewise.
47786         * math/w_sqrt.c: Likewise.
47787         * math/w_sqrtf.c: Likewise.
47788         * math/w_sqrtl.c: Likewise.
47789         * math/w_tgamma.c: Likewise.
47790         * math/w_tgammaf.c: Likewise.
47791         * math/w_tgammal.c: Likewise.
47793         * po/ja.po: Update from translation team.
47795 2011-09-29  Andreas Jaeger  <aj@suse.de>
47797         [BZ #13179]
47798         * sunrpc/netname.c (netname2host): Fix logic.
47800         [BZ #6779]
47801         [BZ #6783]
47802         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47803         correctly.
47804         * math/w_remainder.c (__remainder): Likewise.
47805         * math/w_remainderf.c (__remainderf): Likewise.
47806         * math/libm-test.inc (remainder_test): Add test cases.
47808 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47810         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47811         sdiv_qrnnd.
47813 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47815         * string/test-memcmp.c: Avoid unncessary #defines.
47816         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47818 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47820         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47821         Use new sse2 version for core i3 - i7 as it's faster
47822         than sse42 version.
47823         (bit_Prefer_PMINUB_for_stringop): New.
47824         * sysdeps/x86_64/rawmemchr.S: Update.
47825         Replace with faster SSE2 version.
47826         * sysdeps/x86_64/memrchr.S: New file.
47827         * sysdeps/x86_64/memchr.S: Update.
47828         Replace with faster SSE2 version.
47830 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47832         * elf/dl-load.c (lose): Add cast to avoid warning.
47834 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47836         * po/ca.po: Update from translation team.
47838         * inet/getnetgrent_r.c: Hook up nscd.
47839         * nscd/Makefile (routines): Add nscd_netgroup.
47840         (nscd-modules): Add netgroupcache.
47841         (CFLAGS-netgroupcache.c): Define.
47842         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47843         (cache_search): Add const to second parameter.
47844         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47845         INNETGR.
47846         (dbs): Add netgrdb entry.
47847         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47848         (verify_persistent_db): Handle netgrdb.
47849         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47850         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47851         GETFDNETGR.
47852         (netgroup_response_header): Define.
47853         (innetgroup_response_header): Define.
47854         (datahead): Add netgroup_response_header and innetgroup_response_header
47855         elements.
47856         * nscd/nscd.conf: Add entries for netgroup cache.
47857         * nscd/nscd.h (dbtype): Add netgrdb.
47858         (_PATH_NSCD_NETGROUP_DB): Define.
47859         (netgroup_iov_disabled): Declare.
47860         (xmalloc, xcalloc, xrealloc): Move declarations here.
47861         (cache_search): Adjust prototype.
47862         Add netgroup-related prototypes.
47863         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47864         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47865         (__nscd_innetgr): Declare.
47866         * nscd/selinux.c (perms): Use access_vector_t as element type and
47867         add netgroup-related initializers.
47868         * nscd/netgroupcache.c: New file.
47869         * nscd/nscd_netgroup.c: New file.
47870         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47871         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47872         For four parameters use innetgr.
47873         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47874         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47875         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47876         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47878         * nscd/connections.c (register_traced_file): Don't register file
47879         for disabled databases.
47881 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47883         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47885         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47886         from tree and freeing node.
47888 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47890         * nss/nsswitch.c (__nss_database_lookup): Handle
47891         nss_parse_service_list out of memory case.
47893 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47895         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47896         out of memory case.
47898 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47900         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47901         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47902         pass it down.
47903         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47904         elf_machine_rela, elf_machine_lazy_rel.
47905         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47906         (ELF_DYNAMIC_DO_REL): Likewise.
47907         (ELF_DYNAMIC_DO_RELA): Likewise.
47908         (ELF_DYNAMIC_RELOCATE): Likewise.
47909         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47910         to ELF_DYNAMIC_DO_REL.
47911         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47912         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47913         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47914         elf_machine_rela.
47915         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47916         skip_ifunc, don't call ifunc function if non-zero.
47917         (elf_machine_rela): Likewise.
47918         (elf_machine_lazy_rel): Likewise.
47919         (elf_machine_lazy_rela): Likewise.
47920         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47921         (elf_machine_lazy_rel): Likewise.
47922         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47923         Likewise.
47924         (elf_machine_lazy_rel): Likewise.
47925         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47926         Likewise.
47927         (elf_machine_lazy_rel): Likewise.
47928         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47929         (elf_machine_lazy_rel): Likewise.
47930         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47931         (elf_machine_lazy_rel): Likewise.
47932         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47933         (elf_machine_lazy_rel): Likewise.
47934         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47935         (elf_machine_lazy_rel): Likewise.
47936         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47937         (elf_machine_lazy_rel): Likewise.
47938         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47939         (elf_machine_lazy_rel): Likewise.
47941 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
47943         * nss/nss_files/files-init.c (_nss_files_init): Use static
47944         initialization for all the *_traced_file variables.
47946 2011-09-28  Andreas Schwab  <schwab@redhat.com>
47948         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47950 2011-09-27  Roland McGrath  <roland@hack.frob.com>
47952         [BZ #13226]
47953         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47955 2011-09-27  Andreas Schwab  <schwab@redhat.com>
47957         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47958         Reread the line before reparsing it.
47960 2011-09-26  Andreas Schwab  <schwab@redhat.com>
47962         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47964 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
47965             Maxim Kuvyrkov  <maxim@codesourcery.com>
47966             Joseph Myers  <joseph@codesourcery.com>
47968         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47969         if needed for __stack_chk_guard.
47971 2011-09-19  Roland McGrath  <roland@hack.frob.com>
47973         * sysdeps/posix/spawni.c (script_execute): Always define it.
47974         It will be optimized away if unused.
47975         (maybe_script_execute): New function.
47976         (__spawni): Call it.
47978         * Makerules: Don't include tls.make.
47979         (config-tls): Always set to thread.
47980         * tls.make.c: File removed.
47982 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
47984         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47985         * config.make.in (CPPFLAGS-config): New substituted variable.
47987 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47989         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47991         [BZ #13192]
47992         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47993         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47995 2011-09-15  Roland McGrath  <roland@hack.frob.com>
47997         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47998         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47999         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48000         (CALL_FAIL): Likewise.
48001         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48002         (CALL_FAIL): Macro removed.
48003         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48005 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48007         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48008         for __FINITE_MATH_ONLY__ == 1.
48010 2011-09-15  Andreas Schwab  <schwab@redhat.com>
48012         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48013         __ieee754_sqrt instead of sqrt.
48014         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48015         __ieee754_sqrtf instead of sqrtf.
48016         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48017         __floorf instead of floorf.
48018         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48019         __floorf, __truncf instead of floorf, truncf.
48021 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
48023         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48025         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48026         __extern_always_inline.
48027         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48028         32-bit.
48030 2011-09-14  Andreas Schwab  <schwab@redhat.com>
48032         * elf/rtld.c (dl_main): Also relocate in dependency order when
48033         doing symbol dependency testing.
48035 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
48037         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48038         Always define `refsym'.
48040 2011-09-13  Andreas Schwab  <schwab@redhat.com>
48042         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48043         (__FD_ELT): Renamed from __FDELT.
48044         * misc/bits/select2.h (__FD_ELT): Likewise.
48045         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48046         __FD_MASK instead of __FDELT, __FDMASK.
48047         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48048         Likewise.
48049         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48050         Likewise.
48052         * elf/Makefile (gen-ldd): Fix pattern.
48054         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48055         (init_tls): Likewise.
48057 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
48059         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48061 2011-09-12  Andreas Schwab  <schwab@redhat.com>
48063         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48064         `struct cmsghdr *' instead of `void *'.
48065         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48066         Likewise.
48068 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
48070         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48071         if non-absolute.
48072         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48073         ldd_rewrite_script.
48075 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
48077         * configure.in: Remove --with-tls option.
48078         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48079         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48080         out in case it is missing.
48081         * sysdeps/ia64/elf/configure.in: Likewise.
48082         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48083         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48084         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48085         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48086         * sysdeps/sh/elf/configure.in: Likewise.
48087         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48088         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48089         * sysdeps/x86_64/elf/configure.in: Likewise.
48090         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48091         * sysdeps/mach/hurd/tls.h: Likewise.
48093         [BZ #13067]
48094         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48096         [BZ #13090]
48097         * configure.in: Fix use of AC_INIT.
48099         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48101 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
48103         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48104         __set_errno.
48105         * malloc/hooks.c: Likewise.
48107         [BZ #11929]
48108         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
48109         variables statically.
48110         (narenas): Initialize.
48111         (list_lock): Initialize.
48112         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
48113         initializtion of main_arena and list_lock.  Small cleanups.
48114         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48115         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
48116         Add initializers to main_arena and mp_.
48117         (malloc_state): Remove pagesize member.  Change all users to use
48118         GLRO(dl_pagesize).
48120         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48121         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
48122         is always initialized.
48124         * malloc/malloc.c: Removed unused configurations and dead code.
48125         * malloc/arena.c: Likewise.
48126         * malloc/hooks.c: Likewise.
48127         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48129         * include/tls.h: Removed.  USE___THREAD must always be defined.
48130         * bits/libc-tsd.h: Don't handle !USE___THREAD.
48131         * elf/dl-libc.c: Likewise.
48132         * elf/dl-tsd.c: Likewise.
48133         * include/errno.h: Likewise.
48134         * include/netdb.h: Likewise.
48135         * include/resolv.h: Likewise.
48136         * inet/herrno-loc.c: Likewise.
48137         * inet/herrno.c: Likewise.
48138         * malloc/arena.c: Likewise.
48139         * malloc/hooks.c: Likewise.
48140         * malloc/malloc.c: Likewise.
48141         * resolv/res-state.c: Likewise.
48142         * resolv/res_libc.c: Likewise.
48143         * sysdeps/i386/dl-machine.h: Likewise.
48144         * sysdeps/ia64/dl-machine.h: Likewise.
48145         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48146         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48147         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48148         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48149         * sysdeps/sh/dl-machine.h: Likewise.
48150         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48151         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48152         * sysdeps/unix/i386/sysdep.S: Likewise.
48153         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48154         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48155         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48157         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48159         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48161         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48163         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48164         * sysdeps/x86_64/dl-machine.h: Likewise.
48165         * tls.make.c: Likewise.
48167         * configure.in: Remove --with-__thread option.  Make tests for
48168         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48169         tls_model attribute fail if no support is available.  Remove
48170         USE_IN_LIBIO.
48171         * Makeconfig: Adjust for dropped configure option.  All features are
48172         now mandatory.
48173         * Makerules: Likewise.
48174         * Versions.def: Likewise.
48175         * argp/argp-fmtstream.c: Likewise.
48176         * argp/argp-fmtstream.h: Likewise.
48177         * argp/argp-help.c: Likewise.
48178         * assert/assert.c: Likewise.
48179         * config.h.in: Likewise.
48180         * config.make.in: Likewise.
48181         * configure: Likewise.
48182         * configure.in: Likewise.
48183         * csu/Versions: Likewise.
48184         * csu/init.c: Likewise.
48185         * elf/tst-audit2.c: Likewise.
48186         * elf/tst-tls10.c: Likewise.
48187         * elf/tst-tls10.h: Likewise.
48188         * elf/tst-tls11.c: Likewise.
48189         * elf/tst-tls12.c: Likewise.
48190         * elf/tst-tls14.c: Likewise.
48191         * elf/tst-tlsmod11.c: Likewise.
48192         * elf/tst-tlsmod12.c: Likewise.
48193         * elf/tst-tlsmod13.c: Likewise.
48194         * elf/tst-tlsmod13a.c: Likewise.
48195         * elf/tst-tlsmod14a.c: Likewise.
48196         * elf/tst-tlsmod15b.c: Likewise.
48197         * elf/tst-tlsmod16a.c: Likewise.
48198         * elf/tst-tlsmod16b.c: Likewise.
48199         * elf/tst-tlsmod7.c: Likewise.
48200         * elf/tst-tlsmod8.c: Likewise.
48201         * elf/tst-tlsmod9.c: Likewise.
48202         * gmon/gmon.c: Likewise.
48203         * grp/fgetgrent_r.c: Likewise.
48204         * grp/putgrent.c: Likewise.
48205         * hurd/fopenport.c: Likewise.
48206         * include/libc-symbols.h: Likewise.
48207         * include/tls.h: Likewise.
48208         * intl/gettextP.h: Likewise.
48209         * intl/loadinfo.h: Likewise.
48210         * locale/global-locale.c: Likewise.
48211         * locale/localeinfo.h: Likewise.
48212         * mach/devstream.c: Likewise.
48213         * malloc/arena.c: Likewise.
48214         * malloc/set-freeres.c: Likewise.
48215         * misc/err.c: Likewise.
48216         * misc/getttyent.c: Likewise.
48217         * misc/mntent_r.c: Likewise.
48218         * posix/getopt.c: Likewise.
48219         * posix/wordexp.c: Likewise.
48220         * pwd/fgetpwent_r.c: Likewise.
48221         * resolv/Versions: Likewise.
48222         * resolv/res_hconf.c: Likewise.
48223         * shadow/fgetspent_r.c: Likewise.
48224         * shadow/putspent.c: Likewise.
48225         * stdio-common/printf_fphex.c: Likewise.
48226         * stdio-common/tmpfile.c: Likewise.
48227         * stdlib/abort.c: Likewise.
48228         * stdlib/fmtmsg.c: Likewise.
48229         * sunrpc/auth_unix.c: Likewise.
48230         * sunrpc/clnt_perr.c: Likewise.
48231         * sunrpc/clnt_tcp.c: Likewise.
48232         * sunrpc/clnt_udp.c: Likewise.
48233         * sunrpc/clnt_unix.c: Likewise.
48234         * sunrpc/openchild.c: Likewise.
48235         * sunrpc/svc_simple.c: Likewise.
48236         * sunrpc/svc_tcp.c: Likewise.
48237         * sunrpc/svc_udp.c: Likewise.
48238         * sunrpc/svc_unix.c: Likewise.
48239         * sunrpc/xdr.c: Likewise.
48240         * sunrpc/xdr_array.c: Likewise.
48241         * sunrpc/xdr_rec.c: Likewise.
48242         * sunrpc/xdr_ref.c: Likewise.
48243         * sunrpc/xdr_stdio.c: Likewise.
48245 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48247         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48249 2011-07-03  Andreas Jaeger  <aj@suse.de>
48251         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48252         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48253         regenerate with gen-libm-tests.pl.
48255 2010-05-12  Petr Baudis  <pasky@suse.cz>
48257         [BZ #11589]
48258         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48259         around j0() zero points by switching to j1().
48260         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48261         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48263         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48265 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48267         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48268         instead of 0.
48269         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48270         instead of 0.
48271         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48272         Patch in part by Pavel Roskin <proski@gnu.org>.
48274         [BZ #13138]
48275         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48276         realloc.
48277         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
48278         Free memory block if necessary.
48280         [BZ #12847]
48281         * libio/genops.c (INTDEF): For string streams the _lock pointer can
48282         be NULL.  Don't lock in this case.
48284 2011-09-09  Roland McGrath  <roland@hack.frob.com>
48286         * elf/elf.h (ELFOSABI_GNU): New macro.
48287         (ELFOSABI_LINUX): Define to that.
48289 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
48291         * string/strncat.c (strncat): Undef the symbol in case it has been
48292         defined in bits/string.h.
48294 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48296         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48298         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48299         link map.
48301 2011-08-17  Andreas Jaeger  <aj@suse.de>
48303         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48305 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48306             Ian Lance Taylor  <iant@google.com>
48308         * math/libm-test.inc (lround_test): New testcase.
48309         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48311 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
48313         * Makefile: Remove support for automatic cvs check-ins.
48314         * Makerules: Likewise.
48315         * config.make.in: Likewise.
48316         * configure.in: Likewise.
48317         * intl/Makefile: Likewise.
48318         * locale/Makefile: Likewise.
48319         * po/Makefile: Likewise.
48320         * posix/Makefile: Likewise.
48321         * sysdeps/gnu/Makefile: Likewise.
48322         * sysdeps/mach/hurd/Makefile: Likewise.
48323         * sysdeps/sparc/sparc32/Makefile: Likewise.
48325         [BZ #13118]
48326         * posix/Makefile (bug-regex32-ENV): Define.
48327         Patch by John Stanley <jpsinthemix@verizon.net>.
48329         * misc/Makefile (headers): Add bits/select2.h.
48330         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48331         * misc/bits/select2.h: New file.
48332         * include/bits/select2.h: New file.
48333         * debug/Makefile (routines): Add fdelt_chk.
48334         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48335         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48336         FD_ISSET.
48337         * debug/fdelt_chk.c: New file.
48339         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
48340         * wcsmbs/test-wmemcmp.c: Likewise.
48341         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48342         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48344 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48346         * string/Makefile (strop-tests): Add memcmp.
48347         * string/test-wmemcmp.c: New file.
48348         * string/test-memcmp.c: Add wmemcmp support.
48350 2011-09-08  Roland McGrath  <roland@hack.frob.com>
48352         [BZ #13153]
48353         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48354         2011-07-19 change.
48356         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48357         garbage value in a __mach_port_mod_refs call in the cases of the
48358         task-self and thread-self ports.
48360 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48362         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48364 2011-09-08  Andreas Schwab  <schwab@redhat.com>
48366         * elf/dl-load.c (lose): Check for non-null L.
48368 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48370         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48372         * elf/dl-libc.c (dlerror_run): Pass back error code from
48373         dl_catch_error.
48375         [BZ #13123]
48376         * elf/dl-load.c (lose): Free l_origin if it is valid.
48378         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48379         names.
48380         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48381         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48383         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48384         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48385         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48387 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48389         * sysdeps/powerpc/fpu/e_hypot.c: New file.
48390         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48391         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48392         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48393         * sysdeps/powerpc/fpu/k_cosf.c: New file.
48394         * sysdeps/powerpc/fpu/k_sinf.c: New file.
48395         * sysdeps/powerpc/fpu/s_cosf.c: New file.
48396         * sysdeps/powerpc/fpu/s_sinf.c: New file.
48397         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48398         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48400 2011-08-15  Alan Modra  <amodra@gmail.com>
48402         [BZ #13092]
48403         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48404         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48405         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
48406         ppc_mcount to static-only-routines.
48407         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48408         __mcount_internal.
48409         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48410         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
48412 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
48414         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48415         for finite and infinity parameters.
48417 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48419         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48420         and add nop instructions for throughput optimization.
48421         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48423 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
48425         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48426         aligned copy for power7 with vector-scalar instructions.
48427         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48429 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
48431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48432         AVX check.
48434 2011-09-07  Andreas Schwab  <schwab@redhat.com>
48436         [BZ #13144]
48437         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48438         last change.
48440 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48442         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48443         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48444         syscall wrapper around clock_gettime in __vdso_clock_gettime.
48445         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48446         clock_gettime.
48448 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48450         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48451         Forgot to demangle the pointer.
48453         * sysdeps/i386/sysdep.h: Define atom_text_section.
48454         * sysdeps/x86_64/sysdep.h: Likewise.
48455         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48456         section with atom_text_section.
48457         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48458         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48459         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48460         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48461         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48463         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48464         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48465         already be defined.  Change to take two parameters and don't assign
48466         result to variable.  Adjust all users.
48467         Define INTERNAL_GETTIME if not already defined.
48468         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48469         call.
48470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48471         HAVE_CLOCK_GETTIME_VSYSCALL.
48472         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48475         gettimeofday vsyscall, just use time.
48477 2011-09-06  Andreas Schwab  <schwab@redhat.com>
48479         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48480         <errno.h>.
48482 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48484         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48485         syscall on x86-64.
48486         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48487         syscall.
48488         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48489         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48490         syscall if possible.
48492 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48494         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48495         e_ident.  Don't pass to find_mapsXX.
48496         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48498 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48501         strchr-sse2-no-bsf strrchr-sse2-no-bsf
48502         * sysdeps/x86_64/multiarch/strchr.S: Update.
48503         Check bit_slow_BSF bit.
48504         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48505         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48506         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48508 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48510         [BZ #13134]
48511         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48512         before glibc 2.15.
48513         (tryshell): Define.
48514         (__spawni): Change last parameter to be flag.  Test
48515         SPAWN_XFLAGS_USE_PATH flag to use path or not.
48516         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48517         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48518         * posix/spawni.c: Likewise.
48519         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48520         * posix/spawnp.c: Likewise.  Change normal version to use
48521         SPAWN_XFLAGS_USE_PATH.
48522         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48523         SPAWN_XFLAGS_TRY_SHELL.
48525         [BZ #13150]
48526         * posix/glob.h: Remove gcc 1.x support.
48528         [BZ #13068]
48529         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48531 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48533         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48534         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48535         strrchr-sse2-bsf
48536         * sysdeps/i386/i686/multiarch/strchr.S: New file.
48537         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48538         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48539         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48540         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48541         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48543 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48545         * sysdeps/x86_64/wcscmp.S: New file.
48547         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48548         wcscmp-c wcscmp-sse2
48549         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48550         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48551         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48552         * wcsmbs/wcscmp.c: Allow renaming.
48554 2011-09-05  David S. Miller  <davem@davemloft.net>
48556         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48557         stack slot, rather than the struct return pointer slot.
48558         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48559         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48561         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48563 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48565         * po/ja.po: Update from translation team.
48567         [BZ #13144]
48568         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48569         kernel in 64-bit binaries.
48571 2011-09-01  David S. Miller  <davem@davemloft.net>
48573         * elf/elf.h (HWCAP_SPARC_*): Move to..
48574         * sysdeps/sparc/sysdep.h: this new file and add new values.
48575         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48576         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48577         _DL_HWCAP_COUNT to 24.
48578         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48579         entries.
48580         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48581         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48582         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48583         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48584         instead of magic constants.
48585         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48587 2011-08-31  David S. Miller  <davem@davemloft.net>
48589         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48591         Reimplement to do errno handling inline.
48592         (SYSCALL_ERROR_HANDLER): New macro.
48593         (__SYSCALL_STRING): Do not do errno handling in asm.
48594         (__CLONE_SYSCALL_STRING): Delete.
48595         (__INTERNAL_SYSCALL_STRING): Delete.
48596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48597         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48598         (PSEUDO): Reimplement to do errno handling inline.
48599         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48600         (SYSCALL_ERROR_HANDLER): New macro.
48601         (__SYSCALL_STRING): Do not do errno handling in asm.
48602         (__CLONE_SYSCALL_STRING): Delete.
48603         (__INTERNAL_SYSCALL_STRING): Delete.
48604         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48605         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48606         i386.
48607         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48608         (inline_syscall*): Add 'err' argument.
48609         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48610         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48611         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48612         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48614         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48615         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48617 2011-08-30  Andreas Schwab  <schwab@redhat.com>
48619         * elf/rtld.c (dl_main): Relocate objects in dependency order.
48621 2011-08-29  Jiri Olsa <jolsa@redhat.com>
48623         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48624         directive.
48626 2011-08-24  David S. Miller  <davem@davemloft.net>
48628         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48630 2011-08-24  Andreas Schwab  <schwab@redhat.com>
48632         * elf/Makefile: Add rules to build and run unload8 test.
48633         * elf/unload8.c: New file.
48634         * elf/unload8mod1.c: New file.
48635         * elf/unload8mod1x.c: New file.
48636         * elf/unload8mod2.c: New file.
48637         * elf/unload8mod3.c: New file.
48639         * elf/dl-close.c (_dl_close_worker): Reset private search list if
48640         it wasn't used.
48642 2011-08-23  David S. Miller  <davem@davemloft.net>
48644         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48645         subtract stack bias.
48646         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48647         %sp not %fp in calculations.
48648         (_JMPBUF_UNWINDS_ADJ): Likewise.
48650         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48651         (aio_suspend): Call it to force an exception region around the
48652         AIO_MISC_WAIT() invocation.
48654 2011-08-23  Andreas Schwab  <schwab@redhat.com>
48656         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48657         backslash.
48659 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
48661         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48662         protection macro.
48663         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48664         and <dl-machine.h>.
48665         (Elf64_FuncDesc): Remove.
48667 2011-08-22  David S. Miller  <davem@davemloft.net>
48669         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48670         sigaltstack check, add missing cfi directives.
48671         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48672         missing cfi directives, and sigaltstack handling.
48674 2011-08-16  Andreas Schwab  <schwab@redhat.com>
48676         [BZ #11724]
48677         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48678         object is seen twice.
48679         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48681         * elf/Makefile (distribute): Add tst-initorder2.c.
48682         (tests): Add tst-initorder2.
48683         (modules-names): Add tst-initorder2a tst-initorder2b
48684         tst-initorder2c tst-initorder2d.  Add rules to build them.
48685         ($(objpfx)tst-initorder2.out): New rule.
48686         * elf/tst-initorder2.c: New file.
48687         * elf/tst-initorder2.exp: New file.
48689 2011-08-22  Andreas Schwab  <schwab@redhat.com>
48691         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48693         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48694         dependencies back to end of function.
48696         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48697         $(elfobjdir)/ld.so.
48699 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
48701         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48702         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48703         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48704         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48705         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48706         of __vdso_gettimeofday.
48707         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48708         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
48709         attribute_hidden.
48710         (_libc_vdso_platform_setup): Remove initialization of
48711         __vdso_gettimeofday and __vdso_time.
48713 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48715         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48716         and fgetc_unlocked.
48717         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48718         getc_unlocked.
48720         * elf/dl-open.c (add_to_global): Report additions to the global scope
48721         for LD_DEBUG=scopes.
48722         (dl_open_worker): Also print scope of newly loaded dependencies.
48723         (_dl_show_scope): Indicate if there is no scope.
48725         [BZ #13114]
48726         * stdio-common/Makefile (tests): Add bug24.
48727         * stdio-common/bug24.c: New file.
48729 2011-08-19  Andreas Jaeger  <aj@suse.de>
48731         [BZ #13114]
48732         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48733         non-existant file when using close-on-exec mode.
48735 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48737         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48738         the very first instruction.
48740         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48741         the CFI state in the end.
48742         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48743         inclusion of dl-trampoline.h.
48744         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48746 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48748         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48749         expectations for long double.
48751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48752         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48754 2011-08-14  David S. Miller  <davem@davemloft.net>
48756         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48757         artificual limit depends upon the system page size.
48759 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48761         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48762         * resolv/Makefile: Define CFLAGS-libresolv.
48764 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48766         * nss/makedb.c (compute_tables): Make variables used in nested
48767         function static.
48769 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48771         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48772         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48773         if buffer was too small.
48775         * elf/pldd.c (main): Attach to all threads in the process.
48776         Rewrite /proc handling to use *at functions.
48778 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48780         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48781         specifies first scope to show.
48782         (dl_open_worker): Update callers.  Move printing scope of new
48783         object to before the relocation.
48784         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48785         * sysdeps/generic/ldsodefs.h: Update declaration.
48787         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48788         string for the scope number.
48790 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48792         * nscd/servicescache.c (cache_addserv): Make sure written is always
48793         initialized.
48795 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48797         * sysdeps/i386/i486/bits/atomic.h
48798         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48799         statement expression, so as to suppress "set but not used" warning.
48800         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48802         * string/strncat.c (STRNCAT): Use prototype definition.
48804         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48805         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48806         -Iprograms here.
48807         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48808         (localedef-modules): Add localedef.
48809         (locale-modules): Add locale.
48811         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48812         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48813         to avoid a warning.
48815 2011-08-14  David S. Miller  <davem@davemloft.net>
48817         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48818         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48820 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48822         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48823         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48824         * elf/rtld.c (dl_main): Set l_name of vDSO.
48825         Call _dl_show_scope when DL_DEBUG_SCOPES.
48826         (process_dl_debug): Recognize scopes flag and also set it for all.
48827         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48828         Declare _dl_show_scope.
48830         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48831         (do_dlopen): Pass caller_dlopen to dl_open.
48832         (__libc_dlopen_mode): Initialize caller_dlopen.
48834         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48835         of libc.  Make tolower call locale-independent.  Optimize a bit by
48836         using isdigit instead of isalnum.
48837         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48839 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48841         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48842         was a dependency or dynamically loaded.
48844 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48846         * intl/l10nflist.c: Allow architecture-specific pop function.
48847         * sysdeps/x86_64/l10nflist.c: New file.
48849         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48850         classification.
48852 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48854         * include/dirent.h: Add libc_hidden_proto for scandirat and
48855         scandirat64.  Don't declare __scandirat64.
48856         * dirent/scandirat.c: Add libc_hidden_def.
48857         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48858         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48860 2011-08-10  David S. Miller  <davem@davemloft.net>
48862         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48863         enum.
48864         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48865         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48866         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48868 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48870         * Versions.def [libc]: Add GLIBC_2.15.
48871         * dirent/Makefile (routines): Add scandirat and scandirat64.
48872         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48873         GLIBC_2.15.
48874         * dirent/dirent.h: Declare scandirat and scandirat64.
48875         * dirent/scandirat.c: New file.
48876         * dirent/scandirat64.c: New file.
48877         * sysdeps/wordsize-64/scandirat.c: New file.
48878         * sysdeps/wordsize-64/scandirat64.c: New file.
48879         * dirent/opendir.c: Define opendirat.
48880         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48881         using scandirat.
48882         * dirent/scandir64.c: Adjust for scandir.c change.
48883         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48884         __scandirat64, and __scandir_cancel_handler.
48885         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48886         additional parameter and use openat instead of open (outside of ld.so).
48887         Add new __opendir as wrapper around __opendirat.
48888         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48889         here without requiring old scandirat implementation.
48891 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48893         * dirent/scandir.c (cancel_handler): Renamed to
48894         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48895         defined.  Adjust users.
48896         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48897         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48899 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48901         * string/test-string.h (IMPL): Use __STRING to expand name and then
48902         stringify it.
48904         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48905         of cleanups.
48907 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48909         * string/Makefile: Update.
48910         (strop-tests): Append strncat.
48911         * string/test-wcscmp.c: New file.
48912         New comprehensive test for wcscmp.
48913         * string/test-strcmp.c: Update.
48914         (WIDE): New define.
48916 2011-07-22  Andreas Schwab  <schwab@redhat.com>
48918         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48919         line.
48921 2011-07-26  Andreas Schwab  <schwab@redhat.com>
48923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48924         encoding to ACE if AI_IDN.
48926 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
48928         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48929         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48931 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48933         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48934         Fix overflow bug in strncat.
48935         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48937         * string/test-strncat.c: Update.
48938         Add new tests for checking overflow bugs.
48940 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48942         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48943         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48944         * sysdeps/i386/i686/multiarch/strcat.S: New file.
48945         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48946         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48947         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48948         * sysdeps/i386/i686/multiarch/strncat.S: New file.
48949         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48950         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48952         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48953         (USE_AS_STRCAT): Define.
48954         Add strcat and strncat support.
48955         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48957 2011-07-25  Andreas Schwab  <schwab@redhat.com>
48959         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48960         __n bigger than INT_MAX+1.
48961         (__strncmp_g): Likewise.
48963 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
48965         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48966         * libio/stido.h: Likewise.
48968         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48969         (AF_NFC): Define.
48970         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48971         (AF_NFC): Define.
48973         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48974         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48975         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48976         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48977         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48979         [BZ #13021]
48980         * scripts/test-installation.pl: Don't expect libnss_test1 to be
48981         installed.
48983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48984         typo.
48985         (_dl_x86_64_save_sse): Likewise.
48987 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
48989         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48990         OSXSAVE.
48991         (_dl_x86_64_save_sse): Likewise.
48993         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48995         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48997 2011-07-21  Andreas Schwab  <schwab@redhat.com>
48999         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49000         change.
49001         (_dl_x86_64_save_sse): Use correct AVX check.
49003 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49005         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49006         bug in strncpy/strncat.
49007         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49009 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
49011         * string/tester.c (test_strcat): Add tests for different alignments
49012         of source and destination.
49013         (test_strncat): Likewise.
49015 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49017         [BZ #12852]
49018         * posix/glob.c (glob): Check passed in values before using them in
49019         expressions to avoid some overflows.
49020         (glob_in_dir): Likewise.
49022         [BZ #13007]
49023         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49024         check for AVX enablement so that we don't crash with old kernels and
49025         new hardware.
49026         * elf/tst-audit4.c: Add same checks here.
49027         * elf/tst-audit6.c: Likewise.
49029         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49031 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
49033         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49035 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49037         * po/cs.po: Update from translation team.
49038         * po/bg.po: Likewise.
49040 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
49042         * misc/sys/cdefs.h: Add support for const attribute.
49043         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49044         to gnu_dev_{major,minor,makedev} functions.
49046 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
49048         * intl/dcigettext.c (get_output_charset): Add missing bracket.
49050 2011-07-20  Andreas Schwab  <schwab@redhat.com>
49052         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49053         strlen results.
49055 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49057         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49058         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49059         register in order to avoid conflicts with the soft frame pointer
49060         being held in r11 when necessary.
49061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49062         (INTERNAL_VSYSCALL_NCS): Likewise.
49064 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
49066         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49067         * elf/dl-fini.c (_dl_fini): Adjust caller.
49068         * elf/dl-close.c (_dl_close_worker): Likewise.
49069         * sysdeps/generic/ldsodefs.h: Adjust declaration.
49071 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49073         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49074         "aux_cache->nlibs < 0".
49076         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49077         in the reload-count case.
49079 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49082         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49083         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49084         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49085         * sysdeps/x86_64/multiarch/strcat.S: New file.
49086         * sysdeps/x86_64/multiarch/strncat.S: New file.
49087         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49088         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49089         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49090         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49091         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49092         (USE_AS_STRCAT): Define.
49093         Add strcat and strncat support.
49094         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49095         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49096         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49097         * string/strncat.c: Update.
49098         (USE_AS_STRNCAT): Define.
49099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49100         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49101         and i7.
49102         * sysdeps/x86_64/multiarch/init-arch.h
49103         (bit_Prefer_PMINUB_for_stringop): New.
49104         (index_Prefer_PMINUB_for_stringop): Likewise.
49105         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49106         bit_Prefer_PMINUB_for_stringop.
49108 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49110         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49111         buffer64.
49112         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49113         of casting of buffer.
49114         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49115         buffer32 and buffer64.
49116         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49117         writes instead of casting of buffer.
49118         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49119         buffer32.
49120         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49121         casting of buffer.
49123 2011-07-19  Andreas Schwab  <schwab@redhat.com>
49125         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49127 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49129         * nscd/nscd.c (termination_handler): Don't do anything for a database
49130         if it has not yet been initialized.
49132 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49134         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49136 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49138         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49140 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49142         * po/nl.po: Update from translation team.
49143         * po/sv.po: Likewise.
49145 2011-07-16  Roland McGrath  <roland@hack.frob.com>
49147         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49148         now disallowed by GCC.
49150         * configure.in (use-default-link): Default to yes if a test -shared
49151         link meets our qualifications.
49152         * configure: Regenerated.
49154         * config.make.in (output-format): New variable.
49155         * configure.in: Check for ld --print-output-format support.
49156         * configure: Regenerated.
49157         * Makerules ($(common-objpfx)format.lds)
49158         [$(output-format) != unknown]: Just use $(output-format),
49159         instead of the linker-script munging.
49161 2011-07-14  Roland McGrath  <roland@hack.frob.com>
49163         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49164         of $(common-objpfx)shlib.lds.
49165         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49167         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49168         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49170         * configure.in (-z relro check): Adjust test code to add a large
49171         writable data section after it.
49172         * configure: Regenerated.
49174 2011-07-11  Roland McGrath  <roland@hack.frob.com>
49176         * configure.in (-z relro check): Fix test code to make the variable
49177         truly const.
49178         * configure: Regenerated.
49180 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
49182         * nscd/nscd.h (struct traced_file): Define.
49183         (struct database_dyn): Remove inotify_descr, reset_res, and filename
49184         elements.  Add traced_files.
49185         (inotify_fd): Declare.
49186         (register_traced_file): Declare.
49187         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49188         (inotify_fd): Export.
49189         (resolv_conf_descr): Remove.
49190         (nscd_init): Move inotify descriptor creation to main.
49191         Don't register files for notification here.
49192         (register_traced_file): New function.
49193         (invalidate_cache): Don't use reset_res to determine whether to call
49194         res_init, go through the list of registered files.
49195         (main_loop_poll): The inotify descriptors are now stored in the
49196         structures for the traced files.
49197         (main_loop_epoll): Likewise
49198         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
49199         to __nss_disable_nscd.
49200         * nscd/cache.c (prune_cache): There is no single inotify descriptor
49201         for a database anymore.  Check the records for all the registered
49202         files instead.
49203         * nss/Makefile (libnss_files-routines): Add files-init.
49204         (libnss_db-routines): Add db-init.
49205         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49206         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49207         * nss/nss_db/db-init.c: New file.
49208         * nss/nss_files/files-init.c: New file.
49209         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
49210         __nss_lookup_function.
49211         (__nss_lookup_function): Call nss_load_library.
49212         (nss_load_all_libraries): New function.
49213         (__nss_disable_nscd): Take parameter with callback function for files
49214         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
49215         used for the cached services.
49216         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49217         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49218         options for features to all the files in nscd.
49220         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49222 2011-07-10  Roland McGrath  <roland@hack.frob.com>
49224         * csu/elf-init.c (__libc_csu_init): Comment typo.
49226 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
49228         * po/pl.po: Update from translation team.
49229         * po/ja.po: Likewise.
49230         * po/ru.po: Likewise.
49231         * po/ko.po: Likewise.
49232         * po/fr.po: Likewise.
49234 2011-07-09  Roland McGrath  <roland@hack.frob.com>
49236         * configure.in (.ctors/.dtors header and trailer check):
49237         Use an empirical test on a built program.
49238         * configure: Regenerated.
49240         * configure.in (-z relro check): Use an empirical test on a built DSO.
49241         Detect, but do not require, on ia64.
49242         * configure: Regenerated.
49244         * configure.in (READELF): Find it with AC_CHECK_TOOL.
49245         Update tests that use readelf to use $READELF instead.
49246         * configure: Regenerated.
49248 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
49250         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49251         if the result is not used.
49253 2011-07-05  Andreas Jaeger  <aj@suse.de>
49255         [BZ#9696]
49256         * stdlib/tst-strtod.c: Add testcase.
49258 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
49260         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49261         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49262         The latter has a higher limit.  Take additional parameter to pass to
49263         the new function.
49264         (__pathconf): Pass file to __statfs_link_max.
49265         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49266         __statfs_link_max.
49267         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49268         __statfs_link_max.
49270         [BZ #12868]
49271         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49272         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49273         Handle Lustre.
49274         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49275         (__statfs_filesize_max): Likewise.
49276         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49278 2011-07-05  Andreas Jaeger  <aj@suse.de>
49280         * resolv/res_comp.c (dn_skipname): Remove unused variable.
49282 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
49284         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49285         `status' variable.
49286         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49287         Likewise.
49289 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
49291         * Makefile (strop-tests): Add strncat.
49292         * string/test-strncat.c: New file.
49294 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
49296         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49298 2011-06-21  Andreas Jaeger  <aj@suse.de>
49300         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49301         Copy rule from iconvdata/Makefile.
49303 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49305         [BZ #12922]
49306         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49307         but no long options are defined, just return 'W'.
49309 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
49311         [BZ #9696]
49312         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49314 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49316         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49317         netgroups to read.
49318         (innetgr): Likewise.
49320 2011-07-05  Roland McGrath  <roland@hack.frob.com>
49322         * config.make.in (install_root): Default to $(DESTDIR).
49324 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
49326         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49328 2011-07-02  Roland McGrath  <roland@hack.frob.com>
49330         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49332         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49333         containing directory rather than embedding absolute directory names.
49335         * scripts/check-local-headers.sh: Rewritten using awk.
49336         Match by word, not by line.  Print error messages for matches.
49337         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49339         * Makerules [shlib-lds-flags empty]:
49340         ($(common-objpfx)libc_pic.opts): New target.
49341         ($(common-objpfx)libc_pic.os.clean): New target.
49342         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49344         * config.make.in (OBJCOPY): New variable.
49345         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49346         * configure: Regenerated.
49348         * config.make.in (use-default-link): New variable.
49349         * configure.in (use_default_link): Grok --with-default-link to set it.
49350         * configure: Regenerated.
49351         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49352         (shlib-lds, shlib-lds-flags): Define to empty.
49354         * Makerules (shlib-lds): New variable.
49355         (shlib-lds-flags): New variable.
49356         (build-shlib, build-moduile, build-module-asneeded): Use it.
49357         ($(common-objpfx)libc.so): Use $(shlib-lds).
49358         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49359         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49361         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49362         DT_FLAGS/DT_FLAGS_1 with zero flags.
49364         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49365         linker script munging.
49367 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
49369         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49370         as 128-bit value.
49371         * crypt/sha512.c (sha512_process_block): Perform total addition using
49372         128-bit if possible.
49373         (__sha512_finish_ctx): Likewise.
49374         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49375         as 64-bit value.
49376         * crypt/sha256.c (SWAP64): Define.
49377         (sha256_process_block): Perform total addition using 64-bit if
49378         possible.
49379         (__sha256_finish_ctx): Likewise.
49381 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
49383         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
49384         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49385         * nscd/hstcache.c (cache_addhst): Likewise.
49386         * nscd/grpcache.c (cache_addgr): Likewise.
49387         * nscd/aicache.c (addhstaiX): Likewise
49388         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49390 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
49392         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49393         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49394         * nscd/hstcache.c (cache_addhst): Likewise.
49395         * nscd/grpcache.c (cache_addgr): Likewise.
49396         * nscd/aicache.c (addhstaiX): Likewise
49398 2011-07-01  Andreas Schwab  <schwab@redhat.com>
49400         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49401         domain only when needed.
49403 2011-06-30  Andreas Schwab  <schwab@redhat.com>
49405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49406         is always restored.
49408 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
49410         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49411         are re-adding the entry.
49412         * nscd/servicescache.c (cache_addserv): Likewise.
49414 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
49416         * sysdeps/generic/dl-irel.h: fix protection against multiple
49417         inclusions.
49418         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49420 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
49422         [BZ #12935]
49423         * malloc/memusage.sh: Fix quoting in message.
49424         * debug/xtrace.sh: Likewise.
49426         * configure.in: Remove support for --experimental-malloc option, make
49427         it the default.
49428         * config.make.in: Likewise.
49429         * malloc/Makefile: Likewise.
49431 2011-06-27  Andreas Schwab  <schwab@redhat.com>
49433         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49434         two-byte characters.
49436 2011-06-27  Roland McGrath  <roland@hack.frob.com>
49438         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49439         AC_CACHE_CHECK invocation.
49440         * configure: Regenerated.
49442         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49444 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
49446         [BZ #12350]
49447         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
49448         bit from old_res_options.
49450         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49452         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49453         value type for setfct.
49455 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
49457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49458         __gettimeofday instead of gettimeofday.
49460 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
49462         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49464 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
49466         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49468         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49469         info.
49471 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49474         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49475         strcpy-sse2-unaligned strncpy-sse2-unaligned
49476         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49477         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49478         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49479         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49480         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49481         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49482         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49483         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49484         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49485         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49486         (STRCPY): Support SSE2 and SSSE3 versions.
49488 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
49490         [BZ #12874]
49491         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49492         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49493         kernels which artificially limit size of requests.
49495 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49497         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49498         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49499         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49500         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49501         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49502         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49503         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49504         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49505         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49506         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49507         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49508         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49509         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49510         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49511         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49513         Enable unaligned load optimization for Intel Core i3, i5 and i7
49514         processors.
49515         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49516         Define.
49517         (index_Fast_Unaligned_Load): Define.
49518         (HAS_FAST_UNALIGNED_LOAD): Define.
49520 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
49522         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49524 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49526         [BZ #12907]
49527         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49528         until it is clear that the information is realy needed.
49529         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49531 2011-06-22  Andreas Schwab  <schwab@redhat.com>
49533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49535 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49537         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49538         /sys/devices/system/cpu/online if it is usable.
49540         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49541         reading the information from the /proc filesystem to once a second.
49543 2011-06-21  Andreas Jaeger  <aj@suse.de>
49545         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49546         NULL after inclusion of kernel headers.
49548 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
49550         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49551         calls to internal_setent.
49553         [BZ #12885]
49554         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49555         addresses using gethostbyname4_r ignore IPv4 addresses.
49557         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49558         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
49560         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49562 2011-06-20  David S. Miller  <davem@davemloft.net>
49564         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49565         inclusions.
49566         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49568         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49569         (elf_irel): Use it.
49570         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49571         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49572         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49573         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49574         * sysdeps/x86_64/dl-irel.h: Likewise.
49576         * elf/dl-runtime.c: Use elf_ifunc_invoke.
49577         * elf/dl-sym.c: Likewise.
49579 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49581         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
49582         need to dereference resplen2.
49584 2011-06-14  Andreas Schwab  <schwab@redhat.com>
49586         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49588 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49590         * Makeconfig: Define vardbdir and inst_vardbdir.
49591         * nss/Makefile: Add rules to install db-Makefile.
49593         * nss/nss_db/db-XXX.c: Cleanup.
49595         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49596         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49597         GLIBC_PRIVATE.
49598         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49599         * nss/makedb.c: Implement -g option to specify that value strings
49600         are generated and should not be added to table iterated over for
49601         get*ent calls.
49602         * nss/nss_db/db-initgroups.c: New file.
49604         * nss/getent.c: Add support for initgroups lookups through getgrouplist
49605         interface.
49607         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49608         (internal_getgrouplist): Adjust to name change.
49609         Update use_initgroups_entry if this is not the first call.
49610         * nss/databases.def: Add initgroups entry.
49612         * nss/makedb.c (compute_tables): Check result of multiple hash table
49613         sizes to minimize maximum chain length.
49615 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
49617         * Versions.def: Add entry for libnss_db.
49618         * shlib-versions: Likewise.
49619         * nss/Makefile: Add rules to build libnss_db.
49620         * nss/Versions: Add libnss_db information.  Organize libnss_files
49621         entries better.
49622         * nss/db-Makefile: Add gshadow support.  Change rules for the new
49623         makedb progra.  Some minor improvements to generate smaller files.
49624         * nss/nss_db/nss_db.h: Move NSS database header data structures to
49625         here from...
49626         * nss/makedb.c: ...here.
49627         Improve database format to be smaller and require less memory at
49628         runtime.
49629         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
49630         db anymore.
49631         * nss/nss_db/db-netgrp.c: Likewise.
49632         * nss/nss_db/db-open.c: Likewise.
49633         * nss/nss_files/flies-XXX.x: Adjust comments.
49634         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49635         * nss/nss_files/files-grp.c: Likewise.
49636         * nss/nss_files/files-hosts.c: Likewise.
49637         * nss/nss_files/files-network.c: Likewise.
49638         * nss/nss_files/files-proto.c: Likewise.
49639         * nss/nss_files/files-pwd.c: Likewise.
49640         * nss/nss_files/files-rpc.c: Likewise.
49641         * nss/nss_files/files-service.c: Likewise.
49642         * nss/nss_files/files-sgrp.c: Likewise.
49643         * nss/nss_files/files-spwd.c: Likewise.
49644         * nss/nss_db/db-alias.c: Removed.
49645         * nss/nss_db/dummy-db.h: Removed.
49647 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
49649         * nss/makedb.c: Rewritten to not use database library.
49650         * nss/Makefile: Update to build new makedb program.
49652 2011-06-14  Andreas Jaeger  <aj@suse.de>
49654         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49655         memset declaration.
49657 2011-06-10  Andreas Schwab  <schwab@redhat.com>
49659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49660         tmpbuf.
49662 2011-06-10  Roland McGrath  <roland@hack.frob.com>
49664         * Makerules (shlib.lds): Fail if the linker script comes out empty.
49665         * elf/Makefile ($(objpfx)ld.so): Likewise.
49667         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49668         Don't list ld.so twice in dependencies.
49670         * posix/bug-regex31.c: Include <stdlib.h>.
49672         * nscd/hstcache.c (cache_addhst): Remove unused variable.
49674         * nis/nss_compat/compat-spwd.c
49675         (getspent_next_nss_netgr): Remove unused variable.
49676         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49678         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49679         nonmembers" output to use the right array.
49681         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49683         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49685         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49686         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49687         * catgets/gencat.c (read_input_file): Likewise.
49688         * locale/programs/locarchive.c (enlarge_archive): Likewise.
49690         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49691         variable definition inside #if's controlling its use.
49693         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49695         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49697         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49699         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49700         unreachable code.
49702         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49704         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49705         * configure: Regenerated.
49707         * Makerules: Revert last change.
49708         * elf/Makefile: Likewise.
49710 2011-06-09  Roland McGrath  <roland@hack.frob.com>
49712         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49713         * elf/Makefile ($(objpfx)librtld.os): Likewise.
49714         (reloc-link): Likewise.
49716 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49718         * elf/Makefile: Add rules to build pldd.
49719         * elf/pldd.c: New file.
49720         * elf/pldd-xx.c: New file.
49722 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49724         * version.h: Update for 2.15 development version.
49726 2011-06-07  David S. Miller  <davem@davemloft.net>
49728         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49729         ifuncs.
49730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49731         elf_machine_lazy_rel): Likewise.
49732         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49733         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49734         elf_machine_lazy_rel): Likewise.
49735         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49736         dl_hwcap via passed in argument.
49737         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49738         Likewise.
49740 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49742         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49744 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49746         [BZ #12849]
49747         * manual/fdl-1.1.texi: New file, verbatim from:
49748         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49749         * manual/lgpl-2.1.texi: New file, verbatim from:
49750         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49751         * manual/Makefile (licenses): New variable, list those new file names.
49752         (texis): Use it.
49753         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49755         * manual/fdl.texi: File removed.
49756         * manual/lesser.texi: File removed.
49757         * manual/libc.texinfo (Copying, Documentation License):
49758         Use new @include file names, put @appendix directive before @include.
49760 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49762         [BZ #12841]
49763         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49764         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49765         (mq_open): Add __NTH.
49767 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49770         Assume Intel Core i3/i5/i7 processor if AVX is available.
49772 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49774         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49775         typo.
49777 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49779         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49780         memory.  Use alloca_account.  Fix memory leak when retrying.
49782 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49784         * version.h (RELEASE): Bump for 2.14 release.
49785         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49787         * config.make.in (RANLIB): Remove entry.
49789 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49791         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49792         (libc.pot): Work around missing support for .ksh extension in xgettext.
49794         [BZ #12684]
49795         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49796         if both request failed.
49797         (send_dg): In case of server errors clear resplen or *resplen2.
49799         [BZ #12454]
49800         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49801         when there are multiple maps.
49802         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49803         (_dl_fini): Remove test here.
49805         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49807 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49809         [BZ #12350]
49810         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49811         bit from old_res_options.
49812         (gaih_inet): Likewise.
49814         [BZ #11099]
49815         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49816         as signed.
49818         * resolv/res_init.c (res_setoptions): Make the code more compact.
49820         [BZ #11558]
49821         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49822         set RES_USEVC.
49824         [BZ #11634]
49825         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49827         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49829         [BZ #11781]
49830         * malloc/malloc.h: Declare malloc hook variables as volatile.
49832         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49833         in last patch.
49835         [BZ #11799]
49836         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49837         raise in the comment.
49838         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49839         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49840         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49842 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49844         [BZ #12811]
49845         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49846         grow the buffers more if it already has to be sufficient.
49847         (build_wcs_upper_buffer): Likewise.
49848         * posix/regexec.c (check_matching): Likewise.
49849         (clean_state_log_if_needed): Likewise.
49850         (extend_buffers): Don't enlarge buffers beyond size of the input
49851         buffer.
49852         Patches mostly by Emil Wojak <emil@wojak.eu>.
49853         * posix/bug-regex32.c: New file.
49854         * posix/Makefile (tests): Add bug-regex32.
49856         * locale/findlocale.c (_nl_find_locale): Return right away if
49857         _nl_explode_name failed.
49858         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49860         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49862         * debug/xtrace.sh: Unify messages.
49863         * malloc/memusage.sh: Likewise.
49865         [BZ #12813]
49866         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49867         time symbol from vDSO.  Substitute with vsyscall if not available.
49868         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49869         __vdso_time.
49871         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49872         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49873         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49874         Add sendmmsg and internal_sendmmsg.
49875         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49876         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49877         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49879         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49880         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49881         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49883 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49885         [BZ #12813]
49886         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49887         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49888         available.
49889         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49890         __vdso_getcpu.
49892         [BZ #12814]
49893         * iconvdata/Makefile (tests): Add bug-iconv9.
49894         * iconvdata/bug-iconv9.c: New file.
49896 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49898         [BZ #12814]
49899         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49901 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49903         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49904         (struct user_regs_struct): Change intcs field back to cs.
49906 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49908         * po/ja.po: Update from translation team.
49910 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49912         [BZ #12795]
49913         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49914         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49916 2011-05-20  Andreas Schwab  <schwab@redhat.com>
49918         * stdlib/longlong.h: Update from GCC.
49920 2011-05-23  Andreas Schwab  <schwab@redhat.com>
49922         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49923         parameter name.
49924         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49925         Add parameter name.
49926         (__sysconf): Pass it down.
49928 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
49930         [BZ #12671]
49931         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49932         some situations.
49933         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49934         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49935         add in in __libc_use_alloca calls.  Adjust callers.
49936         (glob): Use malloc in some situations.
49938         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49939         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49940         pltexit.
49942 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
49944         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49945         and CLOCK_BOOTTIME_ALARM.
49947         [BZ #12782]
49948         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49949         is returned.
49951         * string/_strerror.c (__strerror_r): Print negative errors as signed
49952         numbers.
49954         [BZ #12777]
49955         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49956         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49957         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49959         * configure.in: Fix typo in redirection and correct removal of test
49960         files in two cases.
49962         [BZ #12788]
49963         * locale/setlocale.c (new_composite_name): Fix test to check for
49964         identical name of all categories.
49966         [BZ #12792]
49967         * libio/filedoalloc.c (local_isatty): New function.
49968         (_IO_file_doallocate): Use local_isatty.
49969         * stdio-common/perror.c (perror): In case a new stream is used
49970         forward the stream error.
49971         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49972         error flag.
49974 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
49976         [BZ #11869]
49977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49978         alloca.
49979         * include/alloca.h (extend_alloca_account): Define.
49981         [BZ #11857]
49982         * posix/regex.h: Fix comments with documentation of user-accessible
49983         fields after compilation and describe correct free'ing of pattern
49984         after re_compile_pattern.
49985         Patch by Reuben Thomas <rrt@sc3d.org>.
49987 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
49989         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49990         and -mno-altivec to prevent the compiler from using Altivec and/or
49991         VSX instructions when the corresponding registers are not available.
49993 2011-05-19  Andreas Schwab  <schwab@redhat.com>
49995         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49997 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
49999         * libio/freopen.c (freopen): Use __dup2, not dup2.
50000         * libio/freopen64.c (freopen64): Likewise.
50002 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50004         [BZ #12775]
50005         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50006         * math/Makefile (tests): Add test-powl.
50007         (CFLAGS-test-powl.c): Define.
50008         * math/test-powl.c: New file.
50010 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50012         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50014 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
50016         [BZ #11837]
50017         * iconvdata/gb18030.c: Update to GB18020-2005.
50019 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
50021         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50022         RE_SYNTAX_POSIX_AWK): Update to match recent development.
50023         Patch by Aharon Robbins <arnold@skeeve.com>.
50025         [BZ #11892]
50026         * stdlib/putenv.c (putenv): Don't always create copy of the variable
50027         on the stack.
50029         [BZ #11895]
50030         * misc/pselect.c (__pselect): Handle timeout value errors hidden
50031         through underflows.
50033         [BZ #12766]
50034         * misc/error.c (error_at_line): Ensure file_name and old_file_name
50035         point to strings before performing equality test for error_one_per_line
50036         mode.
50038         [BZ #11697]
50039         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50041         [BZ #11820]
50042         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50043         (struct user_fpregs_struct): Avoid __uint*_t types.
50045         [BZ #6420]
50046         * malloc/mtrace.c (tr_where): Add additional parameter to point to
50047         symbol info.  Use it instead of calling _dl_addr locally.
50048         (lock_and_info): New function.
50049         (tr_freehook): Call lock_and_info and pass symbol info as additional
50050         parameter to tr_where.
50051         (tr_mallochook): Likewise.
50052         (tr_reallochook): Likewise.
50053         (tr_memalignhook): Likewise.
50055         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
50056         used and couldn't be at all thread-safe.
50058 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
50060         * libio/freopen.c (freopen): Don't close old file descriptor
50061         before the new one is opened.  Instead dup the new file descriptor
50062         to the old one after the new stream is created.
50063         * libio/freopen64.c (freopen64): Likewise.
50064         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50065         * libio/fileops.c (_IO_new_file_close_it): Handle new
50066         _IO_FLAGS2_NOCLOSE flag.
50067         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50068         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50069         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50070         _IO_FLAGS2_NOCLOSE flag.
50071         * include/unistd.h: Add hidden_proto for dup3.
50072         Define __have_dup3.
50073         * io/dup3.c: Define hidden symbol.
50074         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50076         [BZ #7101]
50077         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50078         when an incomplete long option is used.
50079         * posix/tst-getopt_long1.c: New file.
50080         * posix/Makefile (tests): Add tst-getopt_long1.
50082         [BZ #10138]
50083         * scripts/config.guess: Update from autoconf-2.68.
50084         * scripts/config.sub: Likewise.
50086         [BZ #10157]
50087         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50088         tests into ...
50089         (has_cpuclock): ...this.  New function.
50090         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50091         macro here based on has_cpuclock code.
50093         [BZ #10149]
50094         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50095         First byte (not low byte) is now always NUL.
50096         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50098         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50099         Use non-cancelable interfaces.
50101         [BZ #9809]
50102         * locale/iso-639.def: Add entry for Sorani.
50104         [BZ #11901]
50105         * include/stdlib.h: Move include protection to the right place.
50106         Define abort_msg_s.  Declare __abort_msg with it.
50107         * stdlib/abort.c (__abort_msg): Adjust type.
50108         * assert/assert.c (__assert_fail_base): New function.  Majority
50109         of code from __assert_fail.  Allocate memory for __abort_msg with
50110         mmap.
50111         (__assert_fail): Now call __assert_fail_base.
50112         * assert/assert-perr.c: Remove bulk of implementation.  Use
50113         __assert_fail_base.
50114         * include/assert.hL Declare __assert_fail_base.
50115         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50116         mmap.
50117         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50119 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
50121         [BZ #11952]
50122         [BZ #12453]
50123         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50124         until all modules are registered in the DTV.
50125         * elf/Makefile: Add rules to build and run tst-tls19.
50126         * elf/tst-tls19.c: New file.
50127         * elf/tst-tls19mod1.c: New file.
50128         * elf/tst-tls19mod2.c: New file.
50129         * elf/tst-tls19mod3.c: New file.
50130         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50132         [BZ #12083]
50133         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50134         correctly.
50136         [BZ #12601]
50137         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50138         two-byte sequence errors.
50139         * iconvdata/Makefile (tests): Add bug-iconv8.
50140         * iconvdata/bug-iconv8.c: New file.
50142         [BZ #12626]
50143         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50144         buf2 definition.
50146         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50148         [BZ #12432]
50149         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50150         (dummy_getcfa): New function.
50151         (init): Get _Unwind_GetCFA address, use dummy if not found.
50152         (backtrace_helper): In recursion check, also check whether CFA changes.
50153         (__backtrace): Completely initialize arg.
50155         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50156         storing incomplete byte sequence in state object.  Avoid testing for
50157         guaranteed too small input if we know there is enough data available.
50159 2011-05-11  Andreas Schwab  <schwab@redhat.com>
50161         * Makeconfig (+link-pie): Indent.
50162         * Rules (binaries-pie): Define if $(have-fpie) and
50163         $(build-shared).
50164         (binaries-shared): Also filter out $(binaries-pie).
50165         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50166         * nscd/Makefile (others-pie): Add nscd.
50167         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50168         ($(objpfx)nscd): Remove command override.
50169         * login/Makefile (others-pie): Add pt_chown.
50170         ($(objpfx)pt_chown): Remove command override.
50171         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50172         remove command overrides.
50174 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
50176         * libio/tst_putwc.c: Fix error messages.
50178         [BZ #12724]
50179         * libio/fileops.c (_IO_new_file_close_it): Always flush when
50180         currently writing and seek to current position when not.
50181         * libio/Makefile (tests): Add bug-fclose1.
50182         * libio/bug-fclose1.c: New file.
50184 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
50186         [BZ #12511]
50187         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50188         don't set DF_1_NODELETE here.
50189         (do_lookup_x): When entering new entry test for copy relocation
50190         and if necessary set DF_1_NODELETE flag.
50191         * elf/tst-unique4.cc: New file.
50192         * elf/tst-unique4.h: New file.
50193         * elf/tst-unique4lib.cc: New file.
50194         * elf/Makefile: Add rules to build and run tst-unique4.
50195         Patch by Piotr Bury <pbury@goahead.com>.
50197 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
50199         [BZ #12052]
50200         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50202         [BZ #12625]
50203         * misc/mntent_r.c (addmntent): Flush the stream after the output
50205         [BZ #12393]
50206         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50207         (is_trusted_path_normalize): Skip initial colon.  Append slash
50208         to empty buffer.  Duplicate is_trusted_path code but allow
50209         constructed patch to be prefix.
50210         (is_dst): Allow $ORIGIN followed by /.
50211         (_dl_dst_substitute): Correct clearing of check_for_trusted.
50212         Correct testing of result of is_trusted_path_normalize
50213         (decompose_rpath): Fix warning.
50215 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
50217         [BZ #11257]
50218         * grp/initgroups.c (internal_getgrouplist): When we found the service
50219         list through the initgroups entry in nsswitch.conf do not always
50220         continue on a successful lookup.  Don't always use the
50221         __nss_group_database value if it is set.
50222         * nss/nsswitch.conf (initgroups): Change action for successful db
50223         lookup to continue for compatibility.
50225 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
50227         [BZ #11532]
50228         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50229         and CP774 modules.
50230         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50231         and CP774 modules.
50232         * iconvdata/tst-tables.sh: Likewise.
50233         * iconvdata/cp770.c: New file.
50234         * iconvdata/cp771.c: New file.
50235         * iconvdata/cp772.c: New file.
50236         * iconvdata/cp773.c: New file.
50237         * iconvdata/cp774.c: New file.
50238         * iconvdata/testdata/CP770: New file.
50239         * iconvdata/testdata/CP770..UTF8: New file.
50240         * iconvdata/testdata/CP771: New file.
50241         * iconvdata/testdata/CP771..UTF8: New file.
50242         * iconvdata/testdata/CP772: New file.
50243         * iconvdata/testdata/CP772..UTF8: New file.
50244         * iconvdata/testdata/CP773: New file.
50245         * iconvdata/testdata/CP773..UTF8: New file.
50246         * iconvdata/testdata/CP774: New file.
50247         * iconvdata/testdata/CP774..UTF8: New file.
50249         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50250         END CHARMAP line.
50251         * iconvdata/gen-8bit-gap.sh: Likewise.
50252         * iconvdata/gen-8bit.sh: Likewise.
50254         * locale/iso-639.def: Add ary entry.
50256         [BZ #11258]
50257         * locale/C-translit.h.in: Add U20A1 transliteration.
50259         [BZ #12178]
50260         * locale/iso-639.def: Add wae entry.
50261         Patch by Kevin Bortis <bortis@translate-wae.ch>.
50263         [BZ #12545]
50264         * locale/programs/localedef.c (construct_output_path): Use ssize_t
50265         for n.
50267         [BZ #12711]
50268         * locale/C-translit.h.in: Add entry for U20B9.
50269         Patch by pravin.d.s@gmail.com.
50271 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
50273         [BZ #12713]
50274         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50275         ENAMETOOLONG use generic getcwd.
50276         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
50277         in rtld.  Use *stat64.
50278         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50279         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50280         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50281         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50282         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50283         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50284         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50285         __fstatat64 macros.
50286         * include/dirent.h: Add libc_hidden_proto for rewinddir.
50287         * dirent/rewinddir.c: Add libc_hidden_def.
50288         * sysdeps/mach/hurd/rewinddir.c: Likewise.
50289         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
50291         * include/dirent.h (__alloc_dir): Add flags parameter.
50292         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50293         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50294         __alloc_dir.
50295         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
50296         from fdopendir if O_CLOEXEC is already set.
50298 2011-03-15  Alan Modra  <amodra@gmail.com>
50300         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50301         l_tls_firstbyte_offset non-zero.  Save padding offset in
50302         l_tls_firstbyte_offset for later use.
50303         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50304         freeing static tls block.
50306 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
50308         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50309         where #ifdef was intended.  The intent is to prevent ARG_MAX from
50310         being defined by the kernel headers.
50312 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
50314         [BZ #12734]
50315         * resolv/resolv.h: Define RES_NOTLDQUERY.
50316         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50317         no-tld-query and set RES_NOTLDQUERY.
50318         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50319         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50320         modern BIND to search name as TLD unless forbidden.
50322 2011-05-07  Petr Baudis  <pasky@suse.cz>
50323             Ulrich Drepper  <drepper@gmail.com>
50325         [BZ #12393]
50326         * elf/dl-load.c (fillin_rpath): Move trusted path check...
50327         (is_trusted_path): ...to here.
50328         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50329         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50330         using is_trusted_path_normalize() in setuid scripts.
50332 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50334         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50335         __BEGIN/__END_DECLS.
50337 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
50339         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50340         NSS_STATUS_NOTFOUND if no record was found.
50342 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50344         * sunrpc/Makefile (headers): Add rpc/netdb.h.
50345         (headers-not-in-tirpc): Remove rpc/netdb.h
50346         * resolv/netdb.h: Revert last change.
50348 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50350         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50351         circular dependency between libgcc.a and libc.a.
50353 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50355         * resolv/netdb.h: Don't include <rpc/netdb.h>.
50356         * nis/Makefile: Don't install rpcsvc/*.
50357         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50358         instead of <rpc/types.h>.
50359         (MAXHOSTNAMELEN): Define.
50361 2011-05-03  Andreas Schwab  <schwab@redhat.com>
50363         * elf/ldconfig.c (add_dir): Don't crash on empty path.
50365 2011-04-28  Maciej Babinski  <mbabinski@google.com>
50367         [BZ #12714]
50368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50369         gethostbyname4_r when IPv6 results are possible.
50371 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
50373         [BZ #12723]
50374         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50375         _PC_PIPE_BUF handling.
50377 2011-04-30  Bruno Haible  <bruno@clisp.org>
50379         [BZ #12717]
50380         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50381         * resolv/netdb.h (getnameinfo): Change type of flags parameter
50382         to 'int'.
50383         * inet/getnameinfo.c (getnameinfo): Likewise.
50385 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
50387         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50388         to groups setting in database lookup.
50389         * nss/nsswitch.conf: Add initgroups entry.
50391 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
50393         [BZ #12685]
50394         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50395         mode string.
50396         Patch by Eric Blake <eblake@redhat.com>.
50398 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
50400         * sunrpc/Makefile (need-export-routines): Add svc_run.
50401         (routines): Remove svc_run.
50402         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50403         * sunrpc/clnt_perr.c (clnt_perrno): Export.
50404         * sunrpc/svc_run.c (svc_run): Likewise.
50405         * sunrpc/svc_udp.c (svcudp_create): Likewise.
50407 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
50409         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50410         problem in reallocation in last patch.
50412 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
50414         * sunrpc/Makefile: Move inclusion of Rules.
50416 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50418         * nss/nss_files/files-initgroups.c: New file.
50419         * nss/Makefile (libnss_files-routines): Add files-initgroups.
50420         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50421         _nss_files_initgroups_dyn.
50423 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
50425         * elf/elf.h (R_ARM_IRELATIVE): Define.
50427 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50429         * po/ru.po: Update from translation team.
50431 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50433         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50434         dependencies.
50436 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
50438         [BZ #12653]
50439         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50440         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50441         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50442         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50443         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50445 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
50447         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50448         differing bytes.
50449         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50450         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50451         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50453 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50455         [BZ #12420]
50456         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50457         storing it.
50458         * stdlib/bug-getcontext.c: New file.
50459         * stdlib/Makefile: Add rules to build and run bug-getcontext.
50461 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50463         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50464         instructions into .machine "z9-109".
50465         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50466         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50468 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50470         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50471         between environment variables and auxiliary vector.
50473 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
50475         * Makefile: Add rules to build linkobj/libc.so.
50476         * include/libc-symbols.h: Define libc_hidden_nolink.
50477         * include/rpc/auth.h: Mark functions which are to be hidden.
50478         * include/rpc/auth_des.h: Likewise.
50479         * include/rpc/auth_unix.h: Likewise.
50480         * include/rpc/clnt.h: Likewise.
50481         * include/rpc/des_crypt.h: Likewise.
50482         * include/rpc/key_prot.h: Likewise.
50483         * include/rpc/pmap_clnt.h: Likewise.
50484         * include/rpc/pmap_prot.h: Likewise.
50485         * include/rpc/pmap_rmt.h: Likewise.
50486         * include/rpc/rpc_msg.h: Likewise.
50487         * include/rpc/svc.h: Likewise.
50488         * include/rpc/svc_auth.h: Likewise.
50489         * include/rpc/xdr.h: Likewise.
50490         * nis/Makefile: Link all DSOs against linkobj/libc.so.
50491         * nss/Makefile: Likewise.
50492         * sunrpc/Makefile: Don't install headers.  Build library with normal
50493         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
50494         * sunrpc/auth_des.c: Hide exported symbols by default, export some
50495         for the compat linking library.  Remove use of INTDEF/INTUSE.
50496         * sunrpc/auth_none.c: Likewise.
50497         * sunrpc/auth_unix.c: Likewise.
50498         * sunrpc/authdes_prot.c: Likewise.
50499         * sunrpc/authuxprot.c: Likewise.
50500         * sunrpc/clnt_gen.c: Likewise.
50501         * sunrpc/clnt_perr.c: Likewise.
50502         * sunrpc/clnt_raw.c: Likewise.
50503         * sunrpc/clnt_simp.c: Likewise.
50504         * sunrpc/clnt_tcp.c: Likewise.
50505         * sunrpc/clnt_udp.c: Likewise.
50506         * sunrpc/clnt_unix.c: Likewise.
50507         * sunrpc/des_crypt.c: Likewise.
50508         * sunrpc/des_soft.c: Likewise.
50509         * sunrpc/get_myaddr.c: Likewise.
50510         * sunrpc/key_call.c: Likewise.
50511         * sunrpc/key_prot.c: Likewise.
50512         * sunrpc/netname.c: Likewise.
50513         * sunrpc/pm_getmaps.c: Likewise.
50514         * sunrpc/pm_getport.c: Likewise.
50515         * sunrpc/pmap_clnt.c: Likewise.
50516         * sunrpc/pmap_prot.c: Likewise.
50517         * sunrpc/pmap_prot2.c: Likewise.
50518         * sunrpc/pmap_rmt.c: Likewise.
50519         * sunrpc/publickey.c: Likewise.
50520         * sunrpc/rpc_cmsg.c: Likewise.
50521         * sunrpc/rpc_common.c: Likewise.
50522         * sunrpc/rpc_dtable.c: Likewise.
50523         * sunrpc/rpc_prot.c: Likewise.
50524         * sunrpc/rpc_thread.c: Likewise.
50525         * sunrpc/rtime.c: Likewise.
50526         * sunrpc/svc.c: Likewise.
50527         * sunrpc/svc_auth.c: Likewise.
50528         * sunrpc/svc_authux.c: Likewise.
50529         * sunrpc/svc_raw.c: Likewise.
50530         * sunrpc/svc_run.c: Likewise.
50531         * sunrpc/svc_simple.c: Likewise.
50532         * sunrpc/svc_tcp.c: Likewise.
50533         * sunrpc/svc_udp.c: Likewise.
50534         * sunrpc/svc_unix.c: Likewise.
50535         * sunrpc/svcauth_des.c: Likewise.
50536         * sunrpc/xcrypt.c: Likewise.
50537         * sunrpc/xdr.c: Likewise.
50538         * sunrpc/xdr_array.c: Likewise.
50539         * sunrpc/xdr_float.c: Likewise.
50540         * sunrpc/xdr_intXX_t.c: Likewise.
50541         * sunrpc/xdr_mem.c: Likewise.
50542         * sunrpc/xdr_rec.c: Likewise.
50543         * sunrpc/xdr_ref.c: Likewise.
50544         * sunrpc/xdr_sizeof.c: Likewise.
50545         * sunrpc/xdr_stdio.c: Likewise.
50547 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
50549         [BZ #12650]
50550         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50551         * sysdeps/ia64/dl-tls.h: Likewise.
50552         * sysdeps/powerpc/dl-tls.h: Likewise.
50553         * sysdeps/s390/dl-tls.h: Likewise.
50554         * sysdeps/sh/dl-tls.h: Likewise.
50555         * sysdeps/sparc/dl-tls.h: Likewise.
50556         * sysdeps/x86_64/dl-tls.h: Likewise.
50557         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50559 2011-03-14  Andreas Schwab  <schwab@redhat.com>
50561         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50562         rpath element also skip the following colon.
50563         (expand_dynamic_string_token): Add is_path parameter and pass
50564         down to DL_DST_REQUIRED and _dl_dst_substitute.
50565         (decompose_rpath): Call expand_dynamic_string_token with
50566         non-zero is_path.  Ignore empty rpaths.
50567         (_dl_map_object_from_fd): Call expand_dynamic_string_token
50568         with zero is_path.
50570 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
50572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50573         Make cancelable.
50575 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
50577         [BZ #12655]
50578         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50579         Patch by Filipe David Manana <fdmanana@apache.org>.
50581 2011-04-07  Andreas Schwab  <schwab@redhat.com>
50583         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50584         Maintain aligned stack.
50585         (CHECK_RSP): Remove unused macro.
50587 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
50589         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50590         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50592 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
50594         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50596         * include/features.h: Mention __USE_XOPEN2K8 in comment.
50598 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
50600         [BZ #12518]
50601         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50602         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50603         * sysdeps/x86_64/memmove.c: New file.
50604         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50605         (memcpy): Renamed to ...
50606         (__new_memcpy): This.
50607         (memcpy): Provide GLIBC_2_14 memcpy.
50608         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50609         (memcpy): Provide GLIBC_2_2_5 memcpy.
50611 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50613         [BZ #12631]
50614         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50616 2011-03-30  Andreas Schwab  <schwab@redhat.com>
50618         * misc/syncfs.c: New file.
50619         * misc/Makefile (routines): Add syncfs.
50620         * posix/unistd.h: Declare syncfs.
50621         * sysdeps/unix/syscalls.list: Add syncfs.
50623 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50625         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50626         open_by_handle_at.
50627         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50628         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50630         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50631         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50632         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50633         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50635 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50637         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50638         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50639         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50640         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50643         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50645         * io/Makefile: Compile fallocate.c, fallocate64.c, and
50646         sync_file_range.c with -fexceptions.
50647         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50648         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50649         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50650         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50651         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50652         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50653         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50654         sync_file_range as cancellation point
50655         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
50656         now a wrapper around __call_sync_file_range with cancellation handling.
50657         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50658         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
50659         function name to __call_sync_file_range.
50660         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50661         Add call_sync_file_range.
50663 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50665         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50666         bits/timex.h.
50668 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50670         * iconv/iconv.h: Fix typo in comment.
50671         * io/fcntl.h: Likewise.
50672         * libio/stdio.h: Likewise.
50673         * posix/spawn.h: Likewise.
50674         * posix/unistd.h: Likewise.
50675         * stdlib/stdlib.h: Likewise.
50676         * time/time.h: Likewise.
50677         * wcsmbs/wchar.h: Likewise.
50679         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50680         open_by_handle): Add.
50681         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50682         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
50683         Augment a few comments.
50684         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50686         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50688         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50689         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50690         open_by_handle.
50692         * io/fcntl.h (AT_EMPTY_PATH): Define.
50694 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
50696         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50697         * sysdeps/unix/sysv/linux/bits/time.h: New file.
50698         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50699         to...
50700         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
50701         * Versions.def: Add GLIBC_2.14.
50702         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50703         Export.
50705 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
50707         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50708         round counter.
50709         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50711 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50713         [BZ #12597]
50714         * string/test-strncmp.c (do_page_test): New function.
50715         (check2): Likewise.
50716         (test_main): Call check2.
50717         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50719 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50721         [BZ #12587]
50722         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50723         Handle cache information in CPU leaf 4.
50724         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50726 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50728         [BZ #12583]
50729         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50730         character representation.
50731         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50733 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50735         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50736         END(__isnan) to END(__isnanf) to match function entry point/label
50737         EALIGN(__isnanf,...).
50739 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50741         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50743 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50745         [BZ #12510]
50746         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50747         copy from the symbol referenced in the relocation to initialize the
50748         used variable.
50749         Patch by Piotr Bury <pbury@goahead.com>.
50750         * elf/Makefile: Add rules to build and tst-unique3.
50751         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50752         * elf/tst-unique3.cc: New file.
50753         * elf/tst-unique3.h: New file.
50754         * elf/tst-unique3lib.cc: New file.
50755         * elf/tst-unique3lib2.cc: New file.
50757         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50759 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50761         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50762         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50763         to _start.
50765 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50767         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50768         to-be-loaded object along a path to loader is ld.so.
50770 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50771             Ulrich Drepper  <drepper@gmail.com>
50773         * sysdeps/x86_64/memset.S: After aligning destination, code
50774         branches to different locations depending on the value of
50775         misalignment, when multiarch is enabled. Fix this.
50777 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50779         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50780         Set _x86_64_preferred_memory_instruction for AMD processsors.
50781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50782         Set bit_Prefer_SSE_for_memop for AMD processors.
50784 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50786         * libio/fmemopen.c (fmemopen): Optimize a bit.
50788 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50790         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50792 2011-03-03  Roland McGrath  <roland@redhat.com>
50794         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50796 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50798         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50799         __bzero_ultra1 instead of __memset_ultra1.
50801 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50802             Ulrich Drepper  <drepper@gmail.com>
50804         [BZ #12509]
50805         * include/link.h (struct link_map): Add l_orig_initfini.
50806         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50807         returning unsuccessfully.
50808         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50809         close of a file loaded at startup, restore the original l_initfini
50810         list.
50811         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50812         list, store the pointer.
50813         * elf/Makefile ($(objpfx)noload-mem): New rule.
50814         (noload-ENV): Define.
50815         (tests): Add $(objpfx)noload-mem.
50816         * elf/noload.c: Include <memcheck.h>.
50817         (main): Call mtrace.  Close all opened handles.
50819 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50821         [BZ #12454]
50822         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50823         dependencies are missing.
50825 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50827         Fix __if_freereq crash: Unlike the generic version which uses free,
50828         Hurd needs munmap.
50829         * sysdeps/mach/hurd/ifreq.h: New file.
50831 2011-01-27  Petr Baudis  <pasky@suse.cz>
50832             Ulrich Drepper  <drepper@gmail.com>
50834         [BZ 12445]#
50835         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50836         to extend_alloca().
50837         * stdio-common/bug23.c: New file.
50838         * stdio-common/Makefile (tests): Add bug23.
50840 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50841             Ulrich Drepper  <drepper@gmail.com>
50843         [BZ #12489]
50844         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50845         before performing relro protection.  At old place add assertion
50846         to make sure nothing changed.
50848 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50849             Glauber de Oliveira Costa  <glommer@gmail.com>
50851         * elf/elf.h: Add new ARM TLS relocs.
50853 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50856         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50857         cast from r3.
50858         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50859         'tests' variable.
50860         * sysdeps/wordsize-64/tst-writev.c: New file.
50862 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50864         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50865         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50866         insns in _dl_start to prevent a TOC reference before relocs are
50867         resolved.
50869 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50871         [BZ #12469]
50872         * Makeconfig: Remove RANLIB definition.
50873         * Makerules: Don't use RANLIB.
50874         * aclocal.m4: Remove ranlib test.
50875         * configure.in: No need to check for ranlib.
50876         * elf/rtld-Rules: Don't use RANLIB.
50878 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50880         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50881         protection macro.
50882         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50883         inclusion protection macro.
50885         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50886         SIGRTMIN and SIGRTMAX and print information in that case only when
50887         SIGRTMIN is defined.
50889 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50891         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50892         arginfo fn returning -1.
50894         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50895         and thousands string is zero terminated.
50897 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50900         sysdeps/unix/sysv/linux/bits/socket.h.
50902 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50904         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50905         (__CPU_COUNT): Remove old macros.
50906         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50907         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50908         (__CPU_ALLOC, __CPU_FREE): Add macros.
50909         (__sched_cpualloc, __sched_cpufree): Add declarations.
50911 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50913         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50914         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50915         * nscd/aicache.c (addhstaiX): Return timeout of added value.
50916         (readdhstai): Return value of addhstaiX call.
50917         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50918         (addgrbyX): Return value returned by cache_addgr.
50919         (readdgrbyname): Return value returned by addgrbyX.
50920         (readdgrbygid): Likewise.
50921         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50922         (addpwbyX): Return value returned by cache_addpw.
50923         (readdpwbyname): Return value returned by addhstbyX.
50924         (readdpwbyuid): Likewise.
50925         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50926         (addservbyX): Return value returned by cache_addserv.
50927         (readdservbyname): Return value returned by addservbyX:
50928         (readdservbyport): Likewise.
50929         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50930         (addhstbyX): Return value returned by cache_addhst.
50931         (readdhstbyname): Return value returned by addhstbyX.
50932         (readdhstbyaddr): Likewise.
50933         (readdhstbynamev6): Likewise.
50934         (readdhstbyaddrv6): Likewise.
50935         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50936         (readdinitgroups): Return value returned by addinitgroupsX.
50937         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50938         (prune_cache): Keep track of timeout value of re-added entries.
50939         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50940         * nscd/nscd.h: Adjust prototypes of readd* functions.
50942 2011-02-04  Roland McGrath  <roland@redhat.com>
50944         * nis/nis_server.c (nis_servstate): Use the right name for 0.
50945         (nis_stats): Likewise.
50946         * nis/nis_modify.c (nis_modify): Likewise.
50947         * nis/nis_remove.c (nis_remove): Likewise.
50948         * nis/nis_add.c (nis_add): Likewise.
50950         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50952         * posix/fnmatch_loop.c: Add some consts.
50954         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50956 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
50958         [BZ #12460]
50959         * config.make.in (config-cflags-novzeroupper): Define.
50960         * configure.in: Substitute libc_cv_cc_novzeroupper.
50961         * elf/Makefile (AVX-CFLAGS): Define.
50962         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50963         (CFLAGS-tst-auditmod4a.c): Likewise.
50964         (CFLAGS-tst-auditmod4b.c): Likewise.
50965         (CFLAGS-tst-auditmod6b.c): Likewise.
50966         (CFLAGS-tst-auditmod6c.c): Likewise.
50967         (CFLAGS-tst-auditmod7b.c): Likewise.
50968         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50970 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
50972         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50973         function to the callback.
50974         Patch partly by Jiri Olsa <jolsa@redhat.com>.
50976 2011-02-02  Andreas Schwab  <schwab@redhat.com>
50978         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50979         of errno.
50981 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
50983         [BZ #11724]
50984         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50985         of constructors.
50986         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50987         of destructors.
50988         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50990         [BZ #11724]
50991         * elf/Makefile: Add rules to build and run new test.
50992         * elf/tst-initorder.c: New file.
50993         * elf/tst-initorder.exp: New file.
50994         * elf/tst-initordera1.c: New file.
50995         * elf/tst-initordera2.c: New file.
50996         * elf/tst-initordera3.c: New file.
50997         * elf/tst-initordera4.c: New file.
50998         * elf/tst-initorderb1.c: New file.
50999         * elf/tst-initorderb2.c: New file.
51000         * elf/tst-order-a1.c: New file.
51001         * elf/tst-order-a2.c: New file.
51002         * elf/tst-order-a3.c: New file.
51003         * elf/tst-order-a4.c: New file.
51004         * elf/tst-order-b1.c: New file.
51005         * elf/tst-order-b2.c: New file.
51006         * elf/tst-order-main.c: New file.
51007         New test case by George Gensure <werkt0@gmail.com>.
51009 2010-10-01  Andreas Schwab  <schwab@redhat.com>
51011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51012         decoding ACE if AI_CANONIDN.
51014 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
51016         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51018 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
51020         * version.h (RELEASE): Bump for 2.13 release.
51021         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51023         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51025         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51026         MADV_NOHUGEPAGE.
51027         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51028         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51029         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51030         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51031         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51032         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51034         * posix/getconf.c: Update copyright year.
51035         * catgets/gencat.c: Likewise.
51036         * csu/version.c: Likewise.
51037         * debug/catchsegv.sh: Likewise.
51038         * debug/xtrace.sh: Likewise.
51039         * elf/ldconfig.c: Likewise.
51040         * elf/ldd.bash.in: Likewise.
51041         * elf/sprof.c (print_version): Likewise.
51042         * iconv/iconv_prog.c: Likewise.
51043         * iconv/iconvconfig.c: Likewise.
51044         * locale/programs/locale.c: Likewise.
51045         * locale/programs/localedef.c: Likewise.
51046         * malloc/memusage.sh: Likewise.
51047         * malloc/mtrace.pl: Likewise.
51048         * nscd/nscd.c (print_version): Likewise.
51049         * nss/getent.c: Likewise.
51051         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51052         PF_CAIF, and PF_ALG.
51053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51055 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
51057         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51058         (modules-names): Use them.
51059         (ifunc-test-modules, ifunc-pie-tests): Define.
51060         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51061         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51062         (test-extras): Likewise.
51063         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51064         $(compile-command.c).
51065         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51066         (all-built-dso): Define.
51067         (check-textrel.out, check-execstack.out): Depend on it.
51069         * configure.in: Don't override --enable-multi-arch.
51071 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
51073         [BZ #6812]
51074         * nscd/hstcache.c (tryagain): Define.
51075         (cache_addhst): Return tryagain not notfound for temporary errors.
51076         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51077         failed.
51079 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
51081         [BZ #10563]
51082         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51083         to make the syscall.
51084         * sysdeps/unix/sysv/linux/setgroups.c: New file.
51086         [BZ #12378]
51087         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51088         and fall back to matching as normal character if the string ends before
51089         the matching ']' is found.  This is what POSIX requires.
51090         * posix/testfnm.c: Adjust test result.
51091         * posix/globtest.sh: Adjust test result.  Add new test.
51092         * posix/tst-fnmatch.input: Likewise.
51093         * posix/tst-fnmatch2.c: Add new test.
51095 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
51097         * elf/Makefile (check-execstack): Revert last change.  Depend on
51098         check-execstack.h.
51099         (check-execstack.h): New target.
51100         (generated): Add check-execstack.h.
51101         * elf/check-execstack.c: Include "check-execstack.h".
51102         (main): Revert last change.
51103         (handle_file): Return zero if GNU_STACK is absent and
51104         DEFAULT_STACK_PERMS doesn't include PF_X.
51106 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
51108         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51109         in child fails because the descriptor is already closed.
51110         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51111         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51112         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51114         [BZ #12397]
51115         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51116         syscall.
51118         [BZ #10484]
51119         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51120         temporary buffer used to handle multi lookups locally.
51121         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51123 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51125         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51126         loader is ld.so.
51128 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
51130         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51131         alignment for SSE2.
51133 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51135         [BZ #12394]
51136         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51137         characters.  When rounding increased number of integer digits recompute
51138         number of groups.
51139         * stdio-common/tst-grouping.c: New file.
51140         * stdio-common/Makefile: Add rules to build and run tst-grouping.
51142 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
51144         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51145         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
51147         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51148         void.
51149         * bits/select.h: Likewise.
51151 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
51153         * po/ja.po: Update from translation team.
51155 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
51157         [BZ #11155]
51158         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51159         implementation just like for lxstat, fxstatat, et al.
51161 2010-12-27  Jim Meyering  <meyering@redhat.com>
51163         [BZ #12348]
51164         * posix/regexec.c (build_trtable): Return failure indication upon
51165         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
51167 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
51169         [BZ #12201]
51170         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51171         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51172         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51173         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51175         [BZ #12207]
51176         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51178         [BZ #12204]
51179         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51180         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51182 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
51184         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51185         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51186         script has SORT_BY_INIT_PRIORITY.
51187         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51188         NO_CTORS_DTORS_SECTIONS is defined.
51189         * elf/soinit.c: Likewise.
51190         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51191         NO_CTORS_DTORS_SECTIONS is defined.
51192         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51193         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51194         * sysdeps/sh/init-first.c: Likewise.
51195         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51197 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
51199         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51200         always use the slow path.
51202 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
51204         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51205         similar rule which adds the sysdep directories to the header search in
51206         order to pick up the correct platform stackinfo.h.
51207         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51208         perform test if it is, otherwise return successfully without testing.
51209         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51210         DEFAULT_STACK_PERMS define in stackinfo.h.
51211         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51212         defined in stackinfo.h.
51213         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51214         DEFAULT_STACK_PERMS defined in stackinfo.h.
51215         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51216         * sysdeps/ia64/stackinfo.h: Likewise.
51217         * sysdeps/s390/stackinfo.h: Likewise.
51218         * sysdeps/sh/stackinfo.h: Likewise.
51219         * sysdeps/sparc/stackinfo.h: Likewise.
51220         * sysdeps/x86_64/stackinfo.h: Likewise.
51221         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51222         PF_X for powerpc64.  Retain PF_X for powerpc32.
51224 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
51226         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51227         accurately.
51228         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51229         GETDENTS_64BIT_ALIGNED.
51231 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
51233         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51235 2010-12-10  Andreas Schwab  <schwab@redhat.com>
51237         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51238         _GNU_SOURCE.
51240         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51241         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51242         Remove __restrict.
51243         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51244         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51246 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
51248         [BZ #11655]
51249         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51250         are initialized.
51252 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
51254         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51256 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
51258         * po/it.po: Update from translation team.
51260 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
51262         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51263         unused codes.
51265 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
51267         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51269 2010-11-24  Andreas Schwab  <schwab@redhat.com>
51271         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51272         specially.
51273         (gaih_getanswer_slice): Likewise.
51275 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
51277         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51279 2010-05-31  Petr Baudis  <pasky@suse.cz>
51281         [BZ #11149]
51282         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51283         silently even in the chroot mode.
51285 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
51287         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51288         last patch a bit.  Pretty printing
51290 2010-05-31  Petr Baudis <pasky@suse.cz>
51292         [BZ #10085]
51293         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51294         initialization of skip_initgroups_dyn.
51296 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
51298         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51299         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51301 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
51303         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51305 2010-11-11  Andreas Schwab  <schwab@redhat.com>
51307         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51308         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51309         (tst-fnmatch-ENV): Set MALLOC_TRACE.
51310         ($(objpfx)tst-fnmatch-mem): New rule.
51311         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51312         * posix/tst-fnmatch.c (main): Call mtrace.
51314 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
51316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51317         Support Intel processor model 6 and model 0x2c.
51319 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
51321         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51322           signed comparison.
51324 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
51326         [BZ #12205]
51327         * string/test-strncasecmp.c (check_result): New function.
51328         (do_one_test): Use it.
51329         (check1): New function.
51330         (test_main): Use it.
51331         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51332         Support strcasecmp and strncasecmp.
51334 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
51336         [BZ #12194]
51337         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51338         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51340 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51342         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51343         IFUNC support.
51344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51345         memset-x86-64.
51346         * sysdeps/x86_64/multiarch/bzero.S: New file.
51347         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51348         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51349         * sysdeps/x86_64/multiarch/memset.S: New file.
51350         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51352         Set bit_Prefer_SSE_for_memop for Intel processors.
51353         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51354         Define.
51355         (index_Prefer_SSE_for_memop): Define.
51356         (HAS_PREFER_SSE_FOR_MEMOP): Define.
51358 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
51360         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51361         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51363 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
51365         [BZ #12191]
51366         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51367         (__x86_64_raw_data_cache_size_half): Likewise.
51368         (__x86_64_raw_shared_cache_size): Likewise.
51369         (__x86_64_raw_shared_cache_size_half): Likewise.
51371         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51372         (__x86_64_raw_data_cache_size_half): Likewise.
51373         (__x86_64_raw_shared_cache_size): Likewise.
51374         (__x86_64_raw_shared_cache_size_half): Likewise.
51375         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51376         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51377         and __x86_64_raw_shared_cache_size_half.  Round
51378         __x86_64_data_cache_size_half, __x86_64_data_cache_size
51379         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51380         to multiple of 256 bytes.
51382 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
51384         [BZ #12167]
51385         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51386         of inacessible symlinks.  Verify result of symlink before returning it.
51387         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51388         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51390 2010-10-28  Erich Ritz  <erichritz@gmail.com>
51392         * math/math.h (isinf): Fix typo in comment.
51394 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
51396         * po/da.po: Update from translation team.
51398 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
51400         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51401         is added to the list.
51403 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51404             Ulrich Drepper  <drepper@gmail.com>
51406         * elf/dl-object.c (_dl_new_object): Don't append the new object to
51407         the global list here.  Move code to...
51408         (_dl_add_to_namespace_list): ...here.  New function.
51409         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51410         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51411         * elf/dl-load.c (lose): Don't remove the element from the list.
51412         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51413         (_dl_map_object): Likewise.
51415 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
51417         [BZ #12159]
51418         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51419         into all bytes of SSE register.
51420         Patch by Richard Li <richardpku@gmail.com>.
51422 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
51424         [BZ #12140]
51425         * malloc/malloc.c (_int_free): Fill correct number of bytes when
51426         perturbing.
51428 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
51430         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51431         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51432         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51433         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51435         submachine.
51436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51438 2010-10-22  Andreas Schwab  <schwab@redhat.com>
51440         * include/dlfcn.h (__RTLD_SECURE): Define.
51441         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
51442         mode & __RTLD_SECURE instead.
51443         (open_path): Rename preloaded parameter to secure.
51444         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51445         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51446         * elf/dl-deps.c (openaux): Likewise.
51447         * elf/rtld.c (struct map_args): Remove is_preloaded.
51448         (map_doit): Don't use it.
51449         (dl_main): Likewise.
51450         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51451         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51453 2010-09-09  Andreas Schwab  <schwab@redhat.com>
51455         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51456         (sysd-rules-targets): Remove duplicates.
51457         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51458         rtld-%.$o dependency.
51460 2010-10-18  Andreas Schwab  <schwab@redhat.com>
51462         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51463         _dl_map_object do it.
51465 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
51467         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51468         fast fma builtins, define the macros in the C99 standard.
51469         (FP_FAST_FMAF): Likewise.
51470         (FP_FAST_FMAL): Likewise.
51471         * sysdeps/x86_64/bits/mathdef.h: Likewise.
51473         * bits/mathdef.h: Update copyright year.
51474         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51476 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
51478         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51479         builtins, define the macros in the C99 standard.
51480         (FP_FAST_FMAF): Likewise.
51481         (FP_FAST_FMAL): Likewise.
51482         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51483         multiply/add.
51484         (FP_FAST_FMAF): Likewise.
51486 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
51488         [BZ #3268]
51489         * math/libm-test.inc (fma_test): Some new testcases.
51490         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51491         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51492         y and infinite z.  Do multiplication by C already in long double.
51493         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51495         y and infinite z.  Do bitwise or of inexact bit into u.d.
51496         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51497         * sysdeps/i386/fpu/s_fmaf.S: Removed.
51498         * sysdeps/i386/fpu/s_fma.S: Removed.
51499         * sysdeps/i386/fpu/s_fmal.S: Removed.
51501 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
51503         [BZ #3268]
51504         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51506         computation is not scheduled after fetestexcept.  Fix value
51507         of minimum denormal long double.
51509 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
51511         [BZ #3268]
51512         * math/libm-test.inc (fma_test): Add some more tests.
51513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51514         correctly.
51516 2010-10-15  Andreas Schwab  <schwab@redhat.com>
51518         * scripts/data/localplt-s390-linux-gnu.data: New file.
51519         * scripts/data/localplt-s390x-linux-gnu.data: New file.
51521 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
51523         [BZ #3268]
51524         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51525         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51526         instead of dbl-64.
51527         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51528         inlines.
51529         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51531         if one of x and y is very large and the other is subnormal.
51532         * sysdeps/s390/fpu/s_fmaf.c: New file.
51533         * sysdeps/s390/fpu/s_fma.c: New file.
51534         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51535         * sysdeps/powerpc/fpu/s_fma.S: New file.
51536         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51537         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51538         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51540 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
51542         [BZ #3268]
51543         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51544         fma tests.
51545         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51546         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51547         * sysdeps/i386/i686/multiarch/s_fma.c: Include
51548         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51549         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51550         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51551         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51553 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
51555         [BZ #12078]
51556         * posix/regcomp.c (parse_branch): One more memory leak plugged.
51557         * posix/bug-regex31.input: Add test case.
51559 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51561         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51562         * posix/bug-regex31.input: New file.
51564         [BZ #12078]
51565         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51566         (parse_sub_exp): Fix last change, use postorder.
51568         * posix/bug-regex31.c: New file.
51569         * posix/Makefile: Add rules to build and run bug-regex31.
51571         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51573         [BZ #12078]
51574         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51576         [BZ #12108]
51577         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51578         to have entries in sys_siglist.
51580         [BZ #12093]
51581         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51582         be NULL.
51584 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
51586         [BZ #3268]
51587         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51588         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51589         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51590         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51591         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51592         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51593         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51594         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51595         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51596         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51597         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51598         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51599         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51600         * math/ftestexcept.c (fetestexcept): Likewise.
51601         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51602         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51603         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51604         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51605         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51606         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51607         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51609 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51611         [BZ #12107]
51612         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51613         newline.
51615 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
51617         * string/bug-strstr1.c: New file.
51618         * string/Makefile: Add rules to build and run bug-strstr1.
51620 2010-10-05  Eric Blake  <eblake@redhat.com>
51622         [BZ #12092]
51623         * string/str-two-way.h (two_way_long_needle): Always clear memory
51624         when skipping input due to the shift table.
51626 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
51628         [BZ #12005]
51629         * malloc/mcheck.c: Handle large requests.
51631         [BZ #12077]
51632         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51633         for strncmp and strncasecmp.
51634         * string/stratcliff.c: Add tests for strcmp and strncmp.
51635         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51637 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51639         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51640         __set_fpscr.
51642 2010-09-30  Andreas Jaeger  <aj@suse.de>
51644         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51645         (CGROUP_SUPER_MAGIC): Define.
51646         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51647         Handle btrfs and cgroup file systems.
51648         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51649         Likewise.
51651 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
51653         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51654         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51656 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51658         [BZ #12067]
51659         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51660         trying to locate the ELF header.
51662 2010-09-27  Andreas Schwab  <schwab@redhat.com>
51664         [BZ #11611]
51665         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51666         Mask out sign-bit copies when constructing f_fsid.
51668 2010-09-24  Petr Baudis <pasky@suse.cz>
51670         * debug/stack_chk_fail_local.c: Add missing licence exception.
51671         * debug/warning-nop.c: Likewise.
51673 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
51675         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51676         implementing getdents64 using getdents syscall, set d_type if
51677         __ASSUME_GETDENTS32_D_TYPE.
51679 2010-09-16  Andreas Schwab  <schwab@redhat.com>
51681         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51682         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51684 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
51686         [BZ #12037]
51687         * posix/unistd.h: Undo change of feature selection for ftruncate from
51688         2010-01-11.
51690 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
51692         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51693         detection.
51695 2010-09-20  Andreas Schwab  <schwab@redhat.com>
51697         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51698         fanotify_mark.
51699         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51701 2010-09-14  Andreas Schwab  <schwab@redhat.com>
51703         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51704         variables after CHECK_SP call.
51705         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51707 2010-09-13  Andreas Schwab  <schwab@redhat.com>
51708             Ulrich Drepper  <drepper@redhat.com>
51710         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51711         re-relocationg ld.so.
51712         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51713         _dl_init_paths call.
51714         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
51715         here anymore.
51717 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51719         * resolv/res_init.c (__res_vinit): Count the default server we added.
51721 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51722             Ulrich Drepper  <drepper@redhat.com>
51724         [BZ #11968]
51725         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51726         (____longjmp_chk): Use %ebx for saving value across system call.
51727         Add unwind info.
51729 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51731         * manual/Makefile: Don't mix pattern rules with normal rules.
51733 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51735         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51736         operation.
51737         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51738         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51739         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51740         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51741         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51742         Likewise.
51744 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51746         [BZ #11979]
51747         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51748         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51750 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51752         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51753         * sysdeps/x86_64/addmul_1.S: Likewise.
51754         * sysdeps/x86_64/lshift.S: Likewise.
51755         * sysdeps/x86_64/mul_1.S: Likewise.
51756         * sysdeps/x86_64/rshift.S: Likewise.
51757         * sysdeps/x86_64/sub_n.S: Likewise.
51758         * sysdeps/x86_64/submul_1.S: Likewise.
51760 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51762         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51763         Define __sched_param instead of SCHED_* and sched_param when
51764         <bits/sched.h> is included with __need_schedparam defined.
51765         * bits/sched.h [__need_schedparam]
51766         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51767         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51768         (__defined_schedparam): Define to 1.
51769         (__sched_param): New structure, identical to sched_param.
51770         (__need_schedparam): Undefine.
51772 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51774         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51775         (epoll_create1): Declare.
51777         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51779 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51781         [BZ #7066]
51782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51783         shifting retval into place.
51785 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51787         * nis/rpcsvc/nis.h: Update copyright notice.
51788         * nis/rpcsvc/nis.x: Likewise.
51789         * nis/rpcsvc/nis_callback.h: Likewise.
51790         * nis/rpcsvc/nis_callback.x: Likewise.
51791         * nis/rpcsvc/nis_object.x: Likewise.
51792         * nis/rpcsvc/nis_tags.h: Likewise.
51793         * nis/rpcsvc/yp.h: Likewise.
51794         * nis/rpcsvc/yp.x: Likewise.
51795         * nis/rpcsvc/ypupd.h: Likewise.
51796         * nis/yp_xdr.c: Likewise.
51797         * nis/ypupdate_xdr.c: Likewise.
51799         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51800         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51801         (pmap_getport): Use __libc_rpc_getport.
51802         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51803         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51804         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51806 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51809         fanotify_mark.
51811 2010-08-27  Roland McGrath  <roland@redhat.com>
51813         * sysdeps/i386/i686/multiarch/Makefile
51814         (CFLAGS-varshift.c): New variable.
51816 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51818         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51819         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51821         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51823         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51825 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51827         * sysdeps/x86_64/strlen.S: Unroll the loop.
51828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51829         strlen-sse2 strlen-sse2-bsf.
51830         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51831         __strlen_no_bsf if bit_Slow_BSF is set.
51832         (__strlen_sse42): Removed.
51833         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51834         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51836 2010-08-25  Roland McGrath  <roland@redhat.com>
51838         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51839         * sysdeps/x86_64/multiarch/varshift.c: New file.
51840         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51841         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51842         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51843         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51845 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51847         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51848         strlen-sse2 strlen-sse2-bsf.
51849         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51850         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51851         (__strlen_sse2): Removed.
51852         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51853         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51855         bit_Slow_BSF for Atom.
51856         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51857         (index_Slow_BSF): Define.
51858         (HAS_SLOW_BSF): Define.
51860 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51862         [BZ #10851]
51863         * resolv/res_init.c (__res_vinit): When no server address at all
51864         is given default to loopback.
51866 2010-08-24  Roland McGrath  <roland@redhat.com>
51868         * configure.in: Remove config-name.h generation.
51869         * configure: Regenerated.
51870         * config-name.in: File removed.
51871         * scripts/config-uname.sh: New file.
51872         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51873         ($(objdir)config-name.h): New target.
51875         * sunrpc/rpc_parse.h: Avoid nested comment.
51877 2010-08-24  Richard Henderson  <rth@redhat.com>
51878             Ulrich Drepper  <drepper@redhat.com>
51879             H.J. Lu  <hongjiu.lu@intel.com>
51881         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51883         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51884         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51885         _mm_alignr_epi8 with _mm_loadu_si128.
51886         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51887         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51888         (__m128i_shift_right): Removed.
51889         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51890         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51891         * sysdeps/x86_64/multiarch/varshift.h: New file.
51892         * sysdeps/x86_64/multiarch/varshift.S: New file.
51894 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51896         * configure.in: Move assembler checks to before sysdep dir checking.
51898 2010-08-20  Petr Baudis  <pasky@suse.cz>
51900         * LICENSES: Sync the sunrpc license.
51902 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51904         * sunrpc/auth_des.c: Update copyright notice once again.
51905         * sunrpc/auth_none.c: Likewise.
51906         * sunrpc/auth_unix.c: Likewise.
51907         * sunrpc/authdes_prot.c: Likewise.
51908         * sunrpc/authuxprot.c: Likewise.
51909         * sunrpc/bindrsvprt.c: Likewise.
51910         * sunrpc/clnt_gen.c: Likewise.
51911         * sunrpc/clnt_perr.c: Likewise.
51912         * sunrpc/clnt_raw.c: Likewise.
51913         * sunrpc/clnt_simp.c: Likewise.
51914         * sunrpc/clnt_tcp.c: Likewise.
51915         * sunrpc/clnt_udp.c: Likewise.
51916         * sunrpc/clnt_unix.c: Likewise.
51917         * sunrpc/des_crypt.c: Likewise.
51918         * sunrpc/des_soft.c: Likewise.
51919         * sunrpc/get_myaddr.c: Likewise.
51920         * sunrpc/getrpcport.c: Likewise.
51921         * sunrpc/key_call.c: Likewise.
51922         * sunrpc/key_prot.c: Likewise.
51923         * sunrpc/openchild.c: Likewise.
51924         * sunrpc/pm_getmaps.c: Likewise.
51925         * sunrpc/pm_getport.c: Likewise.
51926         * sunrpc/pmap_clnt.c: Likewise.
51927         * sunrpc/pmap_prot.c: Likewise.
51928         * sunrpc/pmap_prot2.c: Likewise.
51929         * sunrpc/pmap_rmt.c: Likewise.
51930         * sunrpc/rpc/auth.h: Likewise.
51931         * sunrpc/rpc/auth_unix.h: Likewise.
51932         * sunrpc/rpc/clnt.h: Likewise.
51933         * sunrpc/rpc/des_crypt.h: Likewise.
51934         * sunrpc/rpc/key_prot.h: Likewise.
51935         * sunrpc/rpc/netdb.h: Likewise.
51936         * sunrpc/rpc/pmap_clnt.h: Likewise.
51937         * sunrpc/rpc/pmap_prot.h: Likewise.
51938         * sunrpc/rpc/pmap_rmt.h: Likewise.
51939         * sunrpc/rpc/rpc.h: Likewise.
51940         * sunrpc/rpc/rpc_des.h: Likewise.
51941         * sunrpc/rpc/rpc_msg.h: Likewise.
51942         * sunrpc/rpc/svc.h: Likewise.
51943         * sunrpc/rpc/svc_auth.h: Likewise.
51944         * sunrpc/rpc/types.h: Likewise.
51945         * sunrpc/rpc/xdr.h: Likewise.
51946         * sunrpc/rpc_clntout.c: Likewise.
51947         * sunrpc/rpc_cmsg.c: Likewise.
51948         * sunrpc/rpc_common.c: Likewise.
51949         * sunrpc/rpc_cout.c: Likewise.
51950         * sunrpc/rpc_dtable.c: Likewise.
51951         * sunrpc/rpc_hout.c: Likewise.
51952         * sunrpc/rpc_main.c: Likewise.
51953         * sunrpc/rpc_parse.c: Likewise.
51954         * sunrpc/rpc_parse.h: Likewise.
51955         * sunrpc/rpc_prot.c: Likewise.
51956         * sunrpc/rpc_sample.c: Likewise.
51957         * sunrpc/rpc_scan.c: Likewise.
51958         * sunrpc/rpc_scan.h: Likewise.
51959         * sunrpc/rpc_svcout.c: Likewise.
51960         * sunrpc/rpc_tblout.c: Likewise.
51961         * sunrpc/rpc_util.c: Likewise.
51962         * sunrpc/rpc_util.h: Likewise.
51963         * sunrpc/rpcinfo.c: Likewise.
51964         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51965         * sunrpc/rpcsvc/key_prot.x: Likewise.
51966         * sunrpc/rpcsvc/klm_prot.x: Likewise.
51967         * sunrpc/rpcsvc/mount.x: Likewise.
51968         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51969         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51970         * sunrpc/rpcsvc/rex.x: Likewise.
51971         * sunrpc/rpcsvc/rstat.x: Likewise.
51972         * sunrpc/rpcsvc/rusers.x: Likewise.
51973         * sunrpc/rpcsvc/sm_inter.x: Likewise.
51974         * sunrpc/rpcsvc/spray.x: Likewise.
51975         * sunrpc/rpcsvc/yppasswd.x: Likewise.
51976         * sunrpc/rtime.c: Likewise.
51977         * sunrpc/svc.c: Likewise.
51978         * sunrpc/svc_auth.c: Likewise.
51979         * sunrpc/svc_authux.c: Likewise.
51980         * sunrpc/svc_raw.c: Likewise.
51981         * sunrpc/svc_run.c: Likewise.
51982         * sunrpc/svc_simple.c: Likewise.
51983         * sunrpc/svc_tcp.c: Likewise.
51984         * sunrpc/svc_udp.c: Likewise.
51985         * sunrpc/svc_unix.c: Likewise.
51986         * sunrpc/svcauth_des.c: Likewise.
51987         * sunrpc/xcrypt.c: Likewise.
51988         * sunrpc/xdr.c: Likewise.
51989         * sunrpc/xdr_array.c: Likewise.
51990         * sunrpc/xdr_float.c: Likewise.
51991         * sunrpc/xdr_mem.c: Likewise.
51992         * sunrpc/xdr_rec.c: Likewise.
51993         * sunrpc/xdr_ref.c: Likewise.
51994         * sunrpc/xdr_sizeof.c: Likewise.
51995         * sunrpc/xdr_stdio.c: Likewise.
51997         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51998         handling.
52000 2010-08-19  Andreas Schwab  <schwab@redhat.com>
52002         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52004 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
52006         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52007         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52008         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52009         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52010         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52011         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52012         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52013         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52014         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52015         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52016         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52017         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52018         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52019         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52021 2010-07-26  Anton Blanchard  <anton@samba.org>
52023         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52024         * malloc/arena.c (heap_trim): Likewise.
52026 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
52028         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52029         here.  Not...
52030         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52031         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52033 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
52035         * sysdeps/i386/elf/Makefile: New file.
52037 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52039         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52040         from fanotify_init.
52041         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52042         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52044 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
52046         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52047         of strncasecmp_l.
52048         * sysdeps/multiarch/strcmp.S: Likewise.
52050 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
52052         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52053         strncase_l-nonascii.
52054         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52055         Add strncase_l-ssse3.
52056         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52057         * sysdeps/x86_64/strcmp.S: Likewise.
52058         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52059         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52060         * sysdeps/x86_64/strncase.S: New file.
52061         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52062         * sysdeps/x86_64/strncase_l.S: New file.
52063         * string/Makefile (strop-tests): Add strncasecmp.
52064         * string/test-strncasecmp.c: New file.
52066         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52067         warning.
52069         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52070         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52072 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52074         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52076 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
52078         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52079         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52080         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52082 2010-05-01  Alan Modra  <amodra@gmail.com>
52084         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52085         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52086         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52087         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52088         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52089         tidying.  Don't tail-call __sigjmp_save for static lib.
52090         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52091         save location.
52092         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52093         (CALL_MCOUNT): Add eh info, and nop after bl.
52094         (TAIL_CALL_SYSCALL_ERROR): New macro.
52095         (PSEUDO_RET): Use it.
52096         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52097         Correct save location of integer regs and cr.
52098         (_dl_profile_resolve): Correct cr save location.  Delete nops
52099         after bl when SHARED.  Reduce cfi size a little by better
52100         placement of cfi directives.
52101         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52102         make a stack frame.  Instead use parm save area as a temp.
52103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52104         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
52105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52106         Don't make a stack frame for parent, use parm save area.
52107         Increase child stack frame to 112 bytes.  Don't save unused reg,
52108         and adjust reg usage.  Set up cfi on error recovery and
52109         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52111         (__makecontext): Add dummy nop after jump to exit.
52112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52113         Use correct parm save area and cr save, reduce stack frame.
52114         Correct cfi for possible PSEUDO_RET frame setup.
52115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52116         Branch to local label emitted by PSEUDO_RET rather than
52117         __syscall_error.
52119 2010-08-12  Andreas Schwab  <schwab@redhat.com>
52121         [BZ #11904]
52122         * locale/programs/locale.c (print_assignment): New function.
52123         (show_locale_vars): Use it.
52125 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
52127         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52128         field.
52129         (struct statfs64): Likewise.
52130         (_STATFS_F_FLAGS): Define.
52131         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52132         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52133         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52134         (ST_VALID): Define locally.
52135         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52136         __statvfs_getflags, use the provided value.
52137         * sysdeps/unix/sysv/linux/kernel-features.h: Define
52138         __ASSUME_STATFS_F_FLAGS.
52140         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52142         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52143         Add sys/fanotify.h.
52144         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52145         fanotify_mask for GLIBC_2.13.
52146         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52147         fanotify_init and fanotify_mark.
52148         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52149         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52151         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52152         Add prlimit.
52153         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52154         prlimit64 for GLIBC_2.13.
52155         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52156         prlimit64.
52157         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52158         syscall.
52159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52160         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52161         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52162         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52163         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
52164         add prlimit alias.
52165         * sysdeps/unix/sysv/linux/prlimit.c: New file.
52167         [BZ #11903]
52168         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52169         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52171         * nss/Makefile: Add rules to build and run tst-nss-test1.
52172         * shlib-versions: Add entry for libnss_test1.
52173         * nss/nss_test1.c: New file.
52174         * nss/tst-nss-test1.c: New file.
52176         * nss/nsswitch.c (__nss_database_custom): Define new variable.
52177         (__nss_configure_lookup): Set appropriate entry in
52178         __nss_configure_lookup to true.
52179         * nss/nsswitch.h: Define enum with indeces of databases in
52180         databases and __nss_database_custom arrays.  Declare
52181         __nss_database_custom.
52182         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52183         to avoid using nscd when custom rules are installed.
52184         * nss/getXXbyYY_r.c: Likewise.
52185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52187         * nss/nss_files/files-parse.c: Whitespace fixes.
52189 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
52191         [BZ #11883]
52192         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52193         * posix/fnmatch_loop.c: Likewise.
52195 2010-07-17  Andi Kleen  <ak@linux.intel.com>
52197         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52198         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52199         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52200         * Versions.def [GLIBC_2.13]: Add.
52202 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
52204         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52205         Also fail if tpwd after pwuid call is NULL.
52207 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52209         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52210         when converting to ms.
52212 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52214         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52215         EOPNOTSUPP errors with ENOTTY.
52216         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52217         EOPNOTSUPP errors with ENOTTY.
52219 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
52221         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52222         Add strcasecmp_l-ssse3.
52223         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52224         strcasecmp.
52225         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52226         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52227         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52229 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
52231         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52233         * string/Makefile (strop-tests): Add strcasecmp.
52234         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52235         strcasecmp_l-nonascii.
52236         (gen-as-const-headers): Add locale-defines.sym.
52237         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52238         * sysdeps/x86_64/strcasecmp.S: New file.
52239         * sysdeps/x86_64/strcasecmp_l.S: New file.
52240         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52241         * sysdeps/x86_64/locale-defines.sym: New file.
52242         * string/test-strcasecmp.c: New file.
52244         * string/test-strcasestr.c: Test both ends of the range of characters.
52245         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52247 2010-07-29  Roland McGrath  <roland@redhat.com>
52249         [BZ #11856]
52250         * manual/locale.texi (Yes-or-No Questions): Fix example code.
52252 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
52254         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52255         for ld.so.
52257 2010-07-27  Andreas Schwab  <schwab@redhat.com>
52259         * manual/memory.texi (Malloc Tunable Parameters): Document
52260         M_PERTURB.
52262 2010-07-26  Roland McGrath  <roland@redhat.com>
52264         [BZ #11840]
52265         * configure.in (-fgnu89-inline check): Set and substitute
52266         gnu89_inline, not libc_cv_gnu89_inline.
52267         * configure: Regenerated.
52268         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52270 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
52272         * string/test-strnlen.c: New file.
52273         * string/Makefile (strop-tests): Add strnlen.
52274         * string/tester.c (test_strnlen): Add a few more test cases.
52275         * string/tst-strlen.c: Better error reporting.
52277         * sysdeps/x86_64/strnlen.S: New file.
52279 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
52281         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52282         lower-latency instructions.
52284 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
52286         * string/test-strcasestr.c: New file.
52287         * string/test-strstr.c: New file.
52288         * string/Makefile (strop-tests): Add strstr and strcasestr.
52289         * string/str-two-way.h: Don't undefine MAX.
52290         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52292 2010-07-21  Andreas Schwab  <schwab@redhat.com>
52294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52295         strcasestr-nonascii.
52296         (CFLAGS-strcasestr-nonascii.c): Define.
52297         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52298         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52299         Remove unused attribute.
52301 2010-07-20  Roland McGrath  <roland@redhat.com>
52303         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52304         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
52305         ld.so.cache was broken.  With it, there is no way to disable dsocaps
52306         like LD_HWCAP_MASK can disable hwcaps.
52308 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52310         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52312 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
52314         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52315         call in strcasestr.
52316         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52317         __strcasestr_sse42_nonascii.
52318         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52319         strcasestr-nonascii.c.
52320         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52322 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
52324         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52325         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52326         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52327         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52329 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
52331         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52332         fcntl.
52334 2010-07-06  Andreas Schwab  <schwab@redhat.com>
52336         [BZ #11577]
52337         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52338         dl_signal_cerror.
52340 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
52342         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52343         _PC_PIPE_BUF using F_GETPIPE_SZ.
52345 2010-07-05  Roland McGrath  <roland@redhat.com>
52347         * manual/arith.texi (Rounding Functions): Fix rint description
52348         implicit in round description.
52350 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
52352         * elf/Makefile: Fix linking for a few tests to make recent linker
52353         happy.
52355 2010-06-30  Andreas Schwab  <schwab@redhat.com>
52357         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52358         $(common-objpfx)libc_nonshared.a.
52360 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
52362         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52363         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52364         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52365         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52366         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52367         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52368         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52369         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52384         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52385         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52386         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52387         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52388         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52389         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52390         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52391         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52392         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52393         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52394         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52395         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52411 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
52413         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52414         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
52415         * string/memmove.c (memmove): Renamed to ...
52416         (MEMMOVE): ...this.  Default to memmove.
52417         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52418         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52419         (END_CHK): Define.
52420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52421         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52422         mempcpy-ssse3-back memmove-ssse3-back.
52423         * sysdeps/x86_64/multiarch/bcopy.S: New file .
52424         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52425         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52426         * sysdeps/x86_64/multiarch/memcpy.S: New file.
52427         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52428         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52429         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52430         * sysdeps/x86_64/multiarch/memmove.c: New file.
52431         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52432         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52433         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52434         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52435         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52436         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52437         Define.
52438         (index_Fast_Copy_Backward): Define.
52439         (HAS_ARCH_FEATURE): Define.
52440         (HAS_FAST_REP_STRING): Define.
52441         (HAS_FAST_COPY_BACKWARD): Define.
52443 2010-06-21  Andreas Schwab  <schwab@redhat.com>
52445         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52446         Restore proper fallback handling.
52448 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
52450         [BZ #11701]
52451         * posix/group_member.c (__group_member): Correct checking loop.
52453         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52454         OOM in getpwuid_r correctly.  Return error number when the caller
52455         should return, otherwise -1.
52456         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52457         call returning > 0 value.
52458         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52460 2010-06-07  Andreas Schwab  <schwab@redhat.com>
52462         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52463         libc_nonshared.a from targets in modules-names.
52465 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
52467         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52468         requires it.
52470 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
52472         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52473         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52474         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52475         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52477 2010-06-02  Andreas Schwab  <schwab@redhat.com>
52479         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52481 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
52483         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52484         and F_GETPIPE_SZ.
52485         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52486         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52487         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52488         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52489         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52490         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52492 2010-06-14  Roland McGrath  <roland@redhat.com>
52494         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52496 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
52498         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52499         __REDIRECT followed by __THROW.
52500         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52501         * posix/getopt.h (getopt): Likewise.
52503 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52505         * hurd/lookup-at.c (__file_name_lookup_at): Accept
52506         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
52507         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52508         in AT_FLAGS.
52509         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52510         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52512 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
52514         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52516 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
52518         [BZ #11640]
52519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52520         Properly check family and model.
52522 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
52524         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52526 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
52528         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52530 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
52532         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52533         symbol reference.
52535 2010-05-19  Andreas Schwab  <schwab@redhat.com>
52537         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52538         symbol reference.
52540 2010-05-21  Andreas Schwab  <schwab@redhat.com>
52542         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52543         and internal_recvmmsg.
52544         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52545         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52546         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52547         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52549         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52550         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52551         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52553 2010-05-20  Andreas Schwab  <schwab@redhat.com>
52555         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52557 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
52559         POWER7 optimizations.
52560         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52561         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52563 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
52565         * version.h: Update for 2.13 development version.
52567 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
52569         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52570         exceptions.  Return 0.
52572 2010-05-07  Roland McGrath  <roland@redhat.com>
52574         * elf/ldconfig.c (main): Add a const.
52576 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
52578         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52579         (args_options): Add no-idn option.
52580         (ahosts_keys_int): Add idn_flags to ai_flags.
52581         (parse_option): Handle 'i' option to clear idn_flags.
52583         * malloc/malloc.c (_int_free): Possible race in the most recently
52584         added check.  Only act on the data if no current modification
52585         happened.
52587 See ChangeLog.17 for earlier changes.